List Runs
const url = 'https://example.com/v1/datasets/example/runs';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/datasets/example/runs \ --header 'Authorization: Bearer <token>'The dataset’s runs, newest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Successful Response
object
The dataset it adds answers to.
The query and tasks it was started with.
object
Which rows to ask about: a SELECT over data returning __row_id; all rows by default. For a sample that grows without changing, order by a hash: SELECT * FROM data ORDER BY md5('s1' || __row_id) LIMIT 50.
object
The prompt, e.g. “Is this review negative? {{review}}”.
Base name of the result columns. Defaults to one for the type.
Extraction editor: one scalar value or named, typed fields.
The choices for pick one and pick any; the levels, lowest first, for scale.
object
For extract: what to pull out. "amount:number" is short for {"name": "amount", "type": "number"}.
object
What to put in it, if the name doesn’t say.
Also write why, from LLMs, for classify and extract.
Decision models or LLMs; see GET /v1/models. Defaults to one for the type.
The models it asks, by id, as when it started: their kinds and prices, and for the organisation’s own, their provider, upstream name and note.
object
object
recommended for the ones to try first; others (budget, accurate) to filter by.
On rowlab’s own list, offered first. The rest of OpenRouter’s catalog can be asked too.
What its provider calls it, for the organisation’s own.
What answers, e.g. a checkpoint’s revision or training run.
The answer columns it writes, without their _proba and _reason columns.
Per task and model, so far.
object
USD spent by this run; cached answers are free.
Prompt tokens billed, as the provider counts them.
Answer tokens billed.
Answers that failed; resuming the run asks them again.
Rows it asks about: those the query picks that miss one of its answers.
Answers asked so far, failed ones too.
Of those done, replies kept from earlier runs: free, and not asked again.
Answers it asks for.
USD spent so far; cached answers are free.
Example
[ { "status": "queued", "config": { "sql": "SELECT * FROM data", "tasks": [ { "template": "", "type": "yes_no", "preset": "summarize", "column": "answer", "extraction_mode": "single", "options": [], "fields": [], "reason": false, "models": [ "typesafe/jev-1.14" ] } ] }, "models": {}, "costs": [ { "input_tokens": 0, "output_tokens": 0 } ], "reused": 0 }]Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}