Revinho Workspace reports API

Authenticated, read-only workspace intelligence.

GitHub OpenAPI

Operations 6

GET /api/v1/workspaces/{workspaceSlug}/overview Get the business overview #
GET /api/v1/workspaces/{workspaceSlug}/growth Get acquisition performance #
GET /api/v1/workspaces/{workspaceSlug}/funnels Get saved GA4 journeys #
GET /api/v1/workspaces/{workspaceSlug}/pages Get page intelligence #
GET /api/v1/workspaces/{workspaceSlug}/revenue Get Stripe revenue intelligence #
GET /api/v1/workspaces/{workspaceSlug}/opportunities Get ranked opportunities #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/revinho-com:revinho-com-workspace-reports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

revinho-com-workspace-reports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Revinho Developer Workspace reports API
  version: 1.0.0
  description: Read-only, workspace-scoped access to Revinho business-intelligence reports. Stripe is the source of truth for revenue. Preserve verified, modeled, and associated attribution labels, and do not describe association as causation.
  contact:
    name: Revinho developer support
    email: hello@revinho.com
servers:
- url: https://www.revinho.com
  description: Production
tags:
- name: Workspace reports
  description: Authenticated, read-only workspace intelligence.
paths:
  /api/v1/workspaces/{workspaceSlug}/overview:
    get:
      operationId: getWorkspaceOverview
      summary: Get the business overview
      description: Returns headline metrics, previous-period comparisons, trends, acquisition context, and top deterministic insights.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      - $ref: '#/components/parameters/Range'
      - $ref: '#/components/parameters/Comparison'
      - $ref: '#/components/parameters/Filters'
      - $ref: '#/components/parameters/Funnel'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: overview
                    data:
                      $ref: '#/components/schemas/OverviewData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /api/v1/workspaces/{workspaceSlug}/growth:
    get:
      operationId: getWorkspaceGrowth
      summary: Get acquisition performance
      description: Returns channels, sources, campaigns, organic search demand, page acquisition, and daily traffic trends.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      - $ref: '#/components/parameters/Range'
      - $ref: '#/components/parameters/Comparison'
      - $ref: '#/components/parameters/Filters'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: growth
                    data:
                      $ref: '#/components/schemas/GrowthData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /api/v1/workspaces/{workspaceSlug}/funnels:
    get:
      operationId: getWorkspaceFunnels
      summary: Get saved GA4 journeys
      description: Returns available funnel definitions and step-by-step performance for the selected GA4 journey.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      - $ref: '#/components/parameters/Range'
      - $ref: '#/components/parameters/Funnel'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: funnels
                    data:
                      $ref: '#/components/schemas/FunnelsData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /api/v1/workspaces/{workspaceSlug}/pages:
    get:
      operationId: getWorkspacePages
      summary: Get page intelligence
      description: Returns page traffic, key events, conversion, Search Console demand, classifications, and source freshness.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      - $ref: '#/components/parameters/Range'
      - $ref: '#/components/parameters/Comparison'
      - $ref: '#/components/parameters/Filters'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: pages
                    data:
                      $ref: '#/components/schemas/PagesData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /api/v1/workspaces/{workspaceSlug}/revenue:
    get:
      operationId: getWorkspaceRevenue
      summary: Get Stripe revenue intelligence
      description: Returns Stripe-sourced revenue, refunds, MRR, subscriptions, customers, plans, countries, and currency-conversion metadata.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      - $ref: '#/components/parameters/Range'
      - $ref: '#/components/parameters/Comparison'
      - $ref: '#/components/parameters/Filters'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: revenue
                    data:
                      $ref: '#/components/schemas/RevenueData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /api/v1/workspaces/{workspaceSlug}/opportunities:
    get:
      operationId: getWorkspaceOpportunities
      summary: Get ranked opportunities
      description: Returns up to 30 active deterministic insights with score, severity, evidence, attribution quality, and reporting period.
      tags:
      - Workspace reports
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceSlug'
      responses:
        '200':
          description: A workspace-scoped report envelope. Data can be partial when a provider is unavailable.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ReportEnvelope'
                - type: object
                  properties:
                    resource:
                      const: opportunities
                    data:
                      $ref: '#/components/schemas/OpportunitiesData'
        '400':
          description: The reporting filters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The bearer token is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The workspace or report resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: The shared per-token request limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: The report could not be generated because of an unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    GrowthData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        range: {}
        totals: {}
        channels: {}
        sources: {}
        campaigns: {}
        countries: {}
        organicQueries: {}
        pages: {}
        trend: {}
        sourceTrend: {}
        latestRun: {}
        filterApplicability: {}
      additionalProperties: true
    OpportunitiesData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        period: {}
        insights: {}
        hasSearchConsole: {}
      additionalProperties: true
    ReportEnvelope:
      type: object
      required:
      - workspace
      - resource
      - generatedAt
      - data
      - filters
      - annotations
      - annotationBoundary
      properties:
        workspace:
          type: string
        resource:
          type: string
          enum:
          - overview
          - growth
          - funnels
          - pages
          - revenue
          - opportunities
        range:
          type: string
          description: Normalized range. Omitted for opportunities.
        comparison:
          type: string
          description: Normalized comparison selection. Omitted for opportunities and funnels.
        generatedAt:
          type: string
          format: date-time
          description: Response generation time, not provider-data freshness.
        data:
          type:
          - object
          - 'null'
          additionalProperties: true
        filters:
          type: object
          additionalProperties: true
        annotations:
          type: array
          items:
            type: object
            additionalProperties: true
        annotationBoundary:
          type: string
    FunnelsData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        property: {}
        period: {}
        funnels: {}
        selectedFunnel: {}
        report: {}
        error: {}
      additionalProperties: true
    OverviewData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        currency: {}
        ready: {}
        missing: {}
        period: {}
        metrics: {}
        insights: {}
        trend: {}
        acquisition: {}
        funnel: {}
        lastUpdatedAt: {}
        filterApplicability: {}
      additionalProperties: true
    RevenueData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        range: {}
        totals: {}
        mrr: {}
        activeSubscriptions: {}
        trend: {}
        revenueStreams: {}
        plans: {}
        countries: {}
        customerMix: {}
        conversion: {}
        nativeTotals: {}
        latestRun: {}
        filterApplicability: {}
      additionalProperties: true
    PagesData:
      type:
      - object
      - 'null'
      description: Resource-specific report data. Provider availability and filters determine which optional fields are present.
      properties:
        workspace: {}
        ga: {}
        searchConsole: {}
        range: {}
        pages: {}
        latestSearchDate: {}
        filterOptions: {}
        filterApplicability: {}
      additionalProperties: true
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - resolution
          properties:
            code:
              type: string
              enum:
              - invalid_filters
              - unauthorized
              - not_found
              - rate_limited
              - method_not_allowed
              - server_error
            message:
              type: string
            resolution:
              type: string
            retryAfterSeconds:
              type: integer
              minimum: 1
  parameters:
    WorkspaceSlug:
      name: workspaceSlug
      in: path
      required: true
      description: Workspace slug from the Revinho app URL. It must match the token's workspace.
      schema:
        type: string
        minLength: 1
    Filters:
      name: filters
      in: query
      required: false
      description: URL-encoded reporting-filter JSON with up to 4 groups, 8 clauses per group, and 20 values per clause.
      schema:
        type: string
        maxLength: 8000
    Range:
      name: range
      in: query
      required: false
      description: Reporting window. Presets use measured days; custom REST intervals use inclusive UTC dates. Defaults to 30d.
      schema:
        type: string
        pattern: ^(7d|30d|90d|mtd|custom:[0-9]{4}-[0-9]{2}-[0-9]{2}:[0-9]{4}-[0-9]{2}-[0-9]{2})$
        default: 30d
    Funnel:
      name: funnel
      in: query
      required: false
      description: A funnel ID returned by the API, such as preset:purchase or custom:<id>.
      schema:
        type: string
    Comparison:
      name: compare
      in: query
      required: false
      description: Comparison baseline. Custom intervals must be earlier than and equal in duration to the selected range.
      schema:
        type: string
        pattern: ^(previous_period|previous_year|none|custom:[0-9]{4}-[0-9]{2}-[0-9]{2}:[0-9]{4}-[0-9]{2}-[0-9]{2})$
        default: previous_period
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: rv_live_ token
      description: Create a revocable, workspace-scoped token from Setup your agent in Revinho.
externalDocs:
  description: Revinho REST API, authentication, MCP, filters, and interpretation documentation
  url: https://www.revinho.com/docs
x-revinho-mcp:
  endpoint: https://www.revinho.com/api/mcp
  transport: Streamable HTTP
  authentication: Bearer rv_live_<token>
  documentation: https://www.revinho.com/docs#mcp
  note: MCP uses the same workspace-scoped token and shared rate limit as REST.