Get File
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Extend’s ID for the file. It will always start with "file_". This ID is returned when creating a new File, or the value on the fileId field in a WorkflowRun.
Example: "file_Xj8mK2pL9nR4vT7qY5wZ"
Headers
Query parameters
If set to true, the raw text content of the file will be included in the response. This is useful for indexing text-based files like PDFs, Word Documents, etc.
If set to true, the markdown content of the file will be included in the response. This is useful for indexing very clean content into RAG pipelines for files like PDFs, Word Documents, etc.
Only available for files with a type of PDF, IMG, or .doc/.docx files that were auto-converted to PDFs.

