Skip to main content
This schema is the authoritative contract for metadata that coding agents attach to LangSmith runs. It defines which fields are required on every run, which fields are expected when the runtime can supply them, and which fields apply only to specific run types. Coding agent integrations use this schema to ensure their traces are consistently structured, queryable, and compatible with LangSmith’s observability and filtering features.

Supported integrations

The following integrations implement this schema:

Global identity block

Every run type must include the following identity fields in its metadata:

Availability tiers

Fields in this schema are marked with one of three availability tiers:

Run types

This schema distinguishes five run types. Some fields apply only to a subset of run types.

Required fields by run type

All run types

The global identity block fields are always required on every run type. Additional fields required on all run types:

llm runs

tool runs

subagent runs

interrupted runs

Interrupted runs carry the same fields as root runs. The run type itself signals the abnormal termination state; no additional required fields are added.