curl --request GET \
--url 'http://localhost:8000/v1/models' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"object": "string",
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"object": "string",
"created": 1,
"owned_by": "string"
}
]
}
Models (OpenAI Compatible)
OpenAI-style model list. With a live vLLM backend the payload is the backend’s own /v1/models response passed through untouched…
GET
/
v1
/
models
curl --request GET \
--url 'http://localhost:8000/v1/models' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"object": "string",
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"object": "string",
"created": 1,
"owned_by": "string"
}
]
}
Response
object
string
required
listStatus codes
| Code | Meaning |
|---|---|
200 | OpenAI-style model list. With a live vLLM backend the payload is the backend’s own /v1/models response passed through untouched; with a configured model map, the stub backend, or an unreachable backend, the gateway builds the list itself from its configured model names. |
401 | Authentication required |
422 | Validation error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/v1/models' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"object": "string",
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"object": "string",
"created": 1,
"owned_by": "string"
}
]
}
Last modified on August 31, 2026