ReqManagedAgents.Client (ReqManagedAgents v0.13.3)

Copy Markdown View Source

Compatibility control-plane HTTP client for Claude Managed Agents (agents, sessions, events) over Req. The long-lived SSE event stream lives in ReqManagedAgents.Stream.

Build one with new/1; pass it as the first argument to every call. All requests carry the managed-agents-2026-04-01 beta header.

Summary

Types

t()

@type t() :: %ReqManagedAgents.Client{
  anthropic_version: String.t(),
  api_key: String.t() | nil,
  base_url: String.t(),
  bearer_token_file: String.t() | nil,
  beta: String.t(),
  files_beta: String.t(),
  profile: atom(),
  receive_timeout: timeout(),
  req_options: keyword()
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()

Build a legacy client. See ReqManagedAgents.Providers.ClaudeManagedAgents.Client.new/1.