{
  "opencollection": "1.0.0",
  "info": {
    "name": "Axiom Annotations Query API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Query",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Run a query (legacy)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.axiom.co/v1/datasets/:id/query",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The dataset ID or name."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Run a structured (legacy) query against a single dataset. Prefer the APL query endpoint for new integrations."
        },
        {
          "info": {
            "name": "Run an APL query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.axiom.co/v1/datasets/_apl",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Result serialization format."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Run an Axiom Processing Language (APL) query across one or more datasets. The dataset(s) are named inside the APL statement itself."
        }
      ]
    }
  ],
  "bundled": true
}