Provides a user-friendly trace stack into an operation that occurred in Spice. This command retrieves and displays task execution traces from the runtime.task_history table.
task - The name of the task whose trace is requested. Supported tasks include:
accelerated_refreshai_chatai_completionsql_querynsqltool_use::document_similaritytool_use::list_datasetstool_use::sqltool_use::table_schematool_use::sample_datatool_use::sql_querytool_use::memoryvector_searchscheduled_workerThese tasks are from the task column in the Spice SQL runtime.task_history table.
--trace-id Retrieve the trace with the given trace ID (the column trace_id from runtime.task_history).--id Retrieve the trace with the given id label (i.e. the task has a valid id within the labels column of runtime.task_history).--api-key Specify the API key for authentication.--include-output: Include, as an additional column, the captured output to each span (i.e. the captured_output column from runtime.task_history). Note: If captured outputs are not being stored, this will return an empty row.--include-input: Include, as an additional column, the input to each span (i.e. the input column from runtime.task_history).The latest trace for the task will be used if neither --trace-id nor --id is specified.
trace-idThis output represents a structured trace of executed tasks.
--include-output)