---
title: "Api Get Instructions"
method: GET
path: "/api/instructions"
tags: ["Instruction"]
---

# Api Get Instructions

`GET /api/instructions`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`

## Query parameters

- `db_connection_id` string, required

## Response `200`

Successful Response

- InstructionResponse[]
  - `instruction` string, required
  - `db_connection_id` string
  - `id` string, required
  - `created_at` string, date-time
  - `metadata` InstructionMetadata
    - `dh_internal` object

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/dataherald/apis/dataherald-api.md) - [All operations](https://skmtc.dev/dataherald/apis/dataherald-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dataherald/apis/dataherald-api/revisions/e168e98625a8?raw)
