---
title: "Get a conversion"
description: "GET https://api.markitdown.ai/v1/conversions/{id} — Get a conversion. Authenticate with x-api-key."
url: https://markitdown.ai/docs/api/get-conversion
updated: 2026-09-26
source: markitdown.ai
---

# Get a conversion

> GET https://api.markitdown.ai/v1/conversions/{id} — Get a conversion. Authenticate with x-api-key.

## Endpoint

**GET** `/v1/conversions/{id}` — Get a conversion

`getConversion` is part of the Conversions resource of the markitdown.ai API v1. Send an API key in the `x-api-key` header (or `Authorization: Bearer mdai_…`); all bodies are `application/json` unless a response lists another media type.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | path · string | yes |  |
| `wait` | query · integer | no |  |

## Example request

**curl**

```bash
curl https://api.markitdown.ai/v1/conversions/cnv_00000000000040008000000000000001 \
  -H "x-api-key: $MARKITDOWN_API_KEY"
```

## Responses

- `200` Conversion. (`application/json`) — `Conversion`
- `404` Not found (`application/problem+json`) — `Problem`

**200 body — Conversion**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `async_reason` | "respond_async" \| "too_many_sources" \| "pages_exceed_sync_limit" \| "capacity" \| "wait_timeout" \| null | no |  |
| `completed_at` | string (date-time) \| null | no |  |
| `created_at` | string (date-time) | yes |  |
| `files` | object[] | no |  |
| `files[].bytes` | integer \| null | no |  |
| `files[].content` | string \| null | no |  |
| `files[].credits` | integer \| null | no |  |
| `files[].error` | object \| any \| null | no |  |
| `files[].format` | "markdown" \| "text" \| "html" \| "pages" | no |  |
| `files[].id` | string | yes |  |
| `files[].links` | object | no |  |
| `files[].mime` | string | yes |  |
| `files[].name` | string | yes |  |
| `files[].object` | "file" | yes |  |
| `files[].outputs` | object[] | no |  |
| `files[].pages` | integer \| null | no |  |
| `files[].role` | "source" \| "output" | yes |  |
| `files[].status` | "queued" \| "running" \| "completed" \| "failed" | no |  |
| `files[].variant` | "standard" \| "ai_enhanced" | no |  |
| `files_next_cursor` | string \| null | no |  |
| `id` | string | yes |  |
| `links` | object | no |  |
| `metadata` | any | no |  |
| `name` | string | yes |  |
| `object` | "conversion" | yes |  |
| `operation` | "parse" \| "render" | yes |  |
| `status` | "queued" \| "running" \| "completed" \| "completed_with_errors" \| "failed" | yes |  |
| `summary` | object | yes |  |
| `summary.completed` | integer | no |  |
| `summary.failed` | integer | no |  |
| `summary.queued` | integer | no |  |
| `summary.running` | integer | no |  |
| `summary.sources` | integer | no |  |
| `usage` | object | yes |  |
| `usage.credits_charged` | integer | no |  |
| `usage.credits_remaining` | integer \| null | no |  |
| `usage.credits_reserved` | integer | no |  |

## Errors

- [Error codes](/docs/errors) — every `error` code with its status, meaning and whether to retry

## Related

- [API reference](https://markitdown.ai/docs/api)
- [Error codes](https://markitdown.ai/docs/errors)
- [Introduction](https://markitdown.ai/docs)
- [Document Conversion APIs](https://markitdown.ai/developers)
