ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/sessions \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"metrics_testing_id": "<string>",
"name": "<string>",
"previous_session_id": "<string>",
"external_id": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"previous_session_id": "<string>",
"external_id": "<string>"
}
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/sessions \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"metrics_testing_id": "<string>",
"name": "<string>",
"previous_session_id": "<string>",
"external_id": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"previous_session_id": "<string>",
"external_id": "<string>"
}
Successful Response
The response is of type object
.
Was this page helpful?