API-reference · 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.
Sti-parametre
response_idstringpåkrævetId of a stored response (from a prior POST /v1/responses).
Fejl
| Status | Hvornå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 fejlkoder, hvad de betyder, og hvad du skal gøre: Fejl.