{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sb0 Agent APIKeys Schedules API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Schedules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Agent Schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/agents/:agent_id/schedules",
            "params": [
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all schedules for an agent."
        },
        {
          "info": {
            "name": "Create Schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agents/:agent_id/schedules",
            "params": [
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new schedule for recurring workflow execution for an agent."
        },
        {
          "info": {
            "name": "Get Schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/agents/:agent_id/schedules/:schedule_name",
            "params": [
              {
                "name": "schedule_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get details of a schedule by its name."
        },
        {
          "info": {
            "name": "Delete Schedule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/agents/:agent_id/schedules/:schedule_name",
            "params": [
              {
                "name": "schedule_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a schedule permanently."
        },
        {
          "info": {
            "name": "Pause Schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agents/:agent_id/schedules/:schedule_name/pause",
            "params": [
              {
                "name": "schedule_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Pause a schedule to stop it from executing."
        },
        {
          "info": {
            "name": "Trigger Schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agents/:agent_id/schedules/:schedule_name/trigger",
            "params": [
              {
                "name": "schedule_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Trigger a schedule to run immediately, regardless of its regular schedule."
        },
        {
          "info": {
            "name": "Unpause Schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agents/:agent_id/schedules/:schedule_name/unpause",
            "params": [
              {
                "name": "schedule_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "agent_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unpause/resume a schedule to allow it to execute again."
        }
      ]
    }
  ],
  "bundled": true
}