Create a typed file

Creates a Brain file. For binary types (document, image), upload
the bytes first via POST .../brain/upload and reference the returned
storagePath in body.

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
uuid | null
required
string
enum
required
string
required
length ≤ 120
body
object
required

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:
metadata
object
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