ingestTranscriptChunk
curl --request POST \
--url https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"args": {
"meetingId": "jd7xzqn8h9p2v4k5m6n7p8q9",
"speakerId": "user_alice_123",
"text": "Let's discuss the Q4 roadmap priorities.",
"confidence": 0.92,
"startTime": 1698765432000,
"endTime": 1698765435500,
"language": "en",
"isInterim": false
}
}
EOFimport requests
url = "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk"
payload = { "args": {
"meetingId": "jd7xzqn8h9p2v4k5m6n7p8q9",
"speakerId": "user_alice_123",
"text": "Let's discuss the Q4 roadmap priorities.",
"confidence": 0.92,
"startTime": 1698765432000,
"endTime": 1698765435500,
"language": "en",
"isInterim": False
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
args: {
meetingId: 'jd7xzqn8h9p2v4k5m6n7p8q9',
speakerId: 'user_alice_123',
text: 'Let\'s discuss the Q4 roadmap priorities.',
confidence: 0.92,
startTime: 1698765432000,
endTime: 1698765435500,
language: 'en',
isInterim: false
}
})
};
fetch('https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'args' => [
'meetingId' => 'jd7xzqn8h9p2v4k5m6n7p8q9',
'speakerId' => 'user_alice_123',
'text' => 'Let\'s discuss the Q4 roadmap priorities.',
'confidence' => 0.92,
'startTime' => 1698765432000,
'endTime' => 1698765435500,
'language' => 'en',
'isInterim' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk"
payload := strings.NewReader("{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"value": {
"success": true,
"sequence": 42,
"bucketMs": 1698765300000,
"rateLimitRemaining": 95
}
}{}{}Transcripts
ingestTranscriptChunk
validates input parameters, enforces rate limits per user, and stores chunks in time-bucketed shards (5-minute windows) to prevent hot partitions. Allocates globally unique sequence numbers for ordering. Returns rate limit status for client-side throttling.
POST
/
api
/
run
/
transcripts
/
ingestion
/
ingestTranscriptChunk
ingestTranscriptChunk
curl --request POST \
--url https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"args": {
"meetingId": "jd7xzqn8h9p2v4k5m6n7p8q9",
"speakerId": "user_alice_123",
"text": "Let's discuss the Q4 roadmap priorities.",
"confidence": 0.92,
"startTime": 1698765432000,
"endTime": 1698765435500,
"language": "en",
"isInterim": false
}
}
EOFimport requests
url = "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk"
payload = { "args": {
"meetingId": "jd7xzqn8h9p2v4k5m6n7p8q9",
"speakerId": "user_alice_123",
"text": "Let's discuss the Q4 roadmap priorities.",
"confidence": 0.92,
"startTime": 1698765432000,
"endTime": 1698765435500,
"language": "en",
"isInterim": False
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
args: {
meetingId: 'jd7xzqn8h9p2v4k5m6n7p8q9',
speakerId: 'user_alice_123',
text: 'Let\'s discuss the Q4 roadmap priorities.',
confidence: 0.92,
startTime: 1698765432000,
endTime: 1698765435500,
language: 'en',
isInterim: false
}
})
};
fetch('https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'args' => [
'meetingId' => 'jd7xzqn8h9p2v4k5m6n7p8q9',
'speakerId' => 'user_alice_123',
'text' => 'Let\'s discuss the Q4 roadmap priorities.',
'confidence' => 0.92,
'startTime' => 1698765432000,
'endTime' => 1698765435500,
'language' => 'en',
'isInterim' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk"
payload := strings.NewReader("{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://connvo-dev.convex.cloud/api/run/transcripts/ingestion/ingestTranscriptChunk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"args\": {\n \"meetingId\": \"jd7xzqn8h9p2v4k5m6n7p8q9\",\n \"speakerId\": \"user_alice_123\",\n \"text\": \"Let's discuss the Q4 roadmap priorities.\",\n \"confidence\": 0.92,\n \"startTime\": 1698765432000,\n \"endTime\": 1698765435500,\n \"language\": \"en\",\n \"isInterim\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"value": {
"success": true,
"sequence": 42,
"bucketMs": 1698765300000,
"rateLimitRemaining": 95
}
}{}{}Authorizations
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Body
application/json
Show child attributes
Show child attributes
⌘I