Skip to main content
GET
/
files
/
{file_id}
Retrieve file
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.phaseo.app/v1/files/{file_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "<string>",
  "object": "<string>",
  "bytes": 123,
  "created_at": 123,
  "filename": "<string>",
  "purpose": "<string>",
  "status": "<string>",
  "status_details": {}
}
Use this endpoint when you need details for a file id returned by upload or list operations.

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

file_id
string
required

The ID of the file to retrieve.

Response

200 - application/json

File information

id
string
object
string
bytes
integer
created_at
integer
filename
string
purpose
string
status
string
status_details
object
Last modified on February 17, 2026