# `OpenaiEx.Beta.Agents.Sessions`
[🔗](https://github.com/cyberchitta/openai_ex/blob/v0.10.0/lib/openai_ex/beta/agents/sessions.ex#L1)

This module provides an implementation of the OpenAI agent sessions API (beta). The API reference can be found at https://developers.openai.com/api/reference/agents/sessions.

# `create`

# `create`

# `create!`

# `create!`

Creates a new agent session. Pass `stream: true` to receive the session's events as a stream.

# `delete`

# `delete!`

# `list`

# `list!`

# `new`

Creates a new agent session request with the given arguments.

Example usage:

    iex> OpenaiEx.Beta.Agents.Sessions.new(environment: %{type: "none"}, agent_id: "agent_123", input: "Hello")
    %{agent_id: "agent_123", environment: %{type: "none"}, input: "Hello"}

# `retrieve`

# `retrieve!`

# `update`

# `update!`

