Verta StageService API

The StageService API from Verta — 9 operation(s) for stageservice.

Operations 9

POST /stage/approveTransition #
POST /stage/closeTransition #
POST /stage/commitTransition Only a transition that has been approved can be commited. The user must have RW permission Similar to merging a PR #
POST /stage/createComment #
POST /stage/createTransition Anyone with RW permission on the model version can do any of these Note that the author of the transition cannot approve or reject it themselves (like in github) #
POST /stage/findActivities List objects from the db. Similar to the PR history #
POST /stage/findTransitions Similar to listing PRs by state #
POST /stage/rejectTransition #
POST /stage/updateStage Directly update the stage without going through approval. The user must have RW permission Similar to merging to master directly #

Specifications

Other Resources

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/verta-stageservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

verta-stageservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: deployment/APISync.proto AuthzService Stage Service API
  version: version not set
servers:
- url: /v1
tags:
- name: StageService
paths:
  /stage/approveTransition:
    post:
      operationId: StageService_ApproveTransition
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryApproveTransitionRequest'
        required: true
  /stage/closeTransition:
    post:
      operationId: StageService_CloseTransition
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryCloseTransitionRequest'
        required: true
  /stage/commitTransition:
    post:
      summary: 'Only a transition that has been approved can be commited. The user must have RW permission

        Similar to merging a PR'
      operationId: StageService_CommitTransition
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryCommitTransitionRequest'
        required: true
  /stage/createComment:
    post:
      operationId: StageService_CreateComment
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryCreateCommentRequest'
        required: true
  /stage/createTransition:
    post:
      summary: 'Anyone with RW permission on the model version can do any of these

        Note that the author of the transition cannot approve or reject it themselves (like in github)'
      operationId: StageService_CreateTransition
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryCreateTransitionRequest'
        required: true
  /stage/findActivities:
    post:
      summary: List objects from the db. Similar to the PR history
      operationId: StageService_FindActivities
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryFindActivitiesRequestResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryFindActivitiesRequest'
        required: true
  /stage/findTransitions:
    post:
      summary: Similar to listing PRs by state
      operationId: StageService_FindTransitions
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryFindTransitionsRequestResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryFindTransitionsRequest'
        required: true
  /stage/rejectTransition:
    post:
      operationId: StageService_RejectTransition
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryRejectTransitionRequest'
        required: true
  /stage/updateStage:
    post:
      summary: 'Directly update the stage without going through approval. The user must have RW permission

        Similar to merging to master directly'
      operationId: StageService_UpdateStage
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/registryActivity'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      tags:
      - StageService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/registryUpdateStageRequest'
        required: true
components:
  schemas:
    registryCloseOfTransition:
      type: object
    registryActivity:
      type: object
      properties:
        id:
          type: string
          format: uint64
        model_version_id:
          type: string
          format: uint64
        author_id:
          type: string
        time_created:
          type: string
          format: int64
          title: Track time
        comment:
          type: string
          title: Text provided by the user
        transition:
          $ref: '#/components/schemas/registryTransition'
          title: Effective oneof for the following fields (all might be missing and that's fine too)
        approval:
          $ref: '#/components/schemas/registryApprovalOfTransition'
        rejection:
          $ref: '#/components/schemas/registryRejectionOfTransition'
        close:
          $ref: '#/components/schemas/registryCloseOfTransition'
        update:
          $ref: '#/components/schemas/registryStageUpdate'
        activity_state:
          $ref: '#/components/schemas/TransitionStateEnumTransitionState'
          title: Activity state while the transition happen
    registryFindTransitionsRequest:
      type: object
      properties:
        registered_model_id:
          type: string
          format: uint64
          title: At least one of the following needs to be provided
        model_version_id:
          type: string
          format: uint64
        state:
          type: array
          items:
            $ref: '#/components/schemas/TransitionStateEnumTransitionState'
          title: Current state. If empty, return in any state
    registryCreateTransitionRequest:
      type: object
      properties:
        model_version_id:
          type: string
          format: uint64
        desired_stage:
          $ref: '#/components/schemas/StageEnumStage'
        comment:
          type: string
      title: Actions
    registryCommitTransitionRequest:
      type: object
      properties:
        transition_id:
          type: string
          format: uint64
        comment:
          type: string
    registryApprovalOfTransition:
      type: object
    registryTransition:
      type: object
      properties:
        source_stage:
          $ref: '#/components/schemas/StageEnumStage'
          title: Current stage. Automatically populated from the backend
        desired_stage:
          $ref: '#/components/schemas/StageEnumStage'
          title: Desired stage sent as part of the transition request
        state:
          $ref: '#/components/schemas/TransitionStateEnumTransitionState'
          title: Current state of the transition
        id:
          type: string
          format: uint64
          title: Transition Id, Automatically populated from the backend
    registryFindActivitiesRequest:
      type: object
      properties:
        registered_model_id:
          type: string
          format: uint64
          title: At least one of the following needs to be provided
        model_version_id:
          type: string
          format: uint64
    TransitionStateEnumTransitionState:
      type: string
      enum:
      - UNKNOWN
      - APPROVED
      - REJECTED
      - PENDING
      - CLOSED
      - COMMITTED
      default: UNKNOWN
      title: "- APPROVED: It is approved only if it has one approval and no rejections\n - REJECTED: It is rejected if it has any rejection\n - PENDING: It is pending if there are no approvals or rejections\n - CLOSED: It is closed if the user has explicitly requested it to be closed\n - COMMITTED: It has been committed and people can't close, approve or reject anymore"
    registryFindTransitionsRequestResponse:
      type: object
      properties:
        activities:
          type: array
          items:
            $ref: '#/components/schemas/registryActivity'
          title: Only things of type transition can be returned
    registryStageUpdate:
      type: object
      properties:
        stage:
          $ref: '#/components/schemas/StageEnumStage'
    registryFindActivitiesRequestResponse:
      type: object
      properties:
        activities:
          type: array
          items:
            $ref: '#/components/schemas/registryActivity'
    runtimeError:
      type: object
      properties:
        error:
          type: string
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
    registryApproveTransitionRequest:
      type: object
      properties:
        transition_id:
          type: string
          format: uint64
        comment:
          type: string
    registryCreateCommentRequest:
      type: object
      properties:
        model_version_id:
          type: string
          format: uint64
        comment:
          type: string
    protobufAny:
      type: object
      properties:
        type_url:
          type: string
        value:
          type: string
          format: byte
    registryCloseTransitionRequest:
      type: object
      properties:
        transition_id:
          type: string
          format: uint64
        comment:
          type: string
    registryUpdateStageRequest:
      type: object
      properties:
        model_version_id:
          type: string
          format: uint64
        stage:
          $ref: '#/components/schemas/StageEnumStage'
        comment:
          type: string
    StageEnumStage:
      type: string
      enum:
      - UNKNOWN
      - DEVELOPMENT
      - STAGING
      - PRODUCTION
      - ARCHIVED
      - UNASSIGNED
      default: UNKNOWN
    registryRejectTransitionRequest:
      type: object
      properties:
        transition_id:
          type: string
          format: uint64
        comment:
          type: string
    registryRejectionOfTransition:
      type: object