ProjectAgentSession Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An agent session providing a long-lived compute sandbox for hosted agent invocations.
public class ProjectAgentSession : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.ProjectAgentSession>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.ProjectAgentSession>
type ProjectAgentSession = class
interface IJsonModel<ProjectAgentSession>
interface IPersistableModel<ProjectAgentSession>
Public Class ProjectAgentSession
Implements IJsonModel(Of ProjectAgentSession), IPersistableModel(Of ProjectAgentSession)
- Inheritance
-
ProjectAgentSession
- Implements
Properties
| Name | Description |
|---|---|
| AgentSessionId |
The session identifier. |
| CreatedAt |
The Unix timestamp (in seconds) when the session was created. |
| ExpiresAt |
The Unix timestamp (in seconds) when the session expires (rolling, 30 days from last activity). |
| LastAccessedAt |
The Unix timestamp (in seconds) when the session was last accessed. |
| Status |
The current status of the session. |
| VersionIndicator |
The version indicator determining which agent version backs this session. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to ProjectAgentSession) | |