> For the complete documentation index, see [llms.txt](https://eye-ai.gitbook.io/eye-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eye-ai.gitbook.io/eye-ai/overview/introduction-of-the-eye-ai-api/file/retrieve-file.md).

# Retrieve file

{% code title="Example request" lineNumbers="true" %}

```
curl https://api.eye-ai.com/v1/files/file-XjGxS3KTG0uNmNOK362iJua3 \
  -H 'Authorization: Bearer YOUR_API_KEY'
}
```

{% endcode %}

{% code title="Response" lineNumbers="true" %}

```
{
  "id": "file-XjGxS3KTG0uNmNOK362iJua3",
  "object": "file",
  "bytes": 140,
  "created_at": 1613779657,
  "filename": "mydata.jsonl",
  "purpose": "fine-tune"
}
```

{% endcode %}
