Get a list of all active cohorts in a study

get

/ec-designer-svc/rest/v1.0/studies/{studyId}/cohorts

Retrieves a list of all cohorts in a study. You can retrieve this list by study ID.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : CohortDto v1.0
Type: object
Title: CohortDto v1.0
Randomization Cohort Details Information
Show Source
Nested Schema : factors
Type: array
Show Source
  • CohortFactorDto v1.0
    Title: CohortFactorDto v1.0
    Discriminator: { "propertyName":"type", "mapping":{ "choice":"#/components/schemas/CohortChoiceFactorDtoV2", "range":"#/components/schemas/CohortRangeFactorDtoV2" } }
    Randomization Cohort Factor Information
Nested Schema : CohortFactorDto v1.0
Type: object
Title: CohortFactorDto v1.0
Discriminator: type

Discriminator Values

Randomization Cohort Factor Information
Show Source

500 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
    Example: User role is missing required permission REPORTING_VIEW. Field: userId
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • Human-readable error message describing the failure or issue.
    Example: Unauthorized: User does not have access to the requested resource
Back to Top