/
PH
phaseo
/
Phaseo Gateway API
Search skmtc…
⌘K
Changes
Docs
Sign in
Docs
History
Schema
Filter operations
Gateway
239
get
/models
List gateway models
get
/models/{author}/{slug}/endpoints
List model endpoint capabilities
get
/models/me
List team-scoped gateway models
get
/providers
List providers
get
/generations
Get generation
post
/chat/completions
Create chat completion
post
/responses
Create response
get
/async/{kind}/{id}/ws
Open async job websocket
post
/messages
Create message
post
/embeddings
Create embeddings
post
/moderations
Create moderation
post
/rerank
Rerank documents
post
/decisions
Make structured decisions
post
/audio/speech
Generate speech
post
/audio/transcriptions
Create transcription
post
/audio/translations
Create translation
post
/audio/realtime/sessions
Create realtime audio session
get
/audio/realtime/sessions/{session_id}/relay
Connect realtime relay
post
/audio/realtime/sessions/{session_id}/connected
Mark realtime session connected
post
/audio/realtime/sessions/{session_id}/extend
Extend realtime session credit hold
post
/audio/realtime/sessions/{session_id}/usage
Update realtime session usage
post
/audio/realtime/sessions/{session_id}/finalize
Finalize realtime audio session
post
/images/generations
Create image
post
/images/edits
Create image edit
get
/videos
List videos
post
/videos
Create video
get
/videos/models
List video model capabilities
get
/videos/{video_id}
Get video status
delete
/videos/{video_id}
Delete video
post
/videos/{video_id}/cancel
Cancel video
get
/videos/{video_id}/content
Get video content
post
/videos/{video_id}/download_url
Create a signed video download URL
post
/ocr
Create OCR
post
/parse
Parse a document image
post
/music/generate
Generate music
get
/music/generate/{music_id}
Get music generation status
get
/files
List files
post
/files
Upload file
get
/files/{file_id}
Retrieve file
get
/files/{file_id}/content
Retrieve file content
get
/batches
List batches
post
/batches
Create batch
get
/batches/models
List batch model capabilities
get
/batches/capabilities
List batch provider capabilities
get
/batches/files
List batch files
post
/batches/files
Upload batch file
get
/batches/files/{file_id}
Retrieve batch file
get
/batches/files/{file_id}/content
Retrieve batch file content
get
/batches/{batch_id}
Retrieve batch
get
/batches/{batch_id}/results
Download batch results
get
/batches/{batch_id}/requests
List batch request rows
post
/batches/{batch_id}/cancel
Cancel batch
get
/analytics
Get workspace analytics
get
/analytics/export
Export workspace analytics
get
/credits
Get remaining credits
get
/key
Get current API key
get
/keys
List API keys
post
/keys
Create a new API key
get
/keys/{id}
Get a single API key
delete
/keys/{id}
Delete an API key
patch
/keys/{id}
Update an API key
post
/keys/{id}/rotate
Rotate an API key
post
/keys/{id}/invalidate
Invalidate API key cache
get
/identity/sso
Get workspace SSO settings
put
/identity/sso
Update workspace SSO settings
get
/identity/scim
Get workspace SCIM settings
put
/identity/scim
Enable or disable SCIM
post
/identity/scim/tokens
Create a SCIM token
delete
/identity/scim/tokens/{id}
Revoke a SCIM token
get
/identity/scim/audit
List SCIM audit events
get
/identity/directory
Get the workspace directory
put
/identity/directory/members/{id}
Update a directory member override
get
/identity/departments
List workspace departments
post
/identity/departments
Create a workspace department
delete
/identity/departments/{id}
Delete a workspace department
patch
/identity/departments/{id}
Update a workspace department
put
/identity/departments/{departmentId}/members/{userId}
Set a manual department membership
delete
/identity/departments/{departmentId}/members/{userId}
Delete a manual department membership
get
/identity/group-mappings
List directory group mappings
post
/identity/group-mappings
Create a directory group mapping
delete
/identity/group-mappings/{id}
Delete a directory group mapping
patch
/identity/group-mappings/{id}
Update a directory group mapping
get
/notifications/settings
Get workspace notification settings
patch
/notifications/settings
Update workspace notification settings
get
/apps
List workspace applications
patch
/apps/{id}
Update a workspace application
post
/apps/{id}/merge
Merge workspace applications
get
/logs
List gateway request logs
get
/logs/{requestId}
Get a gateway request log
get
/feedback
List gateway feedback
post
/feedback
Create gateway feedback
get
/feedback/summary
Summarize gateway feedback
get
/events
List gateway observability events
post
/events
Create a gateway observability event
get
/preset-test-runs
List preset test runs
post
/preset-test-runs
Create a preset test run
get
/preset-test-runs/{id}
Get a preset test run
patch
/preset-test-runs/{id}
Update a preset test run
get
/byok
List provider credentials
post
/byok
Create a provider credential
post
/byok/reorder
Reorder provider credentials
get
/byok/{id}
Get a provider credential
delete
/byok/{id}
Delete a provider credential
patch
/byok/{id}
Update a provider credential
get
/private-models
List private models
post
/private-models
Create a private model
get
/private-models/{id}
Get a private model
delete
/private-models/{id}
Delete a private model
patch
/private-models/{id}
Update a private model
get
/budgets
List workspace budgets
post
/budgets
Create a workspace budget
get
/budgets/{id}
Get a workspace budget
delete
/budgets/{id}
Delete a workspace budget
patch
/budgets/{id}
Update a workspace budget
get
/rate-limits/policies
List rate limit policies
post
/rate-limits/policies
Create a rate limit policy
get
/rate-limits/policies/{id}
Get a rate limit policy
delete
/rate-limits/policies/{id}
Delete a rate limit policy
patch
/rate-limits/policies/{id}
Update a rate limit policy
get
/rate-limits/assignments
List rate limit assignments
post
/rate-limits/assignments
Assign a rate limit policy
get
/rate-limits/assignments/{id}
Get a rate limit assignment
delete
/rate-limits/assignments/{id}
Delete a rate limit assignment
patch
/rate-limits/assignments/{id}
Change an assignment's policy
get
/notifications/destinations
List notification destinations
post
/notifications/destinations
Create a notification destination
delete
/notifications/destinations/{id}
Delete a notification destination
post
/notifications/destinations/test
Test notification destination configuration
post
/notifications/destinations/{id}/test
Test a saved notification destination
get
/notifications/routes
List notification routes
put
/notifications/routes/{eventKind}
Update a notification route
get
/data-contribution
Get data contribution settings
patch
/data-contribution/consent
Update data contribution consent
post
/data-contribution/classifiers
Create a data contribution classifier
delete
/data-contribution/classifiers/{id}
Delete a data contribution classifier
patch
/data-contribution/classifiers/{id}
Update a data contribution classifier
get
/oauth-clients
List OAuth clients
post
/oauth-clients
Create an OAuth client
get
/oauth-clients/{client_id}
Get an OAuth client
delete
/oauth-clients/{client_id}
Delete an OAuth client
patch
/oauth-clients/{client_id}
Update an OAuth client
post
/oauth-clients/{client_id}/regenerate-secret
Regenerate an OAuth client secret
get
/webhook-endpoints
List webhook endpoints
post
/webhook-endpoints
Create a webhook endpoint
get
/webhook-endpoints/{id}
Get a webhook endpoint
delete
/webhook-endpoints/{id}
Delete a webhook endpoint
patch
/webhook-endpoints/{id}
Update a webhook endpoint
post
/webhook-endpoints/{id}/rotate-secret
Rotate a webhook signing secret
post
/webhook-endpoints/{id}/test
Send a test webhook event
get
/guardrails
List guardrails
post
/guardrails
Create a guardrail
get
/guardrails/{id}
Get a guardrail
delete
/guardrails/{id}
Delete a guardrail
patch
/guardrails/{id}
Update a guardrail
get
/guardrails/{id}/keys
List guardrail key assignments
put
/guardrails/{id}/keys
Replace guardrail key assignments
post
/guardrails/{id}/keys/add
Add guardrail key assignments
post
/guardrails/{id}/keys/remove
Remove guardrail key assignments
get
/guardrails/{id}/members
List guardrail member assignments
post
/guardrails/{id}/members/add
Add guardrail member assignments
post
/guardrails/{id}/members/remove
Remove guardrail member assignments
get
/management-keys
List management keys
post
/management-keys
Create a management key
get
/management-keys/{id}
Get a management key
delete
/management-keys/{id}
Delete a management key
patch
/management-keys/{id}
Update a management key
get
/activity
Get recent activity
get
/audit-events
List workspace audit events
get
/workspaces
List workspaces
post
/workspaces
Create a workspace
get
/workspaces/{id}
Get a workspace
delete
/workspaces/{id}
Delete a workspace
patch
/workspaces/{id}
Update a workspace
get
/workspaces/{id}/members
List workspace members
post
/workspaces/{id}/members/add
Add workspace members
post
/workspaces/{id}/members/remove
Remove workspace members
patch
/workspaces/{id}/members/{user_id}
Update a workspace member role
get
/workspaces/{id}/invites
List workspace invites
post
/workspaces/{id}/invites
Create a workspace invite
delete
/workspaces/{id}/invites/{invite_id}
Delete a workspace invite
get
/workspaces/{id}/join-requests
List workspace join requests
post
/workspaces/{id}/join-requests/{request_id}/approve
Approve a workspace join request
post
/workspaces/{id}/join-requests/{request_id}/reject
Reject a workspace join request
get
/observability/logging-policy
Get workspace I/O logging policy
patch
/observability/logging-policy
Update workspace I/O logging policy
get
/observability/destinations
List observability destinations
post
/observability/destinations
Create an observability destination
get
/observability/destinations/{id}
Get an observability destination
delete
/observability/destinations/{id}
Delete an observability destination
patch
/observability/destinations/{id}
Update an observability destination
get
/organisations
List organisations
get
/pricing/models
List pricing models
post
/pricing/calculate
Calculate pricing
get
/health/providers/{provider_id}/derank
Provider derank status
get
/health
Health check
get
/video/generations
List videos (alias)
post
/video/generations
Create video (alias)
get
/video/generations/models
List video model capabilities (alias)
get
/video/generations/{video_id}
Get video status (alias)
delete
/video/generations/{video_id}
Delete video (alias)
post
/video/generations/{video_id}/cancel
Cancel video (alias)
get
/video/generations/{video_id}/content
Get video content (alias)
post
/video/generations/{video_id}/download_url
Create a signed video download URL (alias)
post
/music/generations
Generate music (alias)
get
/music/generations/{music_id}
Get music generation status (alias)
get
/batch
List batches (alias)
post
/batch
Create batch (alias)
get
/batch/models
List batch model capabilities (alias)
get
/batch/capabilities
List batch provider capabilities (alias)
get
/batch/files
List batch files (alias)
post
/batch/files
Upload batch file (alias)
get
/batch/files/{file_id}
Retrieve batch file (alias)
get
/batch/files/{file_id}/content
Retrieve batch file content (alias)
get
/batch/{id}
Retrieve batch (alias)
get
/batch/{id}/results
Download batch results (alias)
get
/batch/{id}/requests
List batch request rows (alias)
post
/batch/{id}/cancel
Cancel batch (alias)
get
/data/models
List data models
get
/presets
List presets
post
/presets
Create a preset
get
/presets/publisher
Get preset publisher handle
put
/presets/publisher
Update preset publisher handle
get
/presets/{id}
Get a preset
delete
/presets/{id}
Archive a preset
patch
/presets/{id}
Update a preset draft
get
/presets/{id}/versions
List preset versions
post
/presets/{id}/versions
Publish a preset version
post
/presets/{id}/fork
Fork a public preset
post
/presets/{id}/upstream
Apply an upstream preset version
get
/settings
Get workspace settings
patch
/settings
Update workspace settings
get
/routing/dynamic-routes
List dynamic routes
post
/routing/dynamic-routes
Create a dynamic route
get
/routing/dynamic-routes/{id}
Get a dynamic route
delete
/routing/dynamic-routes/{id}
Delete a dynamic route
patch
/routing/dynamic-routes/{id}
Update a dynamic route
put
/routing/dynamic-routes/{id}/keys
Replace dynamic-route API keys
post
/routing/dynamic-routes/{id}/versions/{version}/deploy
Deploy a dynamic-route version
get
/endpoints
List endpoints