Overview
Getting Started
SDK/API
- Python SDK Reference
- TypeScript SDK Reference
How-to Guides
- Overview
- Conversational AI
- Retrieval-Augmented Generation
- Agentic AI
Cookbooks
- Use Cases
- Features
Integrations
Concepts
- Metrics
- Projects
- Logging
- Datasets
- Annotations
- Experiments
- Playground
API Reference
References
trace
Create Session
POST
/
v2
/
projects
/
{project_id}
/
sessions
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>",
"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>"
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
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>",
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.