cURL
curl --request GET \ --url https://app.aigmented.com/api/v1/files/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "File", "data": { "id": 123, "name": "<string>", "sourceName": "<string>", "type": "<string>", "status": "new", "uploaded_at": "2023-11-07T05:31:56Z", "user": { "id": "<string>", "email": "<string>", "name": "<string>" }, "fileInstances": [ { "id": 123, "name": "<string>", "status": "<string>", "collection": { "id": 123, "name": "<string>" } } ] } }
Returns full details for a single file, including the collections it has been added to via file instances.
Pass your API key as a Bearer token. Example: Authorization: Bearer sk-xxxxxxxxxxxx
Authorization: Bearer sk-xxxxxxxxxxxx
File ID
File details
"File"
Show child attributes