{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Returns the dataset catalogue for the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account; account_tag is not required as a query parameter. If supplied, it must match the path account. Dataset and column discovery options are identical to the legacy introspection endpoint.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","pattern":"^[a-f0-9]{32}$","examples":["0123456789abcdef0123456789abcdef"],"description":"Account that authorizes and scopes the request."}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"include_columns":{"type":"boolean","default":false,"description":"Include column metadata for each returned dataset."},"include_custom_attributes":{"type":"boolean","default":false,"description":"Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n"},"include_attributes":{"type":"boolean","default":false,"description":"Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n"},"include_wae":{"type":"boolean","default":true,"description":"Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n"},"include_lex":{"type":"boolean","default":true,"description":"Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n"},"dataset_name":{"type":"string","examples":["events.httpRequests"],"description":"Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.<dataset_name>`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n"}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"List available analytics datasets","id":"cloudflare.sql-api-introspection-account-scoped","example":{"path":{"account_id":"0123456789abcdef0123456789abcdef"}},"maxRequests":1,"summary":false}}