JavaScript
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": {} }
Retrieve metadata for a specific uploaded file.
Bearer token authentication
The ID of the file to retrieve.
File information
Was this page helpful?