Starts an asynchronous job to extract topics from a transcript.
The transcript can be supplied through text
as plain text or json
as a rev.com transcript format
Topic Extraction Job Options
Topic Extraction Job Details
Bad Request
Request Unauthorized
User does not have permission to access this deployment
Deployment does not support this API
Payload Too Large
{- "language": "en",
- "metadata": "sample user provided metadata",
- "notification_config": {
- "auth_headers": {
- "Authorization": "Bearer <notification-url-token>"
}
}, - "delete_after_seconds": 1000000,
- "json": {
- "monologues": [
- {
- "speaker": 1,
- "elements": [
- {
- "type": "text",
- "value": "hello",
- "ts": 0.75,
- "end_ts": 1.25,
- "confidence": 0.85
}
]
}
]
}
}
{- "id": "Umx5c6F7pH7r",
- "status": "in_progress",
- "language": "en",
- "created_on": "2018-05-05T23:23:22.29Z",
- "type": "topic_extraction"
}
Gets a list of topic extraction jobs submitted within the last 30 days in reverse chronological order up to the provided limit
number of jobs per call. Note: Jobs older than 30 days will not be listed. Pagination is supported via passing the last job id
from a previous call into starting_after
.
List of Rev AI Topic Extraction Jobs
Bad Request
Request Unauthorized
User does not have permission to access this deployment
Deployment does not support this API
[- {
- "id": "Bmx5c8F5pH7a",
- "status": "completed",
- "language": "en",
- "created_on": "2018-05-05T23:23:22.29Z",
- "completed_on": "2018-05-05T23:45:13.41Z",
- "type": "topic_extraction"
}, - {
- "id": "6BxQYGa638Yt",
- "status": "completed",
- "language": "en",
- "created_on": "2018-05-05T23:23:22.29Z",
- "completed_on": "2018-05-05T23:45:13.41Z",
- "word_count": 4231,
- "type": "topic_extraction"
}
]
Returns information about a topic extraction job
Topic Extraction Job Details
Request Unauthorized
User does not have permission to access this deployment
Unable to find resource or deployment does not support this API
{- "id": "Umx5c6F7pH7r",
- "status": "in_progress",
- "language": "en",
- "created_on": "2018-05-05T23:23:22.29Z",
- "type": "topic_extraction"
}
Deletes a topic extraction job. All data related to the job will be permanently deleted. A job can only be deleted once it's completed (either with success or failure).
Job was successfully deleted
Request Unauthorized
User does not have permission to access this deployment
Unable to find resource or deployment does not support this API
Conflict
{- "title": "Authorization has been denied for this request",
- "status": 401
}
Returns the results for a completed topic extraction job.
Rev AI API Topic Result
Request Unauthorized
User does not have permission to access this deployment
Unable to find resource or deployment does not support this API
Conflict
{- "topics": [
- {
- "topic_name": "incredible team",
- "score": 0.9,
- "informants": [
- {
- "content": "We have 17 folks and, uh, I think we have an incredible team and I just want to talk about some things that we've done that I think have helped us get there.",
- "ts": 71.4,
- "end_ts": 78.39
}, - {
- "content": "Some people think that you can raise money and spend a few weeks building your team and then move on to more.",
- "ts": 84.21,
- "end_ts": 88.47
}
]
}, - {
- "topic_name": "quick background",
- "score": 0.6,
- "informants": [
- {
- "content": "Um, I want to give you a quick background on myself.",
- "ts": 55.92,
- "end_ts": 58.17
}
]
}
]
}