Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Agent Management API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

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
ScopeDescription
systemAccess to system management APIs

clientCredentials flow, token URL https://localhost:8090/oauth2/token

1 scopes
ScopeDescription
systemAccess 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

NameInTypeRequiredDescription
limitqueryinteger

Maximum number of records to return. Must be between 1 and 100 inclusive.

Default: 30

offsetqueryinteger

Number of records to skip for pagination. Must be a non-negative integer.

Default: 0

filterquerystring

Filter agents by a custom attribute value or by organization unit. Keys inside the attributes JSON object are filterable, including name. Of the system fields, only ouId is supported: ouId eq "<id>" lists the agents the organization unit owns, followed by the agents shared into it, and cannot be combined with another expression. The other system fields (description, type, owner, clientId) are not supported. Supported operators: eq. Format: attribute operator "value". The value must be wrapped in double quotes. Example: name eq "Calendar Agent".

includequerystring

Pass display to populate the display and ouHandle fields in the response.

Allowed values: display

projectIdquerystring

Lists the agents of the project. With an ouId filter, lists only the project's agents that organization unit owns. No other filter expression can be combined with it. A project that does not exist has no agents.

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
ouIdstring (uuid)

The organization unit ID where the agent will be created. Required unless projectId is given.

projectIdstring

The ID of the project the agent belongs to. Without ouId, the agent is created in the system organization unit. With ouId, that organization unit must belong to the project.

typestringYes

The handle of the agent type. Only default is supported.

descriptionstring

Optional description of the agent.

logoUrlstring

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.

ownerstring (uuid)

Optional ID of the entity that should own this agent. Defaults to the authenticated principal creating the agent.

delegatedboolean

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 inboundAuthConfig.

Default: false

validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. It must be later than the current time. Omit it, or send null, to register an agent that does not expire. From this instant the agent obtains no new tokens, and no token issued to or for it outlives it.

attributesobject

Key-value attributes for the agent. Validated against the schema registered for the given type: required fields, regex patterns, and uniqueness constraints are enforced. The agent's name is the name attribute; the default agent type requires it and keeps it unique across agents. Fields marked as credentials in the schema are extracted and stored as hashed credentials, not returned in read responses.

authFlowIdstring

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.

registrationFlowIdstring

Registration flow for this agent.

isRegistrationFlowEnabledboolean

Whether self-service registration is enabled for this agent.

Default: false

themeIdstring (uuid)

Theme configuration for this agent's sign-in pages.

layoutIdstring (uuid)

Layout configuration for this agent's sign-in pages.

assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string

Handles of the user types that can sign up through this agent.

allowedAgentTypesarray 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.

inboundAuthConfigarray 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 client_credentials grant type is always granted: it is added when missing, and is the default when no grant types are given. A public client, which has no secret, is not given it. All other requested grant types are accepted as given. When delegated is true, an OAuth configuration is created if none is given, and the grant types are checked:

  • When any grant type beyond client_credentials is given, at least one of authorization_code, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:token-exchange and urn:ietf:params:oauth:grant-type:jwt-bearer must be among them.
  • When none beyond client_credentials is given, authorization_code and refresh_token are added, with the code response type and PKCE required.

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes
includequerystring

Pass display to populate the display and ouHandle fields in the response.

Allowed values: display

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: UpdateAgentRequest

19 properties
NameTypeRequiredDescription
ouIdstring (uuid)

New organization unit ID. Validated against existing OUs when changed.

projectIdstring

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 ouId is given or the current one otherwise, must belong to the project. A project never moves the agent on its own.

typestringYes
descriptionstring
logoUrlstring

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.

ownerstring (uuid)

Admins can transfer ownership by setting this to a different entity ID.

delegatedboolean

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 inboundAuthConfig in CreateAgentRequest.

Default: false

validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. Unlike the other fields, omitting it leaves the stored lifespan unchanged; send null to remove the expiry. A value that differs from the stored one must be later than the current time.

attributesobject
authFlowIdstring
registrationFlowIdstring
isRegistrationFlowEnabledboolean
themeIdstring (uuid)
layoutIdstring (uuid)
assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string
allowedAgentTypesarray of string
inboundAuthConfigarray of InboundAuthConfigComplete

Responses

CodeDescriptionSchema
200

Agent updated, with its status

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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

The unique identifier of the agent

limitqueryinteger

Maximum number of records to return. Must be between 1 and 100 inclusive.

Default: 30

offsetqueryinteger

Number of records to skip for pagination. Must be a non-negative integer.

Default: 0

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

The unique identifier of the agent

limitqueryinteger

Maximum number of records to return. Must be between 1 and 100 inclusive.

Default: 30

offsetqueryinteger

Number of records to skip for pagination. Must be a non-negative integer.

Default: 0

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
limitqueryinteger

Maximum number of records to return. Must be between 1 and 100 inclusive.

Default: 30

offsetqueryinteger

Number of records to skip for pagination. Must be a non-negative integer.

Default: 0

includequerystring

Pass display to populate the display and ouHandle fields in the response.

Allowed values: display

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
handlestringYes

Unique handle for the agent type (lowercase letters, numbers, hyphens, and underscores only). Must be default. Agent types are restricted to a single default schema and any other handle is rejected. Once set, the handle cannot be changed.

Allowed values: default

displayNamestringYes

Human-readable name of the agent type. It does not need to be unique.

ouIdstring (uuid)Yes

The organization unit ID where this agent type schema is applicable

allowSelfRegistrationboolean

Whether the agent type supports self-initiated registration

Default: false

systemAttributessystemAttributes

System-level metadata for the agent type

schemaobjectYes

JSON Schema definition for the agent type

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes
includequerystring

Pass display to populate the display and ouHandle fields in the response.

Allowed values: display

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: UpdateAgentTypeRequest

6 properties
NameTypeRequiredDescription
handlestring

Optional. The handle cannot be changed, so when provided it must be default. When omitted, the existing handle is kept.

Allowed values: default

displayNamestringYes

Human-readable name of the agent type. It does not need to be unique.

ouIdstring (uuid)Yes

The root organization unit ID where this agent type schema is applicable

allowSelfRegistrationboolean

Whether the agent type supports self-initiated registration

Default: false

systemAttributessystemAttributes

System-level metadata for the agent type

schemaobjectYes

JSON Schema definition for the agent type

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
idstring (uuid)Yes
ouIdstring (uuid)
projectIdstring

The ID of the project this agent belongs to, if any.

ouHandlestring

Human-readable handle path of the organization unit. Populated only when include=display is used.

typestring

The handle of the agent type. Only default is supported.

displaystring

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 include=display is used.

descriptionstring

Brief description of the agent. Stored as a system attribute.

logoUrlstring

Logo URL or avatar spec for the agent, shown in the console and login flows.

clientIdstring

OAuth client ID. Present only when the agent has an OAuth profile.

ownerstring (uuid)

ID of the entity that owns this agent. Defaults to the authenticated principal at creation time. Can be transferred by an administrator.

validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire.

lifespanLifespan

Where the agent stands in its lifespan, derived from validUntil on every read.

attributesobject

Key-value attributes stored on the entity. Validated against the schema registered for the agent's type: required fields, regex patterns, types, and uniqueness constraints are enforced. Fields marked as credentials in the schema are extracted and stored as hashed credentials, not returned in read responses.

isReadOnlyboolean

Indicates whether the agent is immutable. When true, update and delete operations are rejected. Set by the system for declaratively provisioned agents, and for agents listed in an organization unit they are shared into.

statusAgentAccessStatus

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.

lastLoginAtstring (date-time)

When the agent last authenticated, including session reuse and client_credentials tokens. Set by the server and never accepted on a write.

Absent until recorded. Recording is off for agents unless accountAccess.agent.recordLastLogin is enabled, and the value can lag the latest sign-in by up to accountAccess.agent.lastLoginResolutionSeconds (one hour by default).

isOwnedByOUboolean

Whether the listed organization unit owns the agent rather than being shared it. Present only in agent lists. Without an ouId filter or a projectId, every listed agent is owned.

AgentListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Total number of agents matching the query.

startIndexinteger

Index of the first element in this page (offset + 1).

countinteger

Number of agents in this page.

agentsarray of Agent
linksarray of Link

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 (authFlowId defaults to the system default when omitted).
  • When inboundAuthConfig is set: OAuth profile row.
19 properties
NameTypeRequiredDescription
ouIdstring (uuid)

The organization unit ID where the agent will be created. Required unless projectId is given.

projectIdstring

The ID of the project the agent belongs to. Without ouId, the agent is created in the system organization unit. With ouId, that organization unit must belong to the project.

typestringYes

The handle of the agent type. Only default is supported.

descriptionstring

Optional description of the agent.

logoUrlstring

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.

ownerstring (uuid)

Optional ID of the entity that should own this agent. Defaults to the authenticated principal creating the agent.

delegatedboolean

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 inboundAuthConfig.

Default: false

validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. It must be later than the current time. Omit it, or send null, to register an agent that does not expire. From this instant the agent obtains no new tokens, and no token issued to or for it outlives it.

attributesobject

Key-value attributes for the agent. Validated against the schema registered for the given type: required fields, regex patterns, and uniqueness constraints are enforced. The agent's name is the name attribute; the default agent type requires it and keeps it unique across agents. Fields marked as credentials in the schema are extracted and stored as hashed credentials, not returned in read responses.

authFlowIdstring

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.

registrationFlowIdstring

Registration flow for this agent.

isRegistrationFlowEnabledboolean

Whether self-service registration is enabled for this agent.

Default: false

themeIdstring (uuid)

Theme configuration for this agent's sign-in pages.

layoutIdstring (uuid)

Layout configuration for this agent's sign-in pages.

assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string

Handles of the user types that can sign up through this agent.

allowedAgentTypesarray 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.

inboundAuthConfigarray 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 client_credentials grant type is always granted: it is added when missing, and is the default when no grant types are given. A public client, which has no secret, is not given it. All other requested grant types are accepted as given. When delegated is true, an OAuth configuration is created if none is given, and the grant types are checked:

  • When any grant type beyond client_credentials is given, at least one of authorization_code, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:token-exchange and urn:ietf:params:oauth:grant-type:jwt-bearer must be among them.
  • When none beyond client_credentials is given, authorization_code and refresh_token are added, with the code response type and PKCE required.

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
NameTypeRequiredDescription
ouIdstring (uuid)

New organization unit ID. Validated against existing OUs when changed.

projectIdstring

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 ouId is given or the current one otherwise, must belong to the project. A project never moves the agent on its own.

typestringYes
descriptionstring
logoUrlstring

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.

ownerstring (uuid)

Admins can transfer ownership by setting this to a different entity ID.

delegatedboolean

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 inboundAuthConfig in CreateAgentRequest.

Default: false

validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. Unlike the other fields, omitting it leaves the stored lifespan unchanged; send null to remove the expiry. A value that differs from the stored one must be later than the current time.

attributesobject
authFlowIdstring
registrationFlowIdstring
isRegistrationFlowEnabledboolean
themeIdstring (uuid)
layoutIdstring (uuid)
assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string
allowedAgentTypesarray of string
inboundAuthConfigarray 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
NameTypeRequiredDescription
idstring (uuid)
ouIdstring (uuid)
projectIdstring

The ID of the project this agent belongs to, if any.

ouHandlestring

Human-readable handle path of the organization unit.

typestring
descriptionstring
logoUrlstring

Logo URL or avatar spec for the agent, shown in the console and login flows.

ownerstring (uuid)
validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire.

lifespanLifespan

Where the agent stands in its lifespan, derived from validUntil on every read.

attributesobject
statusAgentAccessStatus

The agent's status after the update. Present on update responses only.

status.valuestring

ACTIVE, LOCKED, SUSPENDED or EXPIRED. When more than one applies, the first of SUSPENDED, EXPIRED and LOCKED is reported.

SUSPENDED is an administrative hold. The suspend flow places it and the unsuspend flow removes it. Any automatic lock still in force remains, so the agent returns to LOCKED or ACTIVE according to its current lock state.

LOCKED is an automatic hold after repeated failed sign-ins with the credential or otp authentication method. Automatic locking is enabled for agents by default. The agent's OAuth client secret is never locked. A lock does not expire when its duration is 0 or it forms at maxConsecutiveFailures; other locks expire on their own.

EXPIRED means the agent's validUntil has passed. Moving validUntil into the future returns the agent to ACTIVE.

Allowed values: ACTIVE, LOCKED, SUSPENDED, EXPIRED

status.detailsobject

Why the status applies and how it is cleared. Absent for ACTIVE.

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.

lastLoginAtstring (date-time)

When the agent last authenticated, as a read reports it. Present on update responses only, and absent until recorded.

authFlowIdstring
registrationFlowIdstring
isRegistrationFlowEnabledboolean
themeIdstring (uuid)
layoutIdstring (uuid)
assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string
allowedAgentTypesarray of string
inboundAuthConfigarray 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
NameTypeRequiredDescription
idstring (uuid)
ouIdstring (uuid)
projectIdstring

The ID of the project this agent belongs to, if any.

ouHandlestring

Human-readable handle path. Populated only when include=display is used.

typestring
displaystring

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 include=display is used.

descriptionstring
logoUrlstring

Logo URL or avatar spec for the agent, shown in the console and login flows.

clientIdstring

OAuth client ID. Present only when the agent has an OAuth profile.

ownerstring (uuid)
validUntilstring (date-time)

RFC 3339 instant at which the agent's lifespan ends. Omitted when the agent does not expire.

lifespanLifespan

Where the agent stands in its lifespan, derived from validUntil on every read.

attributesobject
authFlowIdstring
registrationFlowIdstring
isRegistrationFlowEnabledboolean
themeIdstring (uuid)
layoutIdstring (uuid)
assertionAssertionConfig

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.

loginConsentLoginConsentConfig

Consent validity configuration. A validityPeriod of 0 means the consent never expires and is re-used for all sessions.

allowedUserTypesarray of string
allowedAgentTypesarray of string
inboundAuthConfigarray of InboundAuthConfig

OAuth config without secrets.

statusAgentAccessStatus

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.

lastLoginAtstring (date-time)

When the agent last authenticated, including session reuse and client_credentials tokens. Set by the server and never accepted on a write.

Absent until recorded. Recording is off for agents unless accountAccess.agent.recordLastLogin is enabled, and the value can lag the latest sign-in by up to accountAccess.agent.lastLoginResolutionSeconds (one hour by default).

AgentGroup​

Type: object

Summary of a group that an agent belongs to.

3 properties
NameTypeRequiredDescription
idstring (uuid)Yes
namestringYes
ouIdstring (uuid)Yes

AgentGroupListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger
startIndexinteger
countinteger
groupsarray of AgentGroup
linksarray of Link

AgentRoleListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger
startIndexinteger
countinteger
rolesarray of string
linksarray 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
NameTypeRequiredDescription
validityPeriodinteger

Validity period of the assertion token in seconds.

userAttributesarray 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
NameTypeRequiredDescription
validityPeriodinteger

Consent validity period in seconds. 0 means no expiration.

AccessTokenConfig​

Type: object

Access token configuration, split by token subject.

7 properties
NameTypeRequiredDescription
userConfigAccessTokenSubConfig

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.validityPeriodinteger

Access token validity period in seconds.

userConfig.attributesarray of string

Attributes to embed in the access token payload.

clientConfigAccessTokenSubConfig

Configuration applied when the access token's subject is the agent itself, issued only via the client_credentials grant.

clientConfig.validityPeriodinteger

Access token validity period in seconds.

clientConfig.attributesarray of string

Attributes to embed in the access token payload.

defaultAudiencestring

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
NameTypeRequiredDescription
validityPeriodinteger

Access token validity period in seconds.

attributesarray of string

Attributes to embed in the access token payload.

IDTokenConfig​

Type: object

5 properties
NameTypeRequiredDescription
validityPeriodinteger

ID token validity period in seconds.

userAttributesarray 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.

responseTypestring

ID token response type. Defaults to JWT.

  • JWT — standard signed JWT (default)
  • JWE — encrypted JWT (requires encryptionAlg and encryptionEnc)
  • NESTED_JWT — signed-then-encrypted (requires encryptionAlg and encryptionEnc)

Allowed values: JWT, JWE, NESTED_JWT

encryptionAlgstring

JWE key-management algorithm. Required when responseType is JWE or NESTED_JWT.

Allowed values: RSA-OAEP, RSA-OAEP-256

encryptionEncstring

JWE content-encryption algorithm. Required when encryptionAlg is set.

Allowed values: A128CBC-HS256, A256GCM

RefreshTokenConfig​

Type: object

1 property
NameTypeRequiredDescription
validityPeriodinteger

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
NameTypeRequiredDescription
enabledboolean

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: false

allowedAudiencesarray 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.

validityPeriodinteger

The validity period of an issued ID-JAG in seconds. Defaults to 300 if not specified.

Default: 300

UserInfoConfig​

Type: object

UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response.

5 properties
NameTypeRequiredDescription
responseTypestring

Format of the userinfo response. Derived from signingAlg/encryptionAlg when not explicitly set.

  • JSON — plain JSON (default)
  • JWS — signed JWT (requires signingAlg)
  • JWE — encrypted JWT (requires encryptionAlg and encryptionEnc)
  • NESTED_JWT — signed-then-encrypted (requires all three algorithm fields)

Allowed values: JSON, JWS, JWE, NESTED_JWT

userAttributesarray of string

User attributes to include in the userinfo response. Defaults to the ID token user attributes when omitted.

signingAlgstring

JWS algorithm for signed userinfo responses. Required when responseType is JWS or NESTED_JWT.

Allowed values: RS256, RS512, PS256, ES256, ES384, ES512, EdDSA

encryptionAlgstring

JWE key-management algorithm. Required when responseType is JWE or NESTED_JWT.

Allowed values: RSA-OAEP, RSA-OAEP-256

encryptionEncstring

JWE content-encryption algorithm. Required when encryptionAlg is set.

Allowed values: A128CBC-HS256, A256GCM

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
NameTypeRequiredDescription
typestring

Certificate format.

Allowed values: JWKS, JWKS_URI

valuestring

The certificate value in the format specified by type. For JWKS_URI, a publicly reachable HTTPS URL. For JWKS, the serialized JSON Web Key Set.

InboundAuthConfig​

Type: object

OAuth config returned on read operations. Never includes clientSecret.

2 properties
NameTypeRequiredDescription
typestring

Allowed values: oauth2

configOAuthAgentConfig

OAuth client configuration for an agent. Returned on read; never includes clientSecret.

InboundAuthConfigComplete​

Type: object

OAuth config used in create/update requests and create/update responses. Includes clientSecret when present.

2 properties
NameTypeRequiredDescription
typestring

Allowed values: oauth2

configOAuthAgentConfigComplete

OAuthAgentConfig​

Type: object

OAuth client configuration for an agent. Returned on read; never includes clientSecret.

20 properties
NameTypeRequiredDescription
clientIdstring

OAuth client ID. Auto-generated when omitted on create. On update, the existing value is preserved when omitted.

redirectUrisarray of string (uri)

Redirect URIs. Required for redirect-based grant types (authorization_code).

postLogoutRedirectUrisarray of string (uri)

Allowed post-logout redirect URIs. A post_logout_redirect_uri sent to the logout endpoint must match one of these.

backchannelLogoutUristring (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.

grantTypesarray 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: authorization_code, client_credentials, refresh_token, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:jwt-bearer

responseTypesarray of string

OAuth response types. Required when using authorization_code.

Allowed values: code

tokenEndpointAuthMethodstring

Token endpoint authentication method. Defaults to client_secret_basic when omitted.

  • client_secret_basic / client_secret_post — authenticate with clientId + clientSecret.
  • private_key_jwt — authenticate with a signed JWT; requires certificate.
  • none — public client; requires publicClient: true and pkceRequired: true.

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

pkceRequiredboolean

Whether PKCE is required. Mandatory for public clients.

Default: false

publicClientboolean

Whether this is a public client (no client secret). Requires tokenEndpointAuthMethod: none and pkceRequired: true.

Default: false

requirePushedAuthorizationRequestsboolean

Whether all authorization requests must use PAR (RFC 9126).

Default: false

certificateCertificate

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).
scopesarray of string

OAuth scopes this client is allowed to request.

tokenobject

Token validity and payload configuration.

token.accessTokenAccessTokenConfig

Access token configuration, split by token subject.

token.idTokenIDTokenConfig
token.refreshTokenRefreshTokenConfig
token.idJagAgentIDJAGConfig

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.

userInfoUserInfoConfig

UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response.

scopeClaimsobject

Custom scope-to-claims mapping. Allows embedding claims into tokens when a scope is granted.

acrValuesarray of string

Default ACR values applied when the authorization request does not specify acr_values.

OAuthAgentConfigComplete​

Type: OAuthAgentConfig

OAuth client configuration for an agent. Returned on read; never includes clientSecret.

21 properties
NameTypeRequiredDescription
clientIdstring

OAuth client ID. Auto-generated when omitted on create. On update, the existing value is preserved when omitted.

redirectUrisarray of string (uri)

Redirect URIs. Required for redirect-based grant types (authorization_code).

postLogoutRedirectUrisarray of string (uri)

Allowed post-logout redirect URIs. A post_logout_redirect_uri sent to the logout endpoint must match one of these.

backchannelLogoutUristring (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.

grantTypesarray 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: authorization_code, client_credentials, refresh_token, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:jwt-bearer

responseTypesarray of string

OAuth response types. Required when using authorization_code.

Allowed values: code

tokenEndpointAuthMethodstring

Token endpoint authentication method. Defaults to client_secret_basic when omitted.

  • client_secret_basic / client_secret_post — authenticate with clientId + clientSecret.
  • private_key_jwt — authenticate with a signed JWT; requires certificate.
  • none — public client; requires publicClient: true and pkceRequired: true.

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

pkceRequiredboolean

Whether PKCE is required. Mandatory for public clients.

Default: false

publicClientboolean

Whether this is a public client (no client secret). Requires tokenEndpointAuthMethod: none and pkceRequired: true.

Default: false

requirePushedAuthorizationRequestsboolean

Whether all authorization requests must use PAR (RFC 9126).

Default: false

certificateCertificate

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).
scopesarray of string

OAuth scopes this client is allowed to request.

tokenobject

Token validity and payload configuration.

token.accessTokenAccessTokenConfig

Access token configuration, split by token subject.

token.idTokenIDTokenConfig
token.refreshTokenRefreshTokenConfig
token.idJagAgentIDJAGConfig

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.

userInfoUserInfoConfig

UserInfo endpoint configuration. Controls the response format and signing/encryption of the userinfo endpoint response.

scopeClaimsobject

Custom scope-to-claims mapping. Allows embedding claims into tokens when a scope is granted.

acrValuesarray of string

Default ACR values applied when the authorization request does not specify acr_values.

clientSecretstring

OAuth client secret. Returned only in create and update responses. Never returned by GET endpoints. Absent for public clients (tokenEndpointAuthMethod: none) and private_key_jwt clients.

AgentType​

Type: object

9 properties
NameTypeRequiredDescription
idstring (uuid)Yes

The unique identifier of the agent type

handlestringYes

Unique handle of the agent type (lowercase letters, numbers, hyphens, and underscores only). Restricted to default, the only agent type schema permitted. Agents and applications refer to the agent type by this handle. Once set, the handle cannot be changed.

Allowed values: default

displayNamestringYes

Human-readable name of the agent type. It does not need to be unique and can be changed at any time.

ouIdstring (uuid)Yes

The root organization unit ID associated with this agent type schema

ouHandlestring

Human-readable handle of the organization unit (only included when include=display query parameter is used).

allowSelfRegistrationboolean

Indicates whether agents of this type can perform self-registration flows

Default: false

systemAttributesobject

System-level metadata for the agent type

systemAttributes.displaystring

The schema attribute to use as the human-readable display name for agents of this type

schemaobjectYes

JSON Schema definition for the agent type

AgentTypeListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Number of results that match the listing operation.

startIndexinteger

Index of the first element of the page, which will be equal to offset + 1.

countinteger

Number of elements in the returned page.

typesarray of object
linksarray of Link

CreateAgentTypeRequest​

Type: object

6 properties
NameTypeRequiredDescription
handlestringYes

Unique handle for the agent type (lowercase letters, numbers, hyphens, and underscores only). Must be default. Agent types are restricted to a single default schema and any other handle is rejected. Once set, the handle cannot be changed.

Allowed values: default

displayNamestringYes

Human-readable name of the agent type. It does not need to be unique.

ouIdstring (uuid)Yes

The organization unit ID where this agent type schema is applicable

allowSelfRegistrationboolean

Whether the agent type supports self-initiated registration

Default: false

systemAttributessystemAttributes

System-level metadata for the agent type

schemaobjectYes

JSON Schema definition for the agent type

UpdateAgentTypeRequest​

Type: object

6 properties
NameTypeRequiredDescription
handlestring

Optional. The handle cannot be changed, so when provided it must be default. When omitted, the existing handle is kept.

Allowed values: default

displayNamestringYes

Human-readable name of the agent type. It does not need to be unique.

ouIdstring (uuid)Yes

The root organization unit ID where this agent type schema is applicable

allowSelfRegistrationboolean

Whether the agent type supports self-initiated registration

Default: false

systemAttributessystemAttributes

System-level metadata for the agent type

schemaobjectYes

JSON Schema definition for the agent type

I18nMessage​

Type: object

Internationalized message with translation key and default value.

2 properties
NameTypeRequiredDescription
keystringYes

Translation key for fetching localized message.

defaultValuestringYes

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
NameTypeRequiredDescription
valuestring

ACTIVE, LOCKED, SUSPENDED or EXPIRED. When more than one applies, the first of SUSPENDED, EXPIRED and LOCKED is reported.

SUSPENDED is an administrative hold. The suspend flow places it and the unsuspend flow removes it. Any automatic lock still in force remains, so the agent returns to LOCKED or ACTIVE according to its current lock state.

LOCKED is an automatic hold after repeated failed sign-ins with the credential or otp authentication method. Automatic locking is enabled for agents by default. The agent's OAuth client secret is never locked. A lock does not expire when its duration is 0 or it forms at maxConsecutiveFailures; other locks expire on their own.

EXPIRED means the agent's validUntil has passed. Moving validUntil into the future returns the agent to ACTIVE.

Allowed values: ACTIVE, LOCKED, SUSPENDED, EXPIRED

detailsobject

Why the status applies and how it is cleared. Absent for ACTIVE.

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.reasonstring

What caused the status. FAILED_ATTEMPTS is an automatic lock after repeated failed sign-ins. ADMINISTRATIVE_SUSPENSION is a suspension placed by an operator. LIFESPAN_ENDED is an agent whose validUntil has passed. One reason covers every entry in lockedMethods.

Allowed values: FAILED_ATTEMPTS, ADMINISTRATIVE_SUSPENSION, LIFESPAN_ENDED

details.sincestring (date-time)

When the operator placed the hold, or for LIFESPAN_ENDED the agent's validUntil. Absent for an automatic lock.

details.operatorNotestring

The note the operator entered when placing the hold. Absent when none was entered. Never included in an authentication refusal.

details.lockedMethodsarray of object

The automatic locks currently in force, in a stable order. Absent unless the status is LOCKED.

With lockGranularity set to authentication_method, each method locks separately, so several entries can be present, each with its own expiry. An account-wide lock is reported as a single entry with the method account.

Lifespan​

Type: object

Where the agent stands in its lifespan, derived from validUntil on every read.

1 property
NameTypeRequiredDescription
phasestring

UNBOUNDED when the agent does not expire, ACTIVE while validUntil is ahead, and EXPIRED from validUntil onward.

Allowed values: UNBOUNDED, ACTIVE, EXPIRED

Type: object

Pagination link.

2 properties
NameTypeRequiredDescription
hrefstring
relstring

Allowed values: next, prev, first, last

Error​

Type: object

Standard error response. Agent management errors follow the AGT-XXXX convention.

3 properties
NameTypeRequiredDescription
codestringYes

Machine-readable error code.

messageI18nMessageYes

Internationalized message with translation key and default value.

descriptionI18nMessage

Internationalized message with translation key and default value.

Was this page helpful?