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": "pending-deployment"
}Response
200 - application/json
OK
Describes an AI model that can be used with the API.
⌘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": "pending-deployment"
}