GET
/
v1
/
team
/
sessions
/
{sessionId}
curl --request GET \
  --url https://ai.data.cloud/api/v1/team/sessions/{sessionId} \
  --header 'x-pd-api-key: <api-key>'
{
  "code": 0,
  "data": {
    "id": "gegecgthgod3hgt",
    "title": "Analyze performance",
    "languageType": "AUTO",
    "jobMode": "AUTO",
    "maxMessagesInContext": 10,
    "agentId": "DATA_ANALYSIS_AGENT",
    "userId": "tmm-cm5m7khoz52zh07n4m7x1ut60"
  }
}

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 session ID.

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.

Response

200 - application/json

The response is of type object.