Skip to main content

Synopsis

Get a repo for an org. The repo is identified either by its name, specified as an argument (e.g. “my-org/my-repo”), or unambiguously by its internal ID via —repo-id. The output includes the repo’s internal ID, which is the identifier used to tag the repo (see: kosli tag). Use —provider to disambiguate when multiple repos share the same name across VCS providers.

Flags

Flags inherited from parent commands

JSON output

With --output json, this command prints the response of the Get a repo API operation as the server returned it. The shape follows the server’s published API spec, not the CLI version.

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 November 25, 2026