Exports

Stream RLHF preference data as newline-delimited JSON

Stream a ranking's preference data as JSONL (one record per line).

Drop-in compatible with datasets.load_dataset("json", data_files=URL) and trl's preference dataset loaders. Owner-only.

Format options match POST /exports/rlhf:

  • dpo — DPO chosen/rejected pair format
  • anthropic_hh — Anthropic Helpful-Harmless format
  • openai_rm — OpenAI Reward Model format
  • aimrank_full — full metadata (rating before/after, voter segment, decision time)

Auth: API key OR JWT, Pro plan or higher, and must own the ranking.

get/api/v1/exports/rlhf/{ranking_id}.jsonl

Request

  • Base URL: https://app.aimrank.io (the document declares no server; this is the origin it was published from)
  • URL: https://app.aimrank.io/api/v1/exports/rlhf/{ranking_id}.jsonl
  • Auth: API key in header X-API-Key

Path parameters

ranking_idstring required

Query parameters

format'anthropic_hh' | 'openai_rm' | 'dpo' | 'aimrank_full'
min_confidencenumber
include_llm_votesboolean

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.