---
title: GetSchedule
source: https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/get-schedule
---

This API gets and returns a schedule.

## Input parameters

| Parameter     | Type   | Required | Description                                        |
| ------------- | ------ | -------- | -------------------------------------------------- |
| `account.id`  | Number | Yes      | Your account ID.                                   |
| `schedule.id` | String | Yes      | The unique identifier of the schedule to retrieve. |

## Sample request

```graphql
    {
      actor {
        account(id: 11933347) {
          workflowAutomation {
            schedule(id: "schedule-id") {
              id
            }
          }
        }
      }
    }
```

## Sample response

The query returns:

-   `schedule.id`: The unique identifier of the schedule.

## Related topics [#related-topics]

[Get schedules](https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/get-schedules)

List all schedules to find schedule IDs

[Create schedule](https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/create-schedule)

Create a new workflow schedule

[Delete schedule](https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/delete-schedule)

Remove this schedule
