cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/agents/{id} \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "prompt": "<string>", "model": "<string>", "functions": [ "<string>" ] } '
{ "data": { "id": "<string>", "model": "<string>", "prompt": "<string>", "functions": [ "<string>" ] }, "success": true }
Agent is uniquely identified by id
The number of levels of related objects to include in the response
Agent has Prompt
Agent has Agent Model
Agent has Function
Agent Updated
Show child attributes