Get API Key Details

Auth context for the current API key, including the workspace it resolves to, current rate-limit tier, and allowed endpoints.

Tip: Call this before a batch run as a health check. The response confirms that your key is valid, which workspace it resolves to, the rate limit tier, and which endpoints the key is allowed to hit.

Endpoint

GET /api/v1/account/key-info

Authentication

All requests require the X-Satellyte-API-Key header. See Quickstart.

Request

No body or query parameters.

cURL

curl -i "https://api-staging.satellyte.ai/api/v1/account/key-info" \
  -H "X-Satellyte-API-Key: $API_KEY"

Response (200)

{
  "data": {
    "valid": true,
    "public_api_enabled": true,
    "auth": {
      "type": "api_key",
      "subject": "H7OthRb1CSy0Q1OYS5u5H",
      "key_header": "X-Satellyte-API-Key"
    },
    "workspace": {
      "id": "OWPayiJ2iK6dIZ4VOFxkP",
      "user_id": "H7OthRb1CSy0Q1OYS5u5H",
      "role": "admin",
      "email": "support@example.com"
    },
    "tier": "starter",
    "rate_limit": {
      "enabled": true,
      "strategy": "SIMPLE_API_KEY_LIMIT",
      "simple": { "requests": 100, "window": "1m" },
      "tiers": { "default": "100/m", "starter": "300/m", "growth": "1000/m" }
    },
    "allowed_endpoints": [
      "GET /api/v1/health",
      "POST /api/v1/discover/companies",
      "POST /api/v1/enrich/email"
    ],
    "generated_at": "2026-05-11T07:52:12.938Z"
  }
}

Response fields

FieldTypeNotes
validbooleanWhether the API key context is valid.
public_api_enabledbooleanWhether Public API access is enabled for this workspace.
authobjectAuth metadata (type, subject id, header name).
workspaceobjectThe workspace this key resolves to.
tierstringCurrent billing/rate-limit tier (default, starter, growth).
rate_limitobjectStrategy and tier-level rates.
allowed_endpointsstring[]Endpoint capability list for this key.
generated_atstringISO timestamp when the response was generated.