GET
/
api
/
v1
/
session_labels
/
{session_label_id}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.session_labels.get_by_id(session_label_id=931598)

    # Handle response
    print(res)
{
  "session_id": 1,
  "type": "auto-rating",
  "code": "GOOD",
  "user_email": "user@email.com",
  "comments": "<string>",
  "issue_categories": [
    "Silent treatment"
  ],
  "id": 1,
  "timestamp": "2024-01-01T12:00:00Z"
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

session_label_id
integer
required

Response

200
application/json

Successful Response

Response model for session label operations. A session label is associated with a given session and contains an evaluation of quality and descriptions of issues the user encountered in that session or other details.