Skip to main content
POST
/
api
/
v1
/
sessions
/
datasets
/
{dataset_id}
/
new-session
Create session from existing dataset
curl --request POST \
  --url https://api.example.com/api/v1/sessions/datasets/{dataset_id}/new-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session_type": "enrichment",
  "sender_data": {}
}
'
{
  "session_id": "<string>",
  "status": "<string>",
  "created_at": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string
required

Body

application/json

Request model for creating a new processing session.

session_type
enum<string>
required

Type of session: enrichment or personalization

Available options:
enrichment,
personalization
sender_data
Sender Data · object

Initial sender data for the session

Response

Successful Response

Response model for session creation.

session_id
string
required

Unique session identifier

status
string
required

Current session status

created_at
number
required

Session creation timestamp