Content - Files

Upload file

Upload a workspace file for RAG and agent resources

post/content/files/upload

Request

  • Base URL
    https://api.getcargo.io/v1
  • URL
    https://api.getcargo.io/v1/content/files/upload
  • Auth
    HTTP bearer

Request body

folderUuidstring uuid

Folder identifier to upload into.

uuidstring uuid

When set, replace this file's content in place (keeping its uuid) instead of creating a new file. Ignored if no file with this uuid exists.

Response

Successful response

Changes

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