Transcription Flows

Configures which calls get automatically transcribed, based on the recording type (the full call, the consumer-agent leg, or the consumer-buyer leg) and an optional filter, such as call direction or the caller's location.

GET /transcription_flows

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows

List Transcription Flow records.

List the call transcription flows configured for your account.

Params

Param name Description
ids
Optional

Return records matching these ids.

  • Must be an array of decimal values. EG: [0, 1, 2, 3]

page
Optional

Return the next page of results.

  • Must be a number.

per_page
Optional

How many results to return per page. The default is 25.

  • Must be a number.

created_at_to
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be a String

created_at_from
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be a String

fulltext
Optional

Search for any record that matches this text

  • Must be a String

time_zone
Optional

Date ranges will be parsed using this time zone.

columns
Optional
Specify the columns you would like returned by the API for a given resource. Limiting the columns can significantly increase API response time since only the requested data will be processed. columns=uuid,number,created_at

Must be any combination of:

  • id
  • legacy_id
  • type
  • uuid
  • created_at
  • updated_at
  • deleted_at
  • user_updated_at
  • routes_show_path
  • routes_edit_path
  • external_record_id
  • company_id
  • transcription_flow_group_id
  • sortable_order
  • name
  • recording_types
  • description
  • transcription_keyword_group_id
  • schedule_action_group_id
  • redact_pii
  • redact_pii_audio
  • redact_pii_sub
  • redact_pii_types
  • enable_summary
  • enable_sentiment
  • enable_topics
  • enable_entities
  • enable_highlights
  • enable_language_detection
  • ai_feature_rates
  • transcription_base_rate
  • record_token_filter_id
  • record_token_filter_data_count
  • record_token_filter_data
  • Must be a String

root
Optional

Pass root=false to return results without a root node and metadata.
For example:
GET /api/v1/calls?root=false will return [call1, call2, call3]
While:
GET /api/v1/calls will return {calls: [call1, call2, call3], metadata: {}}

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off

GET /transcription_flows/new

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows/new

Build Transcription Flow with defaults.

Return a new, unsaved transcription flow pre-filled with defaults.

Params

Param name Description
transcription_flow_group_id
Optional Blank value allowed

Transcription Flow Group

  • Must be a String

name
Optional Blank value allowed

Name

  • Must be a String

recording_types
Optional Blank value allowed

Recording Types

  • Must be an array of strings. EG: ["abc123", "xzy023"]

description
Optional Blank value allowed

Description

  • Must be a String

record_token_filter_id
Optional Blank value allowed

Record Token Filter

token_value_ids
Optional Blank value allowed

Token Value Ids

  • Must be a decimal number.

transcription_keyword_group_id
Optional Blank value allowed

The Transcription Keyword Group scanned for in this flow’s transcripts, if any.

schedule_action_group_id
Optional Blank value allowed

Run this Schedule Action Group against the call after its transcript is ready.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"

POST /transcription_flows

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows

Create Transcription Flow.

Create a transcription flow that defines which call recording types get transcribed and which analysis runs on them, such as PII redaction, summaries, sentiment, topics, entities, and highlights. Flows belong to a transcription_flow_group and can be scoped to matching calls with a record_token_filter.

Params

Param name Description
transcription_flow_group_id
Optional Blank value allowed

Transcription Flow Group

  • Must be a String

name
Optional Blank value allowed

Name

  • Must be a String

recording_types
Optional Blank value allowed

Recording Types

  • Must be an array of strings. EG: ["abc123", "xzy023"]

description
Optional Blank value allowed

Description

  • Must be a String

record_token_filter_id
Optional Blank value allowed

Record Token Filter

token_value_ids
Optional Blank value allowed

Token Value Ids

  • Must be a decimal number.

transcription_keyword_group_id
Optional Blank value allowed

The Transcription Keyword Group scanned for in this flow’s transcripts, if any.

schedule_action_group_id
Optional Blank value allowed

Run this Schedule Action Group against the call after its transcript is ready.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"

GET /transcription_flows/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows/:id

Get Transcription Flow by id.

Retrieve a single transcription flow by id.

PUT /transcription_flows/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows/:id

Update Transcription Flow by id.

Change a transcription flow's recording types, analysis options, or the token filter that scopes which calls it applies to.

Params

Param name Description
transcription_flow_group_id
Optional Blank value allowed

Transcription Flow Group

  • Must be a String

name
Optional Blank value allowed

Name

  • Must be a String

recording_types
Optional Blank value allowed

Recording Types

  • Must be an array of strings. EG: ["abc123", "xzy023"]

description
Optional Blank value allowed

Description

  • Must be a String

record_token_filter_id
Optional Blank value allowed

Record Token Filter

token_value_ids
Optional Blank value allowed

Token Value Ids

  • Must be a decimal number.

transcription_keyword_group_id
Optional Blank value allowed

The Transcription Keyword Group scanned for in this flow’s transcripts, if any.

schedule_action_group_id
Optional Blank value allowed

Run this Schedule Action Group against the call after its transcript is ready.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"

DELETE /transcription_flows/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/transcription_flows/:id

Destroy Transcription Flow by id.

Permanently delete a transcription flow.