Skip to main content
GET
/
api
/
vm
/
api-keys
List Vm Api Keys
curl --request GET \
  --url https://api.getgranite.ai/api/vm/api-keys
{
  "api_keys": [
    {
      "vm_api_key_id": "<string>",
      "key_label": "<string>",
      "status": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "key_prefix": "<string>",
      "key_last_four": "<string>",
      "last_used_at": "2023-11-07T05:31:56Z",
      "last_used_ip": "<string>",
      "machine_count": 0,
      "last_machine_seen_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Response

200 - application/json

Successful Response

List of API keys visible to the user.

api_keys
VmApiKeyResponse · object[]

VM API keys