---
title: "List Assignments"
method: GET
path: "/api/prompts/assignments"
tags: ["prompts", "prompts"]
---

# List Assignments

`GET /api/prompts/assignments`

## 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/prompts/assignments`
- Auth: none declared

List all prompt assignments.

## Query parameters

- `prompt_id` integer, nullable

## Response `200`

Successful Response

- PromptAssignmentResponse[]
  - `id` integer, required
  - `prompt_id` integer, required
  - `prompt_name` string, required
  - `thread_id` integer, required
  - `thread_title` string, nullable, required
  - `category` string, required
  - `enabled` boolean, required
  - `created_at` string, required

## 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/77bef09a9209?raw)
