> 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.md).

# File

#### List files

*Returns a list of files that belong to the user's organization.*

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

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

{% endcode %}

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

```
{
  "data": [
    {
      "id": "file-ccdDZrC3iZVNiQVeEA6Z66wf",
      "object": "file",
      "bytes": 175,
      "created_at": 1613677385,
      "filename": "train.jsonl",
      "purpose": "search"
    },
    {
      "id": "file-XjGxS3KTG0uNmNOK362iJua3",
      "object": "file",
      "bytes": 140,
      "created_at": 1613779121,
      "filename": "puppy.jsonl",
      "purpose": "search"
    }
  ],
  "object": "list"
}
```

{% endcode %}

<br>
