Contexts

Idempotent bulk upsert keyed on externalId (external connector intake)

Used by external connectors (e.g. Trailcrumb) to push endpoints/trails. Matches each item on (tenant, externalId): existing rows are updated, new ones created. title/body map to name/content server-side.

post/api/contexts/bulk-upsert

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/contexts/bulk-upsert
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

workspacestring

Falls back to X-Workspace header / active scope / GLOBAL when omitted.

Response

Upsert summary.

upsertedinteger
createdinteger
updatedinteger

Changes

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