customAgents
Creates a new custom agent.
Changed onCreates a custom agent in the current workspace and returns its configuration and id. Provide a name and either PresetKey or both ModelProvider and ModelName. Do not combine these model selection options.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
post/agents
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents
- AuthHTTP bearer
Request body
Response
OK
Changes
- warning
the
request property's maxLength was set to50000
- warning
- info
added the optional property
to the response with the status
- info