context_layer
context_layer

Enable the context layer

Create the organization's wiki with the default structure and import existing channel CONTEXT.md documents once. Idempotent.

post/api/organizations/{organization_id}/context_layer/enable/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/organizations/{organization_id}/context_layer/enable/
  • Auth: HTTP bearer

Path parameters

organization_idstring required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Response

head_shastring required

Commit sha of the wiki's current head.

Changes

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