AgentSessionResource interface

An agent session providing a long-lived compute sandbox for hosted agent invocations.

Properties

agent_session_id

The session identifier.

created_at

The Unix timestamp (in seconds) when the session was created.

expires_at

The Unix timestamp (in seconds) when the session expires (rolling, 30 days from last activity).

last_accessed_at

The Unix timestamp (in seconds) when the session was last accessed.

status

The current status of the session.

version_indicator

The version indicator determining which agent version backs this session.

Property Details

agent_session_id

The session identifier.

agent_session_id: string

Property Value

string

created_at

The Unix timestamp (in seconds) when the session was created.

created_at: Date

Property Value

Date

expires_at

The Unix timestamp (in seconds) when the session expires (rolling, 30 days from last activity).

expires_at: Date

Property Value

Date

last_accessed_at

The Unix timestamp (in seconds) when the session was last accessed.

last_accessed_at: Date

Property Value

Date

status

The current status of the session.

status: AgentSessionStatus

Property Value

version_indicator

The version indicator determining which agent version backs this session.

version_indicator: VersionIndicatorUnion

Property Value