{ "opencollection": "1.0.0", "info": { "name": "LlamaCloud Documents Parsing API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Parsing", "type": "folder" }, "items": [ { "info": { "name": "Upload a file to start a parse job", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloud.llamaindex.ai/api/v1/parsing/upload", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "parsing_instruction", "type": "text", "value": "" }, { "name": "result_type", "type": "text", "value": "" }, { "name": "language", "type": "text", "value": "" } ] } }, "docs": "Uploads a document and creates an asynchronous LlamaParse job. Returns a job id used to poll status and retrieve results in Markdown or JSON." }, { "info": { "name": "Get parse job status", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloud.llamaindex.ai/api/v1/parsing/job/:job_id", "params": [ { "name": "job_id", "value": "", "type": "path" } ] }, "docs": "Returns the status of a parse job. Poll until status is SUCCESS." }, { "info": { "name": "Get parse result as Markdown", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloud.llamaindex.ai/api/v1/parsing/job/:job_id/result/markdown", "params": [ { "name": "job_id", "value": "", "type": "path" } ] }, "docs": "Get parse result as Markdown" }, { "info": { "name": "Get parse result as structured JSON", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloud.llamaindex.ai/api/v1/parsing/job/:job_id/result/json", "params": [ { "name": "job_id", "value": "", "type": "path" } ] }, "docs": "Get parse result as structured JSON" } ] } ], "bundled": true }