API-referanse · Chat
Cancel an in-progress (background) response
POST
https://api.stav.ai/v1/responses/{response_id}/cancelOpenAI Responses passthrough — cancel a response that is still in
progress. Stav refuses background: true on
POST /v1/responses (400 unsupported_parameter), so no
background response is created through Stav.
Stiparametere
response_idstringpåkrevd
Feil
| Status | Når |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | API key lacks the required scope (e.g., |
| 404 | Model id is not in the catalogue, or the caller's key doesn't have access to it. |
| 502 | An upstream provider (Anthropic, OpenAI, etc.) returned an error. |
Alle feilkoder, hva de betyr og hva du gjør: Feil.