Skip to main content
POST
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

generator_id
string
required

Body

application/json
params
Params · object
required

Response

Successful Response

llm
ModelQuote · object[]
required
estimated_calls
integer
required
estimated_input_tokens
integer
required
estimated_output_tokens
integer
required
estimated_cost
number | null
required
currency
string | null
required
unpriced
string[]
required
limits
Limits · object
required

A run's budget: the generator's default_limits, or the effective ones as ctx.limits.

No defaults. Every number here is a bound the platform enforces and a caller can be billed against, so a generator that forgets to state one should not silently inherit a guess.