GET
/
cloud
/
v3
/
inference
/
applications
/
{project_id}
/
deployments
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
inference_application_deployment_list = client.cloud.inference.applications.deployments.list(
    project_id=1,
)
print(inference_application_deployment_list.count)
{
  "count": 1,
  "results": [
    {
      "api_keys": [
        "key1",
        "key2"
      ],
      "application_name": "<string>",
      "components_configuration": {},
      "name": "<string>",
      "regions": [
        1,
        2
      ],
      "status": {
        "component_inferences": {},
        "consolidated_status": "Active",
        "expose_addresses": {},
        "regions": [
          {
            "components": {
              "model": {
                "error": "",
                "status": "Active"
              }
            },
            "region_id": 1,
            "status": "<string>"
          }
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

Examples:

1

Response

200 - application/json

OK

The response is of type object.