POST /api/v1/process_

Upload files for asynchronous processing. Auth: session cookie or API key bearer token.

Request

POST https://api.ragfodder.com/api/v1/process

Use multipart/form-data with one or more files fields.

cURL
curl -X POST 'https://api.ragfodder.com/api/v1/process' \
  -H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxx' \
  -F 'files=@./annual-report.pdf' \
  -F 'files=@./product-spec.docx'

Response

Returns an array of ProcessingResponse items, one per input file.

Response Example
[
  {
    "input_index": 0,
    "original_filename": "annual-report.pdf",
    "file_hash": "abc123...",
    "task_id": "f6e0ec7e-90a0-47dc-9a65-7f65edc3f4e0",
    "status": "PENDING",
    "message": "Task created successfully"
  }
]

LLM-Ready Docs

Need copy-ready Markdown/YAML and agent navigation links? Use /docs/authorized-endpoints.