GET
/
files
/
{file_id}
curl --request GET \
  --url https://api.datagrid.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "file",
  "id": "<string>",
  "filename": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "media_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

The id of the file to retrieve.

Response

200 - application/json
Retrieved file

The File object represents a document that has been uploaded to Datagrid.