Skip to main content
GET
/
api
/
agent-server
/
agents
/
{id}
Get agent by ID
curl --request GET \
  --url http://localhost:6060/api/agent-server/agents/{id}
{
  "error": true,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "prompt_label": "<string>",
    "schema_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "enable_history": true,
    "summarizer_type": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "status": 123,
  "errorDetails": {}
}

Path Parameters

id
string<uuid>
required

Query Parameters

project_id
string<uuid>
required

Response

Agent retrieved successfully

error
boolean
message
string
data
object
status
integer
errorDetails
object