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

env
string
required
Pattern: ^[a-z0-9][a-z0-9-]{0,62}$

Response

Generated evaluation key

key
string
required

Plaintext evaluation key returned only by this generation call.

Pattern: ^mka1_key_[A-Za-z0-9_-]{43}$