Skip to content

Type to search the docs and the model list.

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: false to keep nothing; then send the full conversation in input. When the organization's switch is off, every request is treated as store: false whatever you send, and the final response object shows store: 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 404 not_found instead of 400 previous_response_not_stored.
  • Instructions and tool definitions are never kept: send instructions, tools, tool_choice, reasoning and text on each turn.
  • The final response object is authoritative: response.created shows whether eWest intends to store the turn, and response.completed (or the JSON body) says whether it was stored. A turn over 8 MB is answered with store: 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
RequestReturns
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_itemsThat 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
StatusCodeMeaning
400previous_response_not_storedThat 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.
400conversation_too_largeThe conversation has 500 turns or 20 MB of history. Start a new one.
404not_foundNo such response for your organization: unknown, deleted, expired, or another organization's. A wrong API key also gets this on GET and DELETE.
503store_unavailableStored conversations are briefly unavailable; retry.