API-referanse · Chat
Retrieve a stored response
GET
https://api.stav.ai/v1/responses/{response_id}OpenAI Responses passthrough — retrieve a stored response by id.
Requires the original request to have set store: true explicitly:
Stav defaults store to false, unlike OpenAI. Without that opt-in
there is nothing stored to retrieve and this returns 404. Query
params (e.g. include) are forwarded.
Stiparametere
response_idstringpåkrevdId of a stored response (from a prior POST /v1/responses).
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.