List responses
GET
/v1/responsesGET
/v1/responsesYour instance endpoint, shown on the instance page in the dashboard. Each instance has its own host; there is no shared API host.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status | query | string | No | Filter by status |
limit | query | integer | No | Pagination limit |
after | query | string | No | Pagination cursor (after) |
before | query | string | No | Pagination cursor (before) |
order | query | string | No | Order: "asc" or "desc" |
Responses
200 List of responses
| Property | Type | Description |
|---|---|---|
data | object[] | |
object | string | |
firstId | string | |
lastId | string | |
hasMore | boolean |
default An unexpected error response.
| Property | Type | Description |
|---|---|---|
code | integer | |
message | string | |
details | object[] |
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"
}
]
}
