---
title: weft reference
description: weft's reference tables — packages, the CLI, Studio's HTTP API and URLs, the record contract, events, environment variables, the devtools panel, obsdb, badges and the glossary.
url: https://weftgo.dev/docs/reference/
type: index
---

# weft reference

These pages are tables to look things up in. Go signatures stay on [pkg.go.dev](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2); these pages hold what godoc does not: wire formats, routes, flags, variables and terms.

| Page | What it lists |
|---|---|
| [Go API reference (pkg.go.dev)](https://weftgo.dev/docs/reference/api/) | Every weft package in its two modules, what it is for, and its godoc |
| [weft CLI reference](https://weftgo.dev/docs/reference/cli/) | Every `weft` command and flag |
| [Studio HTTP API](https://weftgo.dev/docs/reference/studio-api/) | Studio's routes, capabilities and response fields |
| [The record contract](https://weftgo.dev/docs/reference/record-contract/) | The spans, attributes and log records weft emits, and what a reader derives |
| [Environment variables](https://weftgo.dev/docs/reference/env/) | Every environment variable weft reads, who reads it, and its default |
| [Studio pages, URL parameters and keyboard](https://weftgo.dev/docs/reference/studio-urls/) | What each Studio page's URL carries, and the keys the UI takes |
| [Devtools panel reference](https://weftgo.dev/docs/reference/panel/) | The panel's attributes, meta tags, mount options, CSS tokens and keys |
| [Event types](https://weftgo.dev/docs/reference/events/) | Every event a run emits, its fields and wire names, and the ordering rules |
| [obsdb: reading the observability database from Go](https://weftgo.dev/docs/reference/obsdb/) | obsdb's DB methods, queries and rows |
| [obsdb record and span types](https://weftgo.dev/docs/reference/obsdb-records/) | What each stored record, span and frame type holds |
| [Badges and holes](https://weftgo.dev/docs/reference/badges/) | What each badge Studio and the panel draw means, and its cause |
| [Glossary](https://weftgo.dev/docs/reference/glossary/) | weft's terms, one or two sentences each |

## See also

- [weft concepts](https://weftgo.dev/docs/concepts/)
- [Package weft on pkg.go.dev](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2)
