Seldon GitOps API

GitOps APIs for Seldon Deploy

Operations 12

GET /namespaces/{namespace}/experiments/{name}/gitdiff #
GET /namespaces/{namespace}/experiments/{name}/gitlogs #
GET /namespaces/{namespace}/gitdiffs #
GET /namespaces/{namespace}/gitops-status #
GET /namespaces/{namespace}/models/{name}/gitdiff #
GET /namespaces/{namespace}/models/{name}/gitlogs #
GET /namespaces/{namespace}/pipelines/{name}/gitdiff #
GET /namespaces/{namespace}/pipelines/{name}/gitlogs #
GET /namespaces/{namespace}/seldondeployments/{name}/gitdiff #
GET /namespaces/{namespace}/seldondeployments/{name}/gitlogs #
POST /namespaces/{namespace}/seldondeployments/{name}/gitrestore #
POST /namespaces/{namespace}/seldondeployments/{name}/gitrevert #

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/seldon-gitops-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

seldon-gitops-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'API to interact and manage the lifecycle of your machine learning models

    deployed through Seldon Deploy.'
  title: Seldon Deploy Git Ops API
  version: v1alpha1
servers:
- url: http://X.X.X.X/seldon-deploy/api/v1alpha1
- url: https://X.X.X.X/seldon-deploy/api/v1alpha1
security:
- OAuth2:
  - '[]'
tags:
- description: GitOps APIs for Seldon Deploy
  name: GitOps
paths:
  /namespaces/{namespace}/experiments/{name}/gitdiff:
    get:
      description: Read the git diff for an experiment
      operationId: ReadExperimentGitDiff
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitDiffResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/experiments/{name}/gitlogs:
    get:
      description: Read the git commits for an experiment
      operationId: ReadExperimentGitLogs
      parameters:
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitLogsResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/gitdiffs:
    get:
      description: Read the git diffs from hashes
      operationId: ReadGitDiffs
      parameters:
      - description: Hashes is an array of git commit hashes to get diffs for
        in: query
        name: hashes
        required: true
        style: form
        explode: false
        schema:
          type: array
          items:
            type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitDiffsResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/gitops-status:
    get:
      description: Read the GitOps status
      operationId: ReadGitOpsStatus
      parameters:
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GenericResponse'
      tags:
      - GitOps
  /namespaces/{namespace}/models/{name}/gitdiff:
    get:
      description: Read the git diff for a model
      operationId: ReadModelGitDiff
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitDiffResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/models/{name}/gitlogs:
    get:
      description: Read the git commits for a model
      operationId: ReadModelGitLogs
      parameters:
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitLogsResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/pipelines/{name}/gitdiff:
    get:
      description: Read the git diff for a pipeline
      operationId: ReadPipelineGitDiff
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitDiffResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/pipelines/{name}/gitlogs:
    get:
      description: Read the git commits for a pipeline
      operationId: ReadPipelineGitLogs
      parameters:
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitLogsResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/seldondeployments/{name}/gitdiff:
    get:
      description: Read the git diff for a Seldon deployment
      operationId: ReadSeldonDeploymentGitDiff
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitDiffResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/seldondeployments/{name}/gitlogs:
    get:
      description: Read the git commits for a Seldon deployment
      operationId: ReadSeldonDeploymentGitLogs
      parameters:
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GitLogsResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/seldondeployments/{name}/gitrestore:
    post:
      description: Restore the git commit
      operationId: SeldonDeploymentGitRestore
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Action
        in: query
        name: action
        schema:
          type: string
      - description: Message
        in: query
        name: message
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/MessageResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
  /namespaces/{namespace}/seldondeployments/{name}/gitrevert:
    post:
      description: Revert the git commit
      operationId: SeldonDeploymentGitRevert
      parameters:
      - description: Hash
        in: query
        name: hash
        schema:
          type: string
      - description: Action
        in: query
        name: action
        schema:
          type: string
      - description: Message
        in: query
        name: message
        schema:
          type: string
      - description: Name identifies a resource
        in: path
        name: name
        required: true
        schema:
          type: string
      - description: Namespace provides a logical grouping of resources
        in: path
        name: namespace
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/MessageResponse'
        '500':
          $ref: '#/components/responses/ErrorDefault'
      tags:
      - GitOps
components:
  schemas:
    AuditLog:
      properties:
        AuthorName:
          type: string
        AuthorWhen:
          format: date-time
          type: string
        CommitterName:
          type: string
        CommitterWhen:
          format: date-time
          type: string
        Hash:
          type: string
      type: object
    Error:
      description: Error Error
      properties:
        code:
          description: Code
          format: int64
          type: integer
        message:
          description: Message
          type: string
        requestId:
          description: RequestId
          type: string
      type: object
    FileDiff:
      description: 'note diff is html that needs to be unicode decoded/unescaped

        from and to are raw values

        GitHubUrl is a github compare url'
      properties:
        ChangeType:
          type: string
        CommitHash:
          type: string
        Diff:
          type: string
        FileName:
          type: string
        From:
          type: string
        GitHubUrl:
          type: string
        PrevCommitHash:
          type: string
        To:
          type: string
      type: object
    Message:
      description: Message Message
      properties:
        code:
          description: Code
          format: int64
          type: integer
        message:
          description: Message
          type: string
      type: object
  responses:
    GitDiffResponse:
      description: Git Diff
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FileDiff'
    GenericResponse:
      description: Generic
      content:
        application/json:
          schema: {}
    GitDiffsResponse:
      description: Git Diffs
      content:
        application/json:
          schema:
            items:
              $ref: '#/components/schemas/FileDiff'
            type: array
    MessageResponse:
      description: GenericMessage Message
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
    ErrorDefault:
      description: ErrorDefault Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    GitLogsResponse:
      description: Git Logs
      content:
        application/json:
          schema:
            items:
              $ref: '#/components/schemas/AuditLog'
            type: array
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        password:
          tokenUrl: https://Y.Y.Y.Y
          scopes:
            email: ''
            groups: ''
            openid: ''
            profile: ''