Campaigns

Regenerate Campaign Document

Rewrite ONE campaign document with AI. SPENDS CREDIT.

The document is marked generating and a background job rewrites it from the campaign's current context; poll GET /campaigns/{campaign_id}/documents/{document_id}. The current content is replaced.

post/campaigns/{campaign_id}/documents/{document_id}/regenerate

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/campaigns/{campaign_id}/documents/{document_id}/regenerate
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Campaign id or slug.

document_idstring required

Campaign document id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

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.