View as Markdown

SDK reference · Node SDK

prov.trace.labels

prov.trace.labels in the Node SDK: 3 methods. The trace.labels methods.

Methods

create

prov.trace.labels.create(traceId: string, params: { neurons: string[] }): Promise<TraceLabelResult>

Label neurons of a trace you opened (Pro and up).

Calls POST /v1/trace/traces/{id}/labels.

list

prov.trace.labels.list(params?: { model?: string; limit?: number }): Promise<TraceNeuronLabel[]>

Your labels, newest first.

Calls GET /v1/trace/labels.

ingest

prov.trace.labels.ingest(token: string): Promise<{ object: "list"; credits: 0; data: TraceNeuronLabel[] }>

Send labels your sidecar made with its own labeller key (compact ES256 JWS, typ provenance-trace-labels+jwt).

Calls POST /v1/trace/labels.

Was this page helpful? Send us feedback

LLM? Read llms.txt.