REST API
- Base:
/api/v1. - Interactive documentation:
/api/docs, and schema:/api/v1/openapi.json. Published only ifapi_docs = true(variableSYNAPTANE_API_DOCS): they list every route, so there is no need to expose them on a production instance.
Authentication
Section titled “Authentication”Create a personal token in My account → Personal tokens, then send it in a header:
curl -H "Authorization: Bearer syn_…" https://brain.example.com/api/v1/spacesA token has at most the rights of its owner. It is revoked automatically if the password changes or the account is deactivated.
A token can be restricted when it is created (web, or POST /me/tokens with
{"name": …, "days": …, "read_only": true, "spaces": ["acme/infra"]}):
read_only: read and search only, no writes and no drops;inbox_only: read, search, and drop, correct or remove notes in the inbox, but no direct change to pages (not together withread_only);spaces: only these spaces, among those the account is a member of (or whose organization it administers); absent: all of them, including future ones. The web form checks only the spaces of the first organization (in alphabetical order) when the account belongs to several; the API applies no such default.
A restricted token administers nothing (instance, organization) and does not manage the account: it cannot create a token, or change the password or email (403).
Addressing
Section titled “Addressing”Organizations and spaces are designated by their readable identifiers:
/organizations/acme/spaces/infra/members/alice.
Errors
Section titled “Errors”An error returns {"error": "<code>", "message": "<text>"}, with the matching HTTP status.
The code never changes; the message is in English, or in French with
Accept-Language: fr. Test the code, not the message.
| Code | Status |
|---|---|
invalid |
400 |
unauthenticated |
401 |
forbidden |
403 |
not_ |
404 |
conflict |
409 |
secret_ |
422 |
check_ |
422 (a team check refuses the content: see below) |
too_ |
429 (rate limit of an account or an organization: try again later) |
unavailable |
503 (database, repository or server temporarily unavailable; Retry-After header) |
A malformed request body (missing field, wrong type) returns 422 in FastAPI’s format:
{"detail": [{"loc": […], "msg": …, "type": …}]}, without the values received (they may hold
a secret sent in the same body). Too many sign-in attempts, or OAuth registrations, return 429
as well.
too_many_requests limits, over a sliding window:
- inbox drops: 120 notes per hour per account, across all spaces and interfaces (web, REST, MCP), notes moved to another space included;
- Tidy now (
POST …/tidy): 5 manual runs per person and per space over 24 hours (20 for an organization admin); - invitations: 30 per organization per hour;
- email verification links: 3 per account per hour.
secret_detected: the content sent (drop, file write) seems to contain a secret (password, API
key, private key…). Nothing is committed. Remove it, or send the request again with
"allow_secrets": true if it is not one. For an existing page, only the added lines are
checked.
check_failed: the content breaks one of the space’s team checks
whose level is block (a personal email, a local path…). Nothing is committed; the
message gives the rule, the page, the line and what to do. Unlike a secret, it cannot be
confirmed: fix the content. For an existing page, only what the change adds counts.
A resource the caller cannot see returns 404, like a resource that does not exist.
Rights: super admin (instance), admin (of the organization), contributor and reader (of the space). An organization admin has all rights on its spaces.
Account
Section titled “Account”| Method and path | Purpose |
|---|---|
GET / |
Calling account: username, display_name, email, locale, is_superadmin, is_active |
GET / |
Personal tokens: id, name, hint (last 4 characters), created_at, expires_at, last_used_at, read_only, inbox_only, space_ids |
POST / |
{"name": …, "days": 90, "read_only": false, "inbox_only": false, "spaces": ["acme/infra"]} (201); days: null: no expiry. Returns the token, once only |
DELETE / |
Revokes (204) |
GET / |
All visible spaces: organization, slug, name, description, repo_url, branch, role (effective: given in the space or through a group, the organization’s default role, or admin), restricted |
Accounts (super admin)
Section titled “Accounts (super admin)”| Method and path | Purpose |
|---|---|
GET / |
All accounts |
POST / |
{"username": …, "display_name": …, "password": …, "email": …, "is_superadmin": false} (201) |
PATCH / |
display_name, email, locale, is_active, is_superadmin. Anyone can change their own name and language; the rest is reserved for the super admin |
Organizations
Section titled “Organizations”| Method and path | Right | Purpose |
|---|---|---|
GET / |
member | Visible organizations: slug, name, description, role, default_space_role (none, reader or contributor: role of every member on every space without being added to it, restricted spaces excepted) |
POST / |
super admin | {"slug": …, "name": …, "description": …, "join": true} (201); join: the creator becomes its admin |
GET / |
member | Details |
PATCH / |
admin | name, description, default_space_role (none, reader, contributor; 422 otherwise) |
DELETE / |
super admin | Deletes an organization that has no space (204; 400 if any remain) |
GET / |
member | username, display_name, role (admin or member) |
PUT / |
admin | {"role": "member"}: adds, or changes the role |
DELETE / |
admin | Removes (204), from the organization’s spaces and groups too |
Spaces
Section titled “Spaces”| Method and path | Right | Purpose |
|---|---|---|
GET / |
member | Visible spaces of the organization |
POST / |
admin | {"slug": …, "name": …, "description": …, "repo_url": …, "branch": "main", "restricted": false} (201). restricted: true: closed to the organization’s default role from its creation. With create_repository instead of repo_url, Synaptane creates the repository on GitHub or GitLab (see below) |
GET …/ |
reader | Details, with the caller’s effective role, review_every (default review interval of the pages, "": never) and restricted (the organization’s default role does not apply) |
PATCH …/ |
admin | name, description, repo_url, branch, review_every (90d, 6m, 1y, never, ""; 400 if unreadable), restricted (true: only the members added to the space, the members of the groups given a role on it, and the organization’s admins, access it). Changing repo_url removes the Git credentials |
DELETE …/ |
admin | Deletes the space in Synaptane; the remote repository is not touched (204) |
GET …/ |
reader | Members added to the space: username, display_name, role (reader or contributor, the role given there). Those who access it only through a group or the default role are not listed (GET …/spaces/{space}/groups and GET /organizations/{org}/members list them) |
PUT …/ |
admin | {"role": "contributor"}. An account that is not a member of the organization becomes one: with a default role (default_space_role), it then also gets that role on every space of the organization that is not restricted |
DELETE …/ |
admin | Removes (204) |
GET …/ |
reader | Groups with a role on the space: id, name, role, members (username, display_name) |
GET …/ |
reader | Purpose of the space (.synaptane/vocation.md): path, text ("" if it does not exist), sha, pending (waiting for the first sync), history (last 5 changes: commit, author, date, subject) |
PUT …/ |
admin | {"text": …, "base_sha": …, "allow_secrets": false}: a commit in the caller’s name, then a sync. text: 20,000 characters at most, "" removes the file. base_sha: hash read before editing ("": the file must not exist); 409 if it changed in the meantime. 422 if a likely secret is detected. Returns commit (null if nothing changed) and pending: before the first sync, the text is held and written by that sync |
GET / |
account | Purpose templates: key (infra, marketing, product, client, personal, family, job-search, blank), label, summary, text (in the language of the account: English or French) |
… stands for /organizations/{org}. To create a space with a purpose, create it, then send
PUT …/vocation (the text waits for the first sync).
Creating the repository (see Git repositories):
POST /organizations/{org}/spaces with, instead of repo_url:
{"slug": "infra", "name": "Infra", "create_repository": {"provider": "github", "owner": "acme", "name": "", "token": "github_pat_…"}}provider:githuborgitlab;gitlab_url: address of a self-hosted GitLab, inhttps://(empty: gitlab.com);owner: GitHub organization, or GitLab group path (acme/team); empty: the token’s own account.name: empty, the space’sslug;token: used for this request only, never stored nor returned.
The answer (201) adds repository: provider, host, path (acme/infra), url (page on
the provider), access (ssh: deploy key, https: GitLab project access token, null: not
set up), access_error (why, in the caller’s language: the repository exists, send its
credentials with PUT …/git/credentials) and token_expires (expiry of the GitLab token).
Nothing is created on a refused token or right, an unknown owner or, on GitLab.com, a free
plan (400), a name already taken (409), a provider limiting requests (429), unreachable or too
slow (503). Giving both repo_url and create_repository is refused (400).
Groups
Section titled “Groups”A group gives some members of an organization a role (reader or contributor) on several of
its spaces at once. A member’s effective role on a space is the highest of the role given in
the space, the roles of their groups on it, and the organization’s default role (which a
restricted space ignores). A group’s role applies to a restricted space too: that is how it is
opened to a team. A group is referred to by its id (its name can change); its name is unique
in the organization, whatever the case (409 otherwise).
| Method and path | Right | Purpose |
|---|---|---|
GET / |
admin | Groups of the organization, by name: id, name, description, members (username, display_name), spaces (space: slug, name, restricted, role) |
POST / |
admin | {"name": …, "description": ""} (201) |
GET / |
admin | A group, with its members and spaces (404 for a group of another organization) |
PATCH / |
admin | name, description |
DELETE / |
admin | Deletes the group (204): its members lose the access it gave, unless they have it otherwise |
GET / |
admin | username, display_name |
PUT / |
admin | Adds a member of the organization (200, also if already in the group); 400 for an account that is not a member of the organization |
DELETE / |
admin | Removes from the group (204) |
GET / |
admin | space, name, restricted, role |
PUT / |
admin | {"role": "reader"}: gives or changes the group’s role on a space of the organization |
DELETE / |
admin | Removes the group’s role on the space (204) |
Removing someone from the organization removes them from its groups; deleting a space removes
the groups’ roles on it. A token limited to some spaces, to reading or to the inbox stays
limited, whatever its owner’s groups. Changes are written to the audit log (group.created,
group.updated, group.deleted, group.member_added, group.member_removed,
group.space_role_set, group.space_role_removed).
Git of a space
Section titled “Git of a space”| Method and path | Right | Purpose |
|---|---|---|
GET …/ |
reader | State: status, last sync, conflicts, webhook URL; for an organization admin, credentials (https, ssh or null) and credentials_expire (expiry date of the HTTPS token when known, otherwise null) |
PUT …/ |
organization admin | {"kind": "https", "token": …} or {"kind": "ssh", "private_key": …, "known_hosts": …}. An HTTPS token’s expiry date is read from GitHub or GitLab when they give it (see Token expiry) |
DELETE …/ |
organization admin | Deletes the credentials |
POST …/ |
contributor | Requests a sync (202) |
POST …/ |
organization admin | Generates a secret, returns the URL and the secret |
POST …/ |
organization admin | {"choices": {"content/a.md": "local" or "remote"}} (202) |
Incoming webhook (Git hosts): POST /hooks/git/{org}/{space}. It is authenticated by
X-Hub-Signature-256 (GitHub), X-Gitea-Signature (Gitea) or X-Gitlab-Token (GitLab).
Content of a space
Section titled “Content of a space”Paths are relative to content/:
…/spaces/infra/files/servers/proxmox.md.
| Method and path | Right | Purpose |
|---|---|---|
GET …/ |
reader | All files: path, size, hash |
GET …/ |
reader | kind, sha, and text: the content, or the text extracted from a PDF, an Office document or an image; for a Markdown page, freshness (see below) |
GET …/ |
reader | Raw bytes |
PUT …/ |
contributor | {"content": "…"} or {"content_base64": "…"}, with message. Creating a file needs nothing more; replacing an existing file requires its base_sha (the sha read by GET …/files/{path}), otherwise 409: you do not overwrite a change you have not read. 409 as well if the file has changed since; "base_sha": "" requires a creation; "force": true knowingly replaces without base_sha |
DELETE …/ |
contributor | Deletes |
POST …/ |
contributor | {"from": "a.md", "to": "b/a.md"}; links to the file and its own links are rewritten in the same commit |
GET …/ |
reader | Related pages (See also panel): path, title, score (0 to 1, nothing below 0.2), reason (main signal: meaning same topic, words shared words, backlink cites this page, link linked from this page, shared shared links, folder same folder), reasons (all of them, strongest first), label (the reason in plain words) and linked (the page already links to it). Empty list if nothing is close enough; limit from 1 to 20. A file named exactly related is read through …/raw/{path} |
POST …/ |
contributor | Marks a Markdown page as verified today: {"owner": …, "review_every": "6m", "verify": true}, all optional (owner absent: unchanged, or the caller if the page has none; review_every "": the space’s interval; "verify": false: owner and interval only). Returns commit (null if nothing changed), path and freshness. The commit only touches the front matter and is not reported to the tidy-up; 400 for a file that is not a Markdown page |
GET …/ |
reader | Open reports that the page is outdated: reason, by, at |
POST …/ |
reader | {"reason": "…"} (500 characters at most): reports a Markdown page as outdated; again: updates your reason. 201 |
DELETE …/ |
reader | Withdraws your report; ?all=true dismisses them all (contributor). A verification of the page closes them too |
GET …/ |
reader | Commits that touched the file (a deleted one too): sha, author, date, subject |
POST …/ |
contributor | Puts a file back as it was in a past version, a deleted file too: {"path": …, "commit": …} (commit: a sha from the history), with message, base_sha (the current sha, 409 if the file changed since; "" for a deleted file) and allow_secrets, optional. Returns commit (null if this version is already the current one). A page keeps its current verification fields |
GET …/ |
reader | Wiki health: broken (page, link, suggestion), orphans, empty, untitled, stale (page, date), due (pages to review: path, owner, verified, due), unowned (verified without an owner), drifts (tables that disagree: key, column, first and second with page, line, value), checks (team checks broken: rule, level, page, line, excerpt with personal data masked, message), check_rules (rules of .synaptane/checks.md), check_errors (its faulty lines: line, message) and their totals counts (with verified: verified, up-to-date pages, and checks) |
freshness (page read, search results, verification): state (verified, stale or
never), verified and stale (booleans), verified_at, owner, review_due (due date,
null without an interval) and review_every (effective interval). The fields are read from
the page’s front matter (owner, verified, review_every), see
the guide.
Each write produces a commit in the caller’s name, pushed at once. The commit message ends
with the channel and the token (Source: api, Via: API · <token name>); the page shows
up as a change item in the inbox, computed from the Git history.
Search
Section titled “Search”GET /api/v1/search?q=…&spaces=acme/infra&spaces=perso/notes®ex=false&limit=20&mode=auto
Search covers all readable spaces if spaces is absent. Each result gives space, path,
title, score, match (text: by words, meaning: by meaning, both), extracted (found
in extracted text), verified and stale (page verified and up to date, or due for review),
freshness (details, null for non-Markdown files), the last change (edited, its date;
edited_by, its author; edited_by_ai: tidy, routine or assistant when an AI wrote
it, null for a person), reported_outdated (open reports that the page is outdated) and
up to three snippets (line, text, before, after). mode=text: by words only. A verified, up-to-date page ranks a
little higher (+10%), a page due for review a little lower (−7%).
Pending notes. A dropped note can only be found among the pages once it has been tidied.
To avoid breaking existing clients, the response remains a list of pages: the
X-Pending-Count header counts the pending notes that contain all the words of q (20 at
most), and GET /api/v1/search/pending?q=…&spaces=… lists them: space, name (for
GET …/inbox/{name}), title, deposited_by, deposited_at, newest first.
| Method and path | Right | Purpose |
|---|---|---|
GET …/ |
reader | Pending items, paginated (limit, offset; total in X-Total-Count), filtered by kind (note, change or left: left by the tidy-up): name, type (note or change), title, deposited_by, deposited_at, status, reason, hint, source (channel), via (client or token), origin (where the information comes from), attachments |
POST …/ |
contributor | {"title": …, "content": …, "hint": …, "source": …, "attachments": [{"name": …, "content_base64": …}]} (201). source: where the information comes from (URL, meeting…), stored in origin |
GET …/ |
reader | One item, with body: the text of a note, or the commits and the diff of a changed page |
PATCH …/ |
contributor | Corrects a note: title, content, hint, source, allow_secrets; an absent field stays unchanged. A note left by the tidy-up goes back to “to process”. Returns the note |
DELETE …/ |
contributor | Removes a note and its attachments (204). For a problem an agent routine reported, ?not_a_problem=… (why, 500 characters at most) records that it is not one: the routine will not report it again while its pages stay the same |
POST …/ |
contributor of both spaces | {"space": "acme/other"}: moves the note to the inbox of another space; returns space and path |
POST …/ |
contributor | Marks a changed page (change) as seen: it asks nothing of the tidy-up until its next change (204) |
GET …/ |
reader | Attachment of a note, as raw bytes (downloaded, never executed) |
AI tidy-up
Section titled “AI tidy-up”| Method and path | Right | Purpose |
|---|---|---|
GET / |
admin | AI settings, or null: provider, model, base_url, effort, has_key, price_input, price_output (per million tokens), monthly_budget, month_spent, metered (provider billed per use: without monthly_budget, spending has no limit) |
PUT / |
admin | {"provider": "anthropic", "model": …, "effort": "medium", "api_key": …, "monthly_budget": …}. api_key absent: the key is kept, unless the provider or address changes; base_url is reserved for the super admin. A monthly_budget is refused (400) if the organization’s model, or the model chosen by one of its spaces, has no known price and no price is entered |
POST / |
admin | Test call: {"message": …} |
GET …/ |
admin | Tidy-up rules of the space (.synaptane/prompts/tidy.md, or its former name .synaptane/prompts/rangement.md if it is the only one; path says which): same shape as GET …/vocation |
PUT …/ |
admin | Same fields and same rules as PUT …/vocation |
GET …/ |
admin | Team checks of the space (.synaptane/checks.md): same shape as GET …/vocation. The pages that break them are in GET …/health |
PUT …/ |
admin | Same fields and same rules as PUT …/vocation; 400 if a rule is faulty (the message names each faulty line) |
GET …/ |
admin | enabled, time, timezone, model, delay, maintain, and the night’s report: report_email ("", admins, members), report_always, report_webhook (true if a Slack webhook is configured: its address is never returned) |
PATCH …/ |
admin | enabled, time ("03:00", local time), timezone (Europe/Paris), model ("": the organization’s), delay (minutes between a drop and the continuous tidy-up, 0: off), maintain (nightly wiki maintenance, true by default), report_email, report_always, report_webhook_url (Slack incoming webhook, stored encrypted; null: unchanged, "": removed) (204) |
POST …/ |
admin | The last night’s report, marked as a test: by email to the caller only, and to the Slack webhook (202); 400 if nobody receives the report; 429 beyond 5 tests an hour for the space |
GET …/ |
reader | The last 7 nights: day, status (queued, running, done), steps in order (kind: routine or tidy, when: before or after, name, title, routine_id, run_id, status, reason: why a step was skipped or failed), report (quiet, emails, slack) |
POST …/ |
contributor | Starts a tidy-up (202); 429 beyond the manual run limit (see Errors) |
GET …/ |
reader | Runs: status, trigger, model, items_done, items_left, summary, operations, commit, tokens used, cost, error, reverted_at |
POST …/ |
admin | Reverts a run with an inverse commit |
GET …/ |
reader | Pages the run changed: path, status (created, edited, deleted, moved), old (former path of a moved page), state (undoable, changed since the run, undone) |
POST …/ |
contributor | {"paths": […]}: puts these pages back as they were before the run, in one commit. 409 for a page changed since the run (restore it from its history). Returns commit, pages, notes_back (notes back in the inbox: all their pages are undone) and notes_kept (still filed: other pages keep them) |
Agent routines
Section titled “Agent routines”A routine is a scheduled AI agent that rereads the wiki of a space and only writes to its
outputs, and to the folders it keeps if it has any (see Agent routines). Paths under
…/spaces/{space}/routines. Each routine is a file of the repository,
.synaptane/routines/<name>.md: every write is a commit of that file in the caller’s name,
and a push can change it too.
| Method and path | Right | Purpose |
|---|---|---|
GET …/ |
contributor | Routines of the space: id, name (file name), title, description, path (file in the repository), sha (hash of the file, for base_sha; null until the next synchronization writes it, then pending is true), error (invalid file: why it does not run; null otherwise), warnings (what was ignored, such as an unknown field), template (coherence, digest, archive or ""), instructions, frequency (daily, weekly, monthly), weekday (0 = Monday), monthday (1 to 28), at ("06:00", the space’s local time), night (before or after the tidy-up, in the night; "": at at), scope (folders; empty: the whole space), writes (folders it keeps; empty: none), output_page, output_inbox, output_email ("", admins, members), output_webhook, enabled, memory (keeps notes from one run to the next), sources (names of the external sources it reads), next_run, last_run |
POST …/ |
admin | Creates a routine (201). {"template": "coherence"} starts from a provided template (its settings, then the given fields); blank: title, instructions and at least one output (writes, the folders it keeps, counts as one). name: file name (lowercase letters, digits, dashes), made from the title if omitted; a free text is taken as the title, as before routines were files. 409 if the name is taken, 422 for a likely secret (allow_secrets: true to confirm) |
GET …/ |
contributor | One routine |
PATCH …/ |
admin | Changes the given fields (enabled: false disables it; writes omitted keeps the folders, [] removes them) and rewrites the file. base_sha: the sha read before; 409 if the file changed since (push, another admin). The file name does not change (400); an invalid file is fixed in the repository (400) |
DELETE …/ |
admin | Removes the routine’s file and its memory (204; ?base_sha= as for PATCH); its runs still count toward the budget, its report page stays in the wiki |
POST …/ |
admin | Runs the routine as soon as the worker is free (202); refused (400) if the month’s budget is reached or the file is invalid |
GET …/ |
contributor | Runs, newest first: status (running, done, failed), trigger, model, summary, report (output text), outputs (page, inbox: titles of the items dropped, written: pages written in its folders, with path, change and from for a move, conflicts: pages someone changed during the run, their version kept, emails: number sent, webhook, memory: saved, cleared, or changed when someone changed it during the run, which kept their version, fetches: calls to the external sources, with source, path (sensitive query values hidden), status and size; never a secret nor a body), commit, tokens, cost, quota, error |
GET …/ |
contributor | What the routine remembers from one run to the next (Memory): enabled (memory: true in its file), path (.synaptane/memory/<name>.md), text ("": none), sha (null: no memory yet), size (bytes), too_large (not shown, nor read by the routine) |
DELETE …/ |
admin | Clears the memory (204): a commit in the caller’s name; a run in progress keeps it cleared |
External sources
Section titled “External sources”The services a space’s routines may read over HTTP (External sources). Paths under …/spaces/{space}/sources, for the organization’s administrators only. A secret is accepted when writing and never returned; the audit log records each change.
| Method and path | Right | Purpose |
|---|---|---|
GET …/ |
admin | Sources of the space: name, url (base address, normalized), auth ("", bearer, header, basic), header (name of the header for header), secret (true if one is saved), secret_saved_at, used_by (titles of the routines that read it), created_at, updated_at |
POST …/ |
admin | {"name": "status", "url": "https://status.example.com/api/v2/", "auth": "bearer", "secret": "…"} (201). HTTPS only, without a query nor a user; a local address is refused (400). 409 if the name is taken; 20 sources at most per space |
GET …/ |
admin | One source |
PATCH …/ |
admin | Changes url, auth, header; secret replaces the saved one (omitted: kept). Moving to another host without a new secret is refused (400): a saved secret is never sent elsewhere. auth: "" removes the secret. The name does not change (400) |
DELETE …/ |
admin | Removes the source and its secret (204); the routines that name it become invalid |
POST …/ |
admin | A GET on the base address, with the secret: status (HTTP), type (of the answer, never its content), error (why the call failed, null otherwise) |
Semantic search
Section titled “Semantic search”| Method and path | Right | Purpose |
|---|---|---|
GET / |
admin | Embeddings provider, or null: provider, model, base_url, has_key, meaning_min_similarity |
PUT / |
admin | {"provider": "openai", "model": …, "api_key": …, "meaning_min_similarity": 0.55} (similarity floor, null by default; dropped when the model changes) |
PUT …/ |
admin | {"enabled": true}: enables the space’s index; returns the files and chunks indexed |
SSO sign-in (super admin)
Section titled “SSO sign-in (super admin)”| Method and path | Purpose |
|---|---|
GET / |
Providers: slug, kind, name, issuer, client_id, auto_create, link_by_email, allowed_domains, enabled, callback_url, open_to_anyone (automatic creation without allowed domains on GitHub, Google or gitlab.com: anyone with an account there gets one here) |
PUT / |
Creates or updates: {"kind": "gitlab", "name": …, "client_id": …, "client_secret": …, "issuer": …, "auto_create": false, "link_by_email": null, "allowed_domains": ["example.com"], "enabled": true} (client_secret: null keeps the secret; auto_create absent: false; link_by_email: null: yes for GitHub and Google, no otherwise; allowed_domains: email domains accepted for automatic linking and creation, exact match, []: no restriction) |
DELETE / |
Deletes (204) |
See SSO.
Webhooks (organization admin)
Section titled “Webhooks (organization admin)”| Method and path | Purpose |
|---|---|
GET / |
List: id, url, events, active, last_delivery_at, last_status, failures (consecutive failed deliveries) |
POST / |
{"url": …, "events": [...]} (all events by default). Returns the secret, once only (201) |
DELETE / |
Deletes (204) |
POST / |
Sends a ping event (202) |
POST / |
Puts back into service a webhook switched off after repeated failures (204) |
See Webhooks for the format and the signature.
Invitations (organization admin)
Section titled “Invitations (organization admin)”| Method and path | Purpose |
|---|---|
GET / |
Pending invitations: id, email, org_role, expires_at, groups (id and name of the groups joined on acceptance; a group deleted since is no longer listed) |
POST / |
{"email": …, "org_role": "member", "spaces": {"infra": "reader"}, "groups": ["<id>"]} (201). groups: identifiers of groups of the organization (GET /organizations/{org}/groups, 200 at most, 422 beyond), joined on acceptance, after becoming a member; an unknown group, or one of another organization, is refused (404). For an existing account, groups in the answer lists the groups it actually joined. Returns the link to pass on, once only; granted: true if the address already had an account (access granted and groups joined at once). 30 per organization per hour at most (429 beyond) |
DELETE / |
Cancels (204) |
/mcp (Streamable HTTP), authenticated by OAuth 2.1 (dynamic client registration, PKCE) or by
a personal token. See the MCP guide. The server speaks the handshake
protocols (up to November 25, 2025) and the stateless protocol of July 28, 2026. Client ID
metadata documents (CIMD), which replace dynamic registration in that revision, are not
accepted yet: the SDK does not handle them on the server side.
Dynamic registration (POST /register) is limited to 20 per hour per IP address (429
beyond). A client that registered but was never authorized is deleted after 24 hours.
© 2026 René Cotton and the Synaptane contributors.