---
title: "Get Agent Prompt Blocks"
method: GET
path: "/api/v1/agents/{agent_id}/prompt-blocks"
tags: ["Prompt Blocks"]
---

# Get Agent Prompt Blocks

`GET /api/v1/agents/{agent_id}/prompt-blocks`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/v1/agents/{agent_id}/prompt-blocks`
- Auth: none declared

Return the agent's prompt-block overrides layered on the workspace's: which blocks are disabled and which have custom text.

## Path parameters

- `agent_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
