Skip to Content
Ajusteur agent channel

Rotate your token

POST
/api/mcp/me

Issues a new token for the same invite and retires the old one at once. The new token is returned once; update every client.

Authorization

invite
headerAuthorizationBearer <token>

The invite token Ajusteur issued, aj_ followed by 43 characters. Ask for one at /for/assistants.

Request Body

application/json
  1. body
action*string

Response Body

The new token and the invite

application/json
  1. response
name*string
dailyQuota*integer
callsToday*integer
remainingToday*integer
resetsAt*string
Formatdate-time
expiresAt*|
Formatdate-time
createdAt*string
Formatdate-time
token*string

Shown once

Example Request
curl -X POST 'https://ajusteur.com/api/mcp/me' \  -H 'Content-Type: application/json' \  -d '{  "action": "rotate"}'
Example Response
{  "name": "string",  "dailyQuota": 0,  "callsToday": 0,  "remainingToday": 0,  "resetsAt": "2019-08-24T14:15:22Z",  "expiresAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "token": "string"}