Skip to main content
POST
Create Agent Token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

System-generated agent ID.

Example:

"jqfwg345gi25n5ju2yz5iz6m"

Body

application/json
expirationDate
string | null

Token expiry as yyyy-mm-dd, applied to the issued token's own expiry only (the identity manifest is not modified). Defaults to a long-lived, effectively non-expiring token when omitted.

Response

The newly issued TrueFoundry-backed token for the agent's identity.

token
string
required

The TrueFoundry-backed agent identity token.