Use APIs in Amazon Augmented AI - Amazon SageMaker

Use APIs in Amazon Augmented AI

You can create a human review workflow or a worker task template programmatically. The APIs you use depend on whether you are creating a Amazon Rekognition, Amazon Textract, or custom task type. This topic provides links to API reference documentation for each task type and programming task.

The following APIs can be used with Augmented AI:

Amazon Augmented AI

Use the Augmented AI API to start, stop, and delete human review loops. You can also list all human review loops and return information about human review loops in your account.

Learn more about human review loop APIs in the Amazon Augmented AI Runtime API Reference.

Amazon Rekognition

Use the HumanLoopConfig parameter of the DetectModerationLabels API to trigger a human review workflow using Amazon Rekognition.

Amazon SageMaker

Use the Amazon SageMaker API to create a FlowDefinition, also known as a human review workflow. You can also create a HumanTaskUi, or worker task template.

For more information, see the CreateFlowDefinition or the CreateHumanTaskUi API documentation.

Amazon Textract

Use the HumanLoopConfig parameter of the AnalyzeDocument API to trigger a human review workflow using Amazon Textract.

Programmatic Walkthroughs

The following walkthroughs and tutorials provide example code and step-by-step instructions for creating human review workflows and worker task templates programmatically.