GET
/
v2
/
projects
/
{project_id}
/
sessions
/
{session_id}
curl --request GET \
  --url https://api.galileo.ai/v2/projects/{project_id}/sessions/{session_id} \
  --header 'Galileo-API-Key: <api-key>'
{
  "traces": [
    {
      "spans": [
        {
          "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>",
          "dataset_input": "<string>",
          "dataset_output": "<string>",
          "dataset_metadata": {},
          "id": "<string>",
          "session_id": "<string>",
          "trace_id": "<string>",
          "project_id": "<string>",
          "run_id": "<string>",
          "updated_at": "2023-11-07T05:31:56Z",
          "has_children": true,
          "metrics_batch_id": "<string>",
          "metric_info": {},
          "parent_id": "<string>"
        }
      ],
      "type": "trace",
      "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>",
      "dataset_input": "<string>",
      "dataset_output": "<string>",
      "dataset_metadata": {},
      "id": "<string>",
      "session_id": "<string>",
      "trace_id": "<string>",
      "project_id": "<string>",
      "run_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "has_children": true,
      "metrics_batch_id": "<string>",
      "metric_info": {},
      "feedback_rating_info": {}
    }
  ],
  "type": "session",
  "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>",
  "dataset_input": "<string>",
  "dataset_output": "<string>",
  "dataset_metadata": {},
  "id": "<string>",
  "session_id": "<string>",
  "trace_id": "<string>",
  "project_id": "<string>",
  "run_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "has_children": true,
  "metrics_batch_id": "<string>",
  "metric_info": {},
  "previous_session_id": "<string>"
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

session_id
string
required
project_id
string
required

Response

200
application/json

Successful Response

The response is of type object.