Kitaru

kitaru cohort create

Create a cohort and optionally snapshot selected sessions.

Usage

kitaru cohort create NAME [OPTIONS]

Supported --output modes: auto, text, json.

Arguments

NameTypeRequiredDescription
NAMEstringYesNew cohort name.

Options

NameTypeRequiredDescription
--agentreferenceYesExact agent UUID or case-sensitive name.
--descriptionstringNoCohort description.
--metadataJSON objectNoCohort metadata.
--sessionUUID[]NoExplicit session IDs.
--sessions-filepathNoUTF-8 file with one session UUID per nonblank line.
--tagtextNoSessions with this tag.
--cohortreferenceNoSessions in this cohort version.
--filterJSON filterNoSession filter expression.
--allbooleanNoAll sessions.
--display-versionstringNoDisplay version for the membership snapshot.
--idempotency-keystringNoRetrying this exact invocation with the same key returns the original result instead of acting twice.

Every command also accepts the global options listed on the CLI overview page.

On this page