• Installs:
  • Today: 144
  • This Week: 1080
  • This Month: 4319
  • All Time: 42440
Developer: user dimashirokov

AudioTranscription . createCategorizationTask

This endpoint creates a categorization task. In this task, one of our workers will view the attachment and choose a category for it according to the instruction. You may allow multiple categories to be chosen by setting allow_multiple to true. Example use cases are spam detection, copyright detection, product categorization, etc.

Test This Block

Required Parameters

  • callbackUrl
    Body parameter
    The full url (including the scheme http:// or https://) of the callback when the task is completed.
  • instruction
    Body parameter
    A markdown-enabled string explaining how to categorize the item. You can use markdown to show example images, give structure to your instructions, and more.
  • attachmentType
    Body parameter
    One of `text`, `image`, `video`, `audio`, `website`, or `pdf`. Describes what type of file the attachment is.
  • attachment
    Body parameter
    cloud upload
    Upload file
    The attachment to be categorized. If `attachmentType` is text, then it should be plaintext. Otherwise, it should be FILE a URL pointing to the attachment.
  • categories
    An array of strings for the categories which you’d like the object to be sorted between.
  • category
    Body parameter
    Single category
  • x icon
Optional Parameters
  • urgency
    Body parameter
    Default if `day`. A string describing the urgency of the response. One of `immediate`, `day`, or `week`, where immediate is a one-hour response time.
  • categoryIds
    Body parameter
    An optional dictionary where the keys are the optional ids, and the values are the category values provided in categories.
  • allowMultiple
    Body parameter
    Default is `false`. Determines whether you allow multiple categories to be chosen for the attachment
  • metadata
    Body parameter
    A set of key/value pairs that you can attach to a task object. It can be useful for storing additional information about the task in a structured format.
Show Optional Parameters
TEST Function
CODE ( NodeJS )

Nice try, But you still have to Log in.
Meanwhile, you can enjoy this limerick:

"A programming genius called HEAP
Had trouble in getting to sleep
So he made his lambs troup
through a huge FOR-NEXT loop
FOR 1 TO 10000: NEXT sheep."

Sign In