Aito Technologies Refs API

The refs API from Aito Technologies — 2 operation(s) for refs.

Operations 3

GET /api/v2/_refs V2 refs list #
PUT /api/v2/_refs/{name} V2 refs put #
DELETE /api/v2/_refs/{name} V2 refs delete #

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/aito-technologies:aito-technologies-refs-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

aito-technologies-refs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aito Technologies Refs API
security:
- ApiKeyAuth: []
tags:
- name: Refs
paths:
  /api/v2/_refs:
    get:
      tags:
      - Refs
      description: List every ref in the database — branches (envs, including the default master) and releases — in one uniform view with role, mutability and head hash. Read-only; writes use the branch (_envs) and release (_releases) endpoints. A read API key is required.
      operationId: v2-refs-list
      parameters:
      - name: role
        in: query
        required: false
        description: 'Filter by role: ''branch'' or ''release'''
        schema:
          type: string
          enum:
          - branch
          - release
      responses:
        200:
          description: The list of refs
          content:
            application/json:
              schema:
                type: object
                properties:
                  refs:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        role:
                          type: string
                          enum:
                          - branch
                          - release
                        mutable:
                          type: boolean
                        default:
                          type: boolean
                          description: Present and true for the default (master) branch
                        head:
                          type: string
                          description: Content hash of the ref's committed head
      summary: V2 refs list
      x-summary-source: derived
  /api/v2/_refs/{name}:
    put:
      tags:
      - Refs
      description: Create or move a ref — generic write plumbing (v2 only). A release is immutable (publishing over an existing one is refused); moving an existing branch requires force=true; protected refs (system, _*) cannot be written. A read-write API key is required.
      operationId: v2-refs-put
      parameters:
      - name: name
        in: path
        required: true
        description: The ref (e.g. 'sandbox', 'release.v1'; 'main' aliases the default branch)
        schema:
          type: string
      - name: force
        in: query
        required: false
        description: Allow moving an existing (mutable) branch
        schema:
          type: boolean
      requestBody:
        required: false
        description: The source ref to copy or freeze from.
        content:
          application/json:
            schema:
              type: object
              properties:
                from:
                  type: string
                  description: Source branch (for a branch), or 'main' for a release
      responses:
        200:
          description: The created or moved ref
        400:
          description: Invalid ref or source
        403:
          description: The ref is protected
        409:
          description: The ref is an immutable release, or exists and force was not set
      summary: V2 refs put
      x-summary-source: derived
    delete:
      tags:
      - Refs
      description: Delete a branch or retire a release (v2 only). The master branch and protected refs cannot be deleted. A read-write API key is required.
      operationId: v2-refs-delete
      parameters:
      - name: name
        in: path
        required: true
        description: The ref to delete
        schema:
          type: string
      responses:
        200:
          description: Status of the delete
        400:
          description: Cannot delete the master branch
        403:
          description: The ref is protected
        404:
          description: No such ref
      summary: V2 refs delete
      x-summary-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
x-provenance:
  method: harvested
  publisher: Aito Technologies
  source: https://aito.ai/docs/api/openapi.yaml
  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)