Skip to main content
Everything you do in the Collections UI is available programmatically, through two interfaces:
  • A REST API for applications and scripts — fully documented with an interactive playground
  • An MCP endpoint (JSON-RPC 2.0) for AI agents and MCP-compatible clients

Collections API Reference

Full endpoint documentation with request/response schemas and a live playground — collections CRUD, records, analytics, and the MCP endpoint.

REST API at a Glance

Queries accept MongoDB-style filters:
For safety, operators that execute code or cross-reference data ($where, $function, $expr, $lookup, $merge, $accumulator, $out) are rejected.

MCP Endpoint

Agents and MCP clients connect to the workspace webhook endpoint (shown in the Settings page of the product):
Protocol: JSON-RPC 2.0 (initialize, tools/list, tools/call). The endpoint exposes the data tools agents use: Tool arguments mirror the REST payloads — see the API Reference for the schemas.

Schema Format

When creating a collection programmatically, columns are declared as:
Supported types: text, integer, double, boolean, date, datetime, json, array.

Limits

Behavior Notes

  • Protected fields — record IDs, creation timestamps, and ownership metadata are managed by the platform; they are stripped from update payloads.
  • Bulk deletes are opt-in — deleting multiple records in one call is rejected unless enabled in the platform configuration.
  • Duplicate names are rejected — collection names are unique per owner.
  • Audit events — every write (insert, update, upsert, delete, collection created) emits an audit event with the actor and target collection.

Next Steps

Collections API Reference

Interactive playground and full schemas

Using Collections with Agents

The user-level view of agent access