Files
dashback/docs/api/routes/subagentschedule.get.md
2026-10-17 02:59:35 +02:00

800 B

GET /subagentschedule

Protected. Requires a valid session cookie (credentials: 'include').

List subagent schedules

Lists all subagent schedules for the selected company.

Response 200

List of subagent schedules

{
  "schedules": [
    {
      "id": 1,
      "company_id": 1,
      "desc": "…",
      "prompt": "…",
      "skills": "…",
      "lastagentnote": "…",
      "max_itr": 1,
      "cron": "…",
      "created_at": "…",
      "lastrun_at": "…"
    }
  ]
}

Errors

Status Description
400 No company selected — {"error":"…"}
401 Unauthorized — {"error":"…"}
403 Not authorized — {"error":"…"}

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.