Valyourise Logo

ValYouRise

DevelopmentApi

Save BYOK API key

Save and test an API key for BYOK AI features

POST
/api/user/ai/byok

Save and test an API key for BYOK AI features

PAT<token>

Personal Access Token

In: header

Request Body

application/json

apiKey*string
Length1 <= length
provider*string
Value in"openai"
modelOverride?string
[key: string]?never

Response Body

curl -X POST "https://loading/api/user/ai/byok" \  -H "Content-Type: application/json" \  -d '{    "apiKey": "string",    "provider": "openai"  }'
Empty
Empty
Empty