Try a decision in simulation before making it
post/whatif
Try a decision in simulation before making it: a question and two or three options, run on the same seeds.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
analytics:write- Graphql
Mutation.analyticsWhatifStart- Sdk
analytics.whatif.start- Cli
analytics whatif start
Request bodyapplication/json, required
- questionstringrequiredAt most 300 characters.
- optionslist of objectrequired
- labelstringrequiredAt most 40 characters.
- textstringrequiredAt most 1500 characters.
- labelstringrequired
- seedinteger
Responses
- 202application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring