AgentToken
Exchange an API key for an external agent token
Changed onExchanges a workspace API key, sent with Basic authentication, for a short-lived external_agent access token for a coding agent the key connected. The token acts for the key: it reaches only the key's workspace, with the key's scopes within the external_agent ceiling, and stops working when the key is disabled, expired or deleted. Nothing is stored; exchange again before the token expires. Agent tokens, people's tokens, and login, impersonation, invitation, agent-bound, company and global keys are refused.
post/agentTokens
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/agentTokens
- Auth: one of:
- HTTP basic
- API key in header Authorization
Request body
Response
The external agent access token.
Changes
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info
- info
endpoint added
- info