orke session wait
Wait for a session state or completion.
When to use it
Wait for a session state or completion.
Usage
Syntax · [ ] marks optional arguments
orke session wait --id <string> [--status <idle|working|awaitingInput|exited>] [--completion <boolean>]Options
| Options | Required? | Value and description |
|---|---|---|
--id | Required | orke session ID returned by list or create. |
--status | Optional | idle | working | awaitingInput | exitedSession state to wait for. |
--completion | Optional | In session wait, true waits for completion. In page.run, this is a condition for confirming completion. |
Common management options and errors →
Example
Terminal
orke session wait --id "session_ID" --completion true --jsonReplace the example IDs, folders, references, and revision with values from actual queries. Element references such as e7 must also come from the latest observation.
What to check in the result
Read both ok and error, and check the actual IDs, states, and partial results in data.