Skip to main content
PATCH
Set the caller's own Neo model inference region

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json

A version 1 policy patch: {"version": 1} and the keys of ModelAccessPolicy to change. A key that is sent replaces that dimension, null removes it, and a key that is left out stays unchanged. The handler validates the patch, so every rejection carries the stable code invalid_model_access_policy.

Response

Region updated

policy
object
required

A version 1 model access policy document. An absent key is unrestricted and an empty list allows none. model_sources without neo turns Neo models off. personal_ai_connections and default_model are team layer keys.

previous_policy
object
required

A version 1 model access policy document. An absent key is unrestricted and an empty list allows none. model_sources without neo turns Neo models off. personal_ai_connections and default_model are team layer keys.

updated_at
string<date-time>
required