API reference
CaptureQuotes
Price proposed capture runs (surface, targets, cap, add-ons) in credits and GBP before starting them. Read access, capture toolset, MCP tool get_capture_quotes.
Access: Read
Variables
| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
input | [CaptureQuoteInput!]! | yes | Input object, below |
Input types
CaptureQuoteInput
| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
addons | [String!] | no | ||
cap | Int | no | 32-bit integer | A per-target cap — prices the WORST CASE the gate holds against (a projection). Set this OR results. |
memoryGb | Float | no | ||
results | Int | no | 32-bit integer | An exact result count. Set this OR cap, never neither nor both. |
runShare | Float | no | A batch story's share of the one start fee, 0..1. Omit for a solo run or a projection. | |
surface | String! | yes | A CaptureSurface key, e.g. "instagram-reel". | |
targets | Int! | yes | 32-bit integer |
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"CaptureQuotes","variables":{"input":[]},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"963f60d4182d34e4fb7a594e7487da43ec387261197797e34fdb3aa6f4f13568"}}}'Document
graphql
query CaptureQuotes($input: [CaptureQuoteInput!]!) { __typename captureQuotes(input: $input) { __typename credits holdGbp lines { __typename addonKey count credits gbp kind } pricingVersion } }