Project APIExperiments (V2)
Retry cohort computation
Ask for an immediate recompute of one cohort the experiment targets. Resumes a cohort whose automatic refreshes were suspended after repeated failures, or cuts a failure backoff short. Rejected with 409 while the cohort is refreshing normally or already computing, and with 429 within five minutes of the last attempt.
Authorization
personalAccessTokenAuth AuthorizationBearer <token>
Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.
In: header
Path Parameters
applicationId*integer
Range
0 < value <= 9007199254740991experimentId*integer
Range
0 < value <= 9007199254740991cohortId*integer
Range
0 < value <= 9007199254740991Header Parameters
environment_id*number
Gamebeast environment ID
Response Body
application/json
curl -X POST "https://example.com/application/1/v2/experiments/1/cohorts/1/retry" \ -H "environment_id: 0"{ "cohort": { "cohortId": 1, "name": "string", "status": "pending", "memberCount": 0, "computedAt": "2019-08-24T14:15:22Z", "lastAttemptAt": "2019-08-24T14:15:22Z", "lastError": "string", "failureReason": "transient", "consecutiveFailures": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "membershipExpiresAt": "2019-08-24T14:15:22Z", "retryAvailableAt": "2019-08-24T14:15:22Z" }}