---
title: "List routines"
method: GET
path: "/routines"
tags: ["routines"]
---

# List routines

`GET /routines`

Returns a list of routines

## Query parameters

- `runbookId` string, required — Runbook ID

## Headers

- `Authorization` string, required
- `X-Disable-Hooks` 'true', required

## Response `200`

Response with status 200

- TypeRoutinesRoutinesResponse
  - `data` TypeRoutinesRoutine[], required
    - `id` string, required — Routine ID
    - `runbookId` string, required — Runbook ID
    - `name` string, required — The name of the Routine.
    - `config` unknown, required
    - `ordinal` integer, required — The order of the Routine in the Runbook.
    - `type` 'JOB', required
    - `createdBy` string, required — The entity which created the Runbook.
    - `createdAt` string, date-time, required — Date the sheet was created
    - `updatedAt` string, date-time, required — Date the sheet was last updated

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404

---

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