EYE AI
Search
K
🧿

File

List files

Returns a list of files that belong to the user's organization.
Example request
1
curl https://api.eye-ai.com/v1/files \
2
-H 'Authorization: Bearer YOUR_API_KEY'
Response
1
{
2
"data": [
3
{
4
"id": "file-ccdDZrC3iZVNiQVeEA6Z66wf",
5
"object": "file",
6
"bytes": 175,
7
"created_at": 1613677385,
8
"filename": "train.jsonl",
9
"purpose": "search"
10
},
11
{
12
"id": "file-XjGxS3KTG0uNmNOK362iJua3",
13
"object": "file",
14
"bytes": 140,
15
"created_at": 1613779121,
16
"filename": "puppy.jsonl",
17
"purpose": "search"
18
}
19
],
20
"object": "list"
21
}