Skip to main content
GET
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.

Query Parameters

model
string

Exact, case-sensitive model ID recorded on the request: the requested model string for responses, the resolved catalog ID for chat completions. An empty value applies no filter.

Maximum string length: 255
created_from
string<date-time>

Inclusive lower bound on when the request was made (ISO 8601 with an offset, at most millisecond precision).

created_to
string<date-time>

Exclusive upper bound on when the request was made (ISO 8601 with an offset, at most millisecond precision).

agent_id
string

Exact match on the agent the request ran for (its guardrail_agent_id). An empty value applies no filter. Response feedback only: a chat completion route answers 400 when a non-empty value is sent.

Maximum string length: 255
order
enum<string>
default:desc

The order to export feedback entries in by creation date of the underlying request. 'asc' exports oldest first, 'desc' exports newest first. Defaults to 'desc' (newest first).

Available options:
asc,
desc
rating
enum<string>

Only export feedback entries with this rating. Omit to export entries with any rating.

Available options:
thumbs_up,
thumbs_down

Response

200 - text/csv

CSV file containing the feedback entries visible to the caller

The response is of type file.