/v1/feedbackSubmit request feedback
Send free-form feedback, a complete edited output in correction, or both. Use the same API key that made the original model request. Feedback preserves whitespace and Unicode and leaves the original response unchanged. It is stored for judge supervision and does not run a model. Feedback and corrections can be used with the original capture to automatically build evals and fine-tuning datasets.
A complete retained observability capture is required. Capture opt-out, zero data retention and expired content cannot be bypassed. Feedback is deleted when its source capture is deleted. A newly completed request may return feedback_capture_unavailable (409) until capture finishes.
Each call appends an observation. To retry safely, reuse the same Idempotency-Key, target request and payload. The original receipt returns with 200; conflicting reuse returns 409. The JSON body is limited to 2 MiB. Null fields are treated as omitted; at least one non-null field is required. Validated submissions, including retries, are limited to 30 per minute and 16 MiB per UTC day per API key, and 64 MiB per UTC day per organization. UTF-8 feedback and correction bytes count toward the daily allowance, with a minimum of 1 KiB per submission. Quota refusals return feedback_rate_limited (429) with Retry-After. A busy worker returns feedback_busy (429) without that header; retry with backoff.
Authentication: Bearer API key in the Authorization header
Headers
request-idstringrequiredThe original model response's
x-request-id. Only requests made with this API key can receive feedback.Idempotency-KeystringOptional retry identity, unique per API key. Use 1 to 128 visible ASCII characters without spaces.
Request body
feedbackstring | nullNonblank unstructured feedback, up to 64 KiB in UTF-8. NUL characters are not accepted.
correctionstring | nullComplete replacement output, up to 1 MiB in UTF-8. An empty string means the output should be empty. NUL characters are not accepted.
Responses
200The original receipt for an identical retry.
Response
idstringrequiredobjectstringrequiredrequest_idstringrequiredcreated_atstringrequired
201Feedback committed to observability storage.
Response
idstringrequiredobjectstringrequiredrequest_idstringrequiredcreated_atstringrequired
400Invalid request. param names the field; code says why (invalid_parameter, unsupported_parameter, unsupported_capability, refusal, previous_response_not_found). Not charged.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
401The key is missing, malformed, expired or revoked.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
404No such resource for this key.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
408Feedback upload timed out. Retry with the same idempotency key.
409Capture unavailable (
feedback_capture_unavailable) or conflicting idempotency key (idempotency_conflict).413The JSON body exceeds 2 MiB.
415Content-Type must be application/json.
429Feedback quota or worker capacity exceeded. Honor Retry-After when present; otherwise retry with backoff.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
503gateway_unavailable, gateway_draining, unavailable_route or deadline_exceeded. Retry with backoff, honoring Retry-After when present.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
Request
curl https://api.experientiallabs.ai/v1/feedback \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-H "request-id: req-original" \
-H "Idempotency-Key: feedback-edit-1" \
-d '{"feedback":"The answer used the wrong date.","correction":"The event is on November 24."}'
Response
{
"id": "00000000-0000-0000-0000-000000000000",
"object": "feedback",
"request_id": "string",
"created_at": "2026-11-19T00:00:00Z"
}https://api.experientiallabs.ai/v1/feedback