Troupeby AliveDocsSign in

Reference

logs

Device, app and driver logs, and crash reports. Index · shared schemas · errors.

ProcedureSummaryRESTMCP toolStability
logs.streamFollow device, app and driver logsGET—stable
logs.readRead logs by cursor (the MCP-friendly form)GETlogs_readstable
logs.crashesList crash reports attributed to the sessionGETlogs_crashesstable

logs.stream

Follow device, app and driver logs

RESTGET /v1/logs/stream (input as query parameters)
RPC/rpc/v2/logs/stream
MCPnot a tool (an event iterator; MCP tools return one result); hints: read-only, idempotent
Authlogs:read
Tenancyproject
Troupe Cloudrelayed through the host agent to the device host’s runtime
Stabilitystable, since 1.0

Input:

TypeScript
{
  sessionId: SessionId
  sources?: LogSource[]  // ≤ 6 items
  bundleId?: BundleId
  minLevel?: LogLevel
  grep?: string  // 1–256 chars
  since?: Seq
}

Output: an event iterator (text/event-stream on REST), each event:

TypeScript
LogEvent

Errors: S.

Named types: BundleId, LogEvent, LogLevel, LogSource, Seq, SessionId.

logs.read

Read logs by cursor (the MCP-friendly form)

RESTGET /v1/logs/read (input as query parameters)
RPC/rpc/v2/logs/read
MCPtool logs_read; hints: read-only, idempotent
Authlogs:read
Tenancyproject
Troupe Cloudrelayed through the host agent to the device host’s runtime
Stabilitystable, since 1.0

Input:

TypeScript
{
  sessionId: SessionId
  cursor?: Cursor
  limit?: integer  // default 200; 1–1000
  sources?: LogSource[]  // ≤ 6 items
  bundleId?: BundleId
  minLevel?: LogLevel
  grep?: string  // 1–256 chars
}

Output:

TypeScript
{ lines: LogLine[]; nextCursor: string; gap?: LogGap }

Errors: S.

Named types: BundleId, Cursor, LogGap, LogLevel, LogLine, LogSource, SessionId.

logs.crashes

List crash reports attributed to the session

RESTGET /v1/logs/crashes (input as query parameters)
RPC/rpc/v2/logs/crashes
MCPtool logs_crashes; hints: read-only, idempotent
Authlogs:read
Tenancyproject
Requireslogs.crashes
Troupe Cloudrelayed through the host agent to the device host’s runtime
Stabilitystable, since 1.0

Input:

TypeScript
{ sessionId: SessionId; bundleId?: BundleId; since?: Timestamp }

Output:

TypeScript
{ crashes: CrashSummary[] }

Errors: S.

Named types: BundleId, CrashSummary, SessionId, Timestamp.

esc

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