GET
/
v2
/
projects
/
{project_id}
/
spans
/
{span_id}
curl --request GET \
  --url https://api.acme.rungalileo.io/v2/projects/{project_id}/spans/{span_id} \
  --header 'Galileo-API-Key: <api-key>'
{
  "spans": [
    {}
  ],
  "type": "workflow",
  "input": "<string>",
  "output": "<string>",
  "name": "",
  "created_at": "2023-11-07T05:31:56Z",
  "user_metadata": {},
  "tags": [
    "<string>"
  ],
  "status_code": 123,
  "metrics": {
    "duration_ns": 123
  },
  "external_id": "<string>",
  "id": "<string>",
  "trace_id": "<string>",
  "project_id": "<string>",
  "run_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "dataset_input": "",
  "dataset_output": "",
  "dataset_metadata": {},
  "has_children": true,
  "metrics_batch_id": "<string>",
  "metric_info": {},
  "parent_id": "<string>"
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

span_id
string
required
project_id
string
required

Response

200
application/json
Successful Response

The response is of type object.