List pay-as-you-go offerings
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
Every job one API call can buy without a subscription: a coding run, a code review, a security review, an app walkthrough and the free checks. Each names the call that starts it, the limit_usd it takes (the most that job spends from credits) and typical_usd, the median cost of that job over the last 30 days (null with too few jobs to say). Paid jobs draw prepaid credits at provider cost times usage_markup. Out of credits, a start call answers 402 INSUFFICIENT_CREDITS with where to pay. No API key needed.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
Request fulfilled, document follows
application/json- response
offerings*array<>pricing*curl -X GET 'https://api.syndai.ai/api/v1/public/offerings'Example Response
{ "offerings": [ { "description": "string", "key": "string", "limit": { "default_usd": 0, "max_usd": 0, "min_usd": 0 }, "method": "string", "name": "string", "needs": [ "string" ], "path": "string", "price": "string", "typical_usd": 0 } ], "pricing": { "checkout_url": "string", "packs_url": "string", "signup_credit_usd": 0, "signup_url": "string", "usage_markup": 0, "usd_per_credit": 0 }}