Skip to main content
Use the REST API when you want to script Phoenix workflows: creating datasets, running experiments, querying spans, or managing prompts and projects. Use the API Reference page for the full endpoint list.

Full interactive endpoint list

Browse every endpoint grouped by resource.

Before You Call The API

1

Choose your base URL

  • Phoenix Cloud: https://app.phoenix.arize.com
  • Self-hosted Phoenix: your deployment URL (for example http://localhost:6006)
2

Set authentication (if enabled)

Use an API key or admin secret in a bearer token header:Authorization: Bearer <your-token>
3

Call a v1 endpoint

All REST endpoints are under /v1/....
If authentication is disabled in your self-hosted deployment, you can omit the Authorization header.

First Request

The example below lists projects and includes common pagination query params.
curl --request GET \
  --url "$PHOENIX_BASE_URL/v1/projects?limit=10" \
  --header "Authorization: Bearer $PHOENIX_API_KEY"

Response Pattern

Most list endpoints return a shape like:
{
  "data": [],
  "next_cursor": null
}
When next_cursor is not null, pass it back as the cursor query param to fetch the next page.

Where To Go Next