AgentProcessStatus

data class AgentProcessStatus(val id: String, val status: AgentProcessStatusCode, val timestamp: Instant, val runningTime: Duration, val result: Any?, val statusUrl: String = "/api/v1/process/", val sseUrl: String = "/events/process/") : OperationStatus<AgentProcessStatusCode>

Return status of the process and URLs for status and SSE streaming.

Parameters

id

Unique identifier of the agent process.

status

Current status of the agent process.

result

The last result of the agent process, if available.

statusUrl

URL to check the status of the process.

sseUrl

URL to request Server-Sent Events (SSE) streaming of the process status.

Constructors

Link copied to clipboard
constructor(id: String, status: AgentProcessStatusCode, timestamp: Instant, runningTime: Duration, result: Any?, statusUrl: String = "/api/v1/process/", sseUrl: String = "/events/process/")

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
val result: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val status: AgentProcessStatusCode
Link copied to clipboard
Link copied to clipboard
open val timestamp: Instant