SurgeGraph API guide

surgegraph.io

Track AI visibility in SurgeGraph, research topic coverage, generate article drafts, and publish documents to a connected CMS.

Actions and inputs

visibility delta

Review changes in a project's AI visibility over a selected period.

Inputs Project ID, time window

get-topic-map

View a project's topic coverage map.

Inputs Project ID

create-document

Start generating an article draft.

Inputs Project ID, article type, language, location, type-specific fields

publish-document-to-cms

Publish a document to the project's connected CMS.

Inputs Document ID, optional category IDs and author ID

SurgeGraph writer document

Create

Create a writer document in your SurgeGraph project.

Inputs Project ID, article type, language, location, type-specific fields

Read

Open your writer document to check its generation status and content.

Inputs Document ID

Update

Replace the document body or append text to it.

Inputs Document ID, content, edit mode

Delete

Delete the writer document from your SurgeGraph project.

Inputs Document ID