Hlix Repos API

The repos API from Hlix — 3 operation(s) for repos.

GitHub OpenAPI

Operations 3

GET /v1/api/projects/{id}/protected-files Read encrypted project files with manage access #
POST /v1/api/projects/{id}/repos/{repoId}/access Get short-lived Git access to a repository in HLIX Repos #
GET /v1/api/projects/{id}/repos/{repoId}/head Read a repository head without starting a Cloud Machine #

Specifications

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

hlix-ai-repos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Explore the Hlix API for projects, agent teams, and delivery workflows. Authenticate with `x-api-key` and select a Workspace with `X-Organization-Id`. Session-only operations require a signed-in user session. Authentication setup.
  title: reference Repos API
  version: 1.0.0
servers:
- url: https://server.hlix.ai
  description: API server
security:
- apiKey: []
- sessionCookie: []
tags:
- name: Repos
paths:
  /v1/api/projects/{id}/protected-files:
    get:
      operationId: getProjectProtectedFiles
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/OrganizationId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectProtectedFiles'
          description: Decrypted protected files; private, no-store
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: The request named no active organization.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: No valid session or API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Project not found
      summary: Read encrypted project files with manage access
      tags:
      - Repos
  /v1/api/projects/{id}/repos/{repoId}/access:
    post:
      operationId: createRepoAccess
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: path
        name: repoId
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/OrganizationId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RepoAccess'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepoAccessResponse'
          description: Repository credentials; private, no-store
        '400':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/ValidationError'
                - $ref: '#/components/schemas/ApiError'
          description: The JSON body failed schema validation (`ValidationError`), or the request named no active organization (`ApiError`).
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: No valid session or API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Project or repository not found
      summary: Get short-lived Git access to a repository in HLIX Repos
      tags:
      - Repos
  /v1/api/projects/{id}/repos/{repoId}/head:
    get:
      operationId: getRepoHead
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: path
        name: repoId
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/OrganizationId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepoHeadResponse'
          description: Current repository commit
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: The request named no active organization.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: No valid session or API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Project or repository not found
      summary: Read a repository head without starting a Cloud Machine
      tags:
      - Repos
components:
  schemas:
    ApiError:
      additionalProperties: {}
      properties:
        error:
          type: string
      required:
      - error
      type: object
    ProjectProtectedFiles:
      properties:
        files:
          items:
            properties:
              contentBase64:
                type: string
              kind:
                enum:
                - dotenv
                - credential
                - detected-content
                - agent
                - skill
                - mcp
                type: string
              path:
                type: string
              sha256:
                type: string
              size:
                maximum: 9007199254740991
                minimum: 0
                type: integer
            required:
            - path
            - kind
            - size
            - sha256
            - contentBase64
            type: object
          type: array
      required:
      - files
      type: object
    RepoAccess:
      additionalProperties: false
      properties:
        scope:
          enum:
          - read
          - write
          type: string
      required:
      - scope
      type: object
    ValidationError:
      properties:
        error:
          properties:
            message:
              type: string
            name:
              type: string
          required:
          - name
          - message
          type: object
        success:
          const: false
          type: boolean
      required:
      - success
      - error
      type: object
    RepoHeadResponse:
      properties:
        branch:
          type: string
        commitSha:
          type: string
        isEmpty:
          type: boolean
        repoId:
          type: string
      required:
      - repoId
      - branch
      - commitSha
      - isEmpty
      type: object
    RepoAccessResponse:
      properties:
        cloneUrl:
          type: string
        defaultBranch:
          type: string
        expiresAt:
          type: string
        token:
          type: string
      required:
      - cloneUrl
      - defaultBranch
      - token
      - expiresAt
      type: object
  parameters:
    OrganizationId:
      description: The workspace (organization) to act in. Omitted, the session's active organization is used.
      in: header
      name: X-Organization-Id
      required: false
      schema:
        type: string
      example: YOUR_WORKSPACE_ID
  securitySchemes:
    apiKey:
      description: An API key issued through `/v1/api/auth/api-key/*`. Browser clients can use their session cookie instead.
      in: header
      name: x-api-key
      type: apiKey
    sessionCookie:
      description: The complete session Cookie header issued by sign-in at the selected API host. Cookie names vary by hosting region and environment; preserve the issued name and value. Browsers send these HTTP-only cookies automatically. Session-only operations require this user session and do not accept an API key.
      in: header
      name: Cookie
      type: apiKey