analytics-invocation-controller
Create an analytics invocation
Creates one durable calculation. Prefer: wait=N waits for the same job; Prefer: respond-async returns immediately.
post/analytics/invocations
Request
- Base URL: http://api.moirailabs.com/api/v1
- URL: http://api.moirailabs.com/api/v1/analytics/invocations
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Preferstring
X-Request-IDstring
Example:8df31080-3b78-4e63-a67d-c2d107190f3c
Optional frontend-generated correlation ID. The backend returns the effective value in the response header.
Request body
Example request
{
"request": {
"contractAddress": "0x313416870A4da6F12505a550B67bB73c8E21D5d3",
"period": "1y",
"granularity": "day"
}
}Response
Calculation completed inside the wait budget
Changes
No recorded changes to this operation across all 1 revision of this API.