Everstack
API ReferenceGatewayList responses

List responses

GET/v1/responses
GET/v1/responses

Your instance endpoint, shown on the instance page in the dashboard. Each instance has its own host; there is no shared API host.

Parameters

NameInTypeRequiredDescription
statusquerystringNoFilter by status
limitqueryintegerNoPagination limit
afterquerystringNoPagination cursor (after)
beforequerystringNoPagination cursor (before)
orderquerystringNoOrder: "asc" or "desc"

Responses

200 List of responses

PropertyTypeDescription
dataobject[]
objectstring
firstIdstring
lastIdstring
hasMoreboolean

default An unexpected error response.

PropertyTypeDescription
codeinteger
messagestring
detailsobject[]

Request

curl -X GET "http://localhost:8089/openai/v1/responses" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
const response = await fetch("http://localhost:8089/openai/v1/responses", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
});
const data = await response.json();
import requests

response = requests.get(
    "http://localhost:8089/openai/v1/responses",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
)
data = response.json()

Response

{
  "data": [
    {
      "id": "string",
      "object": "string",
      "createdAt": "string",
      "status": "string",
      "error": {
        "code": "string",
        "message": "string"
      },
      "incompleteDetails": {
        "reason": "string"
      },
      "model": "string",
      "output": [],
      "usage": {
        "inputTokens": 0,
        "outputTokens": 0,
        "totalTokens": 0
      },
      "temperature": 0,
      "topP": 0,
      "maxOutputTokens": 0,
      "previousResponseId": "string",
      "reasoning": {
        "effort": "string",
        "generateSummary": "string"
      },
      "truncation": {
        "type": "string",
        "lastMessages": 0
      }
    }
  ],
  "object": "string",
  "firstId": "string",
  "lastId": "string",
  "hasMore": true
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}