ASOR API Documentation v1.2
asor
Version: v1.2
Base URL: https://{workday-host}/api/asor/v1/{tenantname}/agentDefinition
The Agent System of Record Service is used to create and maintain Agent Definitions in Workday.
๐ Navigation
๐ก Endpoints
GET /agentDefinition/{id}
Summary: This operation returns the specific Agent Definition including Skills and certain Tools used in those Skills.
Description: This operation returns the specific Agent Definition including Skills and certain Tools used in those Skills. Each definition can contain many Skills, and in those Skills they may contain Tools based on the Invocation / Execution Type. Generally REST APIs will be listed here.
Secured by: Setup: Agents
Responses
POST /agentDefinition
Summary: Based on the A2A Agent Card specification, this REST operation allows you to create an Agent Definition in Workday.
Description: Based on the A2A Agent Card specification, this REST operation allows you to create an Agent Definition in Workday, while also highlighting the specific Workday APIs/Resources that the Agent is allowed access to. It will update an existing instance IF one already exists with the same name, provider organization, and version.
Secured by: Development
Parameters
| Parameter |
Location |
Type |
Required |
Description |
agentCardAndTools |
body |
agentCardAndTools |
โ
Yes |
The Agent Definition that contains Skills optionally identifying Workday resources used in those Skills. |
Request Body
Content Type: application/json
Schema: agentCardAndTools
Responses
๐ Models
| Property |
Type |
Description |
Required |
id |
string |
The ID is part of the return payload when an Agent is created, it represents the internal Workday ID for this Agent. |
โ No |
name |
string |
Human readable name of the agent. |
โ
Yes |
description |
string |
A human-readable description of the agent. Used to assist users and other agents in understanding what the agent can do. |
โ
Yes |
url |
string |
A URL to the address the agent is hosted at. |
โ
Yes |
overview |
string |
A message to display when summarizing this Agent or when this Agent is initially invoked. |
โ No |
iconUrl |
string |
A URL to an icon for the agent. |
โ No |
provider |
provider |
The service provider of the agent. |
โ
Yes |
platform |
platform |
The Platform that this Agent is executing on. If no appropriate Platform is available use OTHER. |
โ
Yes |
version |
string |
The version of the agent - format is up to the provider. |
โ
Yes |
documentationUrl |
string |
A URL to documentation for the agent. |
โ No |
externalAgentID |
string |
A referenceable ID that is understood by the partner system, useful for callbacks from Workday. |
โ No |
externalTenantID |
string |
A referenceable ID to locate where this Agent lives in the partner system to match the Workday tenant. |
โ No |
capabilities |
capabilities |
Optional capabilities supported by the agent. |
โ
Yes |
defaultInputModes |
arraymimeType |
The set of interaction modes that the agent supports across all skills. This can be overridden per-skill. Supported media types for input. |
โ No |
defaultOutputModes |
arraymimeType |
Supported media types for output. |
โ No |
skills |
arrayagentskill |
Skills are a unit of capability that an agent can perform. |
โ
Yes |
supportsAuthenticatedExtendedCard |
boolean |
true if the agent supports providing an extended agent card when the user is authenticated. Defaults to false if not specified. |
โ No |
workdayConfig |
arrayagentSkillResource |
Identify Workday Resources to be used in Agent Skills. |
โ No |
provider
The service provider of the agent
| Property |
Type |
Description |
Required |
id |
string |
Agent Provider Reference ID = โProvider={Provider Name} |
โ
Yes |
The execution platform for this agent
| Property |
Type |
Description |
Required |
id |
string |
Agent Platform Reference ID = โPlatform={Platform Name} |
โ
Yes |
capabilities
Optional capabilities supported by the agent.
| Property |
Type |
Description |
Required |
pushNotifications |
boolean |
true if the agent can notify updates to client. |
โ No |
streaming |
boolean |
true if the agent supports SSE. |
โ No |
stateTransitionHistory |
boolean |
true if the agent exposes status change history for tasks. |
โ No |
mimeType
| Property |
Type |
Description |
Required |
type |
string |
Supported media type. |
โ
Yes |
agentSkill
| Property |
Type |
Description |
Required |
id |
string |
Unique identifier for the agentโs skill. |
โ
Yes |
name |
string |
Human readable name of the skill. |
โ
Yes |
description |
string |
Description of the skill - will be used by the client or a human as a hint to understand what the skill does. |
โ
Yes |
tags |
arrayagentSkillTag |
Set of tagwords describing classes of capabilities for this specific skill. |
โ
Yes |
inputModes |
arraymimeType |
The set of interaction modes that the skill supports (if different than the default). |
โ No |
outputModes |
arraymimeType |
Supported media types for output. |
โ No |
agentSkillTag
| Property |
Type |
Description |
Required |
tag |
string |
Will be used by the client as a hint to understand how the skill can be used. |
โ
Yes |
agentSkillResource
| Property |
Type |
Description |
Required |
skillId |
string |
Unique identifier for the agentโs skill. |
โ
Yes |
executionMode |
executionMode |
Unique identifier for the agentโs skill. |
โ
Yes |
workdayResources |
arrayworkdayResource |
List of Workday Resources used by this agents skill. |
โ
Yes |
executionMode
| Property |
Type |
Description |
Required |
id |
enum[Ambient, Delegate] |
If this Skill requires/necessitates human invocation, it is โDelegateโ. If no human is required to invoke it would be classed as โAmbientโ. This deliniates the Grant Type necessary. Note, must be in format โMode=Ambientโ or โMode=Delegateโ |
โ
Yes |
workdayResource
| Property |
Type |
Description |
Required |
agent_resource |
agent_resource |
Workday Resource for this Tool if applicable. |
โ No |
tool_name |
string |
The Operation that defines what this Tool can do - i.e. Endpoint or Task. |
โ
Yes |
description |
string |
Description of the Operation. |
โ No |
tools |
arraytools |
List of related Workday Securable Items. For example, Data Sources for WQL queries. |
โ No |
agent_resource
| Property |
Type |
Description |
Required |
id |
string |
Workday ID of the Workday Tool required for this Skill. |
โ
Yes |
descriptor |
string |
In Preview Only ** Only used for Orchestrate Actions ** Name of this Agent Action |
โ No |
type |
string |
In Preview Only ** Only used for Orchestrate Actions ** MUST BE the string AGENT_ACTION (later will be other action types) |
โ No |
| Property |
Type |
Description |
Required |
id |
string |
Workday ID of the Workday Securable Item related to this Agent Tool - i.e. CRF Fields or Data Sources etc. |
โ
Yes |
VALIDATION_ERROR_MODEL_REFERENCE
| Property |
Type |
Description |
Required |
error |
string |
A description of the error |
โ
Yes |
errors |
array |
An array of validation errors |
โ No |
ERROR_MODEL_REFERENCE
| Property |
Type |
Description |
Required |
error |
string |
A description of the error |
โ
Yes |
code |
string |
The code that corresponds to the error message. Use the error code to drive programmatic error-handling behavior. Donโt use error message strings for this purpose because they are subject to change |
โ No |
field |
string |
The field related to the error |
โ No |
path |
string |
The path of the field related to the error |
โ No |