> For the complete documentation index, see [llms.txt](https://help.contouron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.contouron.com/api/source/get-source.md).

# Get Source

> For the complete documentation index, see [llms.txt](https://help.contouron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.contouron.com/api/create-source/get-source.md).

## Get Source

Retrieve extracted content by source ID.

### Endpoint

```
GET https://backend.contouron.com/v2/source-resolutions-v3/:id
```

### Authentication

Include your Contouron API key in the request headers:

```
contouron-api-key: YOUR_API_KEY
```

### Parameters

| Parameter         | Type    | Required | Description                                        |
| ----------------- | ------- | -------- | -------------------------------------------------- |
| `id`              | string  | Yes      | The source resolution ID (UUID) from Create Source |
| `cleanTranscript` | boolean | No       | Remove timestamps from transcripts. Default: true  |

### Clean Transcript Option

When `cleanTranscript` is enabled (default), the response removes:

* VTT/SRT timestamp lines
* Sequence numbers
* Markdown formatting
* Extra whitespace

This makes transcripts easier to use for content repurposing.

### Response

#### Processing (poll again)

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "processing"
}
```

#### Completed

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "completed",
  "title": "Video Title",
  "content": "Extracted text content...",
  "referenceUrl": "https://original-source-url.com"
}
```

#### Failed

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "failed",
  "message": "Error description"
}
```

### Status Values

| Status       | Description                              |
| ------------ | ---------------------------------------- |
| `queued`     | Source submitted, waiting to process     |
| `processing` | Extraction in progress                   |
| `completed`  | Extraction successful, content available |
| `failed`     | Extraction failed, check message field   |

### Polling Pattern

Source extraction is asynchronous. After calling Create Source:

1. Wait 2-5 seconds
2. Call Get Source with the ID
3. If status is `queued` or `processing`, wait and retry
4. If status is `completed`, use the `content` field
5. If status is `failed`, check the `message` field

### n8n and Make.com

In the official Contouron nodes:

1. Add a Contouron node
2. Select "Source" > "Get"
3. Pass in the source ID from "Create Source"
4. Add a Wait node (5-10 seconds) between Create and Get for longer content
5. The extracted content appears in the response


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.contouron.com/api/source/get-source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
