Tokens
Create a bearer token
Mints a token for agents, scripts or the MCP connector. The plaintext is returned once. Re-minting with the same label replaces that token; different labels coexist. Optional body, omit it for a full-access token labelled with your username.
post/api/vega/token
Request
- Base URL: https://getmyluna.app
- URL: https://getmyluna.app/api/vega/token
- Auth: one of:
- HTTP bearer
- API key in cookie luna_session
Request body
Example request
{
"label": "Muse",
"scopes": [
"read",
"write"
]
}Response
Success
Example response
{
"mcp_url": "https://getmyluna.app/mcp"
}Changes
No recorded changes to this operation across all 1 revision of this API.