Amazon Lex Testsets API

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

GitHub OpenAPI

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

DELETE /testsets/{testSetId} Delete a test set · Delete 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 · Describe 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 · Update 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 List my bot test sets · List 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}.
POST /testsets/{testSetId}/testsetdiscrepancy Compare a test set against a bot · Create Test Set Discrepancy Report #
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.
POST /testsets/{testSetId}/testexecutions Run a test set against a bot · Start Test 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}/records List the records in a test set · List 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}.

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"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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.1.0
info:
  title: Amazon Lex Model Building V2 Testsets API
  version: '2020-08-07'
  description: Generated from AWS's published Smithy model for Amazon Lex Model Building V2. 7 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://models-v2-lex.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/amazon-lex/openapi/amazon-lex-testsets-api-openapi.yml