List GitLab directory entries

Lists direct children at the supplied immutable commit SHA; use branch discovery to obtain a head. One bounded upstream page is read, with a 2 MiB response ceiling. Follow directory entries explicitly; there is no recursive scan or file download. Path-only format and language hints do not establish content validity or a source language. Omit path for the root; otherwise supply a relative directory path without leading or trailing slashes. Keep repository, commit, path and limit unchanged with the opaque cursor. No local filtering or sorting is offered. Requires workspace-level stack or integration management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^iau_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public id composed of the resource type prefix and its UUID.

Query Params
string
required
length between 0 and 4096

External repository namespace.

string
required
length between 0 and 1024

External repository name.

string
required
[0-9a-f]{40}|[0-9a-f]{64}

Full immutable commit SHA obtained from branch discovery.

string
length between 0 and 4096

Relative directory path; empty selects the repository root.

string

Opaque pagination cursor from the next_cursor field of a previous response. Omit for the first page.

int32
1 to 100
Defaults to 20

Maximum number of items to return per page (1-100).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json