Zum Inhalt
Für Agenten

agent_schedule_list

List Agent Schedules

Markdown Tools als JSON

Beschreibung

Lists schedule rows the caller can see — account-scoped plus your own private — with their triggers inlined so the UI doesn't need a second round-trip per row. Sorted by created_at ascending.

Filters (all optional): - status — "draft" / "active" / "paused" / "archived" - agent_id — show only schedules bound to a given agent - limit — default 50, max 250

Zugriff

Zugriffsprofil: gated. Module: none. Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.

Parameter

Name Typ Pflicht Beschreibung
account_id string Ja
status string Nein
agent_id string Nein
limit integer Nein

Eingabeschema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "account_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "active",
        "paused",
        "archived"
      ]
    },
    "agent_id": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "default": 50
    }
  },
  "required": [
    "account_id"
  ],
  "type": "object"
}

Ausgabeschema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "agent_schedules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "concurrency": {
            "type": "string"
          },
          "catch_up": {
            "type": "string"
          },
          "catch_up_cap": {
            "type": "integer"
          },
          "agent_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "type": [
              "object",
              "null"
            ]
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "triggers": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "required": [
          "id",
          "title",
          "prompt",
          "status",
          "account_id",
          "created_at"
        ]
      }
    }
  },
  "required": [
    "agent_schedules"
  ],
  "type": "object"
}
Seiten