API Reference

The Phosra API provides 82 endpoints organized into the following groups. All endpoints use the base URL https://phosra-api.fly.dev/api/v1.

Endpoint Groups

Authentication

Most endpoints require authentication via Bearer token or API key. See the Authentication guide for details. Public endpoints (platforms, ratings, standards) are marked with security: [] in the OpenAPI spec.

Response Format

All responses return JSON. Successful responses return the resource directly. Error responses follow the format:

json
{
  "error": "error_code",
  "message": "Human-readable description"
}

See the Errors page for details on status codes and error handling.

OpenAPI Spec

The full OpenAPI 3.1 specification is available at /openapi.yaml. Use it with code generators, Postman, Insomnia, or any OpenAPI-compatible tool.