Snapvisor Analytics API

Retrieve account-level build and screenshot metrics over time.

GitHub OpenAPI

Operations 1

GET /accounts/{accountSlug}/analytics Get account analytics #

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/snapvisor-io:snapvisor-io-analytics-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

snapvisor-io-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snapvisor Analytics API
  version: 2.0.0
  contact:
    name: Snapvisor Support
    url: https://snapvisor.io
    email: support@snapvisor.io
  termsOfService: https://snapvisor.io/terms
  description: Retrieve account-level build and screenshot metrics over time.
servers:
- url: https://api.snapvisor.io/v2
  description: API Endpoint
security:
- projectToken: []
tags:
- name: Analytics
  description: Retrieve account-level build and screenshot metrics over time.
  x-page-icon: chart-no-axes-combined
paths:
  /accounts/{accountSlug}/analytics:
    get:
      operationId: getAccountAnalytics
      summary: Get account analytics
      description: Retrieve build and screenshot metrics for an account. The personal access token must be scoped to the account. Use it when asked how many builds or screenshots an account produced over a period, or how that usage is trending.
      tags:
      - Analytics
      security:
      - personalAccessToken: []
      - oauth2:
        - projects:read
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
          description: Slug of the account to retrieve analytics for.
        required: true
        description: Slug of the account to retrieve analytics for.
      - in: query
        name: from
        schema:
          description: Start of the analytics period. Accepts a full ISO 8601 datetime (`2026-09-01T09:30:00Z`) or a date on its own (`2026-09-01`). A date on its own starts at 00:00:00.000 UTC on that day.
          type: string
        required: true
        description: Start of the analytics period. Accepts a full ISO 8601 datetime (`2026-09-01T09:30:00Z`) or a date on its own (`2026-09-01`). A date on its own starts at 00:00:00.000 UTC on that day.
      - in: query
        name: to
        schema:
          description: End of the analytics period, inclusive. Accepts a full ISO 8601 datetime (`2026-09-01T09:30:00Z`) or a date on its own (`2026-09-01`). A date on its own ends at 23:59:59.999 UTC on that day. Defaults to the current time.
          type: string
        description: End of the analytics period, inclusive. Accepts a full ISO 8601 datetime (`2026-09-01T09:30:00Z`) or a date on its own (`2026-09-01`). A date on its own ends at 23:59:59.999 UTC on that day. Defaults to the current time.
      - in: query
        name: groupBy
        schema:
          type: string
          enum:
          - day
          - week
          - month
          description: Time period used to group each series data point.
        required: true
        description: Time period used to group each series data point.
      - in: query
        name: projectNames
        schema:
          description: Optional project name filter. Pass one value or repeat the parameter for multiple projects.
          anyOf:
          - type: string
            minLength: 1
            maxLength: 100
            pattern: ^[a-zA-Z0-9_\-.]+$
          - type: array
            items:
              type: string
              minLength: 1
              maxLength: 100
              pattern: ^[a-zA-Z0-9_\-.]+$
        description: Optional project name filter. Pass one value or repeat the parameter for multiple projects.
      responses:
        '200':
          description: Account analytics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountAnalytics'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
components:
  schemas:
    AccountAnalytics:
      type: object
      properties:
        screenshots:
          type: object
          properties:
            series:
              type: array
              items:
                type: object
                properties:
                  total:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  projects:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                    description: Counts keyed by project ID. Use the sibling `projects` array to resolve each project name.
                  ts:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: Unix timestamp in milliseconds at the start of the period.
                required:
                - total
                - projects
                - ts
                additionalProperties: false
            all:
              type: object
              properties:
                total:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                projects:
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  description: Counts keyed by project ID. Use the sibling `projects` array to resolve each project name.
              required:
              - total
              - projects
              additionalProperties: false
            projects:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                    minLength: 1
                    maxLength: 100
                    pattern: ^[a-zA-Z0-9_\-.]+$
                required:
                - id
                - name
                additionalProperties: false
          required:
          - series
          - all
          - projects
          additionalProperties: false
        builds:
          type: object
          properties:
            series:
              type: array
              items:
                type: object
                properties:
                  total:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  projects:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                    description: Counts keyed by project ID. Use the sibling `projects` array to resolve each project name.
                  changesDetected:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  noChanges:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  accepted:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  rejected:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  ts:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: Unix timestamp in milliseconds at the start of the period.
                required:
                - total
                - projects
                - changesDetected
                - noChanges
                - accepted
                - rejected
                - ts
                additionalProperties: false
            all:
              type: object
              properties:
                total:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                projects:
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  description: Counts keyed by project ID. Use the sibling `projects` array to resolve each project name.
                changesDetected:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                noChanges:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                accepted:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                rejected:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
              required:
              - total
              - projects
              - changesDetected
              - noChanges
              - accepted
              - rejected
              additionalProperties: false
            projects:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                    minLength: 1
                    maxLength: 100
                    pattern: ^[a-zA-Z0-9_\-.]+$
                required:
                - id
                - name
                additionalProperties: false
          required:
          - series
          - all
          - projects
          additionalProperties: false
      required:
      - screenshots
      - builds
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
            - message
            additionalProperties: false
      required:
      - error
      additionalProperties: false
      description: Error response
  securitySchemes:
    projectToken:
      type: http
      scheme: bearer
      bearerFormat: Project Token
      description: 'Authenticate as a **project** with a project token.


        Send it as a bearer token in the `Authorization` header:


        ```http

        Authorization: Bearer <project-token>

        ```


        You can find your project token in your Snapvisor project settings.

        Project tokens are used by CI and the SDK to create builds and

        deployments.'
    personalAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Personal Access Token
      description: 'Authenticate as a **user** with a personal access token.


        Send it as a bearer token in the `Authorization` header:


        ```http

        Authorization: Bearer <personal-access-token>

        ```


        Personal access tokens act on behalf of the user that created them

        and are required by endpoints that perform user actions, such as

        reviewing builds and posting comments.'
    oauth2:
      type: oauth2
      description: 'Authenticate as a **user** via an OAuth 2.1 access token obtained

        through the authorization-code (+ PKCE) flow. Used by the CLI and by

        MCP clients/agents. The token acts on behalf of the authorizing user,

        limited to the granted scopes and organizations.'
      flows:
        authorizationCode:
          authorizationUrl: https://app.snapvisor.io/oauth/authorize
          tokenUrl: https://app.snapvisor.io/oauth/token
          refreshUrl: https://app.snapvisor.io/oauth/token
          scopes:
            profile: Read your Snapvisor profile and the list of teams you belong to.
            projects:read: Read your projects, builds, screenshots, diffs, tests, and analytics.
            projects:write: Create and configure projects and their settings.
            builds:write: Create and upload builds and screenshots.
            reviews:write: Approve, reject, or dismiss build reviews and ignore changes.
            comments:read: Read build comments and threads.
            comments:write: Post, edit, and delete comments, add reactions, and manage subscriptions.
            media:read: Read the images and videos uploaded to your teams.
            media:write: Upload images and videos, and delete the ones already uploaded.
            account:admin: Manage organization settings and members.
            data:delete: Delete projects, media and comments, transfer projects and remove contributors. Each deletion is confirmed once by the agent.
            billing:manage: Start a checkout, open the billing portal, cancel, resume or refund a team subscription, and set spend limits.
            account:manage: Edit your profile, emails, notification preferences, sessions and passkeys, export your data, and delete your account.
            connections:manage: Connect, verify and disconnect GitHub, GitLab, Slack, Discord and Microsoft Teams, and link repositories to projects.
            support:write: Open support requests on your behalf.
            keys:manage: Create, rotate and revoke personal access tokens, project upload tokens and authorized apps.
externalDocs:
  description: Snapvisor API reference
  url: https://snapvisor.io/docs/api-reference
x-gitbook-mcp-url: https://mcp.snapvisor.io