POST
/
v2
/
projects
/
{project_id}
/
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

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json
log_stream_id
string | null

Log stream id associated with the traces.

experiment_id
string | null

Experiment id associated with the traces.

Response

200
application/json
Successful Response
columns
object[]