Skip to content

AI Agent Schema

The AI Agent Schema API provides operations to view and manage the attribute schema for AI agents. The schema defines the base attributes (Okta-defined, non-customizable) and custom attributes (org-defined, up to 50) available on AI agent profiles.

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.

Retrieve the default AI agent schema

Request

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

Retrieves the AI agent schema, which defines the base attributes and org-defined custom attributes for AI agents

curl -i -X GET \
  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/schema/default

Responses

OK

Bodyapplication/json
$schemastringread-only

JSON schema version identifier

createdstring, (date-time)read-only

Timestamp when the schema was created

definitionsobject(AIAgentSchemaDefinitions)
descriptionstring

Description for the schema

idstringread-only

URI of AI Agent schema

lastUpdatedstring, (date-time)read-only

Timestamp when the schema was last updated

namestringread-only

Name of the schema

propertiesobject

AI Agent schema properties

titlestring

Display name for the schema

typestringread-only

Type of root schema

Response
{ "id": "https://{yourOktaDomain}/workload-principals/api/v1/ai-agents/schema/default", "$schema": "http://json-schema.org/draft-04/schema#", "name": "AI Agent", "title": "AI Agent", "description": "Okta AI Agent profile", "created": "2024-01-01T00:00:00.000Z", "lastUpdated": "2024-01-01T00:00:00.000Z", "definitions": { "base": { … }, "custom": { … } }, "_links": { "self": { … } } }