Log a choice made at a decision point, with the logging policy's probability of it
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}/decisionsPath parameters
idstringrequiredMin 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
pointstringrequiredPattern: ^[a-zA-Z0-9_.-]{1,100}$
policystringrequiredPattern: ^[a-zA-Z0-9_.-]{1,100}$
optionsarray<string>requiredMin items: 1 · Max items: 100
chosenstringrequiredMin length: 1 · Max length: 200
probabilitiesobjectrequiredAdditional keys: number
job_idstringMin length: 1 · Max length: 200
keystringMin length: 1 · Max length: 200
rewardnumberMinimum: -1000000000 · Maximum: 1000000000
detailobjectAdditional keys: any
Response
201Log a choice made at a decision point, with the logging policy's probability of it
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
idstringrequiredjob_idstring | nullrequiredkeystring | nullrequiredpointstringrequiredpolicystringrequiredoptionsarray<string>requiredchosenstringrequiredprobabilitiesobjectrequiredAdditional keys: number
propensitynumberrequiredrewardnumber | nullrequiredrewarded_atstring | nullrequireddetailobjectrequiredAdditional keys: any
created_atstringrequired4XX400 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