> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doctly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get File

> Retrieve a file and its processing status.

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.doctly.ai/api/v1/collections/{collection_id}/files/{file_id} \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

**GET** `/api/v1/collections/{collection_id}/files/{file_id}`

Returns a [file object](/api-reference/collection-files/upload#the-file-object). Use this endpoint to poll for processing completion after an upload — a file is queryable once `status` is `ready`.

## Path Parameters

<ParamField path="collection_id" type="string" required>
  The collection's UUID.
</ParamField>

<ParamField path="file_id" type="string" required>
  The file's UUID.
</ParamField>
