Get a model

Get a model an agent can use.

A model's id is this path without the /v0/ prefix:
providers/{provider_id}/models/{model_name}. Returns 404 for models
the provider doesn't serve, image models, and models your company's
model access list blocks for you.

Path Params
string
required

The provider's id, from GET /v0/providers.

string
required

The model's name. It may contain slashes (moonshotai/kimi-k2); send them as they are.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json