Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
HomeBAMLCLICloudTutorialsExamples
Start

Sections

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
BAMLStandard packagesv0.22.1trace

trace

package in the trace package.

Reference version

Contents

  • trace._options function
  • trace._span function
  • trace.Capture class
  • trace.context function
  • trace.Context class
  • trace.ContextOptions class
  • trace.current_context function
  • trace.current_span_id function
  • trace.empty_span function
  • trace.hidden function
  • trace.Mode enum
  • trace.options function
  • trace.Options class
  • trace.ReservedSpan class
  • trace.Settings class
  • trace.span function
  • trace.SpanId class
  • trace.timing function

On this page

  • Contents

Build with BAML

Start with the language guide and a checked BAML function.

Continue into generated package and CLI references for the exact selected toolchain.

Get started
Developer documentation for BAML and Boundary products. Source available on GitHub. View release notes