---
title: "Conversation Sources"
method: GET
path: "/api/accounts/{account_id}/repositories/{repo_id}/conversation-sources"
---

# Conversation Sources

`GET /api/accounts/{account_id}/repositories/{repo_id}/conversation-sources`

## Request

- Base URL: `https://api.codealmanac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codealmanac.com/api/accounts/{account_id}/repositories/{repo_id}/conversation-sources`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/codealmanac/apis/codealmanac-api/docs/api/accounts/:account_id/repositories/:repo_id/conversation-sources/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `account_id` integer, required
- `repo_id` integer, required

## Response `200`

Successful Response

- ConversationSourceSummaryDTO[]
  - `sourceId` string, uuid, required
  - `provider` 'codex' | 'claude', required
  - `providerSessionId` string, required
  - `firstCwd` string, required
  - `lastSeenAt` string, date-time, nullable, required
  - `turnCount` integer, required
  - `messageCount` integer, required
  - `unroutableTurnCount` integer, required
  - `branches` ConversationSourceBranchSummaryDTO[], required
    - `branch` string, required
    - `turnCount` integer, required
    - `messageCount` integer, required
    - `lastUploadedAt` string, date-time, nullable, required
    - `activeRunId` string, uuid, nullable, required
    - `latestRunId` string, uuid, nullable, required
    - `latestRunStatus` 'queued' | 'running' | 'delivered' | 'failed' | 'stale', nullable, required
    - `lastIngestedAt` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

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