Start a report
Spends an agency credit, or runs on your own provider keys where enabled. Starts are limited to 10 per key per hour on top of the per-minute limit, and, on your own keys, to the Agent plan's limits. **Idempotency.** Send an `Idempotency-Key` header (or body `idempotencyKey`, 16–128 of `A–Z a–z 0–9 - _`). Keys are scoped to the account that owns the API key, not to the key itself or globally, and bound to the report it describes: `domain`, `brand`, `description`, `category`, `plan`, `engines` and `seedPrompts` (the same key with any of those changed is a different start). **`providerKeys` are not part of that fingerprint**: a retry with the same key and corrected provider keys returns the original start, even a failed one, so rerun with a new `Idempotency-Key`. A retry with the same key and the same report fields returns the original start (200, `reused: true`) and spends nothing again. If that original start was funded by a credit that has since been returned (it could not be queued, or it started, failed and got its credit back), the retry gets 409; start again with a new key. Without a key every request is a new start. **A 503 from this operation is ambiguous.** The start may still complete after the response (for example when it times out on our side). Retry with the **same** `Idempotency-Key` and body: you get the original start if it went through, or a new one if it did not, never both.
apiKeyAuthorizationBearer <token>An API key (rmk_…).
Idempotency-Key?stringMakes a start safe to retry. Scoped to the account that owns the API key and to the report fields (not providerKeys); a retry must repeat them. Same rules as body idempotencyKey; if both are sent they must match.
^[A-Za-z0-9_-]{16,128}$application/json- body
domain*stringThe product's domain, e.g. example.com.
3 <= length <= 253description*stringOne line on what the product does.
3 <= length <= 300category*stringThe category buyers would search, e.g. "meeting scheduling".
2 <= length <= 120brand?stringThe product's name. Derived from the domain when omitted.
length <= 80plan?stringWhich plan's question count and engines to run. An agency credit runs FULL.
"FULL""QUICK""FULL""DEEP"seedPrompts?array<>Buyer questions to ask. They must not name the product.
items <= 40engines?array<>A subset of the plan's engines. Defaults to all of them.
1 <= items <= 6funding*string"credits" spends one agency credit; "byok" runs on your own provider keys where enabled.
"credits""byok"providerKeys?funding "byok" only. Used for this run and never stored in the clear or echoed back.
idempotencyKey?stringSame as the Idempotency-Key header. A retry with the same key returns the first start.
^[A-Za-z0-9_-]{16,128}$An earlier start with the same idempotency key (reused: true).
application/json- response
slug*stringstatus*stringreused*booleantrue when an earlier start with the same idempotency key is returned (200).
funding*string"credits""byok"url*stringstatusUrl*stringPoll this about once a minute.
curl -X POST 'https://api.recomention.com/v1/reports' \ -H 'Content-Type: application/json' \ -d '{ "domain": "string", "description": "string", "category": "string", "funding": "credits"}'{ "slug": "string", "status": "string", "reused": true, "funding": "credits", "url": "string", "statusUrl": "string"}