Skip to main content
POST
Create a private model
Requires private_models:write and an owner or admin identity. Supply model_reference as either an exact catalogue model ID or a short workspace-local slug. Phaseo assigns the final model ID; credential is encrypted and write-only.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
model_reference
string
required

An exact catalogue model ID to attach this endpoint as a provider, or a short slug for automatic matching/workspace namespacing.

name
string
required
Required string length: 1 - 120
base_url
string<uri>
required
upstream_model_id
string
required
Required string length: 1 - 255
credential
string
required
write-only
Minimum string length: 8
description
string
Maximum string length: 500
supports_responses
boolean
default:false
enabled
boolean
default:true
context_length
integer | null
Required range: x >= 1
max_output_tokens
integer | null
Required range: x >= 1
host_provider_id
string | null

Existing Phaseo provider that operates the deployment.

custom_provider_name
string | null
Required string length: 1 - 120
custom_provider_url
string<uri> | null
routing_policy
enum<string>
default:preferred
Available options:
preferred,
balanced,
fallback

Response

Private model created

data
object
required
Last modified on September 4, 2026