PATCHhttps://core-api.heysadie.ai/transcriber-banks/{id}
id name languageLabel threshold controlLinesPerFlag success data bank organizationId candidates createdBy createdAt updatedAt metadata timestamp version path error code message details fieldUpdate a bank
Rename a bank, or change its language label, threshold or control lines per flag. Send at least one field. A new `threshold` changes `leader.clearsThreshold` at once; a new `controlLinesPerFlag` applies to flags created in the bank later. Change the candidates with PUT /transcriber-banks/:id/candidates. Errors: 404 RESOURCE_NOT_FOUND when the bank is not in the organization. 409 BANK_NAME_EXISTS when another bank of the organization has the name, ignoring case.
Try it in the API ExplorerExample request
curl -X PATCH "https://core-api.heysadie.ai/transcriber-banks/TRANSCRIBER_BANK_ID" \
-H "Authorization: ApiKey YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"threshold": 0.75
}'Authentication
Authenticate with an API key in the Authorization header using the ApiKey scheme. See Authentication for how keys work and where to get them.
AuthorizationstringrequiredAPI key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.
X-Tenant-Idstring (uuid)optionalRequired when authenticating with an organization key: it selects the tenant the request acts on. Omit with tenant keys.
Request
Path parameters
idstringrequiredA live bank of the organization
Body application/json · required
namestringoptional1 to 120 characters. Unique, ignoring case, among the organization's banks
languageLabelstringoptionalDisplay only, 1 to 60 characters, e.g. "en-US" or "en + fr"
thresholdnumberoptionalAccuracy, 0 to 1, a candidate must reach to clear the bank. Defaults to 0.6
controlLinesPerFlagstring (integer) | integeroptionalUnflagged caller lines of the same call sampled as controls with each flag created in the bank (not with flags moved in later): 0, 1 or 2. Defaults to 1
Responses
successbooleanrequiredtrue on every 2xx
dataobjectoptionalThe result
Show 1 child properties
bankobjectrequiredA named set of candidate transcribers, e.g. one per language, tested on the flagged and control turns that join it
Show 10 child properties
idstringrequiredBank id
organizationIdstringrequiredThe organization that owns the bank
namestringrequiredUnique among the organization's banks, ignoring case, e.g. "English"
languageLabelstringrequiredDisplay only, e.g. "en-US" or "en + fr"
thresholdnumberrequiredAccuracy, 0 to 1, a candidate must reach to clear the bank. `leader.clearsThreshold` compares against it
controlLinesPerFlagenumrequiredUnflagged caller lines of the same call sampled as controls with each flag created in the bank (POST /turn-flags with `bankId`; a flag moved in later gets none): 0, 1 or 2. A control's expected text is the live transcriber's own text, so controls show what a candidate breaks on lines production got right
012candidatesobject[]requiredThe transcribers under test, in display order, at most 8. A candidate replays the flagged and control turns that join the bank while it is a candidate; older turns only through a backfill (PUT /transcriber-banks/:id/candidates with `backfill: true`) within its window
Show 2 item properties
idstringrequiredTranscriber id, as GET /transcribers lists it
namestringrequiredThe transcriber's display name
createdBystring | nullrequiredWho made it, as the creating request named them in an `X-On-Behalf-Of` header. Null when it sent none
createdAtstring (date-time) | string (date) | number | nullrequiredWhen it was created, UTC
updatedAtstring (date-time) | string (date) | number | nullrequiredWhen it last changed, UTC
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
400VALIDATION_ERROR: a path id, query parameter or body field broke a rule; `details` lists each `field` and its `message`. A body with a missing field or a JSON type the schema does not allow answers 400 with code INTERNAL_SERVER_ERROR and no `details` instead, so branch on the status
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 3 child properties
codeenumrequiredA parameter or body field broke a rule
"VALIDATION_ERROR"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
detailsobject[]optionalOne entry per field that failed
Show 2 item properties
fieldstringrequiredThe offending field
messagestringrequiredThe rule it broke
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
401UNAUTHORIZED: no valid credentials, or a dashboard token that names no organization. Send `Authorization: ApiKey <organization API key>`
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 2 child properties
codeenumrequiredNo valid credentials
"UNAUTHORIZED"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
403ORG_SCOPE_REQUIRED: transcriber testing is an organization feature. Use an organization API key without `X-Tenant-Id`, or a dashboard token scoped to the organization. A tenant API key, an organization key sent with `X-Tenant-Id` for one of its tenants, or a token carrying a tenant gets this 403. FORBIDDEN: an organization key sent `X-Tenant-Id` for a tenant outside its organization
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 2 child properties
codeenumrequiredORG_SCOPE_REQUIRED: the credentials carry a tenant scope. FORBIDDEN: an organization key sent `X-Tenant-Id` for a tenant outside its organization
"ORG_SCOPE_REQUIRED""FORBIDDEN"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
404RESOURCE_NOT_FOUND: an id in the path, query or body names nothing in the caller's organization. `message` names what, e.g. "Transcriber bank not found"
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 2 child properties
codeenumrequiredAn id names nothing the caller can see
"RESOURCE_NOT_FOUND"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
409BANK_NAME_EXISTS: the organization already has a bank with this name, ignoring case
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 2 child properties
codeenumrequiredThe name is taken
"BANK_NAME_EXISTS"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested
500An unexpected server error
successbooleanrequiredfalse on every error
errorobjectoptionalWhat went wrong: a stable `code` to branch on and a human-readable `message`
Show 2 child properties
codeenumrequiredAn unexpected server failure
"INTERNAL_SERVER_ERROR"messagestringrequiredHuman-readable explanation. Do not parse it; branch on `code`
metadataobjectoptionalRequest metadata
Show 3 child properties
timestampstringrequiredWhen the server answered, ISO 8601 UTC
versionstringrequiredAPI version
pathstringoptionalThe URL that was requested