Skip to main content
POST
Add a session using the compatibility path
This underscore path uses the same request and response as its hyphenated counterpart and remains available to existing clients. Confirm that the session and set exist, and review the conversation data that will be saved as a sample
Writing or deleting evaluation samples changes the actual evaluation set
See the corresponding evaluation endpoint for the replacement and its complete requirements

Authorizations

Authorization
string
header
required

Optional locally without a gateway; cloud deployments use the Runtime API key or user-pool JWT required by that deployment, never the model API key

Path Parameters

app_name
string
required

Application name; harness_agent for the CLI deployment

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