Snapvisor Reviews API

Submit, list, and dismiss reviews to approve or reject the changes captured in a build.

GitHub OpenAPI

Operations 6

GET /projects/{owner}/{project}/builds/{buildNumber}/reviews List the reviews submitted on a build #
POST /projects/{owner}/{project}/builds/{buildNumber}/reviews Create a review on a build #
GET /projects/{owner}/{project}/builds/{buildNumber}/reviewers List a build's requested reviewers #
POST /projects/{owner}/{project}/builds/{buildNumber}/reviewers Request reviewers on a build #
DELETE /projects/{owner}/{project}/builds/{buildNumber}/reviewers Cancel review requests on a build #
POST /projects/{owner}/{project}/builds/{buildNumber}/reviews/{reviewId}/dismiss Dismiss a submitted review on a build #

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-reviews-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-reviews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snapvisor Reviews API
  version: 2.0.0
  contact:
    name: Snapvisor Support
    url: https://snapvisor.io
    email: support@snapvisor.io
  termsOfService: https://snapvisor.io/terms
  description: Submit, list, and dismiss reviews to approve or reject the changes captured in a build.
servers:
- url: https://api.snapvisor.io/v2
  description: API Endpoint
security:
- projectToken: []
tags:
- name: Reviews
  description: Submit, list, and dismiss reviews to approve or reject the changes captured in a build.
  x-page-icon: clipboard-check
paths:
  /projects/{owner}/{project}/builds/{buildNumber}/reviews:
    get:
      operationId: listReviews
      summary: List the reviews submitted on a build
      description: List the reviews submitted on a build, with pagination. Use it to see who approved or rejected a build, and when. Also useful after `createReview` to verify a review was recorded, or to check if a build has already been reviewed before submitting a duplicate.
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - projects:read
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      responses:
        '200':
          description: Build reviews
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BuildReview'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
    post:
      operationId: createReview
      x-mcp:
        covers:
        - graphql:createBuildReview
      summary: Create a review on a build
      description: 'Submit a review on a build to approve or reject the changes it captured. Use `APPROVE` to accept all changes as the new baseline, or `REJECT` to flag them for rework. Optionally pass per-screenshot decisions in `snapshots`. Confirm with the user first: the decision is reported to GitHub or GitLab, where it can unblock or block a merge. A project can require a person to approve: an approval sent with an access token (this API or the MCP server) is then refused with a 403, so ask the user to approve the build themselves in Snapvisor; rejections still work, and so do comments, except one that would replace the same user''s own rejection. A token cannot switch that rule off either.


        Use it after reviewing diffs to approve or reject a build.'
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - reviews:write
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                event:
                  description: 'Review event to apply to the build: "APPROVE", "REJECT" or "COMMENT". Required when `conclusion` is not provided.'
                  type: string
                  enum:
                  - APPROVE
                  - REJECT
                  - COMMENT
                conclusion:
                  deprecated: true
                  description: 'Deprecated: use `event` instead. Overall review conclusion for the build: "APPROVE" or "REQUEST_CHANGES".'
                  type: string
                  enum:
                  - APPROVE
                  - REQUEST_CHANGES
                body:
                  description: Optional comment to attach to the review. Either Markdown text or the JSON representation of a rich-text document.
                snapshots:
                  default: []
                  description: Optional per-snapshot review decisions. When omitted, only the build-level review is recorded.
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The ID of the snapshot to review
                      conclusion:
                        type: string
                        enum:
                        - APPROVE
                        - REQUEST_CHANGES
                        description: 'Review conclusion for this individual snapshot: "APPROVE" or "REQUEST_CHANGES"'
                    required:
                    - id
                    - conclusion
      responses:
        '200':
          description: Review submitted successfully — returns the review
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildReview'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /projects/{owner}/{project}/builds/{buildNumber}/reviewers:
    get:
      operationId: listBuildReviewers
      summary: List a build's requested reviewers
      description: List the users currently requested to review a build. Requires view access to the project. Use it to check who has been asked to review a build. Check this before `addBuildReviewers` to avoid redundant requests.
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - projects:read
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      responses:
        '200':
          description: The users requested to review the build
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildReviewers'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
    post:
      operationId: addBuildReviewers
      x-mcp:
        covers:
        - graphql:addBuildReviewers
      summary: Request reviewers on a build
      description: 'Ask users to review a build. Each newly-requested reviewer is notified. Idempotent: users already requested are left untouched and not notified again. Users without access to the project are ignored, and you cannot request yourself. Use it when the user wants specific teammates to review a build.'
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - reviews:write
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userIds:
                  minItems: 1
                  maxItems: 100
                  type: array
                  items:
                    type: string
                  description: Identifiers of the users to act on — the `id` of a user as returned by `listBuildReviewers` or `getMe`.
              required:
              - userIds
      responses:
        '200':
          description: The users requested to review the build
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildReviewers'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
    delete:
      operationId: removeBuildReviewers
      x-mcp:
        covers:
        - graphql:removeBuildReviewers
      summary: Cancel review requests on a build
      description: Cancel the review requests standing on a build. Removing a user that was not requested is a no-op. Use it when a review request is no longer needed.
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - reviews:write
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userIds:
                  minItems: 1
                  maxItems: 100
                  type: array
                  items:
                    type: string
                  description: Identifiers of the users to act on — the `id` of a user as returned by `listBuildReviewers` or `getMe`.
              required:
              - userIds
      responses:
        '200':
          description: The users still requested to review the build
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildReviewers'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /projects/{owner}/{project}/builds/{buildNumber}/reviews/{reviewId}/dismiss:
    post:
      operationId: dismissReview
      x-mcp:
        covers:
        - graphql:dismissReview
      summary: Dismiss a submitted review on a build
      description: 'Dismiss a previously submitted review on a build, clearing its effect on the build''s review status. A project can require a person to approve: dismissing a rejection with an access token (this API or the MCP server) is then refused with a 403, so ask the user to dismiss it themselves in Snapvisor; dismissing an approval or a comment still works.


        Use it when a review was submitted by mistake or no longer reflects the build.'
      tags:
      - Reviews
      security:
      - personalAccessToken: []
      - oauth2:
        - reviews:write
      parameters:
      - in: path
        name: owner
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: project
        schema:
          type: string
          minLength: 1
        required: true
      - in: path
        name: buildNumber
        schema:
          $ref: '#/components/schemas/BuildNumberParam'
        required: true
        description: The build number
      - in: path
        name: reviewId
        schema:
          type: string
          description: The ID of the review
        required: true
        description: The ID of the review
      responses:
        '200':
          description: Review dismissed successfully — returns the review
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildReview'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          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:
    Agent:
      type: object
      properties:
        id:
          type: string
          description: Stable id of the agent, e.g. `claude-code`. `unknown` when it could not be identified.
        name:
          description: Name to display, e.g. `Claude Code`. Null for an agent we cannot name.
          type:
          - string
          - 'null'
      required:
      - id
      - name
      additionalProperties: false
      description: A coding agent acting on behalf of a user.
    User:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        name:
          type:
          - string
          - 'null'
      required:
      - id
      - slug
      - name
      additionalProperties: false
      description: A user.
    BuildReview:
      type: object
      properties:
        id:
          type: string
        buildId:
          type: string
        state:
          type: string
          enum:
          - approved
          - rejected
          - commented
          - pending
        user:
          anyOf:
          - $ref: '#/components/schemas/BuildReviewUser'
          - type: 'null'
          description: The user who submitted the review.
        dismissedAt:
          description: Date the review was dismissed, null if not dismissed.
          type:
          - string
          - 'null'
        dismissedBy:
          anyOf:
          - $ref: '#/components/schemas/BuildReviewUser'
          - type: 'null'
          description: The user who dismissed the review, if any.
        agent:
          anyOf:
          - $ref: '#/components/schemas/Agent'
          - type: 'null'
          description: The coding agent that submitted the review on the reviewer's behalf. Null when they submitted it themselves.
        date:
          type: string
          description: Date the review was created.
      required:
      - id
      - buildId
      - state
      - user
      - dismissedAt
      - dismissedBy
      - agent
      - date
      additionalProperties: false
      description: Build review
    BuildReviewers:
      type: object
      properties:
        reviewers:
          type: array
          items:
            $ref: '#/components/schemas/User'
          description: The users currently requested to review the build.
      required:
      - reviewers
      additionalProperties: false
      description: The review requests standing on a build.
    BuildReviewUser:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        name:
          type:
          - string
          - 'null'
      required:
      - id
      - slug
      - name
      additionalProperties: false
      description: A user
    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
    BuildNumberParam:
      description: The build number
      example: 42
      type: string
  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