Amazon CloudTrail · Schema
DescribeQueryResponse
Amazon Web ServicesCloud TrailAuditComplianceGovernanceSecurity
Properties
| Name | Type | Description |
|---|---|---|
| QueryId | string | The ID of the query. |
| QueryString | string | The SQL code of a query. |
| QueryStatus | string | The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED |
| QueryStatistics | object | |
| ErrorMessage | string | The error message returned if a query failed. |
| DeliveryS3Uri | string | The URI for the S3 bucket where CloudTrail delivered query results, if applicable. |
| DeliveryStatus | string | The delivery status. |
| Prompt | string | The prompt used for a generated query. For information about generated queries, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide. |
| EventDataStoreOwnerAccountId | string | The account ID of the event data store owner. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-describe-query-response-schema.json",
"title": "DescribeQueryResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-cloudtrail-query-api-openapi.yml#/components/schemas/DescribeQueryResponse",
"type": "object",
"properties": {
"QueryId": {
"type": "string",
"description": "The ID of the query."
},
"QueryString": {
"type": "string",
"description": "The SQL code of a query."
},
"QueryStatus": {
"type": "string",
"enum": [
"QUEUED",
"RUNNING",
"FINISHED",
"FAILED",
"CANCELLED",
"TIMED_OUT"
],
"description": "The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED"
},
"QueryStatistics": {
"$ref": "#/$defs/QueryStatisticsForDescribeQuery"
},
"ErrorMessage": {
"type": "string",
"description": "The error message returned if a query failed."
},
"DeliveryS3Uri": {
"type": "string",
"description": "The URI for the S3 bucket where CloudTrail delivered query results, if applicable."
},
"DeliveryStatus": {
"type": "string",
"enum": [
"SUCCESS",
"FAILED",
"FAILED_SIGNING_FILE",
"PENDING",
"RESOURCE_NOT_FOUND",
"ACCESS_DENIED",
"ACCESS_DENIED_SIGNING_FILE",
"CANCELLED",
"UNKNOWN"
],
"description": "The delivery status."
},
"Prompt": {
"type": "string",
"description": "The prompt used for a generated query. For information about generated queries, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide."
},
"EventDataStoreOwnerAccountId": {
"type": "string",
"description": "The account ID of the event data store owner."
}
},
"$defs": {
"QueryStatisticsForDescribeQuery": {
"type": "object",
"properties": {
"EventsMatched": {
"type": "integer",
"description": "The number of events that matched a query."
},
"EventsScanned": {
"type": "integer",
"description": "The number of events that the query scanned in the event data store."
},
"BytesScanned": {
"type": "integer",
"description": "The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running."
},
"ExecutionTimeInMillis": {
"type": "integer",
"description": "The query's run time, in milliseconds."
},
"CreationTime": {
"type": "string",
"format": "date-time",
"description": "The creation time of the query."
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-cloudtrail-describe-query-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.