POST
/
virtual-keys

Azure OpenAI

Create virtual key to access your Azure OpenAI models or deployments, and manage all auth in one place.

AWS Bedrock

Create virtual key to access your AWS Bedrock models or deployments, and manage all auth in one place.

Vertex AI

Create virtual key to access any models available or hosted on Vertex AI. Docs →

Learn More About Virtual Keys

Securely store your provider auth in Portkey vault and democratize and streamline access to Gen AI.

Authorizations

x-portkey-api-key
string
header
required

Body

application/json
apiVersion
string | null
deploymentConfig
object[]
deploymentName
string | null
key
string
name
string
note
string | null
provider
enum<string>
Available options:
openai,
azure-openai,
ai21,
anthropic,
anyscale,
azure-openai,
bedrock,
cohere,
deepinfra,
fireworks-ai,
google,
groq,
hugging-face,
jina,
lingyi,
mistral-ai,
monsterapi,
moonshot,
nomic,
novita-ai,
open-ai,
openrouter,
palm,
perplexity-ai,
predibase,
reka-ai,
segmind,
stability-ai,
together-ai,
vertex-ai,
workers-ai,
zhipu
resourceName
string | null
usage_limits
object
workspace_id
string

optional, needed when using organisation admin API keys

Response

200 - application/json
data
object
success
boolean