API
Model

DatasetRow

Attributes

idstring

row_...

positioninteger

Insertion order, from 1 (the row number a user sees); stable, and the paging cursor

inputmap of string

Input values by column name

cellsmap of DatasetCell

Cells by output column name (every output column is present; in a run's output.rows, only the columns the fill covered)

Attributes
valueanynullable

The cell value (a string, or structured JSON when the column has an output_schema); null until filled or when nothing was found

statestring

pending = never filled; running = a fill is on it; ok / not_found / failed = the last fill's result (a failed cell never finished — the next fill re-runs it without force; a not_found cell is an answer and stays); manual = set by hand (PATCH rows/{row_id}); stale = filled before the column's prompt or schema changed (the next fill re-runs it)

One of pending running ok not_found failed manual stale
reasonstring

Failed cells only. credit_limit = the account's credit limit refused the row's charge; provider = the model provider answered with an error or did not answer (run it again); internal = something went wrong on Riveter's side (run it again). A stopped run leaves no failed cells: its recorded values land as ok, the rest stay as they were.

One of credit_limit provider internal
errorstring

Failed cells only. One fixed sentence for the reason, fit to show a user

sourcesarray of string

URLs the agent cited, when present

creditsnumber

Credits fills have charged for this row so far (each row run counted once)

not_found_reasonstringnullable

The agent's one sentence on what it could not find on this row and why, from its last successful run; null when it found every column or has not run

created_atstring date-time
updated_atstring date-time

Used by