# Phi HTTP API

Authenticate and call any Phi endpoint over HTTP.

## Base URL

Every endpoint path is relative to this base URL. The [Python client](https://dynophi.com/docs/sdk) and the [CLI](https://dynophi.com/docs/cli) call the same endpoints and are usually quicker to use.

```
https://api.dynophi.com
```

Each example sends the headers and the body its request needs. Replace a name in braces in a path, such as `{run_id}`, and each value in angle brackets, such as `"<name>"`, with your own.

## Authentication

Send your API key in the `x-api-key` header with every request. Each key belongs to one organization. To create one, see [API keys](https://dynophi.com/docs/guides/api-keys).

```bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/me
```

Some endpoints are for organization admins only. Each one is marked, and [Permissions](https://dynophi.com/docs/reference/permissions) lists them all.

## Endpoints

- [Identity](https://dynophi.com/docs/md/api/identity): Check who a key or a sign-in acts as, and in which organization.
- [Projects](https://dynophi.com/docs/md/api/projects): Create, read, update, and delete projects.
- [Jobs](https://dynophi.com/docs/md/api/jobs): List the models you can run, then submit, price, check, and cancel jobs.
- [Runs](https://dynophi.com/docs/md/api/runs): Submit pipeline runs, follow their progress, and download their files.
- [Uploads](https://dynophi.com/docs/md/api/uploads): Get a signed URL to upload a file for use as a model input.
- [Sequences](https://dynophi.com/docs/md/api/sequences): Read and export sequences, and fetch their structures and PAE.
- [Designs](https://dynophi.com/docs/md/api/designs): Read, update, move, and export designs, and trace where a design came from.
- [Datasets](https://dynophi.com/docs/md/api/datasets): Create datasets and add, remove, copy, or export the sequences in them.
- [Logs](https://dynophi.com/docs/md/api/logs): Read, download, or stream the logs of a job or a run.
- [Quota](https://dynophi.com/docs/md/api/quota): Read credit usage and its history.
- [Billing](https://dynophi.com/docs/md/api/billing): Read the balance, buy credits, and set auto-reload and the monthly spend limit.

## Job types

Name the model to run in `job_type` when you submit. The [model catalog](https://dynophi.com/docs/models) lists every job type with its inputs and price.

## Errors and long lists

[Errors and retries](https://dynophi.com/docs/reference/errors) lists each status and when to try again. [Rate limits and pagination](https://dynophi.com/docs/reference/limits) covers the rate limit and how to read a list longer than one page.

Each endpoint lists the responses declared by the API. Authentication, permissions, credit checks, rate limits, and server failures can also reject a request. Read the full error body; its detail can be a message, a list of validation errors, or a structured object. The [troubleshooting guide](https://dynophi.com/docs/guides/troubleshooting) explains what to check before retrying.


---
Source: https://dynophi.com/docs/api. From phi-api 0.2.2, 2026-11-23.
