Maniac Docs
Api referenceResponses

Retrieve a response

GET
/v1/responses/{id}

Retrieve a stored response by id, scoped to the caller's organization. With ?stream=true, replay/tail the run as Server-Sent Events.

Authorization

bearerAuth
AuthorizationBearer <token>

A Maniac API key, sent as Authorization: Bearer <key>. (Internal service-to-service calls use a separate internal service key and are not documented here.)

In: header

Path Parameters

id*string

The response id (e.g. resp_...).

Query Parameters

stream?string

When true (or 1), replay/tail the stored response as Server-Sent Events instead of returning JSON.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/responses/string"
{  "id": "string",  "object": "response",  "created_at": 0,  "status": "queued",  "error": null,  "incomplete_details": null,  "instructions": null,  "max_output_tokens": null,  "model": "string",  "output": [],  "parallel_tool_calls": true,  "previous_response_id": null,  "reasoning": null,  "temperature": null,  "top_p": null,  "text": {    "format": {      "type": "string"    }  },  "tool_choice": null,  "tools": [],  "truncation": null,  "usage": null,  "metadata": {},  "provider": "string"}
{  "error": {    "message": "string",    "type": "string",    "param": "string",    "code": "string"  }}
{  "error": {    "message": "string",    "type": "string",    "param": "string",    "code": "string"  }}