Skip to main content
POST
/
test_framework
/
v1
/
scenario-improvement-sessions
cURL
curl --request POST \
  --url https://api.cekura.ai/test_framework/v1/scenario-improvement-sessions/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "project": 123,
  "title": "<string>",
  "scenario_selection": "<unknown>"
}
'
{
  "id": 123,
  "project": 123,
  "scenario_ids": "<unknown>",
  "title": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cekura.ai/llms.txt

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

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Body

Serializer for creating a new scenario improvement session. Accepts scenario_selection which can be:

  • An array of scenario IDs
  • "all" to select all scenarios for the project
  • A number N to select the first N scenarios The selection is resolved to actual scenario IDs for storage.
project
integer | null
title
string

Title for the session (auto-generated from first user message)

Maximum string length: 255
scenario_selection
any

Response

201 - application/json

Serializer for creating a new scenario improvement session. Accepts scenario_selection which can be:

  • An array of scenario IDs
  • "all" to select all scenarios for the project
  • A number N to select the first N scenarios The selection is resolved to actual scenario IDs for storage.
id
integer
read-only
project
integer | null
scenario_ids
any
read-only

List of scenario IDs being improved in this session

title
string

Title for the session (auto-generated from first user message)

Maximum string length: 255