Brain
PUT /v1/brain/docs
Batch create/overwrite up to 100 brain .md documents in one call.
PUT /v1/brain/docsBatch create/overwrite up to 100 brain .md documents in one call.
Required scope: brain:write
Body fields
| Name | Required | Notes |
|---|---|---|
docs | yes |
Example
curl -X PUT 'https://brain.unisonlabs.ai/v1/brain/docs' \
-H "Authorization: Bearer $UNISON_TOKEN" \
-H 'content-type: application/json' \
-d '{"docs": "..."}'Returns the JSON described above on success, or an error envelope { "error": { "code", "message" } } on failure.