Skip to content

AiGateway

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:6064

new AiGateway(): AiGateway

AiGateway

getLog(logId): Promise<AiGatewayLog>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:6066

string

Promise<AiGatewayLog>


getUrl(provider?): Promise<string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:6074

string

Promise<string>


patchLog(logId, data): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:6065

string

AiGatewayPatchLog

Promise<void>


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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:6067

AIGatewayUniversalRequest | AIGatewayUniversalRequest[]

object

UniversalGatewayOptions

Promise<Response>