> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# GET /v1/capabilities

```text
GET https://weights.fyi/run/v1/capabilities
Authorization: Bearer <token>                    scope: read
```

**Available since:** 2026-10-10 implementation review: included in this build; see [What is live](/run/docs/what-is-live.md) for deployment status.

**Answer time:** synchronous: the answer is built from the service's own configuration and reads nothing that can wait.

Answers one question in one document: what does this service do, and what does it not do yet? A program that integrates with several model services usually has to find that out by reading documentation and trying calls; this answer lets it ask. It lists every ability the service could be expected to have, each `true` or `false`, so that something not built is said out loud as `false` rather than left for you to discover with a failing call. Chat completions, streaming chat and schedules are implemented; their flags reflect whether this deployment has a runnable configured model (see [LLM endpoints](/run/docs/llm.md)). Compute source-pointer streams have their own [capability catalog](/run/docs/reference/compute-capabilities.md).

The answer is the same for every account, except that the fine-tuning entries follow whether fine-tuning is switched on for the service. It is a description, not a contract with a version history: when something is built, its entry turns `true` in the same release. The same pull request publishes `/openapi.json`, an OpenAPI 3.1 description that lists every route of the API with the scope it needs and the error shape, and gives typed request bodies for classification and training; it is public and takes no token. The `openapi` field below is its address. The `compatibility` entries answer questions people ask about integrations. They are all `false` today, and saying so is the point: the classifier is not an OpenRouter chat model, the service is not Cloudflare Workers AI even though it borrows the `rejectIfBusy` option from it, and it does not answer free-form questions about a page.

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` and your token, with the `read` scope. |

## Return value

**200 OK** with one object:

| Field | Meaning |
|---|---|
| `service` | The service's name, `weights.fyi`. |
| `api_version` | The API's version, `v1`. |
| `models` | The path of [GET /v1/models](/run/docs/reference/models.md), where each model describes itself. |
| `openapi` | The path of the OpenAPI description, `/run/openapi.json`. |
| `available` | One entry per ability, `true` when the service does it now: `classification`, `batch_classification`, `finetune`, `checkpoint_recovery`, `training_artifact_download`, plus deployment-dependent `chat_completions`, `streaming_chat`, `llm_batch` and `schedules`. `arbitrary_extraction` and `trained_model_serving` remain `false`. |
| `compatibility` | Integrations the service does not claim, each `false`: `openrouter_chat`, `cloudflare_workers_ai`, `jev_questions`. |
| `admission` | How a full service answers: `overload_status` (`429`), `retry_header` (`Retry-After`), `reject_if_busy` (the option's name, `options.rejectIfBusy`), `queued_jobs_resume` (`true`: accepted work resumes after a move) and `chat_stream_resume` (`false`). |
| `tracing` | `own_traces` (`true`), `input_logging_default` and `output_logging_default` (both `false`), `content_retention_days` (`7`) and `formats`, the kinds of destination. |

## Errors

| Status | Code | When it happens | What to do |
|---|---|---|---|
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | No token, or one that does not work. | Use a valid token. |
| `403` | `scope_required`, `account_suspended` | The token lacks `read`, or the account is suspended. | Use a token with `read`. |

## Examples

```sh
curl -s https://weights.fyi/run/v1/capabilities -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

The answer from a test copy of the service with fine-tuning switched on:

```json
{
  "service": "weights.fyi",
  "api_version": "v1",
  "models": "/run/v1/models",
  "openapi": "/run/openapi.json",
  "available": {"classification": true, "batch_classification": true, "finetune": true,
                "checkpoint_recovery": true, "training_artifact_download": true,
                "chat_completions": false, "streaming_chat": false,
                "schedules": false, "arbitrary_extraction": false, "trained_model_serving": false},
  "compatibility": {"openrouter_chat": false, "cloudflare_workers_ai": false, "jev_questions": false},
  "admission": {"overload_status": 429, "retry_header": "Retry-After", "reject_if_busy": "options.rejectIfBusy",
                "queued_jobs_resume": true, "chat_stream_resume": false},
  "tracing": {"own_traces": true, "input_logging_default": false, "output_logging_default": false,
              "content_retention_days": 7, "formats": ["otlp_http", "mlflow", "webhook"]}
}
```

## History

- 2026-10-10 implementation review: added, with `/openapi.json`.

## See also

- [GET /v1/models](/run/docs/reference/models.md), where each model describes what it can do.
- [Bring your own model](/run/docs/your-model.md) and [LLM endpoints](/run/docs/llm.md), for runtime availability and configuration.
