Update the issues agent config for a session (Beta)
Beta: This endpoint is in active development and may change without notice.
Patches the agent config. All side effects (clearing fix fields when the GitHub repo changes, setting agent_overview_repo_id) happen in a single CRUD transaction. Omitted fields are left unchanged.
Authorizations
Path Parameters
Tracer session ID (UUID)
Body
AnalysisLevel: "standard", "reduced", or "expanded". Switching to or from "reduced" also resets the scan cadence. nil = don't change.
standard, reduced, expanded Trace-scope DSL. nil = don't change; "" clears it.
SessionLCUSpendLimitMonthly sets the per-project monthly LCU spend limit. Tri-state: absent (nil) = don't change; 0 or positive = monthly cap (a cap of 0 is always reached, blocking new runs); negative clears it (stored as NULL = no limit). The frontend sends a negative number to clear rather than null, since null is indistinguishable from "absent". Serialized as a string to preserve NUMERIC precision.
Freeform user preferences. Send "" to clear (the frontend must not send null).
Response
OK
AnalysisLevel controls coverage vs cost: "standard" (default), "reduced" (one scan a day, fewer traces per scan), or "expanded" (2x traces per run). Stored NULL in the DB means standard; reads always return a concrete value.
standard, reduced, expanded IDs of the latest run on LangSmith Deployments; NULL until first trigger.
PreviewVerifyEnabled lets this board's fix runs use preview deployments when issue validation is enabled for its tracing project.
RunFilter is a runs-filter-DSL string scoping which traces Engine analyzes (prompt guidance, not an enforced query). NULL = no scope. Clamped by validateRunFilter.
SelectedTraceCount is the number of traces Engine inspected in the last 14 days.
SessionLCUSpendLimitMonthly is the per-project monthly Engine LCU spend limit: NULL/negative = no limit; 0 or positive = monthly cap (spend is never negative, so a cap of 0 always reads as reached). Enforced in addition to (and independently of) the org-level limit. Serialized as a string to preserve NUMERIC(28,6) precision.
JOINed from tracer_session
JOINed from tenants (workspace label); resolved server-side so the org-admin list can label rows across workspaces the caller isn't a member of
User-owned freeform preferences. Engine reads this as authoritative context and reconciles it into the Agent Overview on the next scan, but never edits it. NULL when the user hasn't set any.

