Get a model by ID
Retrieves a model by ID from the workspace
Path parameters
Workspace ID.
Model ID
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"info": {
"aiProviderKey": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}Changes
Changed in 8 of the 57 revisions of this API.41517
- ○
added the optional property
spec/allOf[ModelSpec]/reasoningto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added
AIProviderConfig_OpenrouterAIProviderConfig_OpenaiAIProviderConfig_OpenaiCompatibleto theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/response propertyoneOflist for the response status200response-property-one-of-added
- ▲
added
AIProviderCredential_ApiKeyAIProviderCredential_Headersto theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentials/allOf[AIProviderCredential]/response propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentials/allOf[AIProviderCredential]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/openaifrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/openaiCompatiblefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/openrouterfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentials/allOf[AIProviderCredential]/apiKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentials/allOf[AIProviderCredential]/headersfrom the response with the200statusresponse-optional-property-removed
- ○
the response property
spec/allOf[ModelSpec]/familybecame required for the status200response-property-became-required
- ○
the response property
spec/allOf[ModelSpec]/providerbecame required for the status200response-property-became-required
- ○
added discriminator to
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/config/allOf[AIProviderConfig]/response property for the response status200response-property-discriminator-added
- ○
added discriminator to
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentials/allOf[AIProviderCredential]/response property for the response status200response-property-discriminator-added
- ▲
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/metadata/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/apiKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/openrouterfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/allOf[ResourceMetadata]/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
added the new
AI_PROVIDER_ANTHROPICenum value to theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/providerresponse property for the response status200response-property-enum-value-added
- ●
added the new
AI_PROVIDER_GEMINIenum value to theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/providerresponse property for the response status200response-property-enum-value-added
- ●
added the new
AI_PROVIDER_OPENAIenum value to theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/providerresponse property for the response status200response-property-enum-value-added
- ●
added the new
AI_PROVIDER_OPENAI_COMPATIBLEenum value to theinfo/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/providerresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/configto the response with the200statusresponse-optional-property-added
- ○
added the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[AIProviderKey]/spec/credentialsto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the optional property
info/allOf[ModelInfo]/providerfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
info/allOf[ModelInfo]/lastUsedAtto the response with the200statusresponse-optional-property-added
- ○
added
AIProviderKeyto theinfo/allOf[ModelInfo]/aiProviderKeyresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
ResourceMetadatafrom theinfo/allOf[ModelInfo]/aiProviderKeyresponse propertyallOflist for the response status200response-property-all-of-removed
- ●
- ●
removed the optional property
spec/allOf[ModelSpec]/statusfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
info/allOf[ModelInfo]/aiProviderKey/allOf[ResourceMetadata]/updatedAtto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/allOf[ResourceMetadata]/updatedAtto the response with the200statusresponse-optional-property-added
- ○
added the required property
stateto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added
ResourceMetadatato theinfo/allOf[ModelInfo]/aiProviderKeyresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
BareMetadatafrom theinfo/allOf[ModelInfo]/aiProviderKeyresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
- ○
added the optional property
info/allOf[ModelInfo]/agentVariationCountto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
infoto the response with the200statusresponse-optional-property-added
- ○