Responses

Compact context

Non-streaming and billed. Native compaction can fall back to normal generation summarizing the context.

post/responses/compact

Request

  • Base URL: https://api.voidai.app/v1
  • URL: https://api.voidai.app/v1/responses/compact
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

modelstring required

Exact model ID from GET /models. Endpoint support and account eligibility are required.

instructionsstring
previous_response_idstring nullable
toolsobject[]
reasoningobject nullable
textobject

Response

Successful response.

idstring
outputobject[]
usageobject

Changes

No recorded changes to this operation across all 1 revision of this API.