Upsert a file by folder + name (idempotent)

The import primitive for reference files. Address the folder by
folder (name - created at the root when missing) or folderId.
Provide exactly one of content (markdown/text) or body (typed
file body). Re-running overwrites in place - no duplicate names.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Must match the workspace the API key belongs to (403 otherwise).

Body Params
string

Folder name; wins when folderId is absent.

uuid | null
string
required
length ≤ 200
string

Markdown/text content (text files).

body
object

Typed file body, discriminated by type. Text files carry content;
binary types (document, image) reference an uploaded
storagePath plus mime, size and ext.

string
enum

private = visible to the key's actor only; shared = workspace-wide.

Allowed:
Responses

Language
Credentials
Bearer
hubi_sk_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json