Retrieve
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
get/models/{model}
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Path Parameters
modelstring
Returns
idstring
The model identifier, which can be referenced in the API endpoints.
creatednumber
The Unix timestamp (in seconds) when the model was created.
objectenum
"model"
The object type, which is always "model".
owned_bystring
The organization that owns the model.
curl https://api.digitalocean.com//models/$MODEL \
-H "Authorization: Bearer $GRADIENTAI_API_KEY"
200 Example
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by"
}