GET
/
cloud
/
v2
/
inference
/
api_keys
curl --request GET \
  --url https://api.gcore.com/cloud/v2/inference/api_keys \
  --header 'APIKey: <api-key>'
{
  "created_at": "2022-01-01T00:00:00Z",
  "description": "My first key",
  "expires_at": "2024-08-22T11:21:00Z",
  "inference_instance_ids": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  "key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "my-key",
  "project_id": 1,
  "status": "ACTIVE"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

limit
integer

Limit the number of returned instances. Limited by max limit value of 1000

offset
integer

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

order_by
string

Order instances by transmitted fields and directions (name.asc)

project_id
integer

Project ID. If not provided, will use the default project

Response

200
application/json

List of API Keys

The response is of type object.