Axway · Capability

Amplify Platform API v1.0.0 — analytics

Amplify Platform API v1.0.0 — analytics. 7 operations. Lead operation: Axway Find Custom Queries. Self-contained Naftiko capability covering one Axway business surface.

Run with Naftiko Axwayanalytics

What You Can Do

GET
Analyticscustomfind — Axway Find Custom Queries
/v1/analytics/custom-queries
GET
Analyticscustomfindone — Axway Get Custom Query
/v1/analytics/custom-queries/{query-id}
POST
Analyticscustomcreate — Axway Create a Custom Query
/v1/analytics/custom-query
DELETE
Analyticscustomremove — Axway Delete a Custom Query
/v1/analytics/custom-query/{query-id}
PUT
Analyticscustomupdate — Axway Update a Custom Query
/v1/analytics/custom-query/{query-id}
POST
Analyticserror — Axway Report an Error
/v1/analytics/error
GET
Analyticsquery — Axway Analytics Query Using Lexus
/v1/analytics/query

MCP Tools

axway-find-custom-queries

Axway Find Custom Queries

read-only idempotent
axway-get-custom-query

Axway Get Custom Query

read-only idempotent
axway-create-custom-query

Axway Create a Custom Query

read-only
axway-delete-custom-query

Axway Delete a Custom Query

idempotent
axway-update-custom-query

Axway Update a Custom Query

idempotent
axway-report-error

Axway Report an Error

axway-analytics-query-using-lexus

Axway Analytics Query Using Lexus

read-only idempotent

Capability Spec

amplify-platform-analytics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amplify Platform API v1.0.0 — analytics
  description: 'Amplify Platform API v1.0.0 — analytics. 7 operations. Lead operation: Axway Find Custom Queries. Self-contained
    Naftiko capability covering one Axway business surface.'
  tags:
  - Axway
  - analytics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AXWAY_API_KEY: AXWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: amplify-platform-analytics
    baseUri: https://platform.axway.com/api/v1
    description: Amplify Platform API v1.0.0 — analytics business capability. Self-contained, no shared references.
    resources:
    - name: analytics-custom_queries
      path: /analytics/custom_queries
      operations:
      - name: analyticscustomfind
        method: GET
        description: Axway Find Custom Queries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: query
          type: integer
    - name: analytics-custom_queries-query_id
      path: /analytics/custom_queries/{query_id}
      operations:
      - name: analyticscustomfindone
        method: GET
        description: Axway Get Custom Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query_id
          in: path
          type: string
          required: true
        - name: org_id
          in: query
          type: string
    - name: analytics-custom_query
      path: /analytics/custom_query
      operations:
      - name: analyticscustomcreate
        method: POST
        description: Axway Create a Custom Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: query
          type: integer
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: analytics-custom_query-query_id
      path: /analytics/custom_query/{query_id}
      operations:
      - name: analyticscustomremove
        method: DELETE
        description: Axway Delete a Custom Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query_id
          in: path
          type: string
          required: true
        - name: org_id
          in: query
          type: integer
      - name: analyticscustomupdate
        method: PUT
        description: Axway Update a Custom Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query_id
          in: path
          type: string
          required: true
        - name: org_id
          in: query
          type: integer
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: analytics-error
      path: /analytics/error
      operations:
      - name: analyticserror
        method: POST
        description: Axway Report an Error
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: analytics-query
      path: /analytics/query
      operations:
      - name: analyticsquery
        method: GET
        description: Axway Analytics Query Using Lexus
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apim_tier
          in: query
          type: string
        - name: app_guid
          in: query
          type: string
        - name: clients
          in: query
          type: array
        - name: cross_org
          in: query
          type: boolean
        - name: custom_query
          in: query
          type: string
        - name: debug
          in: query
          type: boolean
        - name: endpoint
          in: query
          type: string
        - name: events
          in: query
          type: string
        - name: field
          in: query
          type: string
        - name: from
          in: query
          type: number
        - name: granularity
          in: query
          type: string
        - name: group_by
          in: query
          type: string
        - name: grquantity
          in: query
          type: number
        - name: include_query
          in: query
          type: string
        - name: org_id
          in: query
          type: string
        - name: platform
          in: query
          type: string
        - name: post_process
          in: query
          type: boolean
        - name: prefix
          in: query
          type: string
        - name: preprocessor
          in: query
          type: string
        - name: processor
          in: query
          type: string
        - name: query
          in: query
          type: string
          required: true
        - name: region
          in: query
          type: string
        - name: status
          in: query
          type: string
        - name: to
          in: query
          type: number
        - name: type
          in: query
          type: string
        - name: username
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.AXWAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: amplify-platform-analytics-rest
    port: 8080
    description: REST adapter for Amplify Platform API v1.0.0 — analytics. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/analytics/custom-queries
      name: analytics-custom-queries
      description: REST surface for analytics-custom_queries.
      operations:
      - method: GET
        name: analyticscustomfind
        description: Axway Find Custom Queries
        call: amplify-platform-analytics.analyticscustomfind
        with:
          org_id: rest.org_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/analytics/custom-queries/{query-id}
      name: analytics-custom-queries-query-id
      description: REST surface for analytics-custom_queries-query_id.
      operations:
      - method: GET
        name: analyticscustomfindone
        description: Axway Get Custom Query
        call: amplify-platform-analytics.analyticscustomfindone
        with:
          query_id: rest.query_id
          org_id: rest.org_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/analytics/custom-query
      name: analytics-custom-query
      description: REST surface for analytics-custom_query.
      operations:
      - method: POST
        name: analyticscustomcreate
        description: Axway Create a Custom Query
        call: amplify-platform-analytics.analyticscustomcreate
        with:
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/analytics/custom-query/{query-id}
      name: analytics-custom-query-query-id
      description: REST surface for analytics-custom_query-query_id.
      operations:
      - method: DELETE
        name: analyticscustomremove
        description: Axway Delete a Custom Query
        call: amplify-platform-analytics.analyticscustomremove
        with:
          query_id: rest.query_id
          org_id: rest.org_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: analyticscustomupdate
        description: Axway Update a Custom Query
        call: amplify-platform-analytics.analyticscustomupdate
        with:
          query_id: rest.query_id
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/analytics/error
      name: analytics-error
      description: REST surface for analytics-error.
      operations:
      - method: POST
        name: analyticserror
        description: Axway Report an Error
        call: amplify-platform-analytics.analyticserror
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/analytics/query
      name: analytics-query
      description: REST surface for analytics-query.
      operations:
      - method: GET
        name: analyticsquery
        description: Axway Analytics Query Using Lexus
        call: amplify-platform-analytics.analyticsquery
        with:
          apim_tier: rest.apim_tier
          app_guid: rest.app_guid
          clients: rest.clients
          cross_org: rest.cross_org
          custom_query: rest.custom_query
          debug: rest.debug
          endpoint: rest.endpoint
          events: rest.events
          field: rest.field
          from: rest.from
          granularity: rest.granularity
          group_by: rest.group_by
          grquantity: rest.grquantity
          include_query: rest.include_query
          org_id: rest.org_id
          platform: rest.platform
          post_process: rest.post_process
          prefix: rest.prefix
          preprocessor: rest.preprocessor
          processor: rest.processor
          query: rest.query
          region: rest.region
          status: rest.status
          to: rest.to
          type: rest.type
          username: rest.username
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amplify-platform-analytics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amplify Platform API v1.0.0 — analytics. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: axway-find-custom-queries
      description: Axway Find Custom Queries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amplify-platform-analytics.analyticscustomfind
      with:
        org_id: tools.org_id
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-get-custom-query
      description: Axway Get Custom Query
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amplify-platform-analytics.analyticscustomfindone
      with:
        query_id: tools.query_id
        org_id: tools.org_id
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-create-custom-query
      description: Axway Create a Custom Query
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amplify-platform-analytics.analyticscustomcreate
      with:
        org_id: tools.org_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-delete-custom-query
      description: Axway Delete a Custom Query
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amplify-platform-analytics.analyticscustomremove
      with:
        query_id: tools.query_id
        org_id: tools.org_id
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-update-custom-query
      description: Axway Update a Custom Query
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amplify-platform-analytics.analyticscustomupdate
      with:
        query_id: tools.query_id
        org_id: tools.org_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-report-error
      description: Axway Report an Error
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amplify-platform-analytics.analyticserror
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: axway-analytics-query-using-lexus
      description: Axway Analytics Query Using Lexus
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amplify-platform-analytics.analyticsquery
      with:
        apim_tier: tools.apim_tier
        app_guid: tools.app_guid
        clients: tools.clients
        cross_org: tools.cross_org
        custom_query: tools.custom_query
        debug: tools.debug
        endpoint: tools.endpoint
        events: tools.events
        field: tools.field
        from: tools.from
        granularity: tools.granularity
        group_by: tools.group_by
        grquantity: tools.grquantity
        include_query: tools.include_query
        org_id: tools.org_id
        platform: tools.platform
        post_process: tools.post_process
        prefix: tools.prefix
        preprocessor: tools.preprocessor
        processor: tools.processor
        query: tools.query
        region: tools.region
        status: tools.status
        to: tools.to
        type: tools.type
        username: tools.username
      outputParameters:
      - type: object
        mapping: $.