Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}}; fetch('https://api.decart.ai/v1/files/{file_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "id": "<string>", "filename": "<string>", "mime_type": "<string>", "size_bytes": 123, "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z" }
Get metadata for an uploaded file.
API key for authentication
Successful Response
Was this page helpful?