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.
Retrieves the AI agent schema, which defines the base attributes and org-defined custom attributes for AI agents
- https://subdomain.okta.comhttps://subdomain.okta.com/workload-principals/api/v1/ai-agents/schema/default
curl -i -X GET \
https://subdomain.okta.com/workload-principals/api/v1/ai-agents/schema/defaultOK
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": { … } } }