---
title: "Get a routine"
method: GET
path: "/routines/{routineId}"
tags: ["routines"]
---

# Get a routine

`GET /routines/{routineId}`

Returns a routine

## Path parameters

- `routineId` string, required — Routine ID

## Headers

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

## Response `200`

Response with status 200

- TypeRoutinesRoutineResponse
  - `data` TypeRoutinesRoutine, required — Routine is a set of instructions or procedures that are followed to complete a task.
    - `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

---

[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)
