Amazon CloudTrail · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for AWS CloudTrail Query API

6 actions 6 updates phrasing extends openapi/amazon-cloudtrail-query-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Amazon CloudTrail's API. It is a proposal applied on top of the contract, not a document Amazon CloudTrail publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/#CancelQuery'].post
$.paths['/#DescribeQuery'].post
$.paths['/#GenerateQuery'].post
$.paths['/#ListQueries'].post
$.paths['/#StartQuery'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for AWS CloudTrail Query API
  version: 1.0.0
extends: openapi/amazon-cloudtrail-query-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/#CancelQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a running Lake query
      effect: destructive
      questions:
      - Can I stop a CloudTrail Lake query that is taking too long?
      - Which query states can still be cancelled?
      instructions:
      - text: Cancel query {QueryId}.
        slots:
          QueryId: requestBody.QueryId
      - text: Cancel query {QueryId} on event data store {EventDataStore}.
        slots:
          QueryId: requestBody.QueryId
          EventDataStore: requestBody.EventDataStore
      method: generated
      generated: '2026-11-17'
- target: $.paths['/#DescribeQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a query's status and statistics
      effect: read
      questions:
      - How long did my CloudTrail Lake query run and how many bytes did it scan?
      - Can I check a query's status using its alias instead of its ID?
      instructions:
      - text: Describe query {QueryId}.
        slots:
          QueryId: requestBody.QueryId
      - text: Get the status of the query with alias {QueryAlias}.
        slots:
          QueryAlias: requestBody.QueryAlias
      method: generated
      generated: '2026-11-17'
- target: $.paths['/#GenerateQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a SQL query from a natural-language prompt
      effect: read
      questions:
      - Can CloudTrail Lake write the SQL for me from a plain-English question?
      - How do I turn a question about my activity into a Lake query?
      instructions:
      - text: Generate a query for {EventDataStores} from the prompt {Prompt}.
        slots:
          EventDataStores: requestBody.EventDataStores
          Prompt: requestBody.Prompt
      - text: Write a SQL query answering {Prompt} over event data stores {EventDataStores}.
        slots:
          Prompt: requestBody.Prompt
          EventDataStores: requestBody.EventDataStores
      method: generated
      generated: '2026-11-17'
- target: $.paths['/#ListQueries'].post
  update:
    x-apievangelist-phrasing:
      intent: List queries run on an event data store
      effect: read
      questions:
      - What queries were run against an event data store in the last week?
      - Can I list only failed or cancelled queries?
      instructions:
      - text: List queries on event data store {EventDataStore}.
        slots:
          EventDataStore: requestBody.EventDataStore
      - text: List queries on {EventDataStore} with status {QueryStatus}.
        slots:
          EventDataStore: requestBody.EventDataStore
          QueryStatus: requestBody.QueryStatus
      - text: List queries on {EventDataStore} started between {StartTime} and {EndTime}.
        slots:
          EventDataStore: requestBody.EventDataStore
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
      method: generated
      generated: '2026-11-17'
- target: $.paths['/#StartQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Run a SQL query on CloudTrail Lake
      effect: write
      questions:
      - How do I run a SQL query against my CloudTrail Lake events?
      - Can query results be delivered to an S3 bucket?
      instructions:
      - text: Run the query {QueryStatement}.
        slots:
          QueryStatement: requestBody.QueryStatement
      - text: Run {QueryStatement} and deliver results to {DeliveryS3Uri}.
        slots:
          QueryStatement: requestBody.QueryStatement
          DeliveryS3Uri: requestBody.DeliveryS3Uri
      - text: Start the dashboard query with alias {QueryAlias}.
        slots:
          QueryAlias: requestBody.QueryAlias
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/amazon-cloudtrail-query-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.