ApiTokens
List the API key scope vocabulary.
Returns every scope a key can carry (with its resource / action / intent breakdown) plus the named presets the mint endpoint accepts. Powers the dashboard mint flow and the CLI's `fruxon api-key-scopes list` command — clients shouldn't hardcode the vocabulary because that drifts the moment a new scope ships. No scope required: this is metadata anyone who can authenticate must be able to read (you can't mint a scoped key without knowing what scopes exist).
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
tenant*string
The tenant identifier
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/tokens/scopes"{
"scopes": [
{
"id": "string",
"resource": "string",
"action": "string",
"intent": "string",
"label": "string",
"helper": "string"
}
],
"resources": [
{
"id": "string",
"label": "string",
"description": "string",
"summaryTemplate": "string"
}
],
"presets": [
{
"id": "string",
"label": "string",
"tagline": "string",
"description": "string",
"intent": "string",
"scopes": [
"string"
]
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}