cURL
curl --request POST \ --url https://api.example.com/api/core/files/parse \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "file_contents": "<string>", "filename": "<string>", "file_type": "<string>", "content_length": 123 }
Parse file content and extract text
Bearer token authentication. Format: 'Bearer '
Successful Response
Response schema for file parsing results.
Was this page helpful?