Sessions
List a session's child sessions
Changed onReturns the caller's sessions spawned under one parent session (Task subagents, mission agents) with their last reported status and the state of the computer each runs on, oldest first. Computer details are only included for computers the caller owns. Artifacts are included only when includeArtifacts=true; what each session is waiting on only when includeAttention=true.
get/api/v0/sessions/{sessionId}/children
Request
- Base URL: https://api.factory.ai
- URL: https://api.factory.ai/api/v0/sessions/{sessionId}/children
- Auth: HTTP bearer
Path parameters
sessionIdstring required
The parent session id
Query parameters
includeArtifacts'true' | 'false'
Whether to include each child session’s integration artifacts (pull requests, issues, pages).
includeAttention'true' | 'false'
Whether to include what each child session is waiting on (a permission prompt or a question).
Response
Response for status 200
Changes
- ○
added the new optional
queryrequest parameterincludeAttention - ○
added the optional property
//to the response with the status
- ○
- ○
endpoint added
- ○