Skip to Content

POST /cohort/get

Get Cohort

Get cohort information using the canonical shared cohort operation.

Request Body (GetCohortApiRequest)

FieldTypeRequiredDescription
idstringNoCohort UUID to retrieve
cohort_idstringNoLegacy alias for cohort UUID
draft_idstringNoDraft UUID to load from
snapshot_keystringNoCache snapshot key for consistent reads across related requests
namesapp__infra__cohort__types__SectionFilterNoFilter options for names section
descriptionsapp__infra__cohort__types__SectionFilterNoFilter options for descriptions section
flagsapp__infra__cohort__types__SectionFilterNoFilter options for flags section
departmentsapp__infra__cohort__types__SectionFilterNoFilter options for departments section
simulationsapp__infra__cohort__types__SectionFilterNoFilter options for simulations section
simulation_positionsapp__infra__cohort__types__SectionFilterNoFilter options for simulation positions section
simulation_availabilityapp__infra__cohort__types__SectionFilterNoFilter options for simulation availability section
profilesapp__infra__cohort__types__SectionFilterNoFilter options for profiles section
profile_personasapp__infra__cohort__types__SectionFilterNoFilter options for profile personas section
personasapp__infra__cohort__types__SectionFilterNoFilter options for personas section
descriptions_searchstringNoLegacy search query for descriptions
simulation_searchstringNoLegacy search query for simulations
simulation_show_selectedbooleanNoLegacy selected-only flag for simulations
profile_searchstringNoLegacy search query for profiles
profile_show_selectedbooleanNoLegacy selected-only flag for profiles

Response (GetCohortApiResponse)

FieldTypeRequiredDescription
actor_namestringNoDisplay name of the current user
cohort_existsbooleanNoWhether the cohort exists
can_editbooleanNoWhether the current user can edit
disabled_reasonstringNoReason editing is disabled
group_idstringNoAssociated group UUID
draft_namestringNoImmutable draft label from the active draft entry, when a draft_id was supplied. None for non-draft fetches.
show_ai_generatebooleanNoWhether AI generation is available
namesCohortNameResource[]NoName resources with selected/suggested flags
descriptionsCohortDescriptionResource[]NoDescription resources with selected/suggested flags
flagsCohortFlagResource[]NoFlag resources with selected/suggested flags
departmentsCohortDepartment[]NoDepartment resources with selected/suggested flags
simulationsCohortSimulation[]NoSimulation resources with selected/suggested flags
simulation_positionsCohortSimulationPosition[]NoSimulation position resources with selected/suggested flags
simulation_availabilityCohortSimulationAvailability[]NoSimulation availability resources with selected/suggested flags
profilesCohortProfile[]NoProfile resources with selected/suggested flags
profile_personasCohortProfilePersona[]NoProfile persona resources with selected/suggested flags
personasCohortPersonaResource[]NoPersona resources with selected/suggested flags
pending_idsstring[]NoPending resource IDs from the draft, when available
basic_show_ai_generatebooleanNoLegacy AI-generate flag for the basic step
simulations_step_show_ai_generatebooleanNoLegacy AI-generate flag for the simulations step
profiles_step_show_ai_generatebooleanNoLegacy AI-generate flag for the profiles step
Last updated on