Api reference/Transcripts
Search transcripts
Searches transcript text in the workspace and returns matching sessions with snippets. Requires the torqee:transcripts:read scope.
AuthorizationBearer <token>
OAuth 2.1 authorization code flow with PKCE. Audience must be the connect URL.
In: header
Scope: torqee:transcripts:read
Query Parameters
querystring
Length
1 <= lengthlimit?integer
Range
1 <= value <= 100Response Body
curl -X GET "https://connect.torqee.app/api/v1/transcripts/search?query=string&limit=1"fetch("https://connect.torqee.app/api/v1/transcripts/search?query=string&limit=1")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://connect.torqee.app/api/v1/transcripts/search?query=string&limit=1"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://connect.torqee.app/api/v1/transcripts/search?query=string&limit=1"
response = requests.request("GET", url)
print(response.text){
"items": [
{
"id": "string",
"label": "string",
"status": "string",
"startedAt": "string",
"endedAt": "string",
"createdAt": "string",
"snippet": "string"
}
],
"nextCursor": "string"
}{
"error": "invalid_request"
}{
"error": "unauthorized"
}{
"error": "insufficient_scope"
}{
"error": "workspace_not_found"
}{
"error": "internal_server_error"
}