Skip to main content
Infrastructure/Agents

GenerateToken

Generate a bearer token for an agent to authenticate subsequent API calls

POST/api/v1/agents/{uuid}/token

Operation ID

GenerateToken

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • uuid
    StringRequired

    UUID of the agent for which to generate a token

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • token
    String

    Generated bearer token for agent authentication

    Example: eyJhbGciOiJSUzI1NiJ9...

  • expiresAt
    String

    Expires at

    Example: 2026-01-15T08:00:00Z