Troupeby AliveDocsSign in

Reference

traces

Trace chunks the runtime records for the test framework. Index · shared schemas · errors.

ProcedureSummaryRESTMCP toolStability
traces.startChunkStart recording device.trace for this session. At most one chunk is active at a time.POST—stable
traces.stopChunkStop the chunk. discard drops it (a passing test under retain-on-failure). finalSnapshot takes a last screenshot and a11y tree first.POST—stable

traces.startChunk

Start recording device.trace for this session. At most one chunk is active at a time.

RESTPOST /v1/traces/start-chunk (input as a JSON body)
RPC/rpc/v2/traces/startChunk
MCPnot a tool (runner and inspector plumbing); hints: none
Authdevices:read
Tenancyproject
Troupe Cloudrelayed through the host agent to the device host’s runtime
Stabilitystable, since 1.0

Input:

TypeScript
{ sessionId: SessionId; title?: Label; capture?: TraceCapture }

Output:

TypeScript
{ chunkId: TraceChunkId; startedAt: string }

Errors: S, CONFLICT.

Named types: Label, SessionId, TraceCapture, TraceChunkId.

traces.stopChunk

Stop the chunk. discard drops it (a passing test under retain-on-failure). finalSnapshot takes a last screenshot and a11y tree first.

RESTPOST /v1/traces/stop-chunk (input as a JSON body)
RPC/rpc/v2/traces/stopChunk
MCPnot a tool (runner and inspector plumbing); hints: none
Authdevices:read
Tenancyproject
Troupe Cloudrelayed through the host agent to the device host’s runtime
Stabilitystable, since 1.0

Input:

TypeScript
{
  sessionId: SessionId
  chunkId: TraceChunkId
  discard?: boolean  // default false
  finalSnapshot?: boolean  // default false
}

Output:

TypeScript
{ chunkId: TraceChunkId; events: integer; file?: FileRef }

Errors: S.

Named types: FileRef, SessionId, TraceChunkId.

esc

    Type to search every page, the protocol reference and the cloud API.