Amazon Augmented AI Runtime
amazonaws · Cloud
Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning application. When an AI application can't evaluate data with a high degree of confidence, human reviewers can take over. This human review is called a human review workflow. To create and start a human review workflow, you need three resources: a worker task template , a flow definition , and a human loop . For information about these resources and prerequisites for using Amazo
Authentication
Sample Requests
Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn?NextToken=example&SortOrder=Ascending&MaxResults=1&CreationTimeAfter=example&FlowDefinitionArn=example&CreationTimeBefore=example"
import requests
params = {
"NextToken": "example",
"SortOrder": "Ascending",
"MaxResults": "1",
"CreationTimeAfter": "example",
"FlowDefinitionArn": "example",
"CreationTimeBefore": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('SortOrder', 'Ascending');
url.searchParams.set('MaxResults', '1');
url.searchParams.set('CreationTimeAfter', 'example');
url.searchParams.set('FlowDefinitionArn', 'example');
url.searchParams.set('CreationTimeBefore', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("SortOrder", "Ascending")
q.Set("MaxResults", "1")
q.Set("CreationTimeAfter", "example")
q.Set("FlowDefinitionArn", "example")
q.Set("CreationTimeBefore", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"SortOrder" => "Ascending",
"MaxResults" => "1",
"CreationTimeAfter" => "example",
"FlowDefinitionArn" => "example",
"CreationTimeBefore" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops#FlowDefinitionArn?" . http_build_query([
"NextToken" => "example",
"SortOrder" => "Ascending",
"MaxResults" => "1",
"CreationTimeAfter" => "example",
"FlowDefinitionArn" => "example",
"CreationTimeBefore" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns information about the specified human loop. If the human loop was deleted, this operation will return a ResourceNotFoundException error.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops/{HumanLoopName}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Starts a human loop, provided that at least one activation condition is met.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/sagemaker-a2i-runtime/2019-11-07/human-loops";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon Augmented AI Runtime?
Amazon Augmented AI Runtime is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon Augmented AI Runtime is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?