WordSearchResponse: {
    id: string;
    matches: WordSearchMatch[];
    total_count: number;
}

Type declaration

  • id: string

    The ID of the transcript

  • matches: WordSearchMatch[]

    The matches of the search

  • total_count: number

    The total count of all matched instances. For e.g., word 1 matched 2 times, and word 2 matched 3 times, total_count will equal 5.

{
"id": "d5a3d302-066e-43fb-b63b-8f57baf185db",
"total_count": 10,
"matches": [
{
"text": "smoke",
"count": 6,
"timestamps": [
[
250,
650
],
[
49168,
49398
],
[
55284,
55594
],
[
168888,
169118
],
[
215108,
215386
],
[
225944,
226170
]
],
"indexes": [
0,
136,
156,
486,
652,
698
]
},
{
"text": "wildfires",
"count": 4,
"timestamps": [
[
1668,
2346
],
[
33852,
34546
],
[
50118,
51110
],
[
231356,
232354
]
],
"indexes": [
4,
90,
140,
716
]
}
]
}