ArchAstro.SDK.Types.Trajectory (archastro v0.3.5)

Copy Markdown

A recorded sequence of AI messages and tool interactions representing a single AI reasoning session. Trajectories are stored as structured message logs and can be replayed or inspected after execution.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.Trajectory{
  created_at: String.t() | ArchAstro.SDK.Unset.t(),
  file: String.t() | ArchAstro.SDK.Unset.t(),
  id: String.t(),
  messages:
    [%{optional(String.t()) => ArchAstro.SDK.JSON.t()}]
    | ArchAstro.SDK.Unset.t(),
  org: String.t() | nil | ArchAstro.SDK.Unset.t(),
  sandbox: String.t() | nil | ArchAstro.SDK.Unset.t(),
  team: String.t() | nil | ArchAstro.SDK.Unset.t(),
  updated_at: String.t() | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()