Skip to main content
GET
/
v1
/
analyses
/
{analysis_id}
/
results.csv
Export analysis results as CSV
curl --request GET \
  --url https://api.example.com/v1/analyses/{analysis_id}/results.csv \
  --header 'X-API-Key: <api-key>'
"<string>"

Authorizations

X-API-Key
string
header
required

API Key for external integrations (format: greetincs_...)

Path Parameters

analysis_id
string
required

Analysis ID in TypeID format

Query Parameters

delimiter
enum<string>
default:comma

Field delimiter.

Available options:
comma,
semicolon,
tab
bom
boolean
default:false

Prepend a UTF-8 BOM. Set true for downloads opened in Excel-on-Windows (which otherwise mis-detects encoding and garbles non-ASCII cells); leave false for programmatic consumers (pandas, Python csv, Node csv-parse, n8n).

include_argument
boolean
default:false

Include the model's argument as <prompt>__argument next to each prompt response column.

include_sources
boolean
default:false

Include sources as <prompt>__sources (JSON-encoded list) next to each prompt response column.

prompts
string[]

Restrict columns to these prompt IDs. Header order still follows the analysis' canonical prompt order. Pass comma-separated (?prompts=a,b) — repeated form (?prompts=a&prompts=b) is also accepted.

statuses
enum<string>[]

Restrict rows to sub-analyses with one of these statuses. Pass comma-separated (?statuses=completed,failed).

Lifecycle of a per-domain execution inside an Analysis.

Available options:
pending,
queued,
in_progress,
completed,
problem,
failed,
skipped
filename
string
default:""

Optional download filename (without .csv extension). Empty string means use the server-generated default <slug>-<short_id>-<UTC>.csv. Sanitized server-side.

Maximum string length: 120

Response

Analysis results as CSV (one row per sub-analysis).

The response is of type file.