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:
Returns a list of Report Runs, with the most recent appearing first.
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:Creates a new object and begin running the report. (Certain report types require a live-mode API key.)
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:Retrieves the details of an existing Report Run.
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:Returns a full list of Report Types.
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:Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)
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:Returns a list of Report Runs, with the most recent appearing first.
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:Creates a new object and begin running the report. (Certain report types require a live-mode API key.)
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:Retrieves the details of an existing Report Run.
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:Returns a full list of Report Types.
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:Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)
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:Returns a list of Report Runs, with the most recent appearing first.
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:Creates a new object and begin running the report. (Certain report types require a live-mode API key.)
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:Retrieves the details of an existing Report Run.
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:Returns a full list of Report Types.
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:Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)
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: $.