Skip to main content
POST
Add a session as an evaluation case
Create the target evaluation set and confirm that the session identified by userId and sessionId exists. The service converts that conversation into a new case identified by evalId, allowing a debugging session to become a regression sample
This operation copies conversation content into the evaluation set, which can include user messages and tool results. Review the sample before adding it, then retrieve the case to confirm the saved content

Path Parameters

app_name
string
required

Application name

eval_set_id
string
required

Evaluation set ID

Body

application/json
evalId
string
required

Evaluation case ID

sessionId
string
required

Session ID

userId
string
required

User ID

Response

Successful response

Last modified on September 19, 2026