---
title: "Paginated endpoint for listing a team's experiment schedules ordered by trigger time."
method: GET
path: "/schedules/attacks/paged"
tags: ["schedules"]
---

# Paginated endpoint for listing a team's experiment schedules ordered by trigger time.

`GET /schedules/attacks/paged`

Requires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Query parameters

- `pageSize` integer
- `pageToken` string
- `teamId` string, required

## Response `default`

default response

- PagedResponseScheduleResponse
  - `pageNumber` integer
  - `pageSize` integer — The size of the page requested. If none was supplied this is a default value (depending on the endpoint). If the length of items is less than this number that means there are _no_ more pages to request. NOTE: if the length *is* equal there may or may not be additional pages to request, it is unknowable until they are requested
  - `pageToken` string — Supply this token on successive requests to retrieve the next page if there is one
  - `items` ScheduleResponse[]
    - `orgId` string
    - `guid` string
    - `trigger` object
      - `windowType` 'Once' | 'Random'
      - `type` string
      - `templateId` string
      - `optionalTemplateId` string
      - `empty` boolean
    - `target` object
      - `multiSelectTags` object
      - `strategyInput` TargetStrategy
        - `type` 'Exact' | 'Regex' | 'Random'
        - `strategy` Strategy
          - `type` 'Exact' | 'RandomCount' | 'RandomPercent'
          - `tags` object
          - `multiSelectLabels` object
          - `labels` object
          - `allHosts` boolean
          - `allContainers` boolean
          - `hostIds` string[]
          - `containerIds` string[]
          - `multiSelectTags` object
        - `containerLabels` object
        - `hostTags` object
        - `allContainers` boolean
        - `allHosts` boolean
        - `hostIds` string[]
        - `containerIds` string[]
        - `hostsInput` object
        - `containersInput` object
      - `multiSelectLabels` object
      - `type` string
      - `templateId` string
      - `optionalTemplateId` string
      - `empty` boolean
      - `tags` object
    - `command` object
      - `providers` string[]
      - `args` string[]
      - `trafficImpactMapping` TaskTrafficImpactMappingInput
        - `multiSelectTags` object
        - `dependencyIds` string[]
      - `trafficImpactFromWithSelectTags` object
      - `trafficImpactWithDependencyIds` string[]
      - `type` string
      - `templateId` string
      - `optionalTemplateId` string
      - `empty` boolean
    - `createdBy` string
    - `taskIds` string[]
    - `createSource` 'WebApp' | 'Api' | 'Scheduled' | 'Manual' | 'Spinnaker' | 'Concord' | 'GremlinFeeder' | 'GremlinSdkPython' | 'Scenario' | 'Chao' | 'K8sBackend' | 'Website' | 'Neotys' | 'IntegrationClient' | 'Validation'
    - `triggerSource` 'MANUAL' | 'RUN_ALL' | 'SCHEDULED' | 'RECURRING_SCHEDULE'
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `attackConfiguration` AttackConfiguration
      - `command` ServiceCommand, required
        - `infraCommandType` 'CPU' | 'IO' | 'Memory' | 'Disk' | 'Thread_Bomb' | 'Blackhole' | 'DNS' | 'Latency' | 'Packet_Loss' | 'Collect_Certs' | 'Shutdown' | 'Time_Travel' | 'Process_Killer' | 'Process_Exhaustion' | 'GPU' | 'Unknown'
        - `infraCommandArgs` InfraCommandArgs
          - `type` 'CPU' | 'IO' | 'Memory' | 'Disk' | 'Thread_Bomb' | 'Blackhole' | 'DNS' | 'Latency' | 'Packet_Loss' | 'Collect_Certs' | 'Shutdown' | 'Time_Travel' | 'Process_Killer' | 'Process_Exhaustion' | 'GPU' | 'Unknown'
          - `unknownArgs` object
          - `duplicateArgs` object[]
          - `cliArgs` string[]
          - `lengthOrZero` integer
      - `targets` ServiceTarget[], required
        - `serviceId` string
        - `targetingStrategy` TargetingStrategy, required
          - `type` string, required
      - `sampling` TargetSampling
        - `type` string, required
    - `nextTriggerTime` string, date-time

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: EXPERIMENTS_READ

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/36ee938323f0/schema)
