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.

Body

application/json

Request parameters for batch retrieving feedback by multiple request IDs.

ids
string[]
required

Array of request IDs (chatcmpl-xxx or resp-xxx) to retrieve feedback for

Required array length: 1 - 100 elements

Response

200 - application/json

OK

Response containing batch feedback results. Each result is either the feedback data or a not_found error.

results
object[]
required

Array of feedback results in the same order as the input IDs

Error result when the completion/response ID doesn't exist