AI Gateway
AI Gateway GET
Required scopes: ai.proxy (Read only).
get/users/{userId}/ai/providers/{aiProviderId}/gateway/{path}
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User Identifier
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.