qa status - Momentic

Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

Get the session state and counts for test cases, bugs, and verdicts. Add --full for the findings and latest message.

qa status <session-id>

Arguments

string

required

The session to inspect.

Output

By default, the command prints:

{
  "sessionId": "<session-id>",
  "state": "idle",
  "displayState": "ready",
  "sessionState": "idle",
  "webUrl": "https://app.momentic.ai/mo/sessions/<session-id>",
  "counts": {
    "testCases": 4,
    "bugs": 2,
    "verdicts": 4
  }
}

--full replaces counts with findings.testCases, findings.bugs, and findings.verdicts arrays. It also adds latestMessage (null when unavailable). Test cases and bugs are limited to the main agent. Verdicts are the signed-off outcomes from sub-agents.displayState is the session’s state as the UI shows it: needs_you, running, waiting_on_agents, failed_start, cancelled, ready, or sleeping. It is the field to prefer. state is a legacy alias of sessionState, and both carry the lifecycle state (starting, working, waitingOnUser, waitingOnAgents, idle, or stopped). Servers running an earlier API report the display word in state instead.

Examples

List bug names:

set -o pipefail
qa status "$session_id" --full | jq -r '.findings.bugs[].name'

Poll a session until it stops running, then list the bugs it found:

set -o pipefail
while :; do
  state=$(qa status "$session_id" | jq -r '.displayState // .state') || exit $?
  [[ "$state" == running || "$state" == waiting_on_agents ]] || break
  sleep 10
done
qa status "$session_id" --full | jq -r '.findings.bugs[].name'

Notes