DagsHub User API

The User API from DagsHub — 3 operation(s) for user.

Operations 4

GET /version Get API version
GET /user Get the authenticated user
GET /user/repos List repositories owned by the authenticated user
POST /user/repos Create a repository for the authenticated user

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/dagshub-user-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

dagshub-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DagsHub REST Branches User API
  description: DagsHub's REST API mirrors the Gitea API for repositories, issues, pull requests, branches, and users, with DagsHub-specific extensions for data storage (DVC/S3), data engine queries, and storage integrations. Authenticates with an API token via Bearer header or basic auth.
  version: 1.0.0
servers:
- url: https://dagshub.com/api/v1
  description: DagsHub REST API base URL
security:
- bearerAuth: []
- basicAuth: []
tags:
- name: User
paths:
  /version:
    get:
      tags:
      - User
      summary: Get API version
      responses:
        '200':
          description: Version info
  /user:
    get:
      tags:
      - User
      summary: Get the authenticated user
      responses:
        '200':
          description: User
  /user/repos:
    get:
      tags:
      - User
      summary: List repositories owned by the authenticated user
      responses:
        '200':
          description: Repositories
    post:
      tags:
      - User
      summary: Create a repository for the authenticated user
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                description:
                  type: string
                private:
                  type: boolean
                auto_init:
                  type: boolean
      responses:
        '201':
          description: Repository created
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: DagsHub access token sent as a Bearer token.
    basicAuth:
      type: http
      scheme: basic
      description: Username and DagsHub access token via HTTP Basic auth.