GET/api/v1/keys/{hash}

Get one API key

Needs a provisioning key (403 otherwise).

Authentication: Bearer API key in the Authorization header

Path parameters

  • hashstringrequired

    The key id (hash in key objects).

Responses

  • 200

    The key.

    Response
    • dataobjectrequired
      data
      • hashstring

        The key id (never the secret hash).

      • namestring
      • labelstring

        Key prefix and last characters.

      • disabledboolean

        True once revoked.

      • is_provisioningboolean
      • identity_idstring | null
      • limitnumber | null

        Spend cap, USD; null when uncapped.

      • limit_remainingnumber | null

        Cap less this window's spend and reservations, USD; null when uncapped or unreadable in time.

      • limit_resetenum | null
      • usagenull

        Always null; see GET /api/v1/usage.

      • created_atstring
      • updated_atstring
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 403

    The key is valid but may not perform this action (for example an inference key on a provisioning-key route, or a feature outside your plan).

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    No key with this id in your organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl https://api.experientiallabs.ai/api/v1/keys/0b9d4f6e-2a1c-4e8b-9f37-5c6d2e1a8b40 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "data": {
    "hash": "0b9d4f6e-2a1c-4e8b-9f37-5c6d2e1a8b40",
    "name": "billing-sync",
    "label": "xpl_live_8f2c…a91d",
    "disabled": false,
    "is_provisioning": false,
    "identity_id": "7a3e1c90-4b2d-4f6a-9e18-2d5c0b7f3a61",
    "limit": null,
    "limit_remaining": null,
    "limit_reset": null,
    "usage": null,
    "created_at": "2026-11-02T09:14:22.501Z",
    "updated_at": "2026-11-02T09:14:22.501Z"
  }
}

https://api.experientiallabs.ai/api/v1/keys/0b9d4f6e-2a1c-4e8b-9f37-5c6d2e1a8b40