Skip to content

List Scoped Api Keys

GET /v1/api-keys/scoped

List scoped API keys created by the caller.

Requires a Bearer token with the create_scoped_keys capability. Returns only keys where created_by_key_id matches the caller's key ID.

Authentication required — include an Authorization: Bearer hsk_... header. See Authentication for details.

Example Request

bash
curl -X GET 'https://api.hindsight.vectorize.io/v1/api-keys/scoped' \
  -H 'Authorization: Bearer hsk_your_api_key'

Responses

200 — Successful Response

json
{
  "keys": [
    {
      "id": "Id",
      "key_prefix": "Key Prefix",
      "name": "Name",
      "created_at": "Created At",
      "last_used_at": "string",
      "revoked_at": "string",
      "expires_at": "string",
      "allowed_bank_ids": [
        "string"
      ],
      "metadata": {}
    }
  ],
  "total": 0
}

Source: /v1/api-keys/scoped