Skip to main content
POST
Issue a new credential for an agent

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json
name
string
required
Required string length: 2 - 255
expires_at
string<date-time>
required
revocation_policy
enum<string>
required
Available options:
kill,
drain
granted_scopes
object[]
required
Required array length: 1 - 20 elements
description
string | null
Maximum string length: 500
max_concurrent_invocations
integer | null
Required range: 1 <= x <= 1000
app_id
string | null
project_id
string | null

Response

success
boolean
required
data
object
required