Skip to main content
POST
/
api
/
core
/
files
/
parse
Parse file
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
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Body

multipart/form-data
file
file
required

Response

Successful Response

Response schema for file parsing results.

file_contents
string
required
filename
string
required
file_type
string
required
content_length
integer
required