Spans Available Columns
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/spans/available_columns \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "00000000-0000-0000-0000-000000000000"
}'
{
"columns": [
{
"allowed_values": [
"retriever",
"trace",
"workflow",
"tool",
"llm"
],
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Type of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "type",
"label": "Type",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Input to the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "input",
"label": "Input",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Output of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "output",
"label": "Output",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Name of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "name",
"label": "Name",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "timestamp",
"description": "Timestamp of the trace or span's creation.",
"filterable": true,
"group_label": "Standard",
"id": "created_at",
"label": "Created",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Tags associated with this trace or span.",
"filterable": false,
"group_label": "Standard",
"id": "tags",
"label": "Tags",
"multi_valued": true,
"sortable": false
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "integer",
"description": "Status code of the trace or span. Used for logging failure or error states.",
"filterable": true,
"group_label": "Standard",
"id": "status_code",
"label": "Status Code",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the trace or span",
"filterable": true,
"group_label": "Standard",
"id": "id",
"label": "ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the project associated with this trace or span",
"filterable": true,
"group_label": "Standard",
"id": "project_id",
"label": "Project ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the run (log stream or experiment) associated with this trace or span",
"filterable": true,
"group_label": "Standard",
"id": "run_id",
"label": "Run ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "timestamp",
"description": "Timestamp of the trace or span's last update",
"filterable": true,
"group_label": "Standard",
"id": "updated_at",
"label": "Last Updated",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "boolean",
"description": "Whether or not this trace or span has child spans",
"filterable": true,
"group_label": "Standard",
"id": "has_children",
"label": "Has Children",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"workflow",
"tool",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the trace containing the span (or the same value as id for a trace)",
"filterable": true,
"group_label": "Standard",
"id": "trace_id",
"label": "Trace ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"workflow",
"tool",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the parent of this span",
"filterable": true,
"group_label": "Standard",
"id": "parent_id",
"label": "Parent ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "List of available tools passed to the LLM on invocation.",
"filterable": true,
"group_label": "Standard",
"id": "tools",
"label": "Tools",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Model used for this span.",
"filterable": true,
"group_label": "Standard",
"id": "model",
"label": "Model",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "floating_point",
"description": "Temperature used for generation.",
"filterable": true,
"group_label": "Standard",
"id": "temperature",
"label": "Temperature",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Reason for finishing.",
"filterable": true,
"group_label": "Standard",
"id": "finish_reason",
"label": "Finish Reason",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"tool"
],
"category": "standard",
"data_type": "text",
"description": "ID of the tool call.",
"filterable": true,
"group_label": "Standard",
"id": "tool_call_id",
"label": "Tool Call Id",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [],
"category": "metric",
"data_type": "floating_point",
"data_unit": "percentage",
"description": "Measures the presence and severity of harmful, offensive, or abusive language in the model's response",
"filterable": true,
"group_label": "Safety Metrics",
"id": "metrics/toxicity",
"label": "Output Toxicity (SLM)",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [],
"category": "metric",
"data_type": "floating_point",
"description": "BLEU is a case-sensitive measurement of the difference between an model generation and target generation at the sentence-level.",
"filterable": true,
"group_label": "Output Quality",
"id": "metrics/bleu",
"label": "BLEU",
"multi_valued": false,
"sortable": true
}
]
}
Authorizations
Path Parameters
Body
Log stream id associated with the traces.
Experiment id associated with the traces.
Response
Column id. Must be universally unique.
Category of the column.
standard
, metric
, user_metadata
, dataset
Display label of the column in the UI.
Description of the column.
Display label of the column group.
Insight type.
vertical_bar
, horizontal_bar
Data type of the column. This is used to determine how to format the data on the UI.
uuid
, text
, integer
, floating_point
, boolean
, timestamp
Data unit of the column (optional).
percentage
, nano_seconds
, milli_seconds
, dollars
, count_and_total
Whether the column is multi-valued.
Allowed values for this column.
Thresholds for the column, if this is a metrics column.
Whether the column should be inverted for thresholds, i.e. if True, lower is better.
Threshold buckets for the column. If the column is a metric, these are the thresholds for the column.
Ordered list of strings that raw values get transformed to for displaying.
Whether the column is sortable.
Whether the column is filterable.
For metric columns only: ID for the scorer that produced the metric.
List of types applicable for this column.
llm
, retriever
, tool
, workflow
, trace
Was this page helpful?
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/spans/available_columns \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "00000000-0000-0000-0000-000000000000"
}'
{
"columns": [
{
"allowed_values": [
"retriever",
"trace",
"workflow",
"tool",
"llm"
],
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Type of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "type",
"label": "Type",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Input to the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "input",
"label": "Input",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Output of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "output",
"label": "Output",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Name of the trace or span.",
"filterable": true,
"group_label": "Standard",
"id": "name",
"label": "Name",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "timestamp",
"description": "Timestamp of the trace or span's creation.",
"filterable": true,
"group_label": "Standard",
"id": "created_at",
"label": "Created",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Tags associated with this trace or span.",
"filterable": false,
"group_label": "Standard",
"id": "tags",
"label": "Tags",
"multi_valued": true,
"sortable": false
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "integer",
"description": "Status code of the trace or span. Used for logging failure or error states.",
"filterable": true,
"group_label": "Standard",
"id": "status_code",
"label": "Status Code",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the trace or span",
"filterable": true,
"group_label": "Standard",
"id": "id",
"label": "ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the project associated with this trace or span",
"filterable": true,
"group_label": "Standard",
"id": "project_id",
"label": "Project ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the run (log stream or experiment) associated with this trace or span",
"filterable": true,
"group_label": "Standard",
"id": "run_id",
"label": "Run ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "timestamp",
"description": "Timestamp of the trace or span's last update",
"filterable": true,
"group_label": "Standard",
"id": "updated_at",
"label": "Last Updated",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"trace",
"tool",
"workflow",
"llm"
],
"category": "standard",
"data_type": "boolean",
"description": "Whether or not this trace or span has child spans",
"filterable": true,
"group_label": "Standard",
"id": "has_children",
"label": "Has Children",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"workflow",
"tool",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the trace containing the span (or the same value as id for a trace)",
"filterable": true,
"group_label": "Standard",
"id": "trace_id",
"label": "Trace ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"retriever",
"workflow",
"tool",
"llm"
],
"category": "standard",
"data_type": "uuid",
"description": "Galileo ID of the parent of this span",
"filterable": true,
"group_label": "Standard",
"id": "parent_id",
"label": "Parent ID",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "List of available tools passed to the LLM on invocation.",
"filterable": true,
"group_label": "Standard",
"id": "tools",
"label": "Tools",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Model used for this span.",
"filterable": true,
"group_label": "Standard",
"id": "model",
"label": "Model",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "floating_point",
"description": "Temperature used for generation.",
"filterable": true,
"group_label": "Standard",
"id": "temperature",
"label": "Temperature",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"llm"
],
"category": "standard",
"data_type": "text",
"description": "Reason for finishing.",
"filterable": true,
"group_label": "Standard",
"id": "finish_reason",
"label": "Finish Reason",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [
"tool"
],
"category": "standard",
"data_type": "text",
"description": "ID of the tool call.",
"filterable": true,
"group_label": "Standard",
"id": "tool_call_id",
"label": "Tool Call Id",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [],
"category": "metric",
"data_type": "floating_point",
"data_unit": "percentage",
"description": "Measures the presence and severity of harmful, offensive, or abusive language in the model's response",
"filterable": true,
"group_label": "Safety Metrics",
"id": "metrics/toxicity",
"label": "Output Toxicity (SLM)",
"multi_valued": false,
"sortable": true
},
{
"applicable_types": [],
"category": "metric",
"data_type": "floating_point",
"description": "BLEU is a case-sensitive measurement of the difference between an model generation and target generation at the sentence-level.",
"filterable": true,
"group_label": "Output Quality",
"id": "metrics/bleu",
"label": "BLEU",
"multi_valued": false,
"sortable": true
}
]
}