Overview
Get Started
How-to Guides
- Overview
- Logging Basics
- Agentic AI
- Conversational AI
- Luna-2
- Metrics
- Retrieval-Augmented Generation
Cookbooks
- Overview
- Agents
- RAG
Integrations
Concepts
- Metrics
- Luna-2
- Projects
- Logging
- Annotations
- Experiments
- Playground
trace
Create Session
POST
/
v2
/
projects
/
{project_id}
/
sessions
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"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
.
Was this page helpful?
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"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.