brain

brain.add

Add one thing Selda should know: a product, a partner, a reference, a company fact, a note, something it must never say, or a writing_rule — a standing instruction about HOW messages are written, which reaches the composer as a directive and is never quoted as material.

Dispatched to brain.add on POST /mcp/mutate. This route is a different URL for the same call: the request is answered by the same dispatcher, with the same authentication, the same scope check, the same organisation scoping and the same refusals.

  • Scope: write
  • A free sandbox key may call it
  • MCP tools that wrap the same function: selda_add_brain_item
  • Filled in from your API key, never sent by you: orgId
post/v1/brain

Request

  • Base URL: https://api.selda.ai
  • URL: https://api.selda.ai/v1/brain
  • Auth: HTTP bearer

Request body

projectIdstring required

A Convex document id in the projects table.

type'company' | 'product' | 'partner' | 'reference' | 'avoid' | 'note' | 'writing_rule' required
titlestring required
bodystring required

Response

The call succeeded.

valueunknown required
request_idstring required

Echoed in the X-Request-Id header.

Changes

No recorded changes to this operation across all 1 revision of this API.