Activeloop Version Control API

The version_control API from Activeloop — 2 operation(s) for version_control.

Operations 2

GET /api/org/{org_id}/ds/{ds_name}/branch/{branch_name}/commits Get Dataset Branch Commits #
GET /api/org/{org_id}/ds/{ds_name}/baseline-commit/{base_commit_id}/commit/{commit_id} Get Dataset Commit Diff #

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/activeloop:activeloop-version-control-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

activeloop-version-control-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Version Control API
  version: 0.1.0
tags:
- name: version_control
paths:
  /api/org/{org_id}/ds/{ds_name}/branch/{branch_name}/commits:
    get:
      tags:
      - version_control
      summary: Get Dataset Branch Commits
      description: Get the list of commits on a branch
      operationId: get_dataset_branch_commits_api_org__org_id__ds__ds_name__branch__branch_name__commits_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: ds_name
        in: path
        required: true
        schema:
          type: string
          title: Ds Name
      - name: branch_name
        in: path
        required: true
        schema:
          type: string
          title: Branch Name
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetBranchCommitsDataModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/org/{org_id}/ds/{ds_name}/baseline-commit/{base_commit_id}/commit/{commit_id}:
    get:
      tags:
      - version_control
      summary: Get Dataset Commit Diff
      description: Get the diff between two commits.
      operationId: get_dataset_commit_diff_api_org__org_id__ds__ds_name__baseline_commit__base_commit_id__commit__commit_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: ds_name
        in: path
        required: true
        schema:
          type: string
          title: Ds Name
      - name: base_commit_id
        in: path
        required: true
        schema:
          type: string
          title: Base Commit Id
      - name: commit_id
        in: path
        required: true
        schema:
          type: string
          title: Commit Id
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetCommitDiffResultDataModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DatasetCommitDiffResultDataModel:
      properties:
        dataset:
          type: string
          title: Dataset
          default: ''
        base_commit_diff:
          items:
            $ref: '#/components/schemas/DatasetCommitDiffDataModel'
          type: array
          title: Base Commit Diff
          default: []
        child_commit_diff:
          items:
            $ref: '#/components/schemas/DatasetCommitDiffDataModel'
          type: array
          title: Child Commit Diff
          default: []
      type: object
      title: DatasetCommitDiffResultDataModel
    ApiVersion:
      type: string
      enum:
      - '2024-02-10'
      - '2024-10-01'
      title: ApiVersion
    DatasetBranchCommitsDataModel:
      properties:
        dataset:
          type: string
          title: Dataset
        branch:
          type: string
          title: Branch
        commits:
          items:
            $ref: '#/components/schemas/DatasetCommitDataModel'
          type: array
          title: Commits
      type: object
      required:
      - dataset
      - branch
      - commits
      title: DatasetBranchCommitsDataModel
      example:
        branch: main
        commits:
        - author: absinha
          commit: firstdbf9474d461a19e9333c2fd19b46115348f
          time: '2021-12-04 23:52:40'
        dataset: activeloop-test
    DatasetCommitDataModel:
      properties:
        commit:
          type: string
          title: Commit
        author:
          type: string
          title: Author
        time:
          type: string
          title: Time
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
      type: object
      required:
      - commit
      - author
      - time
      title: DatasetCommitDataModel
      example:
        author: absinha
        commit: firstdbf9474d461a19e9333c2fd19b46115348f
        time: '2021-12-04 23:52:40'
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    DatasetCommitDiffDataModel:
      properties:
        tensor:
          type: string
          title: Tensor
          default: ''
        data_added:
          items:
            type: integer
          type: array
          title: Data Added
          default: []
        data_updated:
          items:
            type: integer
          type: array
          title: Data Updated
          default: []
        created:
          type: boolean
          title: Created
      type: object
      required:
      - created
      title: DatasetCommitDiffDataModel
      example:
        created: false
        data_added:
        - 2
        - 4
        data_updated:
        - 5
        tensor: image
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-provenance:
  method: harvested
  publisher: Activeloop
  source: https://app.activeloop.ai/api/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)