Skip to main content
GET
Get the calling API key
Works with both ADMIN and API keys — see API Keys.
Return the key that sent the request: its name, role, status, expiration date, spend limit with what is left in the current window, and IP allowlist. The secret is never returned. Use it to check how much of the limit is left, or when it resets, before sending a job.

Authorizations

Authorization
string
header
required

Sanctum personal access token, sent as Authorization: Bearer <token>. The token is opaque — it carries no claims and no embedded expiry, so do not attempt to decode it. Issue and revoke tokens from your account dashboard.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Response

The calling key.

data
object