Visibility

Get a prompt’s history

Returns how one prompt’s visibility changed across audits.

GET/v1/projects/{project_id}/visibility/prompts/{prompt_id}/history

Needs the read scope

Returns how one prompt’s visibility changed across audits.

Path parameters

Path parameters
ParameterDescription
project_idstring (uuid)pathrequired
The project ID.
prompt_idstring (uuid)pathrequired

Query parameters

Query parameters
ParameterDescription
marketstring (uuid) | nullquery
The measurement market's ID. Omitted: the project's default market. A named run implies its own market.
enginestring | nullquery
Only answers from this logical engine, such as chatgpt. Omitted: every engine.
cohort"core" | "comparison" | "all" | nullquery
Which prompts to count: core (unbranded), comparison (the brand against competitors) or all (the answers of both, counted as one set). Omitted: the prompt's own.

Response 200: PromptHistory