Skip to content

AI Agent Registrations

The AI Agent Registrations API provides registration and lifecycle management operations for AI agents. A single app can have multiple AI agents linked to it. See Register an AI agent.

Note: This API, which is available as a Beta release, is only available if you're subscribed to Okta for AI Agents. Contact Okta Support for more information.

List all AI agents

Request

Beta
OAuth 2.0 scope:
  • okta.aiAgents.read
Admin roles:
  • SUPER_ADMIN

Lists all registered AI agents in Okta

Query
afterstring

The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination and Link header.

limitinteger, [ 1 .. 200 ]

A limit on the number of objects to return

Default:20
searchstring, (scim-filter)

Searches for AI agents with a filtering expression. This supports the following operators:

  • eq operator for the id, status, signOnProvider.appInstanceId and oauthClient.type properties
  • sw, co, and eq operators for the profile.name and profile.platform properties
  • eq, gt, ge, lt, and le operators for the createdDate and lastUpdate properties
  • Deprecated: appId is no longer supported as a filter. Use the Delegation Links API instead.

Note: Query parameter percent encoding is required. See Special characters.

Example:search=profile.name sw "Demo Agent" and status eq "ACTIVE"
expandstring

Specifies additional metadata to include in the _embedded response object. sources includes the _embedded.sources object with associated sources.

Example:expand=sources
providerIdstring

Searches for AI agents where the provider ID matches the specified value

ownerOrnArray of strings, [ 1 .. 10 ] items

Comma-separated list of owner ORNs (user or group) to search for AI agents. An agent is included if it's owned by any of the specified principals. Maximum of 10 ORNs per request.

Example:ownerOrn=orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4&ownerOrn=orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g
orderBystring

Specifies the sort field for the returned list. If not specified, results are sorted by descending creation date.

Enum:"createdDate""lastUpdate"
sortOrderstring

Specifies the sort direction when orderBy is set

Default:"desc"
Enum:"asc""desc"
curl -i -X GET \
  'https://subdomain.okta.com/workload-principals/api/v1/ai-agents?after=string&limit=20&search=profile.name%20sw%20%22Demo%20Agent%22%20and%20status%20eq%20%22ACTIVE%22&expand=sources&providerId=string&ownerOrn=orn%3Aokta%3Adirectory%3A00o11edPwGqbUrsDm0g4%3Ausers%3A00u10sfroCwbHQO4a0g4%2Corn%3Aokta%3Adirectory%3A00o11edPwGqbUrsDm0g4%3Ausers%3A00u10sfroCwbHQO4a0g4%2Corn%3Aokta%3Adirectory%3A00o11edPwGqbUrsDm0g4%3Agroups%3A00g10sfroCwbHQO4a0g4&orderBy=createdDate&sortOrder=asc'

Responses

OK

Bodyapplication/json
dataArray of objects(AIAgent)required
Response
{ "data": [ { … } ], "_links": { "self": { … }, "next": { … } } }