ReqArchitect Code Import API

The code-import API from ReqArchitect — 3 operation(s) for code-import.

Operations 3

POST /api/journey/sessions/{session_id}/import-repo Start a code scan for a GitHub repo linked to a journey session #
GET /api/journey/sessions/{session_id}/scan-status Poll code scan progress for a journey session #
GET /api/journey/sessions/{session_id}/scan-result Get full code scan result for a journey session #

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/archiet:archiet-code-import-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

archiet-code-import-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archiet — AI-Native Architecture-to-Code SaaS Platform Code…
  version: 1.0.0
tags:
- name: code-import
paths:
  /api/journey/sessions/{session_id}/import-repo:
    post:
      operationId: import_repo_for_journey
      summary: Start a code scan for a GitHub repo linked to a journey session
      tags:
      - code-import
      security:
      - cookieAuth: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - repo_full_name
              properties:
                repo_full_name:
                  type: string
                  example: owner/repo
                branch:
                  type: string
                  default: main
      responses:
        '201':
          description: Scan started
        '400':
          description: Invalid input or no GitHub connection
        '402':
          description: Professional plan required
  /api/journey/sessions/{session_id}/scan-status:
    get:
      operationId: get_scan_status
      summary: Poll code scan progress for a journey session
      tags:
      - code-import
      security:
      - cookieAuth: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Scan status with progress info
  /api/journey/sessions/{session_id}/scan-result:
    get:
      operationId: get_scan_result
      summary: Get full code scan result for a journey session
      tags:
      - code-import
      security:
      - cookieAuth: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Full scan result
        '402':
          description: Professional plan required
        '404':
          description: No scan for this session
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: access_token_cookie
      description: JWT access token stored in httpOnly cookie