Unisson code-map API

The code-map API from Unisson — 4 operation(s) for code-map.

Operations 5

GET /api/v1/code-map Get Code Map #
DELETE /api/v1/code-map Delete Code Map #
GET /api/v1/code-map/status Get Analysis Status #
POST /api/v1/code-map/analyze Start Analysis #
GET /api/v1/code-map/branches/{repo_owner}/{repo_name} Get Repository Branches #

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/unisson-code-map-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

unisson-code-map-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unisson agent-evals Code Map API
  version: 1.0.0
servers:
- url: https://api.unisson.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: code-map
paths:
  /api/v1/code-map:
    get:
      tags:
      - code-map
      summary: Get Code Map
      description: Get the code map for the organization (if one exists).
      operationId: get_code_map_api_v1_code_map_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/CodeMapResponse'
                - type: 'null'
                title: Response Get Code Map Api V1 Code Map Get
      security:
      - HTTPBearer: []
    delete:
      tags:
      - code-map
      summary: Delete Code Map
      description: Delete the code map for the organization.
      operationId: delete_code_map_api_v1_code_map_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/code-map/status:
    get:
      tags:
      - code-map
      summary: Get Analysis Status
      description: Get the current analysis status.
      operationId: get_analysis_status_api_v1_code_map_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodeMapStatusResponse'
      security:
      - HTTPBearer: []
  /api/v1/code-map/analyze:
    post:
      tags:
      - code-map
      summary: Start Analysis
      description: Start analyzing a GitHub repository to build a code map.
      operationId: start_analysis_api_v1_code_map_analyze_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnalyzeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/code-map/branches/{repo_owner}/{repo_name}:
    get:
      tags:
      - code-map
      summary: Get Repository Branches
      description: Get list of branches for a repository.
      operationId: get_repository_branches_api_v1_code_map_branches__repo_owner___repo_name__get
      security:
      - HTTPBearer: []
      parameters:
      - name: repo_owner
        in: path
        required: true
        schema:
          type: string
          title: Repo Owner
      - name: repo_name
        in: path
        required: true
        schema:
          type: string
          title: Repo Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AnalyzeRequest:
      properties:
        repository_full_name:
          type: string
          title: Repository Full Name
        app_directory:
          anyOf:
          - type: string
          - type: 'null'
          title: App Directory
        branch:
          anyOf:
          - type: string
          - type: 'null'
          title: Branch
      type: object
      required:
      - repository_full_name
      title: AnalyzeRequest
    CodeMapStatusResponse:
      properties:
        status:
          type: string
          title: Status
        progress:
          type: integer
          title: Progress
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        repository_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Repository Name
        framework_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Framework Type
      type: object
      required:
      - status
      - progress
      title: CodeMapStatusResponse
    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
    CodeMapResponse:
      properties:
        id:
          type: string
          title: Id
        repository_url:
          type: string
          title: Repository Url
        repository_name:
          type: string
          title: Repository Name
        framework_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Framework Type
        routes:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Routes
        edges:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Edges
        analysis_status:
          type: string
          title: Analysis Status
        analysis_progress:
          type: integer
          title: Analysis Progress
      type: object
      required:
      - id
      - repository_url
      - repository_name
      - framework_type
      - routes
      - edges
      - analysis_status
      - analysis_progress
      title: CodeMapResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer