POST
/
sessions
{
  "situation": "<string>",
  "system_template": "<string>",
  "summary": "<string>",
  "render_templates": true,
  "token_budget": 123,
  "context_overflow": "truncate",
  "auto_run_tools": false,
  "forward_tool_calls": false,
  "recall_options": {
    "limit": 10,
    "lang": "en-US",
    "metadata_filter": {},
    "num_search_messages": 4,
    "max_query_length": 1000,
    "mode": "vector",
    "confidence": 0.5,
    "mmr_strength": 0.5
  },
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Payload for creating a session

Response

201
application/json
Successful Response

The response is of type object.