notion in twins and put this configuration under seed_config.notion.
Notion workspace with pages, databases, and people.
Example seed
This is the complete Scenario request body for creating a Scenario. You can also import it witharga test-runner scenarios import --file scenario.json.
Parameters
The following fields belong directly insideseed_config.notion. Required nested fields are marked in their tables. Provider-native objects can contain service-specific fields beyond the representative record shapes below.
Seeding behavior
Declare database property schemas before supplying rows. Row property names must match the database schema. Useteamspace and sharing on a page or database to assign access. The Scenario adapter forwards workspace_plan, users, teamspaces, and workspace security; other runtime configuration is separate.
Resource fields
These tables describe the record shapes used by the example. Keep native field names and casing. Map keys such as property names, IDs, and metadata keys are supplied by your fixture.users[]
teamspaces[]
pages[]
databases[]
databases[].rows[]
databases[].rows[].Name.title[]
API coverage and limitations
Twin name:notion
Supports
- Notion API routes for users, search, pages, databases, data sources, blocks, comments, file uploads, views, OAuth token exchange, introspection, and revocation.
- Deterministic workspace state, bot identity, pagination, markdown projection, nested page content, database/data-source querying, event outbox, webhook delivery, replay, and admin inspection.
- Workspace plan limits for file uploads and guests, plus capability-based user information visibility.
- Pages, databases, and users start empty unless seeded or created through API calls.
- Unsupported property template types and unsupported database property filters return validation errors.
- Requests outside supported
/v1routes return Notion-style invalid request errors rather than generated mock success responses.
get_twin_catalog, provision_twins, start_url_validation, get_validation_results.
See Scenario seeding for saving, provisioning, and resetting fixtures.
