SpanType enum is identical across every Bitfab SDK. It is a string literal union; passing any other value is an error.
The span type is a label only. It is used to organize, filter, and display spans in the dashboard. It does not change how a span is traced, replayed, mocked, or evaluated. Two spans with identical code behave identically regardless of their type; picking
"llm" versus "function" versus "custom" never alters runtime behavior.Values
Default
When omitted, every SDK defaults to"custom".
Per-SDK Representation
Invalid Values
- TypeScript: caught at compile time by the type system
- Python: not runtime-validated; the value is forwarded to the backend as-is
- Ruby: not runtime-validated; the value is forwarded to the backend as-is
- Go: not validated; the string is forwarded to the backend as-is