Skip to main content

Synopsis

Begin or update a Kosli flow trail. You can optionally associate the trail to a git commit using --commit (requires access to a git repo). And you can optionally redact some of the git commit data sent to Kosli using --redact-commit-info. To record repository information, all three of --repo-id, --repo-url, and --repository must be set together. These are automatically set in GitHub Actions, GitLab CI, Bitbucket Pipelines, and Azure DevOps. In other CI systems, set them explicitly to capture repository metadata. TRAIL-NAMEs must start with a letter or number, and only contain letters, numbers, ., -, _, and ~.

Flags

Flags inherited from parent commands

Live Examples in different CI systems

View an example of the kosli begin trail command in GitHub.In this YAML file, which created this Kosli Event.

Examples Use Cases

These examples all assume that the flags --api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Last modified on July 21, 2026