List models
AuthorizationBearer <token>
API key as a bearer token: Authorization: Bearer sk-ollm-<public_id>-<secret>. Required on the dev gateway; the prod gateway is open and ignores this header.
In: header
Query Parameters
allow_tee?boolean
When false, exclude TEE-tagged models. Defaults to including them. Accepts case-insensitive true/false; any other value is a 400.
allow_zdr?boolean
When false, exclude ZDR-tagged models. Defaults to including them. Accepts case-insensitive true/false; any other value is a 400.
Response Body
application/json
application/json
curl -X GET "https://api.gateway.orgn.com/v1/models"{
"object": "list",
"data": [
{
"id": "string",
"object": "model",
"created": 0,
"owned_by": "string",
"is_active": true,
"input_cost_per_token": 0.1,
"output_cost_per_token": 0.1,
"max_input_tokens": 0,
"max_output_tokens": 0,
"input_modalities": [
"string"
],
"output_modalities": [
"string"
],
"display_name": "string",
"model_info": {}
}
]
}{
"error": {
"message": "string",
"type": "string",
"code": "string",
"param": "string"
}
}