AI Gateway

AI Gateway DELETE

Required scopes: ai.proxy (Read and Write).

delete/ai/providers/{aiProviderId}/gateway/{path}

Request

Path parameters

aiProviderIdinteger required

AI Provider identifier. Get via List AI Providers

pathstring required
Example:chat/completions

Raw provider API path after /gateway/. This is a multi-segment path and may contain slashes (e.g. chat/completions, messages, models/gemini-pro:generateContent). Router pattern: {path:.+}.

Note: Only inference endpoints with AI usage tracking and free metadata endpoints of the provider type are accepted, each with its own HTTP method. Any other method and path is rejected with pathNotAllowed, and the error lists the supported endpoints

Response

Response from the AI provider (format depends on provider and endpoint)

object required

Changes

No recorded changes to this operation across all 1 revision of this API.