Inspect the current API key
GET /meta/tokenOperation ID: GetTokenInfo
Returns the public key id, the granted permissions (null = legacy key
with full access), and the customer id of the authenticated API key.
Used by the regfish MCP server and other integrations for capability
discovery.
Responses
Section titled “Responses”| Status | Type | Description |
|---|---|---|
200 | tokenInfoResponse | API key metadata |
401 | Error | Unauthorized |
500 | Error | Unexpected error |
Response body
Section titled “Response body”| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | yes | Success indicator |
code | integer | no | Response/Error Code |
response | tokenInfoResponse | no | - |
Example
Section titled “Example”curl -X GET "https://api.regfish.com/meta/token" \ -H "x-api-key: $REGFISH_API_KEY"Build a request
Section titled “Build a request”Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.