// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class Logs extends APIResource {
    /**
     * List Gateway Logs
     */
    get(id, params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/ai-gateway/gateways/${id}/logs`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
(function (Logs) {
})(Logs || (Logs = {}));
//# sourceMappingURL=logs.mjs.map