agentRuntime
Gets the default agent options for a personal or custom agent.
Changed onReturns default model, tool access, connector, and skill options for a personal-agent or custom-agent conversation. Set type to 'personal-agent' for the requesting user's defaults, or 'custom-agent' and provide agentId for a custom agent. The response also includes the effective model catalog for the workspace. <Check title="Required Permissions" icon="key">The user must have read access to the selected custom agent.</Check>
get/agents/defaults
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/defaults
- AuthHTTP bearer
Query parameters
typestring required
The agent type to resolve defaults for ('personal-agent' or 'custom-agent').
agentIdstring uuid
The id of the custom agent when is 'custom-agent'.
Response
OK
Changes
- info
added the optional property
/to the response with the status
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning