glab(1)

πŸ“¦
version 1.114.0 Β· 3 versions
, in epel 10, epel 9, fedora 44, opensuse-leap 16.0

πŸ’– glab(1) β€” the glab manual, bestie edition πŸ’–

okay so we're doing the glab manpage, section 1, and specifically the little corner of it that is glab-orbit-remote-schema. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

glab-orbit-remote-schema β€” Show the GitLab Knowledge Graph ontology. (EXPERIMENTAL)

like, it literally shows you the ontology. the whole vibe of the graph. that's the job. πŸ‘‘


🌈 SYNOPSIS 🌈

glab orbit remote schema [node...] [flags]

that's it. that's the shape of it. nodes optional, flags optional, chaos mandatory (jk jk, it's fine).


πŸ¦‹ DESCRIPTION πŸ¦‹

So this command hits up GET /api/v4/orbit/schema and prints whatever comes back as pretty-printed JSON. ✨

And the thing it hands you? That's the authoritative graph ontology β€” domains, nodes, edges, all of it. It is the source of truth when you're writing queries. no cap. if you're out here guessing at the graph structure without checking this first, bestie, why 😭

Here's the cute part: any positional arguments you pass get passed straight through as the expand query parameter, comma-joined. So the nodes you list come back with their full properties, style, and incoming AND outgoing edge lists πŸ’… β€” and the nodes you didn't list just stay summary-only in that same response. no extra request, no drama, they're all chillin' in one payload.

⚠️ Real talk, no games: this feature is an experiment and it is not ready for production use. It might be unstable, or straight up removed, at any time. Like, any time. Don't build your whole thing on it and act surprised. πŸ™ˆ

For more info on that whole thing, they point you at https://docs.gitlab.com/policy/development_stages_support/.


πŸ’… OPTIONS πŸ’…

  • --hostname="" β€” which GitLab hostname to query. Defaults to the current repository's host, or gitlab.com if there isn't one. 🏠
  • --jq="" β€” filter the JSON output with a jq expression. so you don't have to scroll through a whole novel of JSON with your eyeballs. obsessed. πŸ”₯

πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

  • -h, --help[=false] β€” Show help for this command. the classic. the icon. the one you should've checked before asking. 🫢

🌸 EXAMPLE 🌸

# Show the full schema (compact, no node detail)
$ glab orbit remote schema

# Show details for specific nodes
$ glab orbit remote schema User Project MergeRequest

see how the second one names User, Project, and MergeRequest? that's the comma-joined expand thing doing its thing, and those three come back with the full glow-up: properties, style, incoming + outgoing edges. the rest are just vibing in summary mode. 🧚


⭐ SEE ALSO ⭐


and that's the page!! πŸ’–

cute lil sign-off: this one was auto generated by spf13/cobra, dated Aug 2026, and it lives in the glab(1) manual. periodt. πŸŽ€βœ¨
πŸ“¦ where this page comes from