repowise-dev Setup API

The setup API from repowise-dev — 5 operation(s) for setup.

Operations 7

GET /api/repos/{repo_id}/setup Get Setup #
GET /api/setup/onboarding Get Onboarding #
PATCH /api/setup/onboarding Patch Onboarding #
POST /api/repos/{repo_id}/setup/agents/{target} Connect Agent #
DELETE /api/repos/{repo_id}/setup/agents/{target} Disconnect Agent #
PUT /api/repos/{repo_id}/setup/hooks/{name} Set Hook #
POST /api/repos/{repo_id}/setup/coverage Add Coverage #

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/repowise-dev:repowise-dev-setup-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

repowise-dev-setup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: repowise Setup API
  description: REST API for repowise — codebase documentation engine
  version: 0.59.0
tags:
- name: Setup
paths:
  /api/repos/{repo_id}/setup:
    get:
      tags:
      - Setup
      summary: Get Setup
      description: Everything the Setup page shows for one repo; see ``setup_status`` for the caching.
      operationId: get_setup_api_repos__repo_id__setup_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/setup/onboarding:
    get:
      tags:
      - Setup
      summary: Get Onboarding
      description: Per-machine onboarding state, without the repo checks the full payload runs.
      operationId: get_onboarding_api_setup_onboarding_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingState'
      security:
      - APIKeyHeader: []
      x-repowise-stability: internal
    patch:
      tags:
      - Setup
      summary: Patch Onboarding
      description: Mark the welcome seen, or hide the setup pill or the hosted card, on this machine.
      operationId: patch_onboarding_api_setup_onboarding_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnboardingPatch'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingState'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
      x-repowise-stability: internal
  /api/repos/{repo_id}/setup/agents/{target}:
    post:
      tags:
      - Setup
      summary: Connect Agent
      description: '``repowise agents add --target=`` for this repo.'
      operationId: connect_agent_api_repos__repo_id__setup_agents__target__post
      security:
      - APIKeyHeader: []
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupWriteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
    delete:
      tags:
      - Setup
      summary: Disconnect Agent
      description: '``repowise agents remove --target=`` for this repo.'
      operationId: disconnect_agent_api_repos__repo_id__setup_agents__target__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupWriteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/repos/{repo_id}/setup/hooks/{name}:
    put:
      tags:
      - Setup
      summary: Set Hook
      description: '``repowise hook install|uninstall`` (``post-commit``) or ``hook rewrite ...`` (``rewrite``).'
      operationId: set_hook_api_repos__repo_id__setup_hooks__name__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HookToggle'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupWriteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/repos/{repo_id}/setup/coverage:
    post:
      tags:
      - Setup
      summary: Add Coverage
      description: '``repowise coverage add `` for a report inside this repo.'
      operationId: add_coverage_api_repos__repo_id__setup_coverage_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CoverageAddRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupWriteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
components:
  schemas:
    SetupCoverage:
      properties:
        ingested_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Ingested At
        configured_paths:
          items:
            type: string
          type: array
          title: Configured Paths
        discovered:
          items:
            $ref: '#/components/schemas/SetupCoverageReport'
          type: array
          title: Discovered
      type: object
      title: SetupCoverage
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SetupFileChange:
      properties:
        path:
          type: string
          title: Path
        action:
          type: string
          title: Action
        scope:
          type: string
          title: Scope
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
      type: object
      required:
      - path
      - action
      - scope
      title: SetupFileChange
    SetupWriteResponse:
      properties:
        ok:
          type: boolean
          title: Ok
        command:
          type: string
          title: Command
        message:
          type: string
          title: Message
          default: ''
        output:
          items:
            type: string
          type: array
          title: Output
        files:
          items:
            $ref: '#/components/schemas/SetupFileChange'
          type: array
          title: Files
      type: object
      required:
      - ok
      - command
      title: SetupWriteResponse
      description: What a write did. ``ok`` is the command's own success.
    SetupRegistration:
      properties:
        method:
          type: string
          title: Method
        scope:
          type: string
          title: Scope
        config_path:
          type: string
          title: Config Path
      type: object
      required:
      - method
      - scope
      - config_path
      title: SetupRegistration
    SetupResponse:
      properties:
        repo_id:
          type: string
          title: Repo Id
        generated_at:
          type: string
          title: Generated At
        index:
          $ref: '#/components/schemas/SetupIndex'
        agents_available:
          type: boolean
          title: Agents Available
        agents:
          items:
            $ref: '#/components/schemas/SetupAgent'
          type: array
          title: Agents
        calls_available:
          type: boolean
          title: Calls Available
        calls:
          $ref: '#/components/schemas/SetupCalls'
        sync:
          $ref: '#/components/schemas/SetupSync'
        rewrite_hook:
          $ref: '#/components/schemas/SetupRewriteHook'
        coverage_available:
          type: boolean
          title: Coverage Available
        coverage:
          $ref: '#/components/schemas/SetupCoverage'
        model_available:
          type: boolean
          title: Model Available
        model:
          $ref: '#/components/schemas/SetupModel'
        checks_available:
          type: boolean
          title: Checks Available
        checks:
          items:
            $ref: '#/components/schemas/SetupCheck'
          type: array
          title: Checks
        onboarding:
          $ref: '#/components/schemas/OnboardingState'
        writes_allowed:
          type: boolean
          title: Writes Allowed
      type: object
      required:
      - repo_id
      - generated_at
      - index
      - agents_available
      - calls_available
      - calls
      - sync
      - rewrite_hook
      - coverage_available
      - coverage
      - model_available
      - model
      - checks_available
      - onboarding
      - writes_allowed
      title: SetupResponse
    CoverageAddRequest:
      properties:
        path:
          type: string
          maxLength: 1024
          minLength: 1
          title: Path
      type: object
      required:
      - path
      title: CoverageAddRequest
    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
    SetupCoverageReport:
      properties:
        path:
          type: string
          title: Path
        modified_at:
          type: string
          title: Modified At
        age_days:
          type: integer
          title: Age Days
      type: object
      required:
      - path
      - modified_at
      - age_days
      title: SetupCoverageReport
    SetupSync:
      properties:
        installed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Installed
        detail:
          type: string
          title: Detail
          default: ''
      type: object
      title: SetupSync
    SetupCheck:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        level:
          type: string
          enum:
          - ok
          - warn
          - fail
          title: Level
        detail:
          type: string
          title: Detail
          default: ''
        fix:
          anyOf:
          - type: string
          - type: 'null'
          title: Fix
      type: object
      required:
      - id
      - name
      - level
      title: SetupCheck
    SetupRewriteHook:
      properties:
        state:
          type: string
          enum:
          - installed
          - not_installed
          - not_applicable
          - unknown
          title: State
        detail:
          type: string
          title: Detail
          default: ''
      type: object
      required:
      - state
      title: SetupRewriteHook
    SetupAgent:
      properties:
        id:
          type: string
          title: Id
        display_name:
          type: string
          title: Display Name
        tier:
          anyOf:
          - type: string
          - type: 'null'
          title: Tier
        docs_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Docs Url
        installed:
          type: boolean
          title: Installed
        connected:
          type: boolean
          title: Connected
        registrations:
          items:
            $ref: '#/components/schemas/SetupRegistration'
          type: array
          title: Registrations
        config_files:
          additionalProperties:
            items:
              type: string
            type: array
          type: object
          title: Config Files
        first_call_at:
          anyOf:
          - type: string
          - type: 'null'
          title: First Call At
        last_call_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Call At
      type: object
      required:
      - id
      - display_name
      - installed
      - connected
      title: SetupAgent
    SetupCalls:
      properties:
        first_call_at:
          anyOf:
          - type: string
          - type: 'null'
          title: First Call At
        last_call_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Call At
        unattributed:
          type: boolean
          title: Unattributed
          default: false
      type: object
      title: SetupCalls
      description: Every call to this repo's index, whichever agent made it.
    SetupIndex:
      properties:
        state:
          type: string
          enum:
          - up_to_date
          - behind
          - incomplete
          title: State
        indexed_commit:
          anyOf:
          - type: string
          - type: 'null'
          title: Indexed Commit
        live_head:
          anyOf:
          - type: string
          - type: 'null'
          title: Live Head
        indexed_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Indexed At
        file_count:
          type: integer
          title: File Count
          default: 0
        parse_error_count:
          type: integer
          title: Parse Error Count
          default: 0
        parse_error_files:
          items:
            type: string
          type: array
          title: Parse Error Files
      type: object
      required:
      - state
      title: SetupIndex
    OnboardingState:
      properties:
        welcome_seen:
          additionalProperties:
            type: string
          type: object
          title: Welcome Seen
        setup_pill_hidden:
          type: boolean
          title: Setup Pill Hidden
          default: false
        hosted_card_hidden:
          type: boolean
          title: Hosted Card Hidden
          default: false
        hints_enabled:
          type: boolean
          title: Hints Enabled
        signed_in:
          type: boolean
          title: Signed In
      type: object
      required:
      - hints_enabled
      - signed_in
      title: OnboardingState
      description: Per-machine onboarding state, plus the switches that hide hosted surfaces.
    HookToggle:
      properties:
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - enabled
      title: HookToggle
    OnboardingPatch:
      properties:
        welcome_seen_repo:
          anyOf:
          - type: string
            pattern: ^[A-Za-z0-9:_.-]{1,64}$
          - type: 'null'
          title: Welcome Seen Repo
        setup_pill_hidden:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Setup Pill Hidden
        hosted_card_hidden:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Hosted Card Hidden
      type: object
      title: OnboardingPatch
    SetupModel:
      properties:
        docs_mode:
          type: string
          enum:
          - none
          - deterministic
          - llm
          title: Docs Mode
        active_provider:
          anyOf:
          - type: string
          - type: 'null'
          title: Active Provider
        active_model:
          anyOf:
          - type: string
          - type: 'null'
          title: Active Model
        configured_providers:
          items:
            type: string
          type: array
          title: Configured Providers
      type: object
      required:
      - docs_mode
      title: SetupModel
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization