Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/docs/cli/reference/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spice trace [task] [flags]
- `tool_use::sample_data`
- `tool_use::sql_query`
- `tool_use::memory`
- `vector_search`

These tasks are from the `task` column in the Spice SQL `runtime.task_history` table.

Expand All @@ -41,16 +42,19 @@ The latest trace for the task will be used if neither `--trace-id` nor `--id` is
### Examples

#### Retrieve the trace for the last text-to-SQL operation

```shell
spice trace nsql
```

#### Retrieve the trace for a specific task by ID

```shell
spice trace ai_chat --id chatcmpl-At6ZmDE8iAYRPeuQLA0FLlWxGKNnM
```

#### Retrieve a trace by `trace-id`

```shell
spice trace sql_query --trace-id d5c6f1eed9f27257
```
Expand Down
Loading