GET /v1/model-providers/{model_provider_id}
GET
/v1/model-providers/{model_provider_id}Authorization
AuthorizationBearer token · headerrequiredPath parameters
model_provider_idstring<uuid>requiredModel provider id
Header parameters
Kikuvi-Workspacestring<uuid>Workspace to read from. Required for a user caller; implied by the key for an API key caller.
Responses
200The provider, as this workspace sees it: its own row, or any platform row.
One of:
object
created_atstring<date-time>requireddescriptionstringrequireddisplay_namestringrequiredformatModelProviderFormatBodyrequiredMirrors `ModelProviderFormat`'s spellings rather than deriving serde on
the domain type: renaming a domain variant must not silently change the
wire.
Allowed:
anthropicopenai_responsesidstring<uuid>requiredmodelsPlatformModelBody[]requiredModels available through this platform provider.
Show propertiesHide properties
Array of
PlatformModelBodydescriptionstringrequireddisplay_namestringrequiredmodelstringrequiredtypestringrequiredAllowed:
platformobject
created_atstring<date-time>requireddescriptionstringrequireddisplay_namestringrequiredformatModelProviderFormatBodyrequiredMirrors `ModelProviderFormat`'s spellings rather than deriving serde on
the domain type: renaming a domain variant must not silently change the
wire.
Allowed:
anthropicopenai_responsesidstring<uuid>requiredworkspace_idstring<uuid>requiredtypestringrequiredAllowed:
byok400Malformed path parameter, a malformed workspace header, or a user caller with no workspace header.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired401Missing, malformed, or invalid bearer token.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired403Caller lacks model_provider.read, or an API key's Kikuvi-Workspace header names another workspace.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired404No such provider in this workspace, or the caller cannot see the workspace.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired