Create Brain Document Upload Url
aidelly_create_brain_document_upload_urlStart a Brain document file upload (PDF, DOCX, TXT or Markdown, 10 MB max): returns a signed upload_url that the client PUTs the raw file to, with the returned content-type header, and an upload_id valid for 2 hours. Then call aidelly_complete_brain_document_upload with the upload_id. Works only for clients with direct network access to Supabase storage, such as Claude Code or a local CLI; the hosted server hides it from browser-sandboxed chat clients, which use aidelly_add_brain_document instead. Requires workspace settings permission. Retry-safe with the same idempotency_key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| brand_id | No | ||
| file_name | Yes | ||
| file_size | Yes | File size in bytes (10 MB max). | |
| content_type | Yes | ||
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |