Stripe · Capability

Stripe Reporting API — Reporting

Stripe Reporting API — Reporting. 5 operations. Lead operation: Reporting. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeReporting

What You Can Do

GET
Getreportingreportruns

Returns a list of Report Runs, with the most recent appearing first.

/v1/v1/reporting/report-runs
POST
Postreportingreportruns

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

/v1/v1/reporting/report-runs
GET
Getreportingreportrunsreportrun

Retrieves the details of an existing Report Run.

/v1/v1/reporting/report-runs/{report-run}
GET
Getreportingreporttypes

Returns a full list of Report Types.

/v1/v1/reporting/report-types
GET
Getreportingreporttypesreporttype

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

/v1/v1/reporting/report-types/{report-type}

MCP Tools

p-returns-list-report-runs-most

Returns a list of Report Runs, with the most recent appearing first.

read-only idempotent
p-creates-new-object-and-begin

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

p-retrieves-details-existing-report-run

Retrieves the details of an existing Report Run.

read-only idempotent
p-returns-full-list-report-types

Returns a full list of Report Types.

read-only idempotent
p-retrieves-details-report-type-certain

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

read-only idempotent

Capability Spec

reporting-reporting.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Reporting API — Reporting
  description: 'Stripe Reporting API — Reporting. 5 operations. Lead operation: Reporting. Self-contained Naftiko capability
    covering one Stripe business surface.'
  tags:
  - Stripe
  - Reporting
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: reporting-reporting
    baseUri: https://api.stripe.com
    description: Stripe Reporting API — Reporting business capability. Self-contained, no shared references.
    resources:
    - name: v1-reporting-report_runs
      path: /v1/reporting/report_runs
      operations:
      - name: getreportingreportruns
        method: GET
        description: <p>Returns a list of Report Runs, with the most recent appearing first.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created
          in: query
          type: string
        - name: ending_before
          in: query
          type: string
          description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 ob
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: limit
          in: query
          type: integer
          description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default
            is 10.
        - name: starting_after
          in: query
          type: string
          description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 o
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postreportingreportruns
        method: POST
        description: <p>Creates a new object and begin running the report. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
          API key</a>.)</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-reporting-report_runs-report_run
      path: /v1/reporting/report_runs/{report_run}
      operations:
      - name: getreportingreportrunsreportrun
        method: GET
        description: <p>Retrieves the details of an existing Report Run.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: report_run
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-reporting-report_types
      path: /v1/reporting/report_types
      operations:
      - name: getreportingreporttypes
        method: GET
        description: <p>Returns a full list of Report Types.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-reporting-report_types-report_type
      path: /v1/reporting/report_types/{report_type}
      operations:
      - name: getreportingreporttypesreporttype
        method: GET
        description: <p>Retrieves the details of a Report Type. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
          API key</a>.)</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: report_type
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: reporting-reporting-rest
    port: 8080
    description: REST adapter for Stripe Reporting API — Reporting. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/reporting/report-runs
      name: v1-reporting-report-runs
      description: REST surface for v1-reporting-report_runs.
      operations:
      - method: GET
        name: getreportingreportruns
        description: <p>Returns a list of Report Runs, with the most recent appearing first.</p>
        call: reporting-reporting.getreportingreportruns
        with:
          created: rest.created
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postreportingreportruns
        description: <p>Creates a new object and begin running the report. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
          API key</a>.)</p>
        call: reporting-reporting.postreportingreportruns
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reporting/report-runs/{report-run}
      name: v1-reporting-report-runs-report-run
      description: REST surface for v1-reporting-report_runs-report_run.
      operations:
      - method: GET
        name: getreportingreportrunsreportrun
        description: <p>Retrieves the details of an existing Report Run.</p>
        call: reporting-reporting.getreportingreportrunsreportrun
        with:
          expand: rest.expand
          report_run: rest.report_run
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reporting/report-types
      name: v1-reporting-report-types
      description: REST surface for v1-reporting-report_types.
      operations:
      - method: GET
        name: getreportingreporttypes
        description: <p>Returns a full list of Report Types.</p>
        call: reporting-reporting.getreportingreporttypes
        with:
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reporting/report-types/{report-type}
      name: v1-reporting-report-types-report-type
      description: REST surface for v1-reporting-report_types-report_type.
      operations:
      - method: GET
        name: getreportingreporttypesreporttype
        description: <p>Retrieves the details of a Report Type. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
          API key</a>.)</p>
        call: reporting-reporting.getreportingreporttypesreporttype
        with:
          expand: rest.expand
          report_type: rest.report_type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: reporting-reporting-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Reporting API — Reporting. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: p-returns-list-report-runs-most
      description: <p>Returns a list of Report Runs, with the most recent appearing first.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reporting.getreportingreportruns
      with:
        created: tools.created
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-creates-new-object-and-begin
      description: <p>Creates a new object and begin running the report. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
        API key</a>.)</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: reporting-reporting.postreportingreportruns
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-details-existing-report-run
      description: <p>Retrieves the details of an existing Report Run.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reporting.getreportingreportrunsreportrun
      with:
        expand: tools.expand
        report_run: tools.report_run
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-returns-full-list-report-types
      description: <p>Returns a full list of Report Types.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reporting.getreportingreporttypes
      with:
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-details-report-type-certain
      description: <p>Retrieves the details of a Report Type. (Certain report types require a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode
        API key</a>.)</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reporting.getreportingreporttypesreporttype
      with:
        expand: tools.expand
        report_type: tools.report_type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.