# AWS CloudTrail Data Service API

> AWS CloudTrail Data Service API on Apizie: 1 endpoint (Ingests your application events into CloudTrail Lake. A required parameter, auditEvents , accepts the JSON…) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:amazonaws-cloudtrail-data/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-cloudtrail-data`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://apizie.tech/api/cloud/amazonaws-cloudtrail-data
- OpenAPI: https://apizie.tech/api/cloud/amazonaws-cloudtrail-data/openapi.json

The CloudTrail Data Service lets you ingest events into CloudTrail from any source in your hybrid environments, such as in-house or SaaS applications hosted on-premises or in the cloud, virtual machines, or containers.…

## Endpoints

### Ingests your application events into CloudTrail Lake. A required parameter, auditEvents , accepts the JSON…
`POST https://apizie.tech/v1/cloud:amazonaws-cloudtrail-data/put-audit-events` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| channelArn | string | yes | The ARN or ID (the ARN suffix) of a channel. |
| externalId | string | no | A unique identifier that is conditionally required when the channel's resource policy includes an external ID. This value can be any… |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/cloud:amazonaws-cloudtrail-data/put-audit-events" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the AWS CloudTrail Data Service API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:amazonaws-cloudtrail-data/put-audit-events with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the AWS CloudTrail Data Service API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. AWS CloudTrail Data Service itself also needs your own key from amazonaws.com.

### Can AI agents use the AWS CloudTrail Data Service API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-cloudtrail-data.

### What is the status of the AWS CloudTrail Data Service API?
Needs your own provider key (bring your own key)
