Skip to main content
GET
/
api
/
v1
/
session_labels
/
{session_label_id}
Python (SDK)
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=491550)

    # Handle response
    print(res)
{
  "session_id": 123,
  "type": "<string>",
  "code": "<string>",
  "user_email": "<string>",
  "id": 123,
  "timestamp": "<string>",
  "comments": "<string>",
  "issue_categories": [
    "Silent treatment"
  ]
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

session_label_id
integer
required

Response

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.

session_id
integer
required

The internal ID of the session (see Session.session_id)

type
string
required

The type of the label (either "auto-rating" or "human-rating")

code
string
required

A code describing the quality of the labeled session (either "GOOD", "OK", "BAD", or "N/A")

user_email
string
required

The email of the user who created the label

id
integer
required

The internal ID of the label

timestamp
string
required

The timestamp at which the label was created

comments
string | null

Comment string describing additional details about the session

issue_categories
string[] | null

Descriptions of issues occurring in the labeled call

Example:
["Silent treatment"]