Gateway

Create a private model

Creates a workspace-only OpenAI-compatible model endpoint. Requires private_models:write and an owner or admin identity.

post/private-models

Request

  • Base URL: https://api.phaseo.app/v1
  • URL: https://api.phaseo.app/v1/private-models
  • Auth: HTTP bearer

Request body

model_referencestring required

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

namestring required
descriptionstring
base_urlstring uri required
upstream_model_idstring required
credentialstring required
supports_responsesboolean
enabledboolean
context_lengthinteger nullable
max_output_tokensinteger nullable
host_provider_idstring nullable

Existing Phaseo provider that operates the deployment.

custom_provider_namestring nullable
custom_provider_urlstring uri nullable
routing_policy'preferred' | 'balanced' | 'fallback'

Response

Private model created

Changes

No recorded changes to this operation across all 1 revision of this API.