Reopen a saved collection check
Use a saved check when you need the evidence behind a result you reported earlier. Reading the check uses zero credits.
Before you start
Set BRAND_ID to the ID of a brand with a previous collection. Set AEO_API_KEY to a key with analytics:read for that brand. Add prompts:read if you need the question text and version.
1. Find the original check
curl --fail-with-body --get 'https://api.aeoapi.dev/v2/runs' \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode 'view=saved_checks' \
--data-urlencode "brand_id=$BRAND_ID" \
--data-urlencode 'limit=10'data.checks lists recent checks first. Save the selected entry’s v2_run_id as CHECK_RUN_ID, including its saved_check: prefix. If the check is older than the first page, repeat the request with offset set to data.next_offset. Stop when it is null.
2. Inspect the recorded questions and steps
curl --fail-with-body --get "https://api.aeoapi.dev/v2/runs/$CHECK_RUN_ID" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "brand_id=$BRAND_ID" \
--data-urlencode 'limit=10'Read data.prompts for the questions included on this page. data.total_prompts gives the total for the check. Use data.next_offset to page through the remaining questions. Keep the brand and run ID the same.
3. Follow an answer back to the brand
Look in data.prompts[].answers[] for an observation_id. Each entry identifies the step and its state. The answer field can be null. Save the ID with the question if you want to check its claims against approved facts. Where no answer is available, report the step’s state instead of counting a missing answer as a brand omission.