Create an assistant candidate version
Application-scoped assistant control plane. External pipelines, dataset ingestion, and training run in the builder's infrastructure. Eval suites run fixture tool-mode jobs or disposable offline Linux desktops through Temporal. Metrics/artifacts are externally reported; reference URLs are never fetched. Model credentials are write-only. Pull subscriptions replay unacknowledged events. Resource lists return up to 200 recent records; trigger lists return an ID next_cursor for after, and message and delivery feeds use sequence cursors.
/v1/applications/{id}/assistants/{assistantId}/versionsPath parameters
idstringrequiredMin length: 1
assistantIdstringrequiredMin length: 1
Headers
Idempotency-KeystringrequiredRequired. Identical retries return the original response; changed input returns 409. Keys are shared across this application's assistant API mutations.
Pattern: ^[\x21-\x7e]{1,200}$
Body
definitionobjectrequiredObject fields
instructionsstringrequiredMin length: 1 · Max length: 12000
model_version_idstring | nullDefault: null
modelstring | nullDefault: null
reasoning_effortstringAllowed: "none""minimal""low""medium""high""xhigh""max"
max_output_tokensintegerMinimum: 1 · Maximum: 128000
execution_modestringAllowed: "tools""computer"
Default: "tools"
web_accessbooleanDefault: false
connections"user"Response
201Create an assistant candidate version
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
idstringrequiredMin length: 1
created_atstringrequiredFormat: date-time · Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
assistant_idstringrequiredMin length: 1
definition_jsonobjectrequiredObject fields
instructionsstringrequiredMin length: 1 · Max length: 12000
model_version_idstring | nullDefault: null
modelstring | nullDefault: null
reasoning_effortstringAllowed: "none""minimal""low""medium""high""xhigh""max"
max_output_tokensintegerMinimum: 1 · Maximum: 128000
execution_modestringAllowed: "tools""computer"
Default: "tools"
web_accessbooleanDefault: false
connections"user"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