# Amazon Lex Runtime V2 API

**Canonical:** https://apis.io/apis/amazon-lex/amazon-lex-runtime-v2-api/  
**Provider:** Amazon Lex — https://apis.io/providers/amazon-lex/  
**Base URL:** https://runtime-v2-lex.us-east-1.amazonaws.com  
**Documentation:** https://docs.aws.amazon.com/lexv2/latest/APIReference/API_Operations_Amazon_Lex_Runtime_V2.html

Amazon Lex Runtime V2 API is one of 2 APIs that [Amazon Lex](https://apis.io/providers/amazon-lex/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Conversational AI, Runtime, Speech Recognition, and Sessions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and pricing.

Send user input to a built Amazon Lex V2 bot and manage the conversation session. Six operations: RecognizeText (text turn), RecognizeUtterance (audio or text turn), StartConversation (bidirectional HTTP/2 streaming with barge-in), and PutSession / GetSession / DeleteSession for session state.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| DELETE | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}` | Removes session information for a specified bot, alias, and user ID. |
| GET | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}` | Returns session information for a specified bot, alias, and user. |
| POST | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}` | Creates a new session or modifies an existing session with an Amazon Lex V2 bot. |
| POST | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation` | Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time. |
| POST | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text` | Sends user input to Amazon Lex V2. |
| POST | `/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance` | Sends user input to Amazon Lex V2. |

## Machine-readable artifacts (6)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/amazon-lex/refs/heads/main/openapi/amazon-lex-runtime-v2-openapi.yml
- **Smithy** — https://raw.githubusercontent.com/api-evangelist/amazon-lex/refs/heads/main/smithy/amazon-lex-runtime-v2-2020-08-07.json
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/amazon-lex/refs/heads/main/overlays/amazon-lex-runtime-v2-overlay.yaml
- **Documentation** — https://docs.aws.amazon.com/lexv2/latest/dg/how-it-works.html
- **APIReference** — https://docs.aws.amazon.com/lexv2/latest/APIReference/API_Operations_Amazon_Lex_Runtime_V2.html
- **Pricing** — https://aws.amazon.com/lex/pricing/

## Other Amazon Lex APIs (1)

- [Amazon Lex Bots API](https://apis.io/apis/amazon-lex/amazon-lex-bots-api/)

## Tags

Conversational AI, Runtime, Speech Recognition, Sessions

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/amazon-lex/amazon-lex-runtime-v2-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/amazon-lex/.
