openapi: 3.2.0 info: title: Phi — Protein Design Tools API description: 'Phi is a biomodal computation platform for protein design. Submit structure-prediction and sequence-design jobs, track their status, and retrieve scored results — all via a single REST API. ## Authentication All endpoints require an API key supplied as `Authorization: Bearer ` or a Clerk session token. Organisation ID is derived automatically from Clerk tokens; static-key callers must include `X-Organization-ID`. ## Quick links - `POST /v1/phi/jobs` — submit a job - `GET /v1/phi/jobs/{job_id}/status` — poll status - `GET /v1/phi/jobs/{job_id}/scores` — download scored results ' version: 1.0.0 servers: - url: https://api.dyno-agents.app description: Production - url: http://localhost:8000 description: Local development tags: - name: tools paths: /v1/phi/tools/: get: tags: - tools summary: List Tools description: List all available system tools. operationId: list_tools_v1_phi_tools__get parameters: - name: category in: query required: false schema: anyOf: - type: string - type: 'null' title: Category responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: true title: Response List Tools V1 Phi Tools Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v1/phi/tools/{tool_id}: get: tags: - tools summary: Get Tool description: Get tool details including parameter schema. operationId: get_tool_v1_phi_tools__tool_id__get parameters: - name: tool_id in: path required: true schema: type: string title: Tool Id responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: true title: Response Get Tool V1 Phi Tools Tool Id Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v1/phi/tools/categories/: get: tags: - tools summary: List Categories description: List all tool categories. operationId: list_categories_v1_phi_tools_categories__get responses: '200': description: Successful Response content: application/json: schema: additionalProperties: true type: object title: Response List Categories V1 Phi Tools Categories Get components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError