Responses
The Responses API, with conversations you can continue, read and delete.
POST /v1/responses, compatible with the OpenAI SDKs and agent frameworks. Each answer has an id; pass it as previous_response_id on the next request to continue the conversation, and send only the new input.
Stored conversations
- eWest keeps Responses conversations so you can continue them with
previous_response_id. By default (store: true) we keep each conversation's inputs and outputs for 30 days after its last turn, encrypted. - Any API key of your organization can continue, read or delete them; keys of other organizations can't.
- Send
store: falseto keep nothing; then send the full conversation ininput. When the organization's switch is off, every request is treated asstore: falsewhatever you send, and the final response object showsstore: false. Owners and admins can turn storing off for the whole organization in the console (API keys → Responses conversations), which also deletes the conversations already stored (after a confirmation; this can't be undone). The change takes effect within about a minute. During that minute, continuing a response made in it can return 404not_foundinstead of 400previous_response_not_stored. - Instructions and tool definitions are never kept: send
instructions,tools,tool_choice,reasoningandtexton each turn. - The final response object is authoritative:
response.createdshows whether eWest intends to store the turn, andresponse.completed(or the JSON body) says whether it was stored. A turn over 8 MB is answered withstore: false. - Replayed history counts as input tokens on each turn, as on OpenAI; storage is free. Any model may continue a conversation started with another.
Retrieve and delete
| Request | Returns |
|---|---|
| GET /v1/responses/{id} | The stored response: output, usage, status, model, previous_response_id. instructions is null and tools is empty, because they aren't kept. |
| GET /v1/responses/{id}/input_items | That turn's input items, newest first. Query: limit (1-100, default 20), order (asc or desc), after or before (an item id). |
| DELETE /v1/responses/{id} | Deletes the response and every response continued from it; earlier turns stay. |
Right after an API key's first stored conversation, a GET or DELETE can return 404 for up to 30 seconds when it reaches another edge location or connection. Retry after a short wait.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | previous_response_not_stored | That response wasn't stored (store: false, storing turned off for the organization, or an id from before eWest kept conversations). Send the full conversation in input. |
| 400 | conversation_too_large | The conversation has 500 turns or 20 MB of history. Start a new one. |
| 404 | not_found | No such response for your organization: unknown, deleted, expired, or another organization's. A wrong API key also gets this on GET and DELETE. |
| 503 | store_unavailable | Stored conversations are briefly unavailable; retry. |