Execute a GLQL query
Executes a GLQL query to search and filter GitLab resources.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ”object
The full GLQL code block containing YAML configuration and query
Cursor for forward pagination. Use the endCursor from previous response to fetch the next page
Example generated
{ "glql_yaml": "example", "after": "example"}Responses
Section titled “ Responses ”OK
object
Query result data containing count, nodes, and pagination info
object
Number of found items
The list of found items
Pagination information
object
Cursor for the last item
Whether there are more items
Whether there are previous items
Cursor for the first item
Error message if query failed
Field definitions for the query results
object
Unique field key
Human-readable field label
Underlying name of field, often the same as key, but it may be different if one type of field has multiple possible keys. Example created and createdAt
Example
{ "data": { "count": 42, "nodes": [], "pageInfo": { "endCursor": "eyJpZCI6IjE3In0", "hasNextPage": true, "hasPreviousPage": false, "startCursor": "eyJpZCI6IjE3In0" } }, "fields": [ { "key": "title", "label": "Title", "name": "title" } ], "success": true}Bad request
Unauthorized
Forbidden
Too Many Requests
Internal server error