Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.latitude.so/llms.txt

Use this file to discover all available pages before exploring further.

Releases and versioning

Add release and version context through tags or metadata to investigate whether a behaviour started after a deploy, compare canary and stable traffic, or filter issue examples to one agent version. Use:
  • Metadata for exact values such as commit SHA, release version, deployment id, or prompt version.
  • Tags for broad rollout labels such as canary, stable, release-candidate, or v2-agent.

Send version metadata

await capture(
  "support-agent-turn",
  async () => agent.run(userMessage),
  {
    metadata: {
      release: "checkout-release",
      commitSha: process.env.GIT_COMMIT_SHA,
      deploymentId: process.env.DEPLOYMENT_ID,
      promptVersion: "support-prompt",
    },
  },
)

Send rollout tags

await capture(
  "support-agent-turn",
  async () => agent.run(userMessage),
  {
    tags: ["canary", "v2-agent"],
  },
)

Use versions in Latitude

With version context, you can:
  • search for behaviours introduced by a release
  • filter traces by prompt version or deployment id
  • compare issue examples before and after a rollout
  • scope saved searches to canary traffic
  • monitor whether a resolved issue regressed in a new version
  • Tags: Track rollout labels
  • Metadata: Track exact release fields
  • Search: Discover version-specific behaviours
  • Issues: Track failure modes across releases