API reference · AI gateway
The catalog of models an alias may name, with where each runs
GET
/v1/orgs/{org}/ai/modelsThe catalog of models an alias may name, with where each runs. Maintained by obhut
- Permission
ai.aliases.read- Operation
ai.models.list
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
limit | query | integer | no | 1 to 100; default 50 |
cursor | query | string | no | 0 to 200 characters |
q | query | string | no | 0 to 64 characters |
filter | query | string | no | one of "offered" |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Response 200
| Field | Type | Required | Notes |
|---|---|---|---|
items | array of object | yes | |
items[].id | string | yes | for example "cm_01h455vb4pex5vsknk084sn02q" |
items[].provider | string | yes | |
items[].providerModel | string | yes | |
items[].operator | string | yes | |
items[].jurisdiction | string | yes | |
items[].location | string | yes | |
items[].insideEu | boolean | yes | |
items[].currency | string | yes | |
items[].inputPriceNanosPerMillion | string | yes | Nano-units (10^-9) of the currency as a decimal string. |
items[].outputPriceNanosPerMillion | string | yes | Nano-units (10^-9) of the currency as a decimal string. |
items[].contextTokens | integer | yes | |
items[].maxOutputTokens | integer | yes | |
items[].enforcesOutputCap | boolean | yes | |
items[].contracted | boolean | yes | |
items[].routable | boolean | yes | |
nextCursor | string or null | yes |