API reference · Webhooks
Replace the watch list
PUT/api/account/model-watchSigned in session
Model ids from the catalog; autopilot ids and presets are routes, not models, and are refused. An empty list clears it. A model kept on the list keeps what it was last told. Same origin only; ten changes a minute.
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| modelsrequired | array of string |
Example
{
"models": [
"string"
]
}Answer 200
The watch list as it now stands.
| Field | Type | What it is |
|---|---|---|
| models | array of object | |
| models[] | string | A model id from GET /v1/models. |
| models[] | string | What the deployment last concluded; unknown before there was evidence enough. One of "degraded", "healthy", "unknown". |
| models[] | string or null | The evidence behind the state, in a sentence. |
| models[] | integer or null | When the state last changed, epoch ms. |
| models[] | integer or null | When the evidence was last read, epoch ms. |
| models[] | string or null | The last transition this account was sent. One of "degraded", "healthy", null. |
| limit | integer | At most 50 models per account. |
| windowMinutes | integer | The evidence window, 60 minutes. |
| thresholds | object | |
| thresholds. | integer | Requests in the window before the error rate or the median counts. |
| thresholds. | number | The error rate that degrades a model. |
| thresholds. | integer | The median time to first token that degrades a model. |
| events | array of string |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.