Get Label By Id
GET
/api/v1/session_labels/{session_label_id}Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Path parameters
session_label_id
integer
path
required
Responses
200Successful Response
application/json
response
SessionLabel
required
8 fields
session_idintegerrequiredThe internal ID of the session (see Session.session_id)
typestringrequiredThe type of the label (either "auto-rating" or "human-rating")
codestringrequiredA code describing the quality of the labeled session (either "GOOD", "OK", "BAD", or "N/A")
user_emailstringrequiredThe email of the user who created the label
commentsstring | nulloptionalComment string describing additional details about the session
issue_categoriesstring[] | nulloptionalDescriptions of issues occurring in the labeled call
Default
[]Item schema
itemsstringrequiredidintegerrequiredThe internal ID of the label
timestampstringrequiredThe timestamp at which the label was created
Response example
{
"session_id": 0,
"type": "string",
"code": "string",
"user_email": "string",
"comments": "string",
"issue_categories": [],
"id": 0,
"timestamp": "string"
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
