---
title: "Get Conversation By Project"
method: GET
path: "/api/conversations/by-project/{project_id}"
tags: ["conversations"]
---

# Get Conversation By Project

`GET /api/conversations/by-project/{project_id}`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/conversations/by-project/{project_id}`
- Auth: HTTP bearer

Idempotently fetch + hydrate the conversation for (project_id, user).

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- HydrationResponse
  - `conversation_id` string, required
  - `messages` HydrationMessage[], required
    - `id` string, required
    - `role` string, required
    - `content` string, required
    - `created_at` string, nullable
    - `grounding` object, nullable
  - `cards` HydrationCard[]
    - `id` string, required
    - `name` string, required
    - `result` unknown, required
    - `created_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
