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
Scale Application Key.
The full url (including the scheme http:// or https://) of the callback when the task is completed.
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.
One of `text`, `image`, `video`, `audio`, `website`, or `pdf`. Describes what type of file the attachment is.
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.
An array of strings for the categories which you’d like the object to be sorted between.
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.
An optional dictionary where the keys are the optional ids, and the values are the category values provided in categories.
Default is `false`. Determines whether you allow multiple categories to be chosen for the attachment
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
CODE ( )
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."