API ReferenceAgent tokens
Revoke a personal agent token
Authorization
bearerAuth AuthorizationBearer <token>
A RemoteHost API key (rh_sk_...) or a user session token.
In: header
Path Parameters
tokenId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/me/agent-tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "revoked": true}Create a personal agent token POST
User sign-in required. Explicit delegation across accessible organizations; does not alter organization API keys. sandbox.create permits waking existing sandboxes only. Token returned once.
Read machine-hour usage for the current billing period GET
Requires billing.read. Optional filters attribute usage to a project or your own end user.