glql

Execute a GLQL query

Changed on

Executes a GLQL query to search and filter GitLab resources.

post/api/v4/glql

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

glql_yamlstring required

The full GLQL code block containing YAML configuration and query

afterstring

Cursor for forward pagination. Use the endCursor from previous response to fetch the next page

Response

Execute a GLQL query

errorstring required

Error message if query failed

successboolean required

Example response

{
  "data": {
    "count": 42,
    "nodes": [],
    "pageInfo": {
      "endCursor": "eyJpZCI6IjE3In0",
      "hasNextPage": true,
      "startCursor": "eyJpZCI6IjE3In0"
    }
  },
  "fields": [
    {
      "key": "title",
      "label": "Title",
      "name": "title"
    }
  ],
  "success": true
}

Changes