material

POST /mcp/material/upload

Raw file bytes in, a storageId out. Send the file's path in X-Selda-Path: that path is how Selda maps a file to a company. Then hand the ids to material.import.

The request body is the file itself, not JSON.

  • Scope: pipeline
  • A free sandbox key may call it
post/v1/material/upload

Request

  • Base URL: https://api.selda.ai
  • URL: https://api.selda.ai/v1/material/upload
  • Auth: HTTP bearer

Headers

X-Selda-Pathstring required

The file's path inside your folder, for example boreo/filterit/analysis.pdf.

Response

Stored.

request_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.