Skip to main content
GET
/
v1
/
files
/
{file_id}
Retrieve File
curl --request GET \
  --url https://documents.absconsulting.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "filename": "<string>",
  "url": "<string>",
  "bytes": 123,
  "created_at": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

file_id
string
required

The ID of the file to use for this request.

Response

Successful Response

id
string
required

The ID of the file.

object
string
required

The type of object.

filename
string
required

The name of the file, including the extension.

url
string
required

The URL of the file.

bytes
integer
required

The size of the file in bytes.

created_at
integer
required

The timestamp when the file was created.

metadata
Metadata · object

The metadata of the file.