Brain
POST /v1/brain/share
Promote a private doc/fact/entity to workspace scope
POST /v1/brain/sharePromote a private doc/fact/entity to workspace scope
Required scope: brain:write
Body fields
| Name | Required | Notes |
|---|---|---|
kind | yes | |
id | yes |
Example
curl -X POST 'https://brain.unisonlabs.ai/v1/brain/share' \
-H "Authorization: Bearer $UNISON_TOKEN" \
-H 'content-type: application/json' \
-d '{"kind": "...", "id": "..."}'Returns the JSON described above on success, or an error envelope { "error": { "code", "message" } } on failure.