Skip to navigation

List Project Models

The models this project can route to: the active catalog filtered by the project’s effective controls (its vendor, region and zero data retention overrides over the organization’s), the organization’s BYOK-only setting, and its vendor access.

Authentication

AuthorizationBearer

A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.

Path parameters

project_idstringRequiredformat: "uuid"

The project’s id.

Response

The models the project can route to, and the vendors that serve them
modelslist of objects
Models the scope can route to, sorted by id.
restrictions_activeboolean

false when the effective controls restrict nothing; models is then the whole active catalog.

scopestring

project or customer.

scope_idstringformat: "uuid"
The project's or customer's id.
gated_model_idslist of stringsOptional

Models the controls allow but whose vendor your organization hasn’t been granted access to. Routing refuses them until access is granted; you can request it.

key_usage_modestring or nullOptional

Whose provider credentials a customer’s requests use. Always null for a project: that preference is organization-wide.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error