Skip to main content
GET
/
v1
/
responses
List Responses
curl --request GET \
  --url https://api.fireworks.ai/inference/v1/responses \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "response",
      "created_at": 123,
      "status": "<string>",
      "model": "<string>",
      "output": [
        {
          "id": "<string>",
          "type": "message",
          "role": "<string>",
          "content": [
            {
              "type": "<string>",
              "text": "<string>"
            }
          ],
          "status": "<string>"
        }
      ],
      "previous_response_id": "<string>",
      "usage": {},
      "error": {},
      "incomplete_details": {},
      "instructions": "<string>",
      "max_output_tokens": 123,
      "max_tool_calls": 2,
      "parallel_tool_calls": true,
      "reasoning": {},
      "store": true,
      "temperature": 1,
      "text": {},
      "tool_choice": "<string>",
      "tools": [
        {}
      ],
      "top_p": 1,
      "truncation": "disabled",
      "user": "<string>",
      "metadata": {}
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>

Query Parameters

limit
integer
default:20
after
string | null
before
string | null

Response

Successful Response

Response model for listing responses.

Returned from the GET /v1/responses endpoint. Provides a paginated list of response objects with cursor-based pagination support.

data
Response · object[]
required

An array of response objects, sorted by creation time in descending order (most recent first).

has_more
boolean
required

Indicates whether there are more responses available beyond this page. If true, use the 'last_id' value as the 'after' cursor to fetch the next page.

object
string
default:list

The object type, which is always 'list'.

first_id
string | null

The ID of the first response in the current page. Used for pagination.

last_id
string | null

The ID of the last response in the current page. Use this as the 'after' cursor to fetch the next page if has_more is true.