import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
inference_application_deployment_list = client.cloud.inference.applications.deployments.list(
project_id=1,
)
print(inference_application_deployment_list.count){
"count": 1,
"results": [
{
"api_keys": [
"<string>"
],
"application_name": "<string>",
"components_configuration": {},
"name": "<string>",
"regions": [
123
],
"status": {
"component_inferences": {},
"consolidated_status": "Active",
"expose_addresses": {},
"regions": [
{
"components": {},
"region_id": 123,
"status": "<string>"
}
]
}
}
]
}Returns a list of your application deployments, including deployment names, associated catalog applications, regions, component configurations, and current status. Useful for monitoring and managing all active AI application instances.
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
inference_application_deployment_list = client.cloud.inference.applications.deployments.list(
project_id=1,
)
print(inference_application_deployment_list.count){
"count": 1,
"results": [
{
"api_keys": [
"<string>"
],
"application_name": "<string>",
"components_configuration": {},
"name": "<string>",
"regions": [
123
],
"status": {
"component_inferences": {},
"consolidated_status": "Active",
"expose_addresses": {},
"regions": [
{
"components": {},
"region_id": 123,
"status": "<string>"
}
]
}
}
]
}API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
OK
Number of objects
x >= 0Objects
Show child attributes
List of API keys for the application
Identifier of the application template from the catalog
Mapping of component names to their configuration (e.g., "model": {...})
Show child attributes
Show child attributes
Indicates if the component will obtain a public address
Chosen flavor or variant of the component
Map of parameter overrides for customization
Scaling parameters of the component
Unique identifier of the deployment
Geographical regions where the deployment is active
Current state of the deployment across regions
Show child attributes
Map of components and their inferences
High-level summary of the deployment status across all regions
Active, Failed, PartiallyDeployed, Unknown Status details for each deployment region
Show child attributes
Mapping of component names to their status in the region
Show child attributes
Region ID
Current state of the deployment in a specific region
Was this page helpful?