View as Markdown

SDK reference · Python SDK

prov.trace.labels

prov.trace.labels in the Python SDK: 3 methods. S10: neuron labels.

Methods

create

prov.trace.labels.create(trace_id: str, neurons: list[str]) -> Any

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

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

list

prov.trace.labels.list(model: Optional[str] = …, limit: Optional[int] = …) -> Any

Your labels, newest first.

Calls GET /v1/trace/labels.

ingest

prov.trace.labels.ingest(token: str) -> Any

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

Calls POST /v1/trace/labels.

Was this page helpful? Send us feedback

LLM? Read llms.txt.