Guides
Exports and datasets
One document
bash
curl -o dangote-2024.xlsx "https://api.genni.scribblegreen.com/v1/documents/$DOCUMENT_ID/export?format=xlsx" \
-H "Authorization: Bearer $GENNI_KEY"| Format | What you get |
|---|---|
xlsx | A sheet per statement laid out like the report, an All figures sheet with every field, and any open review items. Figures awaiting review are highlighted. |
csv | One row per figure with every field (UTF-8, opens correctly in Excel). |
json | The same rows, with values as strings. |
Add include_flagged=false to leave out figures still awaiting review.
Your whole dataset
Every figure across your organisation's documents, one row each. By default only documents that passed their checks or finished review are included.
bash
curl -o dataset.csv "https://api.genni.scribblegreen.com/v1/dataset?format=csv&company=Nestle%20Nigeria%20Plc" \
-H "Authorization: Bearer $GENNI_KEY"Filter by company and fiscal_year; set released_only=false to include documents still in review.
Usage
GET /v1/usage returns how many documents and pages you've processed, with a breakdown per document.