14 lines
645 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* Detailed status information for a session, returned by the internal
* `status_detail` endpoint.
*
* `is_terminal` is true when the session's underlying durable task is in a
* terminal state (Completed / Failed / Cancelled) or when no task exists.
* It is false when the task is still running, even if the most recent event
* is an error — allowing clients to distinguish transient errors from
* terminal failures when the public `AutopilotStatus` cannot.
*/
export type SessionStatusDetail = { is_terminal: boolean };