Format
- JSON request and response bodies,
snake_casefields. - Timestamps in ISO 8601 UTC:
2026-11-03T10:04:03Z. - Credits are numbers: prices have up to two decimals, what is reserved and charged is whole credits.
- Ids are a type prefix and 32 hex characters:
gen_6f1c2a9e4b7d4c1e9a3f0b5d8e2c7a14. Prefixes:gen_generation,asset_asset,elm_element,evt_event,whep_webhook endpoint. - Every object has an
objectfield with its type.
status_detail).
Pagination
List endpoints return a page of objects, newest first:
To walk everything, pass the last id of each page as
starting_after until has_more is false. Cursors stay correct while new objects are created. A cursor whose object was deleted is refused with 400 parameter_invalid at starting_after or ending_before: list again from the first page.
Metadata
Generations and webhook endpoints acceptmetadata: up to 20 string pairs (keys up to 40 characters, values up to 500) of your own. Argil stores and returns them, includes them in webhooks, and never interprets them. Filter generations on them with GET /v2/generations?metadata[order_id]=A-1042.
Request ids
Every response has aRequest-Id header, repeated in error bodies. Log it, and quote it when you contact support.