Skip to content

AiGateway

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:7465

new AiGateway(): AiGateway

AiGateway

getLog(logId): Promise<AiGatewayLog>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:7467

string

Promise<AiGatewayLog>


getUrl(provider?): Promise<string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:7475

string

Promise<string>


patchLog(logId, data): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:7466

string

AiGatewayPatchLog

Promise<void>


run(data, options?): Promise<Response>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:7468

AIGatewayUniversalRequest | AIGatewayUniversalRequest[]

object

UniversalGatewayOptions

Promise<Response>