MISSINdevelopersLog in

API reference

CaptureMetrics

Capture totals over the recent window: runs by outcome, results, spend and refunds. Read access, capture toolset, MCP tool get_capture_metrics.

Access: Read

Variables

This operation takes no variables.

Call it

bash
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"CaptureMetrics","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"e787d9a699608856ee5d22e677e5d122a6cac3530043ad1f2b303d4362b09663"}}}'

Document

graphql
query CaptureMetrics { __typename captureMetrics { __typename chargedGbp refundedGbp resultsNew resultsReturned runsEmpty runsFailed runsOk runsRunning spentGbp windowDays } }

For AI agents: a markdown index of this site is at /llms.txt, and every page is available as markdown by adding .md to its URL.