GET
/
agents
/
{id}
curl --request GET \
  --url https://commerce.driv.ly/api/agents/{id}
{
  "data": {
    "id": "ai_3jks93ndk3s9",
    "model": "gpt-4o",
    "prompt": "Respond to the customer service request",
    "functions": [
      "fnc_ed904md03684"
    ]
  },
  "success": true
}

Path Parameters

id
string
required

Agent is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

200
application/json

Agent Found

The response is of type object.