Axway · Schema

CustomQuery

CustomQuery schema from Axway Amplify Platform API

API ManagementEnterpriseIntegrationSecurity

Properties

Name Type Description
_id string Identifier of the query.
cross_org boolean Whether the query is run against all organizations instead of just the organization it belongs to.
endpoint string The analytics endpoint called for the query.
field string Lexus query invoke field.
filters string Lexus filters JSON.
granularity string Unit of time for grouping results; with "grquantity", determines interval of results.
groupings array Field to group results by.
grquantity integer Number of units of time for grouping results; with "granularity", determines interval of results.
guid string Identifier for the query.
include array _Find method only._ Which fields to include in each document.
limit integer _Find method only._ How many results to include per grouping
method string Lexus query invoke method.
name string A name to give the query.
offset integer _Find method only._ How many documents to skip.
org_guid integer The guid of the organization the query is saved for.
rateGranularity string _Rate method only._ The granularity at which the rate is displayed.
sortField string _Find method only._ Field by which to sort events.
sortOrder integer _Find method only._ Order in which to sort events. 1 (ascending) or -1 (descending).
span integer Number of units of time for queried date range; with "unit", determines queried date range.
type string Type of chart to use to display results.
unit string Unit of time for date range of query; with "span", determines queried date range.
valueFormat string How to format values for the query
yAxis string How to display series in the y-Axis of the chart.
View JSON Schema on GitHub

JSON Schema

amplify-platform-custom-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/axway/amplify-platform-custom-query-schema.json",
  "title": "CustomQuery",
  "description": "CustomQuery schema from Axway Amplify Platform API",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Identifier of the query.",
      "readOnly": true,
      "deprecated": true,
      "example": "507f1f77bcf86cd799439011"
    },
    "cross_org": {
      "type": "boolean",
      "description": "Whether the query is run against all organizations instead of just the organization it belongs to.",
      "example": true
    },
    "endpoint": {
      "type": "string",
      "format": "url",
      "description": "The analytics endpoint called for the query.",
      "example": "example_value"
    },
    "field": {
      "type": "string",
      "description": "Lexus query invoke field.",
      "example": "example_value"
    },
    "filters": {
      "type": "string",
      "format": "json",
      "description": "Lexus filters JSON.",
      "example": "example_value"
    },
    "granularity": {
      "type": "string",
      "description": "Unit of time for grouping results; with \"grquantity\", determines interval of results.",
      "enum": [
        "month",
        "day",
        "hour",
        "minute"
      ],
      "example": "month"
    },
    "groupings": {
      "type": "array",
      "description": "Field to group results by.",
      "items": {
        "type": "object",
        "required": [
          "field",
          "type"
        ],
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "interval": {
            "type": "integer",
            "description": "Interval used when grouping by a numeric field.",
            "minimum": 1
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of items to return for a grouping",
            "minimum": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "string",
              "number",
              "duration"
            ]
          }
        }
      },
      "example": [
        {
          "field": "example_value",
          "interval": 1,
          "limit": 1,
          "type": "string"
        }
      ]
    },
    "grquantity": {
      "type": "integer",
      "description": "Number of units of time for grouping results; with \"granularity\", determines interval of results.",
      "minimum": 1,
      "maximum": 200,
      "example": 1
    },
    "guid": {
      "type": "string",
      "format": "uuid",
      "description": "Identifier for the query.",
      "example": "example_value"
    },
    "include": {
      "type": "array",
      "description": "_Find method only._ Which fields to include in each document.",
      "items": {
        "type": "string",
        "description": "Field name."
      },
      "example": [
        "example_value"
      ]
    },
    "limit": {
      "type": "integer",
      "description": "_Find method only._ How many results to include per grouping",
      "minimum": 1,
      "example": 1
    },
    "method": {
      "type": "string",
      "description": "Lexus query invoke method.",
      "example": "example_value"
    },
    "name": {
      "type": "string",
      "description": "A name to give the query.",
      "example": "Example Name"
    },
    "offset": {
      "type": "integer",
      "description": "_Find method only._ How many documents to skip.",
      "minimum": 0,
      "example": 1
    },
    "org_guid": {
      "type": "integer",
      "description": "The guid of the organization the query is saved for.",
      "example": 1
    },
    "rateGranularity": {
      "type": "string",
      "description": "_Rate method only._ The granularity at which the rate is displayed.",
      "enum": [
        "second",
        "minute",
        "hour",
        "day"
      ],
      "example": "second"
    },
    "sortField": {
      "type": "string",
      "description": "_Find method only._ Field by which to sort events.",
      "maxProperties": 1,
      "example": "example_value"
    },
    "sortOrder": {
      "type": "integer",
      "description": "_Find method only._ Order in which to sort events. 1 (ascending) or -1 (descending).",
      "enum": [
        1,
        -1
      ],
      "maxProperties": 1,
      "example": 1
    },
    "span": {
      "type": "integer",
      "description": "Number of units of time for queried date range; with \"unit\", determines queried date range.",
      "minimum": 1,
      "maximum": 200,
      "example": 1
    },
    "type": {
      "type": "string",
      "description": "Type of chart to use to display results.",
      "enum": [
        "list",
        "stream",
        "line",
        "bar"
      ],
      "example": "list"
    },
    "unit": {
      "type": "string",
      "description": "Unit of time for date range of query; with \"span\", determines queried date range.",
      "enum": [
        "quarter",
        "month",
        "week",
        "day",
        "hour",
        "minute"
      ],
      "example": "quarter"
    },
    "valueFormat": {
      "type": "string",
      "description": "How to format values for the query",
      "enum": [
        "duration",
        "percent"
      ],
      "example": "duration"
    },
    "yAxis": {
      "type": "string",
      "description": "How to display series in the y-Axis of the chart.",
      "enum": [
        "overlap",
        "stacked",
        "ratio"
      ],
      "example": "overlap"
    }
  },
  "required": [
    "name",
    "span",
    "unit"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amplify-platform-custom-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.