---
title: "Get Prompt Suggestion Generation"
method: GET
path: "/prompts/suggestions/generations/{generation_id}"
tags: ["Project"]
---

# Get Prompt Suggestion Generation

`GET /prompts/suggestions/generations/{generation_id}`

## Request

- Base URL: `https://api.peec.ai/customer/v1`
- URL: `https://api.peec.ai/customer/v1/prompts/suggestions/generations/{generation_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
  - HTTP bearer

Get the authoritative state of a Prompt Builder suggestion generation queued by this project.

## Path parameters

- `generation_id` string, uuid, required

## Response `200`

Response for status 200

- object
  - `generation_id` string, uuid, required
  - `status` 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED', required
  - `topic_id` string, nullable, required
  - `generated_suggestion_count` integer, required
  - `error_code` string, nullable, required
  - `created_at` string, date-time, required
  - `started_at` string, date-time, nullable, required
  - `finished_at` string, date-time, nullable, required
  - `updated_at` string, date-time, required

## Other responses

- `404`: Response for status 404

## Changes

- **2026-11-03** `9fdffdff48a5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/peec/apis/peec-ai-customer-api/changes/prompts/suggestions/generations/:generation_id/get.md)

---

[API](https://skmtc.dev/peec/apis/peec-ai-customer-api.md) - [All operations](https://skmtc.dev/peec/apis/peec-ai-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/peec/apis/peec-ai-customer-api/revisions/9d774600c8eb?raw)
