Agent Management API
Manage AI agents and their configuration schemas. Agents are autonomous components assigned to applications to extend identity flows with AI-driven capabilities.
Download the OpenAPI definition (YAML)
Security schemes
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize
1 scopes
| Scope | Description |
|---|---|
system | Access to system management APIs |
clientCredentials flow, token URL https://localhost:8090/oauth2/token
1 scopes
| Scope | Description |
|---|---|
system | Access to system management APIs |
Agents
CRUD operations for agent instances.
List agents
GET /agents
Retrieve a paginated list of agents. An ouId filter lists the agents the organization unit
owns, followed by the agents shared into it. A projectId lists the project's agents,
narrowed to the organization unit in the ouId filter when one is given.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | Maximum number of records to return. Must be between 1 and 100 inclusive. Default: | |
offset | query | integer | Number of records to skip for pagination. Must be a non-negative integer. Default: | |
filter | query | string | Filter agents by a custom attribute value or by organization unit. Keys inside the
| |
include | query | string | Pass Allowed values: | |
projectId | query | string | Lists the agents of the project. With an |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of agents | AgentListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
500 | Internal server error |
Create a new agent
POST /agents
Creates a new agent. At minimum, an entity is created with the provided identity fields.
An inbound auth profile is created when any inbound auth config fields are supplied.
An OAuth profile is created when inboundAuthConfig is supplied.
The clientSecret is returned once in the response and never again — store it securely.
Scopes: system
Request body (required): application/json
Schema: CreateAgentRequest
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string (uuid) | The organization unit ID where the agent will be created. Required unless | |
projectId | string | The ID of the project the agent belongs to. Without | |
type | string | Yes | The handle of the agent type. Only |
description | string | Optional description of the agent. | |
logoUrl | string | Optional logo URL or avatar spec for the agent. Persisted with the agent's inbound client so the console and login flows can display it. Defaults to no logo when omitted. | |
owner | string (uuid) | Optional ID of the entity that should own this agent. Defaults to the authenticated principal creating the agent. | |
delegated | boolean | Whether the agent acts on behalf of a user. It decides the OAuth grant types the agent is given and allowed, and is not stored. See Default: | |
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. It must be later than the current
time. Omit it, or send | |
attributes | object | Key-value attributes for the agent. Validated against the schema registered
for the given | |
authFlowId | string | Auth flow to use when users authenticate against this agent. When omitted and other inbound auth fields are present, the system default auth flow is used. | |
registrationFlowId | string | Registration flow for this agent. | |
isRegistrationFlowEnabled | boolean | Whether self-service registration is enabled for this agent. Default: | |
themeId | string (uuid) | Theme configuration for this agent's sign-in pages. | |
layoutId | string (uuid) | Layout configuration for this agent's sign-in pages. | |
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | Handles of the user types that can sign up through this agent. | |
allowedAgentTypes | array of string | Handles of the agent types allowed to sign in to this agent. An agent can authenticate only when its agent type handle is listed here; when the list is empty no agent can sign in. | |
inboundAuthConfig | array of InboundAuthConfigComplete | OAuth/OIDC configuration for the agent. Providing this also creates an inbound client row (inbound auth profile fields are not required to be explicitly set). The
|
Responses
| Code | Description | Schema |
|---|---|---|
201 | Agent created | AgentCompleteResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden | Error |
409 | Conflict | Error |
500 | Internal server error |
Get an agent by id
GET /agents/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
include | query | string | Pass Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Agent details | AgentGetResponse |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Agent not found | Error |
500 | Internal server error |
Update an agent by id
PUT /agents/{id}
Full replacement update. type is required. All inbound auth profile
and OAuth profile fields are applied according to the same rules as
CreateAgentRequest. Omitting an inbound auth or OAuth field clears it.
If ouId is provided and differs from the current value, the agent is moved to the
new organization unit (which must exist).
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: UpdateAgentRequest
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string (uuid) | New organization unit ID. Validated against existing OUs when changed. | |
projectId | string | The ID of the project the agent belongs to. Leaving it out keeps the agent in its project,
and an agent can't be taken out of a project.
The agent's organization unit, the new one when | |
type | string | Yes | |
description | string | ||
logoUrl | string | Optional logo URL or avatar spec for the agent. Omitting it leaves the stored logo unchanged only when the same value is sent back; a full replacement update that omits it clears the logo. | |
owner | string (uuid) | Admins can transfer ownership by setting this to a different entity ID. | |
delegated | boolean | Whether the agent acts on behalf of a user. It is not stored, so send it on every update that should be held to the delegated grant rules described on Default: | |
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. Unlike the other fields, omitting
it leaves the stored lifespan unchanged; send | |
attributes | object | ||
authFlowId | string | ||
registrationFlowId | string | ||
isRegistrationFlowEnabled | boolean | ||
themeId | string (uuid) | ||
layoutId | string (uuid) | ||
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | ||
allowedAgentTypes | array of string | ||
inboundAuthConfig | array of InboundAuthConfigComplete |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Agent updated, with its | AgentCompleteResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden | Error |
404 | Agent not found | Error |
409 | Conflict | Error |
500 | Internal server error |
Delete an agent by id
DEL /agents/{id}
Deletes the agent, its inbound auth profile, and its OAuth client profile. Group memberships and role assignments are automatically removed by cascade. The delete is fail-closed and retriable: if dependency cleanup fails, the agent is left intact and the operation can be retried.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Agent deleted | |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden | Error |
404 | Agent not found | Error |
500 | Internal server error |
List groups that the agent belongs to
GET /agents/{id}/groups
Returns a paginated list of groups the agent is a member of. Use the group and role APIs to add the agent to groups or assign roles directly.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier of the agent |
limit | query | integer | Maximum number of records to return. Must be between 1 and 100 inclusive. Default: | |
offset | query | integer | Number of records to skip for pagination. Must be a non-negative integer. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of groups that the agent belongs to | AgentGroupListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Agent not found | Error |
500 | Internal server error |
List roles assigned to the agent
GET /agents/{id}/roles
Returns a paginated list of role names assigned to the agent, both directly and through group membership. Use the group and role APIs to manage the underlying assignments.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier of the agent |
limit | query | integer | Maximum number of records to return. Must be between 1 and 100 inclusive. Default: | |
offset | query | integer | Number of records to skip for pagination. Must be a non-negative integer. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of roles assigned to the agent | AgentRoleListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Agent not found | Error |
500 | Internal server error |
Agent Types
Read agent type schemas to understand available configuration options.
List agent type schemas
GET /agent-types
Retrieves the list of agent type schemas. Agent types are restricted to a single
bootstrap-provisioned default schema; this endpoint returns that one schema.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | Maximum number of records to return. Must be between 1 and 100 inclusive. Default: | |
offset | query | integer | Number of records to skip for pagination. Must be a non-negative integer. Default: | |
include | query | string | Pass Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of agent type schemas | AgentTypeListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden - insufficient permissions to perform this operation | Error |
500 | Internal server error |
Create the default agent type schema
POST /agent-types
Creates the agent type schema. The handle must be default. Agent types are
restricted to a single default schema per deployment, so any other handle is
rejected with USRS-1014.
Scopes: system
Request body (required): application/json
Schema: CreateAgentTypeRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique handle for the agent type (lowercase letters, numbers, hyphens, and underscores only).
Must be Allowed values: |
displayName | string | Yes | Human-readable name of the agent type. It does not need to be unique. |
ouId | string (uuid) | Yes | The organization unit ID where this agent type schema is applicable |
allowSelfRegistration | boolean | Whether the agent type supports self-initiated registration Default: | |
systemAttributes | systemAttributes | System-level metadata for the agent type | |
schema | object | Yes | JSON Schema definition for the agent type |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Agent type created | AgentType |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden - insufficient permissions to perform this operation | Error |
409 | Conflict | Error |
500 | Internal server error |
Get an agent type schema by ID
GET /agent-types/{id}
Retrieves the details of a specific agent type schema by its ID.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
include | query | string | Pass Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Agent type details | AgentType |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden - insufficient permissions to perform this operation | Error |
404 | Agent type not found | Error |
500 | Internal server error |
Update the default agent type schema by ID
PUT /agent-types/{id}
Updates the agent type schema with new attribute definitions. The handle is optional
and must be default when provided. Sending a different handle is rejected with USRS-1014.
The displayName can be changed at any time. This operation replaces the entire schema
definition.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: UpdateAgentTypeRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Optional. The handle cannot be changed, so when provided it must be Allowed values: | |
displayName | string | Yes | Human-readable name of the agent type. It does not need to be unique. |
ouId | string (uuid) | Yes | The root organization unit ID where this agent type schema is applicable |
allowSelfRegistration | boolean | Whether the agent type supports self-initiated registration Default: | |
systemAttributes | systemAttributes | System-level metadata for the agent type | |
schema | object | Yes | JSON Schema definition for the agent type |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Agent type updated | AgentType |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden - insufficient permissions to perform this operation | Error |
404 | Agent type not found | Error |
500 | Internal server error |
Delete an agent type schema by ID (not supported)
DEL /agent-types/{id}
Deleting agent type schemas is not supported. The default agent type cannot be
removed; agent creation depends on it. Update the schema in place instead.
This endpoint always returns USRS-1015.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Agent type deleted | |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
403 | Forbidden - insufficient permissions to perform this operation | Error |
500 | Internal server error |
Schemas
Agent
Type: object
Summary representation used in list responses.
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
ouId | string (uuid) | ||
projectId | string | The ID of the project this agent belongs to, if any. | |
ouHandle | string | Human-readable handle path of the organization unit. Populated only when | |
type | string | The handle of the agent type. Only | |
display | string | Human-readable label for the agent: the value of the display attribute declared by the
agent type's schema, or the agent ID when the schema declares none or the agent has no
value for it. Populated only when | |
description | string | Brief description of the agent. Stored as a system attribute. | |
logoUrl | string | Logo URL or avatar spec for the agent, shown in the console and login flows. | |
clientId | string | OAuth client ID. Present only when the agent has an OAuth profile. | |
owner | string (uuid) | ID of the entity that owns this agent. Defaults to the authenticated principal at creation time. Can be transferred by an administrator. | |
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire. | |
lifespan | Lifespan | Where the agent stands in its lifespan, derived from | |
attributes | object | Key-value attributes stored on the entity. Validated against the schema
registered for the agent's | |
isReadOnly | boolean | Indicates whether the agent is immutable. When | |
status | AgentAccessStatus | The agent's effective access status and the reason for it. Computed when the agent is read or updated, and never accepted on a write. | |
lastLoginAt | string (date-time) | When the agent last authenticated, including session reuse and Absent until recorded. Recording is off for agents unless
| |
isOwnedByOU | boolean | Whether the listed organization unit owns the agent rather than being shared it. Present
only in agent lists. Without an |
AgentListResponse
Type: object
CreateAgentRequest
Type: object
Request to create an agent. What gets persisted depends on which fields are provided:
- Always: entity row (
id,ouId,type,description,attributes,owner). - When any inbound auth field is set: inbound client row (
authFlowIddefaults to the system default when omitted). - When
inboundAuthConfigis set: OAuth profile row.
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string (uuid) | The organization unit ID where the agent will be created. Required unless | |
projectId | string | The ID of the project the agent belongs to. Without | |
type | string | Yes | The handle of the agent type. Only |
description | string | Optional description of the agent. | |
logoUrl | string | Optional logo URL or avatar spec for the agent. Persisted with the agent's inbound client so the console and login flows can display it. Defaults to no logo when omitted. | |
owner | string (uuid) | Optional ID of the entity that should own this agent. Defaults to the authenticated principal creating the agent. | |
delegated | boolean | Whether the agent acts on behalf of a user. It decides the OAuth grant types the agent is given and allowed, and is not stored. See Default: | |
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. It must be later than the current
time. Omit it, or send | |
attributes | object | Key-value attributes for the agent. Validated against the schema registered
for the given | |
authFlowId | string | Auth flow to use when users authenticate against this agent. When omitted and other inbound auth fields are present, the system default auth flow is used. | |
registrationFlowId | string | Registration flow for this agent. | |
isRegistrationFlowEnabled | boolean | Whether self-service registration is enabled for this agent. Default: | |
themeId | string (uuid) | Theme configuration for this agent's sign-in pages. | |
layoutId | string (uuid) | Layout configuration for this agent's sign-in pages. | |
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | Handles of the user types that can sign up through this agent. | |
allowedAgentTypes | array of string | Handles of the agent types allowed to sign in to this agent. An agent can authenticate only when its agent type handle is listed here; when the list is empty no agent can sign in. | |
inboundAuthConfig | array of InboundAuthConfigComplete | OAuth/OIDC configuration for the agent. Providing this also creates an inbound client row (inbound auth profile fields are not required to be explicitly set). The
|
UpdateAgentRequest
Type: object
Full replacement update for an agent. type is required. Other fields
follow the same creation rules as CreateAgentRequest. Omitting an inbound auth or
OAuth field removes the corresponding profile.
If ouId is provided and different from the current value, the agent is moved to the
new organization unit (must exist).
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string (uuid) | New organization unit ID. Validated against existing OUs when changed. | |
projectId | string | The ID of the project the agent belongs to. Leaving it out keeps the agent in its project,
and an agent can't be taken out of a project.
The agent's organization unit, the new one when | |
type | string | Yes | |
description | string | ||
logoUrl | string | Optional logo URL or avatar spec for the agent. Omitting it leaves the stored logo unchanged only when the same value is sent back; a full replacement update that omits it clears the logo. | |
owner | string (uuid) | Admins can transfer ownership by setting this to a different entity ID. | |
delegated | boolean | Whether the agent acts on behalf of a user. It is not stored, so send it on every update that should be held to the delegated grant rules described on Default: | |
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. Unlike the other fields, omitting
it leaves the stored lifespan unchanged; send | |
attributes | object | ||
authFlowId | string | ||
registrationFlowId | string | ||
isRegistrationFlowEnabled | boolean | ||
themeId | string (uuid) | ||
layoutId | string (uuid) | ||
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | ||
allowedAgentTypes | array of string | ||
inboundAuthConfig | array of InboundAuthConfigComplete |
AgentCompleteResponse
Type: object
Returned on create (POST) and update (PUT) operations. Includes clientSecret
inside inboundAuthConfig[].config when an OAuth profile was created or updated —
visible only at that moment. Not returned on GET.
25 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
ouId | string (uuid) | ||
projectId | string | The ID of the project this agent belongs to, if any. | |
ouHandle | string | Human-readable handle path of the organization unit. | |
type | string | ||
description | string | ||
logoUrl | string | Logo URL or avatar spec for the agent, shown in the console and login flows. | |
owner | string (uuid) | ||
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire. | |
lifespan | Lifespan | Where the agent stands in its lifespan, derived from | |
attributes | object | ||
status | AgentAccessStatus | The agent's status after the update. Present on update responses only. | |
status.value | string |
Allowed values: | |
status.details | object | Why the status applies and how it is cleared. Absent for An authentication refusal states only that the account is locked, suspended, or expired. The locked methods, expiry times, and operator note are returned only here, to callers allowed to read the agent. | |
lastLoginAt | string (date-time) | When the agent last authenticated, as a read reports it. Present on update responses only, and absent until recorded. | |
authFlowId | string | ||
registrationFlowId | string | ||
isRegistrationFlowEnabled | boolean | ||
themeId | string (uuid) | ||
layoutId | string (uuid) | ||
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | ||
allowedAgentTypes | array of string | ||
inboundAuthConfig | array of InboundAuthConfigComplete |
AgentGetResponse
Type: object
Returned on read (GET /agents/{id}). Never includes clientSecret.
ouHandle is populated when the request includes ?include=display.
25 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
ouId | string (uuid) | ||
projectId | string | The ID of the project this agent belongs to, if any. | |
ouHandle | string | Human-readable handle path. Populated only when | |
type | string | ||
display | string | Human-readable label for the agent: the value of the display attribute declared by the
agent type's schema, or the agent ID when the schema declares none or the agent has no
value for it. Populated only when | |
description | string | ||
logoUrl | string | Logo URL or avatar spec for the agent, shown in the console and login flows. | |
clientId | string | OAuth client ID. Present only when the agent has an OAuth profile. | |
owner | string (uuid) | ||
validUntil | string (date-time) | RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire. | |
lifespan | Lifespan | Where the agent stands in its lifespan, derived from | |
attributes | object | ||
authFlowId | string | ||
registrationFlowId | string | ||
isRegistrationFlowEnabled | boolean | ||
themeId | string (uuid) | ||
layoutId | string (uuid) | ||
assertion | AssertionConfig | Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
( | |
loginConsent | LoginConsentConfig | Consent validity configuration. A | |
allowedUserTypes | array of string | ||
allowedAgentTypes | array of string | ||
inboundAuthConfig | array of InboundAuthConfig | OAuth config without secrets. | |
status | AgentAccessStatus | The agent's effective access status and the reason for it. Computed when the agent is read or updated, and never accepted on a write. | |
lastLoginAt | string (date-time) | When the agent last authenticated, including session reuse and Absent until recorded. Recording is off for agents unless
|
AgentGroup
Type: object
Summary of a group that an agent belongs to.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
name | string | Yes | |
ouId | string (uuid) | Yes |
AgentGroupListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | ||
startIndex | integer | ||
count | integer | ||
groups | array of AgentGroup | ||
links | array of Link |
AgentRoleListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | ||
startIndex | integer | ||
count | integer | ||
roles | array of string | ||
links | array of Link |
AssertionConfig
Type: object
Entity-level assertion configuration for user-facing auth flows. Controls the
intermediate auth assertion issued during flow execution. Not relevant for M2M
(client_credentials) flows.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
validityPeriod | integer | Validity period of the assertion token in seconds. | |
userAttributes | array of string | User attributes to include in the assertion. |
LoginConsentConfig
Type: object
Consent validity configuration. A validityPeriod of 0 means the consent never
expires and is re-used for all sessions.
1 property
| Name | Type | Required | Description |
|---|---|---|---|
validityPeriod | integer | Consent validity period in seconds. |
AccessTokenConfig
Type: object
Access token configuration, split by token subject.
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
userConfig | AccessTokenSubConfig | Configuration applied when the access token's subject is an end user. For the urn:ietf:params:oauth:grant-type:jwt-bearer grant, whose subject is a user of an external identity provider, only validityPeriod applies. | |
userConfig.validityPeriod | integer | Access token validity period in seconds. | |
userConfig.attributes | array of string | Attributes to embed in the access token payload. | |
clientConfig | AccessTokenSubConfig | Configuration applied when the access token's subject is the agent itself, issued only via the client_credentials grant. | |
clientConfig.validityPeriod | integer | Access token validity period in seconds. | |
clientConfig.attributes | array of string | Attributes to embed in the access token payload. | |
defaultAudience | string | The aud claim for access tokens that are not bound to a resource server, that is, OIDC-only or scopeless requests. Falls back to the client_id when empty. A request that targets a resource server (via the resource parameter or API scopes) uses that resource server as the audience instead. |
AccessTokenSubConfig
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
validityPeriod | integer | Access token validity period in seconds. | |
attributes | array of string | Attributes to embed in the access token payload. |
IDTokenConfig
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
validityPeriod | integer | ID token validity period in seconds. | |
userAttributes | array of string | User attributes to embed in the ID token payload. Identity assertions (ID-JAG) the agent requests also carry the ones the ID token holds, except roles and groups. | |
responseType | string | ID token response type. Defaults to
Allowed values: | |
encryptionAlg | string | JWE key-management algorithm. Required when Allowed values: | |
encryptionEnc | string | JWE content-encryption algorithm. Required when Allowed values: |
RefreshTokenConfig
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
validityPeriod | integer | Refresh token validity period in seconds. |
AgentIDJAGConfig
Type: object
Identity Assertion Authorization Grant (ID-JAG) configuration for the agent (draft-ietf-oauth-identity-assertion-authz-grant). Governs whether this agent may exchange a self-issued ID token for an ID-JAG targeted at an external resource authorization server, via the token endpoint's token-exchange grant with requested_token_type=urn:ietf:params:oauth:token-type:id-jag.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
enabled | boolean | Enable ID-JAG issuance for this agent. Requires a confidential client (tokenEndpointAuthMethod other than "none") and at least one entry in allowedAudiences. Enabling it also requires the urn:ietf:params:oauth:grant-type:token-exchange grant type in grantTypes. Default: | |
allowedAudiences | array of string | Resource authorization server identifiers this agent may request ID-JAGs for. The audience parameter on the token-exchange request must exactly match one of these values. Values must not be blank. | |
validityPeriod | integer | The validity period of an issued ID-JAG in seconds. Defaults to 300 if not specified. Default: |
UserInfoConfig
Type: object
UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response.
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
responseType | string | Format of the userinfo response. Derived from
Allowed values: | |
userAttributes | array of string | User attributes to include in the userinfo response. Defaults to the ID token user attributes when omitted. | |
signingAlg | string | JWS algorithm for signed userinfo responses. Required when Allowed values: | |
encryptionAlg | string | JWE key-management algorithm. Required when Allowed values: | |
encryptionEnc | string | JWE content-encryption algorithm. Required when Allowed values: |
Certificate
Type: object
Certificate for the agent's OAuth client. Used for private_key_jwt token endpoint
authentication and signed/encrypted userinfo responses. Two formats are supported:
JWKS— inline JSON Web Key Set value.JWKS_URI— URL to a publicly reachable JWKS endpoint (must be HTTPS).
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Certificate format. Allowed values: | |
value | string | The certificate value in the format specified by |
InboundAuthConfig
Type: object
OAuth config returned on read operations. Never includes clientSecret.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Allowed values: | |
config | OAuthAgentConfig | OAuth client configuration for an agent. Returned on read; never includes |
InboundAuthConfigComplete
Type: object
OAuth config used in create/update requests and create/update responses.
Includes clientSecret when present.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Allowed values: | |
config | OAuthAgentConfigComplete |
OAuthAgentConfig
Type: object
OAuth client configuration for an agent. Returned on read; never includes clientSecret.
20 properties
| Name | Type | Required | Description |
|---|---|---|---|
clientId | string | OAuth client ID. Auto-generated when omitted on create. On update, the existing value is preserved when omitted. | |
redirectUris | array of string (uri) | Redirect URIs. Required for redirect-based grant types ( | |
postLogoutRedirectUris | array of string (uri) | Allowed post-logout redirect URIs. A post_logout_redirect_uri sent to the logout endpoint must match one of these. | |
backchannelLogoutUri | string (uri) | OIDC Back-Channel Logout endpoint of the agent. ThunderID POSTs a logout token here when a session the agent shares ends. Must be an absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https. | |
grantTypes | array of string | OAuth grant types of the agent. The urn:ietf:params:oauth:grant-type:jwt-bearer grant, used to present an ID-JAG assertion issued by a trusted external IdP (draft-ietf-oauth-identity-assertion-authz-grant), requires a confidential client (tokenEndpointAuthMethod other than "none"). Allowed values: | |
responseTypes | array of string | OAuth response types. Required when using Allowed values: | |
tokenEndpointAuthMethod | string | Token endpoint authentication method. Defaults to
Allowed values: | |
pkceRequired | boolean | Whether PKCE is required. Mandatory for public clients. Default: | |
publicClient | boolean | Whether this is a public client (no client secret). Requires Default: | |
requirePushedAuthorizationRequests | boolean | Whether all authorization requests must use PAR (RFC 9126). Default: | |
certificate | Certificate | Certificate for the agent's OAuth client. Used for
| |
scopes | array of string | OAuth scopes this client is allowed to request. | |
token | object | Token validity and payload configuration. | |
token.accessToken | AccessTokenConfig | Access token configuration, split by token subject. | |
token.idToken | IDTokenConfig | ||
token.refreshToken | RefreshTokenConfig | ||
token.idJag | AgentIDJAGConfig | Identity Assertion Authorization Grant (ID-JAG) configuration for the agent (draft-ietf-oauth-identity-assertion-authz-grant). Governs whether this agent may exchange a self-issued ID token for an ID-JAG targeted at an external resource authorization server, via the token endpoint's token-exchange grant with requested_token_type=urn:ietf:params:oauth:token-type:id-jag. | |
userInfo | UserInfoConfig | UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response. | |
scopeClaims | object | Custom scope-to-claims mapping. Allows embedding claims into tokens when a scope is granted. | |
acrValues | array of string | Default ACR values applied when the authorization request does not specify |
OAuthAgentConfigComplete
Type: OAuthAgentConfig
OAuth client configuration for an agent. Returned on read; never includes clientSecret.
21 properties
| Name | Type | Required | Description |
|---|---|---|---|
clientId | string | OAuth client ID. Auto-generated when omitted on create. On update, the existing value is preserved when omitted. | |
redirectUris | array of string (uri) | Redirect URIs. Required for redirect-based grant types ( | |
postLogoutRedirectUris | array of string (uri) | Allowed post-logout redirect URIs. A post_logout_redirect_uri sent to the logout endpoint must match one of these. | |
backchannelLogoutUri | string (uri) | OIDC Back-Channel Logout endpoint of the agent. ThunderID POSTs a logout token here when a session the agent shares ends. Must be an absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https. | |
grantTypes | array of string | OAuth grant types of the agent. The urn:ietf:params:oauth:grant-type:jwt-bearer grant, used to present an ID-JAG assertion issued by a trusted external IdP (draft-ietf-oauth-identity-assertion-authz-grant), requires a confidential client (tokenEndpointAuthMethod other than "none"). Allowed values: | |
responseTypes | array of string | OAuth response types. Required when using Allowed values: | |
tokenEndpointAuthMethod | string | Token endpoint authentication method. Defaults to
Allowed values: | |
pkceRequired | boolean | Whether PKCE is required. Mandatory for public clients. Default: | |
publicClient | boolean | Whether this is a public client (no client secret). Requires Default: | |
requirePushedAuthorizationRequests | boolean | Whether all authorization requests must use PAR (RFC 9126). Default: | |
certificate | Certificate | Certificate for the agent's OAuth client. Used for
| |
scopes | array of string | OAuth scopes this client is allowed to request. | |
token | object | Token validity and payload configuration. | |
token.accessToken | AccessTokenConfig | Access token configuration, split by token subject. | |
token.idToken | IDTokenConfig | ||
token.refreshToken | RefreshTokenConfig | ||
token.idJag | AgentIDJAGConfig | Identity Assertion Authorization Grant (ID-JAG) configuration for the agent (draft-ietf-oauth-identity-assertion-authz-grant). Governs whether this agent may exchange a self-issued ID token for an ID-JAG targeted at an external resource authorization server, via the token endpoint's token-exchange grant with requested_token_type=urn:ietf:params:oauth:token-type:id-jag. | |
userInfo | UserInfoConfig | UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response. | |
scopeClaims | object | Custom scope-to-claims mapping. Allows embedding claims into tokens when a scope is granted. | |
acrValues | array of string | Default ACR values applied when the authorization request does not specify | |
clientSecret | string | OAuth client secret. Returned only in create and update responses.
Never returned by GET endpoints. Absent for public clients
( |
AgentType
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The unique identifier of the agent type |
handle | string | Yes | Unique handle of the agent type (lowercase letters, numbers, hyphens, and underscores only).
Restricted to Allowed values: |
displayName | string | Yes | Human-readable name of the agent type. It does not need to be unique and can be changed at any time. |
ouId | string (uuid) | Yes | The root organization unit ID associated with this agent type schema |
ouHandle | string | Human-readable handle of the organization unit (only included when include=display query parameter is used). | |
allowSelfRegistration | boolean | Indicates whether agents of this type can perform self-registration flows Default: | |
systemAttributes | object | System-level metadata for the agent type | |
systemAttributes.display | string | The schema attribute to use as the human-readable display name for agents of this type | |
schema | object | Yes | JSON Schema definition for the agent type |
AgentTypeListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Number of results that match the listing operation. | |
startIndex | integer | Index of the first element of the page, which will be equal to offset + 1. | |
count | integer | Number of elements in the returned page. | |
types | array of object | ||
links | array of Link |
CreateAgentTypeRequest
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique handle for the agent type (lowercase letters, numbers, hyphens, and underscores only).
Must be Allowed values: |
displayName | string | Yes | Human-readable name of the agent type. It does not need to be unique. |
ouId | string (uuid) | Yes | The organization unit ID where this agent type schema is applicable |
allowSelfRegistration | boolean | Whether the agent type supports self-initiated registration Default: | |
systemAttributes | systemAttributes | System-level metadata for the agent type | |
schema | object | Yes | JSON Schema definition for the agent type |
UpdateAgentTypeRequest
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Optional. The handle cannot be changed, so when provided it must be Allowed values: | |
displayName | string | Yes | Human-readable name of the agent type. It does not need to be unique. |
ouId | string (uuid) | Yes | The root organization unit ID where this agent type schema is applicable |
allowSelfRegistration | boolean | Whether the agent type supports self-initiated registration Default: | |
systemAttributes | systemAttributes | System-level metadata for the agent type | |
schema | object | Yes | JSON Schema definition for the agent type |
I18nMessage
Type: object
Internationalized message with translation key and default value.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Translation key for fetching localized message. |
defaultValue | string | Yes | Default message in English (fallback). |
AgentAccessStatus
Type: object
The agent's effective access status and the reason for it. Computed when the agent is read or updated, and never accepted on a write.
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
value | string |
Allowed values: | |
details | object | Why the status applies and how it is cleared. Absent for An authentication refusal states only that the account is locked, suspended, or expired. The locked methods, expiry times, and operator note are returned only here, to callers allowed to read the agent. | |
details.reason | string | What caused the status. Allowed values: | |
details.since | string (date-time) | When the operator placed the hold, or for | |
details.operatorNote | string | The note the operator entered when placing the hold. Absent when none was entered. Never included in an authentication refusal. | |
details.lockedMethods | array of object | The automatic locks currently in force, in a stable order. Absent unless the status
is With |
Lifespan
Type: object
Where the agent stands in its lifespan, derived from validUntil on every read.
1 property
| Name | Type | Required | Description |
|---|---|---|---|
phase | string |
Allowed values: |
Link
Type: object
Pagination link.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
href | string | ||
rel | string | Allowed values: |
Error
Type: object
Standard error response. Agent management errors follow the AGT-XXXX convention.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Machine-readable error code. |
message | I18nMessage | Yes | Internationalized message with translation key and default value. |
description | I18nMessage | Internationalized message with translation key and default value. |
Was this page helpful?