Syndai Docs
Policy

List the agents and models a run can use

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/catalog

Every agent a run can name in policy_config.harness.kind, whether this workspace can run it (and the one connection that would change that), who pays for it, every model each agent can run here for policy_config.harness.model, what Auto resolves to right now, and whether Economy is available. Models are read live from the OpenRouter account that serves this workspace's runs, so a listed model is reachable; they are ranked by coding score. ?harness= keeps only that agent's models; an unknown agent is a 400. A signed-in person must be the workspace owner. Requires the coding:runs:create scope.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Query Parameters

harness?string|null
customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
auto*
economy*
harnesses*array<>
models*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/catalog'
Example Response
{  "auto": {    "harness": "string",    "harness_label": "string",    "model": "string",    "model_label": "string",    "paid_by": "string",    "plan": "string"  },  "economy": {    "available": true,    "default_coding_score": 0,    "model": {      "coding_score": 0,      "context_length": 0,      "id": "string",      "name": "string"    },    "reason": "string"  },  "harnesses": [    {      "action": "string",      "available": true,      "kind": "string",      "label": "string",      "paid_by": "string",      "plan": "string"    }  ],  "models": [    {      "coding_score": 0,      "context_window": 0,      "harnesses": [        "string"      ],      "id": "string",      "label": "string",      "price_in_per_mtok": 0,      "price_out_per_mtok": 0,      "vendor": "string"    }  ]}
Was this page helpful?