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

# Get File

Retrieve file details and metadata.

<ParamField path="file_id" type="string" required>
  The file ID
</ParamField>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET https://api.artaios.ai/api/v1/files/file_123/ \
    -H "x-api-key: YOUR_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.artaios.ai/api/v1/files/file_123/",
      headers={"x-api-key": "YOUR_API_KEY"}
  )
  file_info = response.json()
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.artaios.ai/api/v1/files/file_123/', {
    headers: {
      'x-api-key': 'YOUR_API_KEY'
    }
  });
  const fileInfo = await response.json();
  ```
</CodeGroup>

## Response

```json theme={null}
{
  "id": "file_123",
  "original_filename": "product_manual.pdf",
  "file_type": "document",
  "size_bytes": 2048576,
  "status": "active",
  "tags": ["manual", "product"],
  "created_at": "2025-01-15T10:30:00Z",
  "updated_at": "2025-01-15T10:30:00Z",
  "processing_info": {
    "pages_extracted": 45,
    "text_length": 12500
  }
}
```
