curl --request POST \
--url https://api.example.com/sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "Add rate limiting to the auth endpoints using a sliding window approach with Redis, 10 requests per minute per IP.",
"model": "claude-opus-4-6",
"system": "You are a helpful coding assistant."
}
'{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Add rate limiting to auth endpoints",
"model": {
"id": "claude-opus-4-6"
},
"created_at": "2026-03-06T16:00:00Z",
"updated_at": "2026-03-06T16:00:00Z"
}Start a new interactive chat session. The initial user prompt is required; a model may optionally be specified.
curl --request POST \
--url https://api.example.com/sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "Add rate limiting to the auth endpoints using a sliding window approach with Redis, 10 requests per minute per IP.",
"model": "claude-opus-4-6",
"system": "You are a helpful coding assistant."
}
'{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Add rate limiting to auth endpoints",
"model": {
"id": "claude-opus-4-6"
},
"created_at": "2026-03-06T16:00:00Z",
"updated_at": "2026-03-06T16:00:00Z"
}JWT bearer token issued by fabro-web. See the Authentication guide for details.
Request body for starting a new session.
The initial user message to start the session.
"Add rate limiting to the auth endpoints using a sliding window approach with Redis, 10 requests per minute per IP."
LLM model to use. If omitted, the server default is used.
"claude-opus-4-6"
System prompt for the session.
"You are a helpful coding assistant."
Session created
Response returned after successfully creating a session.
Unique identifier for the newly created session.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Server-generated title for the session.
"Add rate limiting to auth endpoints"
Reference to a model by its identifier.
Show child attributes
Timestamp when the session was created.
"2026-03-06T16:00:00Z"
Timestamp when the session was last updated (equal to created_at at creation time).
"2026-03-06T16:00:00Z"