Copilot

Run Copilot Landing Page Action

Add, remove, reorder or AI-edit a landing page's sections. edit_section SPENDS CREDIT.

add_section, remove_section and reorder_sections are deterministic. Returns the updated page.

post/copilot/landing-page-action

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/copilot/landing-page-action
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

action_type'edit_section' | 'add_section' | 'remove_section' | 'reorder_sections' required
landing_page_idstring required
section_idxinteger nullable

For edit_section and remove_section.

instructionstring nullable

For edit_section.

selected_textstring nullable
new_section_typestring nullable

For add_section.

new_orderinteger[] nullable

For reorder_sections: the new index order.

Response

Successful Response

dataStudioContentPayload required

One Studio object, open-shaped. See the module docstring.

Changes

No recorded changes to this operation across all 2 revisions of this API.