Skip to main content
The ai-cmo.dev REST API measurement lifecycle can be completed in a few curl commands. This guide walks through authentication, listing workspaces, reading the GEO score, starting a run, and polling the job — all in one continuous example.
1

Authenticate

2

List workspaces

Response:
Every workspace list returns the full array; there is no cursor pagination.
3

Read the GEO score

Response:
The score is 0–100. Five weighted components: visibility (0.25), relativeSov (0.35), position (0.15), sentiment (0.10), volume (0.15). Missing components are reported in missingComponents and the remaining weights renormalize.
4

Start a measurement run

Response (202):
Four presets: standard (150 active prompts), lite (50), smoke (2), and exa (150). The run starts if credits are sufficient, no other measurement is running for this brand, and the pipeline worker cap has not been reached.Optionally include an idempotencyKey to make the start safe for retries:
5

Poll the job

Eventually returns:
6

Read the run detail

The detail response groups results by engine, with brand mentions, citations, sentiments, and visible prompt results per engine.

Copyable workflow

Run the full measurement lifecycle in one terminal session:
Terminal

Common errors