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

client = Gcore(
    api_key="My API Key",
)
inference_application_deployment = client.cloud.inference.applications.deployments.get(
    deployment_name="deployment_name",
    project_id=1,
)
print(inference_application_deployment.api_keys)
{
  "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

deployment_name
string
required

Name of deployment

Response

200 - application/json

OK

The response is of type object.