Skip to main content
GET
Python SDK

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string
X-Workspace-Id
string | null

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
status
enum<string> | null

Filter by trace status. Allowed: success/error/degraded.

Available options:
success,
error,
degraded
agent_name
string | null
eval_verdict
string | null

Filter by eval verdict (pass/fail/keep/drop/review/...), or 'unevaluated' for traces with no verdict yet, or 'evaluated' for any trace that has a verdict.

source_type
enum<string> | null

Filter by trace source_type. See ingest allowlist for valid values.

Available options:
production,
test,
evaluation,
sdk,
manual,
synthetic,
development,
sandbox,
distillation,
snapshot,
file,
url,
eval_replay,
sample,
demo,
hosted_trial
manifest_id
string | null
search
string | null

Full-text search across user_input, final_output, and agent_name

include_fixtures
boolean
default:true

When false, drop platform-harness fixture agents (__, live-, cuj*, soak-*, …) from the listing — the UI's default. Defaults to true for SDK/API back-compat. Ignored when an explicit agent/skill/tool filter is set (asking by name always works).

target_manifest_id
string | null

Show compatibility of traces relative to this manifest

child_agent_name
string | null

Filter parent traces by child agent name (multi-agent)

child_status
enum<string> | null

Filter child agent matches by status. Allowed: success/error/degraded.

Available options:
success,
error,
degraded
tool_name
string | null

Filter to traces that invoked the named tool (uses ToolCallIndex)

skill_name
string | null

Filter to traces where the named skill was activated (uses trace_skill_activation). Backs the owner skill-detail live-traces panel.

prompt_version
integer | null

Filter to traces whose agent ran this saved prompt version (the decimal.prompt.version agent_config() records on the agent span). Each listed trace carries its record as prompt.

Required range: x >= 1
prompt_source
string | null

fallback: only traces whose agent ran on the fallback= prompt in its code, because DecimalAI was unreachable or had no prompt saved for it (decimal.prompt.source on the agent span).

Allowed value: "fallback"
has_spans
boolean | null

When true, return only traces that recorded at least one span — this filters out empty hello-world traces from SDK setup that would otherwise clutter an investigation. When false, return only the empty-span traces. Omit the parameter to get both.

has_llm_calls
boolean | null

Symmetric filter for traces with 0 LLM calls.

sort
enum<string> | null

Order results by the given field. Prefix '-' for descending. Defaults to '-created_at'. Unknown values 422 instead of being silently ignored.

Available options:
-created_at,
created_at,
-started_at,
started_at
started_at_from
string<date-time> | null

Inclusive lower bound on RunTrace.started_at (ISO 8601). Malformed dates 422 via Pydantic typing instead of being silently ignored.

started_at_to
string<date-time> | null

Inclusive upper bound on RunTrace.started_at (ISO 8601). Same validation behavior as started_at_from.

compat_status
string | null

Filter to traces with this compatibility verdict against target_manifest_id. Values: keep / repair / replay / drop. Requires target_manifest_id to be set for authoritative scoping; otherwise falls back to RunTrace.compat_status (a less-precise denormalized field).

experiment
string | null

Only traces whose routing call this experiment (an agent's skill holdout or prompt split) put in a group. Every listed trace carries its group as experiment.

Maximum string length: 36
experiment_arm
enum<string> | null

With experiment, one group: a holdout's held_out (the skill was withheld) or with, a prompt split's a (the current prompt) or b (the new one).

Available options:
held_out,
with,
a,
b

Cookies

decimal_session
string | null

Response

Successful Response

The response is of type Response List Traces Api V1 Traces Get · object.