Garchi CMS Compound Query API

The Compound Query API from Garchi CMS — 1 operation(s) for compound query.

GitHub OpenAPI

Operations 1

POST /api/v2/compound_query POST /api/v2/compound_query #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/garchi-co-uk:garchi-co-uk-compound-query-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

garchi-co-uk-compound-query-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Garchi CMS Compound Query API
  version: '2026-11-09'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-09: 39 operation(s) read from 6 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Garchi CMS has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 39
    documentation: 0
    pages-with-code: 5
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-09'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://garchi.co.uk/docs/v2
  - https://garchi.co.uk/install
  - https://garchi.co.uk/documentation/1.0/headlessweb/section-template
  - https://garchi.co.uk/documentation/1.0/headlessweb/page
  - https://garchi.co.uk/documentation/1.0/usage/next-pages-router
  - https://garchi.co.uk/documentation/1.0/usage/next-app-router
security:
- bearer: []
tags:
- name: Compound Query
paths:
  /api/v2/compound_query:
    post:
      operationId: post_api_v2_compound_query
      tags:
      - Compound Query
      summary: POST /api/v2/compound_query
      x-source: https://garchi.co.uk/docs/v2
      parameters:
      - name: order_by
        in: query
        required: false
        schema:
          type: string
      - name: order_key
        in: query
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV2CompoundQueryResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --request POST  \"https://garchi.co.uk/api/v2/compound_query?order_key=created&order_by=desc\"  --header \"Authorization: Bearer {YOUR_API_TOKEN}\"  --header \"Content-Type: application/json\"  --data \"{\n \\\"dataset\\\": \\\"items\\\",\n \\\"fields\\\": [\n \\\"name\\\",\n \\\"price\\\"\n ],\n \\\"conditions\\\": [\n \\\"eq\\\",\n \\\"lte\\\"\n ],\n \\\"values\\\": [\n \\\"Apple\\\",\n 100\n ],\n \\\"logic\\\": \\\"[\\\\\\\"and\\\\\\\"]\\\"\n}\""
components:
  schemas:
    PostApiV2CompoundQueryResponse:
      type: object
      properties:
        dataset:
          type: string
        fields:
          type: array
          items:
            type: string
        conditions:
          type: array
          items:
            type: string
        values:
          type: array
          items:
            type: string
        logic:
          type: array
          items:
            type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer