Storm OpenAPI(en)
  1. STORM Parse
Storm OpenAPI(en)
  • Welcome to STORM
    • Introduction
  • Quickstart
    • Getting Started
      • Creating an Agent
      • Account Creation
    • Core Scenario
      • Document Upload
      • Workflow Design
      • Test
      • Deployment
      • Channel Integration
  • Feature Guide
    • Console
      • Agent Management
      • Dashboard
      • Permission Management
    • Agent Template
      • Knowledge Retrieval
      • Character Dialogue
      • Consultation Record Analysis
      • SQL Query
      • News Article
    • Agent Builder
      • Knowledge
        • Documents
        • Folders
        • Feedback
      • Workflow
        • Node Description
          • LLM
          • Search(RAG)
          • API
          • IF ELSE
          • Variable Declaration and Assignment
          • Postprocessing
      • Test
      • Log
      • Dashboard
    • Admin Tools
      • Deployment Management
      • Channel Integration
      • Model Fine-Tuning
      • Training Data Quality Management
      • Other Settings
  • Apis
    • Agent
      • Deploy Agent
      • View Agent Deployment History
      • View Agent
    • Bucket
      • Create Bucket
      • View Bucket
    • Document
      • Document Training Request by file
      • Document Training Request by URL
      • View Documents
      • Delete Document
    • Chat
      • Send Chat (non-stream)
      • Send Chat (stream)
      • Search Context
    • STORM Parse
      • /convert/md
        POST
    • Instance Agent
      • Add Instance Session
      • Upload Instance Document
      • Request RAG Source For Query
      • Delete Instance Session
  • Learn More
    • FAQ
    • Pricing
  1. STORM Parse

/convert/md

Developing
POST
/convert/rag

Convert Document (Markdown using RAG Prompt)#

Endpoint for STORM Parse.
Parses tables and charts into plain text.
URL: /convert/rag
Method: POST
Description: Processes a document (PDF or image) using the RAG (retrieval-augmented generation) prompt for markdown generation.
Request Body:
file: The document to be processed (PDF, PNG, JPG, JPEG).
Response:
{
    "pages": [
        {
            "page_number": 1,
            "content": "Markdown content of page 1"
        },
        ...
    ]
}
Errors:
400: Invalid file type or missing file.
500: Internal server error during processing.

Request

Authorization
Add parameter in header
storm-api-key
Example:
storm-api-key: ********************
Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/convert/rag' \
--header 'storm-api-key: <api-key>' \
--form 'file=""'
Response Response Example
{}
Modified at 2025-05-30 06:31:15
Previous
Search Context
Next
Add Instance Session
Built with