Models
List and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them.
List models
GET https://api.extravaganza.com.pl/v1/models
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Returns
A list of model objects.
curl -X GET https://api.extravaganza.com.pl/v1/models \
-H "Authorization: Bearer $API_KEY" {
"object": "list",
"data": [
{
"id": "model-id-0",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner"
},
{
"id": "model-id-1",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner",
},
{
"id": "model-id-2",
"object": "model",
"created": 1686935002,
"owned_by": "openai"
},
],
"object": "list"
} Retrieve model
GET https://api.extravaganza.com.pl/v1/models/{model}
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Path parameters
model: string (Required)
The ID of the model to use for the request.
Returns
The model object matching the specified ID.
curl -X GET https://api.extravaganza.com.pl/v1/models/small-3-en \
-H "Authorization: Bearer $API_KEY" {
"id": "small-3-en",
"object": "model",
"created": 1686935002,
"owned_by": "extravaganza"
} Delete a fine-tuned model
DELETE https://api.extravaganza.com.pl/v1/models/{model}
Delete a fine-tuned model. You must have the administrator role in your organization to delete a model.
Path parameters
model: string (Required)
The model to delete
Returns
Deletion status.
curl -X DELETE https://api.extravaganza.com.pl/v1/models/small-3-en:extravaganza:suffix:abc123 \
-X DELETE \
-H "Authorization: Bearer $API_KEY" {
"id": "small-3-en:extravaganza:suffix:abc123",
"object": "model",
"deleted": true
} The model object
Describes an Extravaganza Business Services model offering that can be used with the API.
The Unix timestamp (in seconds) when the model was created.
The model identifier, which can be referenced in the API endpoints.
The object type, which is always “model”.
The organization that owns the model.
{
"id": "small-3-en",
"object": "model",
"created": 1686935002,
"owned_by": "extravaganza"
} 