Stored responses and chats

Retrieve, continue and delete saved API objects.

Store or retrieve a response

Responses are stored by default. Use store: false to opt out. Stored Responses support previous_response_id for a later turn.

Method Path Result
GET /v1/responses/{id} Return the stored response.
GET /v1/responses/{id}/input_items List its stored input items.
DELETE /v1/responses/{id} Delete that stored response.
Shell
curl --fail-with-body -sS "https://site6.eokgg.win/v1/responses/$RESPONSE_ID" \
  -H "Authorization: Bearer $SITE6_API_KEY"

Store chat completions

Send store: true when creating a Chat Completion. You can retrieve or delete that saved object later.

Method Path Result
GET /v1/chat/completions List stored chat completions.
GET /v1/chat/completions/{id} Return one completion.
GET /v1/chat/completions/{id}/messages List saved messages.
POST /v1/chat/completions/{id} Update the object’s metadata.
DELETE /v1/chat/completions/{id} Delete the stored completion.

Listings support limit, order and cursor parameters where returned. Objects are encrypted and retained for up to seven days, with up to 200 stored objects per account. An individual stored record can be up to 16 MiB. Model-restricted keys have separate storage access scopes.

Dashboard conversations

The dashboard shows request records grouped into conversations. Use a stable X-Conversation-Id header for a conversation when you want explicit grouping. Change it for a new conversation. Stored API objects and dashboard conversation logs can be managed separately.

See Responses continuations for instructions and tool results in a later turn.

Search the docs