Skip to main content
POST
/
ai
/
gateway
/
{provider}
/
{path}
Proxy AI Request
curl --request POST \
  --url https://api.veryfront.com/ai/gateway/{provider}/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

provider
enum<string>
required

Provider.

Available options:
anthropic,
openai,
google,
moonshotai
Example:

"anthropic"

path
string
required

Provider path.

Example:

"v1/messages"

Body

application/json

Provider-specific request body (forwarded as-is to upstream)

{key}
unknown

Response

Upstream provider response (forwarded as-is)