/  Yamcs HTTP API  /  Server  /  List Threads

List ThreadsΒΆ

List threads

URI Template

GET /api/threads

Query Parameters

depth

Maximum depth of each thread's stacktrace. Default: no limit.

Response Type

interface ListThreadsResponse {
  threads: ThreadInfo[];
}

Related Types

interface ThreadInfo {
  id: string;  // String decimal
  name: string;
  state: string;
  native: boolean;
  suspended: boolean;
  group: ThreadGroupInfo;
  trace: TraceElementInfo[];
}

interface ThreadGroupInfo {
  name: string;
  daemon: boolean;
  parent: ThreadGroupInfo;
}

interface TraceElementInfo {
  className: string;
  fileName: string;
  methodName: string;
  lineNumber: number;
}