Export preferences as DPO pairs or reviews and ratings as KTO labels, as JSON Lines
GET
/v1/applications/{id}/preferences/export.jsonlPath parameters
idstringrequiredMin length: 1
Query parameters
formatstringrequiredAllowed: "dpo""kto"
sincestringFormat: date-time
untilstringFormat: date-time
Response
200Export preferences as DPO pairs or reviews and ratings as KTO labels, as JSON Lines
X-Request-IdstringServer-generated request identifier for logs and support.
application/jsonl
valuestring4XX400 invalid input; 401 missing/revoked credentials; 403 disallowed operation/application; 404 missing or inaccessible resource; 409 conflicting submission/version/state; 413 body too large; 415 unsupported content type. Inspect error.code, not message text.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any
5XX500 unexpected failure or 503 unavailable dependency. A failed response does not prove that a submission was not committed. Retry job/flow admission with the same key and body.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any