Amazon Lex Testsets API

The testsets API from Amazon Lex — 5 operation(s) for testsets.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /testsets List my bot test sets · The list of the test sets #
Ask an LLM
“Which test sets have I created for testing my Lex bots?”
“Can I sort my list of bot test sets?”
Tell an agent
List all of my bot test sets.
Show my test sets sorted by {sortBy}.
DELETE /testsets/{testSetId} Delete a test set · The action to delete the selected test set #
Ask an LLM
“How do I delete a test set I no longer need?”
“Can I remove an old bot test set permanently?”
Tell an agent destructive · confirm first
Delete test set {testSetId}.
Permanently remove the test set {testSetId}.
GET /testsets/{testSetId} Get a test set's details · Gets metadata information about the test set #
Ask an LLM
“What's in a particular test set and what's its status?”
“How many records and turns does one test set contain?”
Tell an agent
Describe test set {testSetId}.
Show the metadata for test set {testSetId}.
PUT /testsets/{testSetId} Rename or redescribe a test set · The action to update the test set #
Ask an LLM
“How do I rename a test set I already have?”
“Can I change the description of an existing test set?”
Tell an agent
Rename test set {testSetId} to {testSetName}.
Update test set {testSetId}: name {testSetName}, description {description}.
POST /testsets/{testSetId}/records List the records in a test set · The list of test set records #
Ask an LLM
“What conversations and turns are stored inside a test set?”
“Can I page through the individual records of one test set?”
Tell an agent
List the records in test set {testSetId}.
Show the first {maxResults} conversation records from test set {testSetId}.
POST /testsets/{testSetId}/testexecutions Run a test set against a bot · The action to start test set execution #
Ask an LLM
“How do I run a test set against my bot alias to check its accuracy?”
“Can a test run use text or audio input, and streaming or non-streaming mode?”
Tell an agent
Run test set {testSetId} against target {target} in {apiMode} mode.
Start a {testExecutionModality} test execution of test set {testSetId} on {target} using {apiMode} API mode.
POST /testsets/{testSetId}/testsetdiscrepancy Compare a test set against a bot · Create a report that describes the differences between the bot and the test set #
Ask an LLM
“How do I find which intents and slots in a test set don't exist in my bot?”
“Can I generate a report of mismatches between a test set and a bot?”
Tell an agent
Create a discrepancy report comparing test set {testSetId} with bot target {target}.
Check test set {testSetId} against {target} and report the differences.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-lex:amazon-lex-testsets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-lex-testsets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Lex Model Building V2 Testsets API
  description: Amazon Lex V2 Model Building operations let you build and manage conversational bots — bots, aliases, locales, intents, slots, slot types, custom vocabularies, imports/exports, test sets and analytics. Derived mechanically from the AWS-published Smithy 2.0 service model (aws/api-models-aws, models/lex-models-v2/service/2020-08-07). Requests are signed with AWS Signature Version 4 using service name lex.
  version: '2020-08-07'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-generated-from: AWS Smithy 2.0 service model (https://github.com/aws/api-models-aws) — mechanical transform, no hand-authored operations
servers:
- url: https://models-v2-lex.us-east-1.amazonaws.com
  description: Amazon Lex V2 Model Building endpoint (us-east-1; one regional endpoint per AWS Region — see https://docs.aws.amazon.com/general/latest/gr/lex.html)
security:
- sigv4: []
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-lex/refs/heads/main/openapi/amazon-lex-testsets-api-openapi.yml