Skip to content

AiGateway

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:6865

new AiGateway(): AiGateway

AiGateway

getLog(logId): Promise<AiGatewayLog>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:6867

string

Promise<AiGatewayLog>


getUrl(provider?): Promise<string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:6875

string

Promise<string>


patchLog(logId, data): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:6866

string

AiGatewayPatchLog

Promise<void>


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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:6868

AIGatewayUniversalRequest | AIGatewayUniversalRequest[]

object

UniversalGatewayOptions

Promise<Response>