Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
agent
Get Agent Config
curl --request GET \
  --url https://api.pathors.com/v1/projects/{projectId}/agent \
  --header 'Authorization: <authorization>'
{
  "data": {
    "id": "<string>",
    "projectId": "<string>",
    "type": "<string>",
    "name": "<string>",
    "status": "<string>",
    "globalPrompt": "<string>",
    "executionMode": "<string>",
    "timezone": "<string>",
    "memoryEnabled": true,
    "beforeStartConfig": {},
    "postSessionWebhook": {},
    "postEvaluationConfig": {},
    "placeholderMessages": {},
    "variableConfigs": [
      {}
    ]
  }
}

Request

GET https://api.pathors.com/v1/projects/{projectId}/agent

Path Parameters

projectId
string
required
The project ID

Headers

Authorization
string
required
Bearer token using your developer key

Response

data
object

Example

curl https://api.pathors.com/v1/projects/{projectId}/agent \
  -H "Authorization: Bearer dk_your_key"
{
  "data": {
    "id": "agent-uuid",
    "projectId": "project-uuid",
    "type": "monolithic",
    "name": "Customer Support Agent",
    "status": "published",
    "globalPrompt": "You are a helpful customer support agent.",
    "executionMode": "smart",
    "timezone": "Asia/Taipei",
    "memoryEnabled": false,
    "beforeStartConfig": null,
    "postSessionWebhook": null,
    "postEvaluationConfig": null,
    "placeholderMessages": null,
    "variableConfigs": null
  }
}