---
title: "API Key Introspection"
method: GET
path: "/auth/keys/me"
tags: ["System"]
---

# API Key Introspection

`GET /auth/keys/me`

Return metadata about the calling API key: plan, remaining credits, period end, bound domain, status. Useful for any SDK consumer that wants to surface plan and balance in its own UI.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `key_prefix` string, nullable
    - `plan` string, nullable
    - `credits_remaining` number, nullable
    - `credits_total_this_period` number, nullable
    - `period_end` string, nullable
    - `status` string, nullable
    - `domain` string, nullable
    - `domain_bound_at` string, nullable
    - `created_at` string, nullable
    - `referrer_source` string, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/529d7d36d7d6/schema)
