APIContext · Capability

APIContext Platform API — Reports

APIContext Platform API — Reports. 2 operations. Lead operation: List reports. Self-contained Naftiko capability covering one business surface.

APIContext Platform API — Reports is a Naftiko capability published by APIContext, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the GET method rooted at /v1/reports.

The capability includes 2 read-only operations. Lead operation: List reports. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include APIContext and Reports.

Run with Naftiko APIContextReports

What You Can Do

GET
Listreports — List reports
/v1/reports/
GET
Getreport — Get a report
/v1/reports/{report_id}

MCP Tools

apicontext-listreports

List reports

read-only idempotent
apicontext-getreport

Get a report

read-only idempotent

Capability Spec

platform-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIContext Platform API — Reports
  description: 'APIContext Platform API — Reports. 2 operations. Lead operation: List reports. Self-contained Naftiko capability covering one business surface.'
  tags:
  - APIContext
  - Reports
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    APICONTEXT_API_KEY: APICONTEXT_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-reports
    baseUri: https://client.apimetrics.io/api/2
    description: APIContext Platform API — Reports business capability. Self-contained, no shared references.
    resources:
    - name: reports
      path: /reports/
      operations:
      - name: listreports
        method: GET
        description: List reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
    - name: reports-report-id
      path: /reports/{report_id}
      operations:
      - name: getreport
        method: GET
        description: Get a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: report_id
          in: path
          type: string
          description: path parameter report_id.
          required: true
  exposes:
  - type: rest
    namespace: platform-reports-rest
    port: 8080
    description: REST adapter for APIContext Platform API — Reports. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/reports/
      name: reports
      description: REST surface for reports.
      operations:
      - method: GET
        name: listreports
        description: List reports
        call: platform-reports.listreports
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{report_id}
      name: reports-report-id
      description: REST surface for reports-report-id.
      operations:
      - method: GET
        name: getreport
        description: Get a report
        call: platform-reports.getreport
        with:
          report_id: rest.report_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIContext Platform API — Reports. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: apicontext-listreports
      description: List reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-reports.listreports
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-getreport
      description: Get a report
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-reports.getreport
      with:
        report_id: tools.report_id
      outputParameters:
      - type: object
        mapping: $.