TranscriptSegment
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
at_seconds | anyOf: integer; null | Optional | — |
created_at | string (date-time) | Optional | — |
id | string | Required | Public seg_… reference (not a UUID). pattern: ^seg_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
is_final | boolean | Required | — |
role | human, agent | Required | — |
seq | integer | Required | minimum: 1 |
text | anyOf: string; null | Required | — |
utterance | string | Optional | Public utt_… reference (not a UUID). pattern: ^utt_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"at_seconds": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"id": {
"description": "Public seg_… reference (not a UUID)",
"pattern": "^seg_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"is_final": {
"type": "boolean"
},
"role": {
"enum": [
"human",
"agent"
],
"type": "string"
},
"seq": {
"minimum": 1,
"type": "integer"
},
"text": {
"anyOf": [
{
"description": "Null once the org's media retention has passed",
"type": "string"
},
{
"type": "null"
}
]
},
"utterance": {
"description": "Public utt_… reference (not a UUID)",
"pattern": "^utt_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
}
},
"required": [
"id",
"seq",
"role",
"text",
"is_final"
],
"type": "object"
}