Amazon CloudTrail · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for AWS CloudTrail Trails API
7 actions
7 updates
phrasing
extends
openapi/amazon-cloudtrail-trails-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.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/#CreateTrail'].post
$.paths['/#DeleteTrail'].post
$.paths['/#DescribeTrails'].post
$.paths['/#GetTrail'].post
$.paths['/#ListTrails'].post
$.paths['/#UpdateTrail'].post
OpenAPI Overlay
# 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 Trails API
version: 1.0.0
extends: openapi/amazon-cloudtrail-trails-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: 6
- target: $.paths['/#CreateTrail'].post
update:
x-apievangelist-phrasing:
intent: Create a trail that logs to S3
effect: write
questions:
- How do I start recording AWS API activity to an S3 bucket?
- Can a new trail cover all Regions and my whole organization?
- Is log file validation available when creating a trail?
instructions:
- text: Create a trail named {Name} delivering logs to bucket {S3BucketName}.
slots:
Name: requestBody.Name
S3BucketName: requestBody.S3BucketName
- text: Create multi-Region trail {Name} to {S3BucketName} with multi-Region set to {IsMultiRegionTrail}.
slots:
Name: requestBody.Name
S3BucketName: requestBody.S3BucketName
IsMultiRegionTrail: requestBody.IsMultiRegionTrail
- text: Create trail {Name} to {S3BucketName} encrypted with KMS key {KmsKeyId}.
slots:
Name: requestBody.Name
S3BucketName: requestBody.S3BucketName
KmsKeyId: requestBody.KmsKeyId
method: generated
generated: '2026-11-17'
- target: $.paths['/#DeleteTrail'].post
update:
x-apievangelist-phrasing:
intent: Delete a trail
effect: destructive
questions:
- Can I delete a trail from a different Region than where it was created?
- What happens to logging when I delete a trail?
instructions:
- text: Delete trail {Name}.
slots:
Name: requestBody.Name
- text: Remove the trail {Name} permanently.
slots:
Name: requestBody.Name
method: generated
generated: '2026-11-17'
- target: $.paths['/#DescribeTrails'].post
update:
x-apievangelist-phrasing:
intent: Describe trails in the current Region
effect: read
questions:
- What settings do all the trails in this Region have?
- Can I include shadow trails replicated from other Regions?
instructions:
- text: Describe the trails {trailNameList}.
slots:
trailNameList: requestBody.trailNameList
- text: Describe all trails here, including shadow trails set to {includeShadowTrails}.
slots:
includeShadowTrails: requestBody.includeShadowTrails
method: generated
generated: '2026-11-17'
- target: $.paths['/#GetTrail'].post
update:
x-apievangelist-phrasing:
intent: Get settings for one trail
effect: read
questions:
- Which S3 bucket and KMS key does a specific trail use?
- Can I retrieve one trail's configuration by name or ARN?
instructions:
- text: Get the settings of trail {Name}.
slots:
Name: requestBody.Name
- text: Show trail {Name}'s configuration.
slots:
Name: requestBody.Name
method: generated
generated: '2026-11-17'
- target: $.paths['/#ListTrails'].post
update:
x-apievangelist-phrasing:
intent: List trails in my account
effect: read
questions:
- What trails exist in my AWS account?
- Is there a simple list of trail names and home Regions?
instructions:
- text: List my trails.
- text: List the next page of trails using token {NextToken}.
slots:
NextToken: requestBody.NextToken
method: generated
generated: '2026-11-17'
- target: $.paths['/#UpdateTrail'].post
update:
x-apievangelist-phrasing:
intent: Update a trail's settings
effect: write
questions:
- How do I change the S3 bucket an existing trail delivers to?
- Can I turn an existing trail into an organization trail?
instructions:
- text: Change trail {Name} to deliver to bucket {S3BucketName}.
slots:
Name: requestBody.Name
S3BucketName: requestBody.S3BucketName
- text: 'Enable log file validation on trail {Name}: {EnableLogFileValidation}.'
slots:
Name: requestBody.Name
EnableLogFileValidation: requestBody.EnableLogFileValidation
- text: Send trail {Name} logs to CloudWatch log group {CloudWatchLogsLogGroupArn} via role {CloudWatchLogsRoleArn}.
slots:
Name: requestBody.Name
CloudWatchLogsLogGroupArn: requestBody.CloudWatchLogsLogGroupArn
CloudWatchLogsRoleArn: requestBody.CloudWatchLogsRoleArn
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/amazon-cloudtrail-trails-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.