Get permitted models and default
GET
/v1/model-policyQuery parameters
application_idstringOptional with an application key, which always pins the scope. A different application returns 403.
Min length: 1
Response
200Get permitted models and default
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
executionstringAllowed: "worker""sandbox"
Default: "worker"
enabledbooleanrequireddefault_modelstring | nullrequiredallowed_modelsarray<string>requiredMax items: 100
default_model_version_idstring | nullDefault: null
budget_usdstringrequiredPattern: ^(0|[1-9]\d{0,6})(\.\d{1,9})?$
4XX400 invalid input; 401 missing/revoked credentials; 403 disallowed operation/application; 404 missing or inaccessible resource; 409 conflicting submission/version/state; 413 body too large; 415 unsupported content type. Inspect error.code, not message text.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any
5XX500 unexpected failure or 503 unavailable dependency. A failed response does not prove that a submission was not committed. Retry job/flow admission with the same key and body.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any