GET
/
cloud
/
v3
/
inference
/
{project_id}
/
api_keys
curl --request GET \
  --url https://api.gcore.com/cloud/v3/inference/{project_id}/api_keys \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "created_at": "2023-10-01T12:00:00Z",
      "deployment_names": [
        "inference-1",
        "inference-2"
      ],
      "description": "This key is used for accessing the inference service.",
      "expires_at": "2024-10-01T12:00:00Z",
      "name": "my-api-key"
    }
  ]
}

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

Query Parameters

limit
integer
default:100

Optional. Limit the number of returned items

Required range: 0 < x <= 1000
Examples:

100

offset
integer
default:0

Optional. Offset value is used to exclude the first set of records from the result

Required range: x >= 0
Examples:

0

Response

200 - application/json

OK

The response is of type object.