Edit a guide
Send only the fields to change; null resets trigger (manual), audience (everyone) or steps (none).
Sessions: admins.
Needs the experts:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
When the guide offers itself: { type: manual } | { type: first_visit, pattern? } | { type: page, pattern } | { type: event, name } | { type: stuck, seconds, pattern? }. Patterns are path globs (* in one segment, ** across).
Who sees it (every rule present must hold; {} is everyone): { traits?: [{ key, op, value? }], plans?: [..], seen?: [custom event names], notSeen?: [..] }. op: eq, neq, in, not_in, exists, not_exists, contains, gt, lt.
Response
When the guide offers itself: { type: manual } | { type: first_visit, pattern? } | { type: page, pattern } | { type: event, name } | { type: stuck, seconds, pattern? }. Patterns are path globs (* in one segment, ** across).
Who sees it (every rule present must hold; {} is everyone): { traits?: [{ key, op, value? }], plans?: [..], seen?: [custom event names], notSeen?: [..] }. op: eq, neq, in, not_in, exists, not_exists, contains, gt, lt.