trickroom / Docs
Sign in

SDK reference · Assistants and evaluation

client.pipelines

client.pipelines.{ create, get, report }

Record a pipeline run and report its progress so it appears beside jobs and evaluations.

create

create(input: PipelineRun, key: string): Promise<Resource>

Records a run.

Parameters

keystring
An idempotency key. Retrying with the same key and input returns the first result instead of acting twice.

Returns Promise<Resource>

get

get(id: string): Promise<Resource>

One run.

Returns Promise<Resource>

report

report(id: string, input: PipelineUpdate, key: string): Promise<Resource>

Reports progress or an outcome.

Parameters

keystring
An idempotency key. Retrying with the same key and input returns the first result instead of acting twice.

Returns Promise<Resource>