Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

BrainSync — API reference

The person's BrainSync: the federated synchronisation of their Record Sender brain with the independent brains of the partner platforms — never a central brain. Opt-in per platform (mode off, manual, scheduled, event, automatic) and per category (off, references, full; sensitive categories at most references and summaries; private personal mail never). Every synced record carries its provenance (source, authority, knowledge class, ownership, versions, freshness). Conflicts wait for the person; an AI suggestion is paid in AI credits (402 without). A business account's admins set a ceiling. Scopes `brainsync:read` and `brainsync:write`; a key or token acts for its person only.

← All groups
GET /api/v1/brainsync

Your BrainSync

The overview: status (off, on, on_no_sources), settings, Record Sender's own brain, the totals (knowledge records, relationships, context updates, pending operations), the last sync, open conflicts, failing sources, every partner brain (sources), the categories, what Record Sender would share outbound (not offered by any sister yet) and, in a business account, its ceiling.

Scope: brainsync:read · brainsync.show

Responses 200 · 401 · 403 · 429

200 Success

categories * [BrainSyncCategory]
fields

BrainSyncCategory

ceiling "off" | "references" | "full"
chosen "off" | "references" | "full"
key * string
label * string
level * "off" | "references" | "full" the effective level
locked boolean private personal mail: never leaves the mailbox
max "off" | "references" | "full"
sensitive * boolean
ceiling BrainSyncPolicy | null
fields

BrainSyncPolicy

allow_ai_summaries * boolean
categories * object category → the highest level
enabled * boolean
platforms * [string]
updated_at string | null
conflicts_open integer
failing integer
last_sync_at string | null
outbound object
fields
offered_by [string]
qualifying integer records that would qualify under the person's categories
status "not_offered"
record_sender object
fields
infinite_brain string
knowledge_graph string
microbrains integer
settings * BrainSyncSettings
fields

BrainSyncSettings

ai_summaries * boolean
categories * object category → off | references | full
enabled * boolean
on_disconnect * "remove" | "keep"
sources * [BrainSyncSource]
fields

BrainSyncSource

allowed_by_admin boolean
availability * "live" | "not_offered" | "not_connected" | "coming_soon" | "unavailable"
connection_state "usable" | "needs_account" | "suspended" | "reauth" | "none" | nil
errors integer
health * string
health_label * string
interval_minutes integer
items integer
lag_seconds integer | null
last_error string | null
last_run_at string | null
last_sync_at string | null
missing [object] what the platform would need to offer
fields
capability string
why string
mode * "off" | "manual" | "scheduled" | "event" | "automatic"
name * string
options [object]
fields
category string
chosen boolean
depth "references" | "full"
exchange "knowledge" | "entity" | "relationship" | "context"
key string
label string
permitted boolean its category's effective level allows it
sensitive boolean
pause_reason "consent_withdrawn" | "disconnected" | "account_unlinked" | nil
paused boolean
platform * string
sync_version integer
status * "off" | "on" | "on_no_sources"
totals object
fields
context integer
knowledge integer
pending integer
relationships integer

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/brainsync/activity

The activity log

Scope: brainsync:read · brainsync.activity

ParameterInTypeDescription
platformquerystring
limitqueryinteger1–200, default 50
Responses 200 · 401 · 403 · 429

200 Success

runs * [BrainSyncRun]
fields

BrainSyncRun

conflicts integer
context integer
created integer
error string | null
fetched integer
finished_at string | null
id string (uuid)
notes [string]
platform string
relationships integer
removed integer
started_at string (date-time)
status "ok" | "partial" | "failed" | "skipped"
summaries integer
sync_version integer
trigger "manual" | "scheduled" | "event" | "withdrawal"
unchanged integer
updated integer

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/brainsync/business/{platform}

Business BrainSync with a platform (R9f+)

The business's own brain and Ceta Traders' suppliers (docs/brainsync.md "Business BrainSync"): `inbound` (Ceta → the business's brain: the suppliers it asked for quotes, bought from or saved — references only) and `outbound` (the suppliers found in the business's shared mail and business contacts → Ceta, so it can match them), each off by default, `paused`, the health and counts. Business accounts; everyone reads it, owners and admins change it.

Scope: brainsync:read · brainsync.business

ParameterInTypeDescription
platform *pathstringcetatraders
Responses 200 · 401 · 403 · 404 · 429

200 Success

business * BusinessBrainSync
fields

BusinessBrainSync

can_manage * boolean
connection * string ok, not_connected, business_not_chosen, admin_only
health * string off, paused, pending, healthy, failed, not_connected, disconnected
inbound * boolean
label * string
last_error string | null
last_run_at string | null
outbound * boolean
outbound_allowed * boolean the connection holds suppliers:write
paused * boolean
platform * string
stopped string | null disconnected, consent_withdrawn
suppliers_matched * integer
suppliers_shared * integer
suppliers_synced * integer

401 Problem details (401)

403 Problem details (403)

404 not_business, or the platform isn't offered

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/brainsync/business/{platform}

Switch Business BrainSync (owners and admins)

Turning `inbound` off removes what came in; turning `outbound` off asks the platform to forget what was shared. Switching a direction on runs it soon.

Scope: brainsync:write · brainsync.update_business

ParameterInTypeDescription
platform *pathstringcetatraders
Request body application/json
inbound boolean
outbound boolean
paused boolean
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

business * BusinessBrainSync
fields

BusinessBrainSync

can_manage * boolean
connection * string ok, not_connected, business_not_chosen, admin_only
health * string off, paused, pending, healthy, failed, not_connected, disconnected
inbound * boolean
label * string
last_error string | null
last_run_at string | null
outbound * boolean
outbound_allowed * boolean the connection holds suppliers:write
paused * boolean
platform * string
stopped string | null disconnected, consent_withdrawn
suppliers_matched * integer
suppliers_shared * integer
suppliers_synced * integer

401 Problem details (401)

402 Problem details (402)

403 admin_only

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_business

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/brainsync/business/{platform}/run

Run Business BrainSync now (owners and admins)

Scope: brainsync:write · Idempotency-Key · brainsync.run_business

ParameterInTypeDescription
platform *pathstringcetatraders
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

business * BusinessBrainSync
fields

BusinessBrainSync

can_manage * boolean
connection * string ok, not_connected, business_not_chosen, admin_only
health * string off, paused, pending, healthy, failed, not_connected, disconnected
inbound * boolean
label * string
last_error string | null
last_run_at string | null
outbound * boolean
outbound_allowed * boolean the connection holds suppliers:write
paused * boolean
platform * string
stopped string | null disconnected, consent_withdrawn
suppliers_matched * integer
suppliers_shared * integer
suppliers_synced * integer

401 Problem details (401)

402 Problem details (402)

403 admin_only

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_business

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 busy, off, paused, or why the sync didn't run

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/brainsync/conflicts

Your conflicts

Scope: brainsync:read · brainsync.conflicts

ParameterInTypeDescription
statusquery"open" | "closed" | "all" | "auto_resolved" | "resolved" | "dismissed"
Responses 200 · 401 · 403 · 429

200 Success

conflicts * [BrainSyncConflict]
fields

BrainSyncConflict

ai_suggested_at string | null
ai_suggestion string | null
explanation string | null
fields [string]
id * string (uuid)
inserted_at string (date-time)
item_id string | null
our_class "human_verified" | "extracted"
our_record object the person's own record (type, id, title)
ours object
platform string
resolution string | null
resolved_at string | null
status "open" | "resolved" | "dismissed" | "auto_resolved"
subject string
their_class string
theirs object

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/brainsync/conflicts/{id}/resolve

Decide a conflict

`theirs` — the platform's value (your record in Record Sender is corrected); `ours` — the synced record is marked disputed and unverified in your brain; `dismiss`.

Scope: brainsync:write · Idempotency-Key · brainsync.resolve

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
resolution * "theirs" | "ours" | "dismiss"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

conflict * BrainSyncConflict
fields

BrainSyncConflict

ai_suggested_at string | null
ai_suggestion string | null
explanation string | null
fields [string]
id * string (uuid)
inserted_at string (date-time)
item_id string | null
our_class "human_verified" | "extracted"
our_record object the person's own record (type, id, title)
ours object
platform string
resolution string | null
resolved_at string | null
status "open" | "resolved" | "dismissed" | "auto_resolved"
subject string
their_class string
theirs object

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such conflict

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Already decided

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Invalid resolution

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/brainsync/conflicts/{id}/suggest

An AI suggestion for a conflict (AI credits)

Scope: brainsync:write · Idempotency-Key · brainsync.suggest

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429 · 503

200 Success

conflict * BrainSyncConflict
fields

BrainSyncConflict

ai_suggested_at string | null
ai_suggestion string | null
explanation string | null
fields [string]
id * string (uuid)
inserted_at string (date-time)
item_id string | null
our_class "human_verified" | "extracted"
our_record object the person's own record (type, id, title)
ours object
platform string
resolution string | null
resolved_at string | null
status "open" | "resolved" | "dismissed" | "auto_resolved"
subject string
their_class string
theirs object

401 Problem details (401)

402 insufficient_credits — buy AI credits (deciding stays free)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such conflict

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Already decided

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

503 No AI model answered

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)
GET /api/v1/brainsync/health

BrainSync Health

Per source: healthy, pending, delayed, auth_expired, permission_changed, failed, conflict, paused, consent_withdrawn, disconnected, needs_account, not_connected, not_allowed or off — with the last sync, lag, records and errors.

Scope: brainsync:read · brainsync.health

Responses 200 · 401 · 403 · 429

200 Success

sources * [object]
fields
errors integer
health string
items integer
label string
lag_seconds integer | null
last_error string | null
last_sync_at string | null
name string
pause_reason string | null
platform string
tone "valid" | "warn" | "invalid" | "muted"

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/brainsync/items

Synced knowledge with provenance

Scope: brainsync:read · brainsync.items

ParameterInTypeDescription
platformquerystring
statusquery"active" | "removed" | "detached" | "all"
limitqueryinteger1–500, default 100
Responses 200 · 401 · 403 · 429

200 Success

items * [BrainSyncItem]
fields

BrainSyncItem

category string
depth "references" | "full"
exchange "knowledge" | "entity" | "relationship" | "context"
external_id * string
facts object
id * string (uuid)
kind string
platform * string
provenance object
fields
authority "authoritative" | "non_authoritative" | "derived"
freshness "current" | "stale" | "expired" | "detached" | "removed"
knowledge_class "original" | "synchronized" | "derived" | "inferred" | "human_verified"
ownership "native" | "external_authoritative" | "imported" | "referenced" | "derived" | "cached" | "synchronized"
source string
source_record_id string
source_updated_at string | null
source_version string | null
synced_at string | null
verified boolean
version integer
reference string | null
status "active" | "removed" | "detached"
status_reason string | null
summary string | null
summary_origin "platform" | "ai" | nil
title string | null
url string | null

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/brainsync/policy

The organization's ceiling

Scope: brainsync:read · brainsync.policy

Responses 200 · 401 · 403 · 404 · 429

200 Success

can_manage * boolean
policy * BrainSyncPolicy
fields

BrainSyncPolicy

allow_ai_summaries * boolean
categories * object category → the highest level
enabled * boolean
platforms * [string]
updated_at string | null

401 Problem details (401)

403 Problem details (403)

404 not_business — a personal account has no ceiling

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/brainsync/policy

Set the organization's ceiling (admins)

Business accounts, `integration:manage`. It only restricts: nobody's data is switched on by it; lowering it removes what was synced above it.

Scope: brainsync:write · brainsync.update_policy

Request body application/json
allow_ai_summaries boolean
categories object category → the highest level
enabled boolean
platforms [string]
Responses 200 · 401 · 402 · 403 · 422 · 429

200 Success

can_manage * boolean
policy * BrainSyncPolicy
fields

BrainSyncPolicy

allow_ai_summaries * boolean
categories * object category → the highest level
enabled * boolean
platforms * [string]
updated_at string | null

401 Problem details (401)

402 Problem details (402)

403 Not an admin of a business account

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/brainsync/run

Synchronise every switched-on partner brain

Scope: brainsync:write · Idempotency-Key · brainsync.run_all

Responses 200 · 401 · 402 · 403 · 409 · 422 · 429

200 Success

started * [string]

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

PUT /api/v1/brainsync/settings

Change your BrainSync settings

`categories` is merged into the current choice; sensitive categories are capped at references and private personal mail stays off. Lowering a category removes what it allowed.

Scope: brainsync:write · brainsync.update_settings

Request body application/json
ai_summaries boolean paid in AI credits
categories object category → off | references | full
enabled boolean
on_disconnect "remove" | "keep"
Responses 200 · 401 · 402 · 403 · 422 · 429

200 Success

settings * BrainSyncSettings
fields

BrainSyncSettings

ai_summaries * boolean
categories * object category → off | references | full
enabled * boolean
on_disconnect * "remove" | "keep"

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/brainsync/sources

Every partner brain

Scope: brainsync:read · brainsync.sources

Responses 200 · 401 · 403 · 429

200 Success

sources * [BrainSyncSource]
fields

BrainSyncSource

allowed_by_admin boolean
availability * "live" | "not_offered" | "not_connected" | "coming_soon" | "unavailable"
connection_state "usable" | "needs_account" | "suspended" | "reauth" | "none" | nil
errors integer
health * string
health_label * string
interval_minutes integer
items integer
lag_seconds integer | null
last_error string | null
last_run_at string | null
last_sync_at string | null
missing [object] what the platform would need to offer
fields
capability string
why string
mode * "off" | "manual" | "scheduled" | "event" | "automatic"
name * string
options [object]
fields
category string
chosen boolean
depth "references" | "full"
exchange "knowledge" | "entity" | "relationship" | "context"
key string
label string
permitted boolean its category's effective level allows it
sensitive boolean
pause_reason "consent_withdrawn" | "disconnected" | "account_unlinked" | nil
paused boolean
platform * string
sync_version integer

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/brainsync/sources/{platform}

One partner brain, with its recent runs

Scope: brainsync:read · brainsync.source

ParameterInTypeDescription
platform *pathstringregistry key
Responses 200 · 401 · 403 · 404 · 429

200 Success

runs * [BrainSyncRun]
fields

BrainSyncRun

conflicts integer
context integer
created integer
error string | null
fetched integer
finished_at string | null
id string (uuid)
notes [string]
platform string
relationships integer
removed integer
started_at string (date-time)
status "ok" | "partial" | "failed" | "skipped"
summaries integer
sync_version integer
trigger "manual" | "scheduled" | "event" | "withdrawal"
unchanged integer
updated integer
source * BrainSyncSource
fields

BrainSyncSource

allowed_by_admin boolean
availability * "live" | "not_offered" | "not_connected" | "coming_soon" | "unavailable"
connection_state "usable" | "needs_account" | "suspended" | "reauth" | "none" | nil
errors integer
health * string
health_label * string
interval_minutes integer
items integer
lag_seconds integer | null
last_error string | null
last_run_at string | null
last_sync_at string | null
missing [object] what the platform would need to offer
fields
capability string
why string
mode * "off" | "manual" | "scheduled" | "event" | "automatic"
name * string
options [object]
fields
category string
chosen boolean
depth "references" | "full"
exchange "knowledge" | "entity" | "relationship" | "context"
key string
label string
permitted boolean its category's effective level allows it
sensitive boolean
pause_reason "consent_withdrawn" | "disconnected" | "account_unlinked" | nil
paused boolean
platform * string
sync_version integer

401 Problem details (401)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/brainsync/sources/{platform}

Switch a partner brain on or off, and choose what it syncs

Only live platforms (availability `live`). Switching one off stops it and removes (or keeps, marked) what it brought in, as the person's `on_disconnect` says. Turning it on after its consent was withdrawn starts it again.

Scope: brainsync:write · brainsync.update_source

ParameterInTypeDescription
platform *pathstringregistry key
Request body application/json
interval_minutes integer 15–1440
mode "off" | "manual" | "scheduled" | "event" | "automatic"
options [string]
paused boolean
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

source * BrainSyncSource
fields

BrainSyncSource

allowed_by_admin boolean
availability * "live" | "not_offered" | "not_connected" | "coming_soon" | "unavailable"
connection_state "usable" | "needs_account" | "suspended" | "reauth" | "none" | nil
errors integer
health * string
health_label * string
interval_minutes integer
items integer
lag_seconds integer | null
last_error string | null
last_run_at string | null
last_sync_at string | null
missing [object] what the platform would need to offer
fields
capability string
why string
mode * "off" | "manual" | "scheduled" | "event" | "automatic"
name * string
options [object]
fields
category string
chosen boolean
depth "references" | "full"
exchange "knowledge" | "entity" | "relationship" | "context"
key string
label string
permitted boolean its category's effective level allows it
sensitive boolean
pause_reason "consent_withdrawn" | "disconnected" | "account_unlinked" | nil
paused boolean
platform * string
sync_version integer

401 Problem details (401)

402 Problem details (402)

403 not_allowed — the organization's ceiling

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_available — no adapter for it yet

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/brainsync/sources/{platform}/run

Synchronise a partner brain now

Scope: brainsync:write · Idempotency-Key · brainsync.run

ParameterInTypeDescription
platform *pathstringregistry key
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

run BrainSyncRun | null
fields

BrainSyncRun

conflicts integer
context integer
created integer
error string | null
fetched integer
finished_at string | null
id string (uuid)
notes [string]
platform string
relationships integer
removed integer
started_at string (date-time)
status "ok" | "partial" | "failed" | "skipped"
summaries integer
sync_version integer
trigger "manual" | "scheduled" | "event" | "withdrawal"
unchanged integer
updated integer
status * "started" | "finished"

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Not switched on

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 off, busy, or why it can't run (needs_account, not_connected, authpermit_not_configured, …)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)