Create the issues agent for a session (Beta)
Beta: This endpoint is in active development and may change without notice.
Configures the issues agent for the given tracer session and enqueues the initial scan. Fails if an agent already exists for the session.
Authorizations
Path Parameters
Tracer session ID (UUID)
Body
AnalysisLevel is how thoroughly Engine monitors the project: "standard" (the default), "reduced" (fewer traces at lower cost), or "expanded" (more traces per run, for projects with enough tracing volume). Omit for "standard".
standard, reduced, expanded Runs-filter-DSL trace scope; omit/null/empty for no scope.
Response
Created
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.

