Returns the namespace, subject, grants and lifetime of the JWT that authenticates the request.
Changed onRequest
- Base URLhttps://api.rivet.dev
- URLhttps://api.rivet.dev/auth/tokens/inspect
- Auth
- HTTP bearer
- or API key in header x-rivet-token
Response
The token's claims. The response carries Cache-Control: no-store.
Example response
{
"grants": [
{
"target": {
"id": "d97pbq1nyqxw1w5qdwz0iirbqiblh2"
}
}
]
}Changes
- breaking
removed the required property
from the response with the status - warning
added the new
nodeenum value to the//response property for the response status - warning
added the new
poolenum value to the//response property for the response status - info
the endpoint scheme security
rivet_token_headerwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status - info
removed the
runnerenum value from the//response property for the response status - info
removed the
runner_configenum value from the//response property for the response status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info