Skip to main content
POST
TriggerCustomAnalysis

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

The TriggerCustomAnalysisRequest message.

accessScope
Access Scope · object | null

AccessScope narrows a cohort to the users who hold a grant. It is combined with any ProfileFilters using AND logic, and is a complete cohort definition on its own.

This message contains a oneof named scope. Only a single field of the following list may be set at a time:

  • appId
  • entitlement
profileFilters
Profile Filter · object[] | null

The profileFilters field.

resourceScope
Resource Scope · object | null

ResourceScope narrows which entitlements an analysis considers, without changing the cohort. Coverage denominators stay the population the ProfileFilters and AccessScope select; only the entitlement universe shrinks. It is never a cohort definition on its own.

Response

200 - application/json

Successful response

The TriggerCustomAnalysisResponse message.

id
string

The id field.