Skip to main content
GET
/
cloud
/
v3
/
inference
/
{project_id}
/
deployments
/
{deployment_name}
/
apikey
Get inference deployment API key
curl --request GET \
  --url https://api.gcore.com/cloud/v3/inference/{project_id}/deployments/{deployment_name}/apikey \
  --header 'Authorization: <api-key>'
{
  "secret": "my-secret",
  "status": "PENDING"
}

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

Example:

1

deployment_name
string
required

Inference instance name.

Example:

"my-instance"

Response

200 - application/json

OK

secret
string
required

API key secret

Example:

"my-secret"

status
enum<string>
required

API key status

Available options:
PENDING,
READY
Example:

"READY"