Skip to main content
POST
Go (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

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

api.md §2 limits / default_limits on the wire: B.1's contract.Limits, with max_cost optional and deprecated in the schema while every response still carries it as a number (MK1-722, step 1 of MK1-719). The two must otherwise agree field for field.