---
title: "Get an attack schedule."
method: GET
path: "/schedules/attacks/{guid}"
tags: ["schedules"]
---

# Get an attack schedule.

`GET /schedules/attacks/{guid}`

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

## Path parameters

- `guid` string, required

## Query parameters

- `teamId` string, required

## Response `default`

- 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/versions/70fe938a0b35/schema)
