POST
/
v1
/
team
/
sessions
/
{sessionId}
curl --request POST \
  --url https://ai.data.cloud/api/v1/team/sessions/{sessionId} \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "title": "annual_review",
  "languageType": "AUTO",
  "jobMode": "AUTO",
  "maxMessagesInContext": 7
}'
{
  "code": 123,
  "data": {}
}

Authorizations

x-pd-api-key
string
header
required

Headers

x-pd-external-trace-id
string

The external trace ID. The length ranges from 0 to 128 characters.

Path Parameters

sessionId
string
required

The ID of the session to modify.

Query Parameters

userId
string
required

Your user ID.

How to obtain your user ID: Sign in to Powerdrill Enterprise, click Users in the top navigation bar, and find your user ID in the list of users.

Body

application/json

Response

200 - application/json

The response is of type object.