API Reference
Retrieve a model
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
GET
/
v1
/
models
/
{model}
Retrieve a model
curl --request GET \
--url https://api.synapsai.cloud/v1/models/{model}import requests
url = "https://api.synapsai.cloud/v1/models/{model}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "<string>",
"status": "building"
}Path Parameters
The ID of the model to use for this request
Response
200 - application/json
OK
Describes an AI model that can be used with the API.
The model identifier, which can be referenced in the API endpoints.
The object type, which is always 'model'.
Available options:
model The Unix timestamp (in seconds) when the model was created.
The organization or client that owns the model.
The status of the model.
Available options:
building, idle, ready, failed ⌘I
Retrieve a model
curl --request GET \
--url https://api.synapsai.cloud/v1/models/{model}import requests
url = "https://api.synapsai.cloud/v1/models/{model}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "<string>",
"status": "building"
}