repowise-dev Modules API
The modules API from repowise-dev — 2 operation(s) for modules.
The modules API from repowise-dev — 2 operation(s) for modules.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/repowise-dev:repowise-dev-modules-api"
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.
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: 3.2.0
info:
title: repowise Modules API
description: REST API for repowise — codebase documentation engine
version: 0.59.0
tags:
- name: Modules
paths:
/api/repos/{repo_id}/modules/health:
get:
tags:
- Modules
summary: List Module Health
operationId: list_module_health_api_repos__repo_id__modules_health_get
security:
- APIKeyHeader: []
parameters:
- name: repo_id
in: path
required: true
schema:
type: string
title: Repo Id
- name: sort
in: query
required: false
schema:
type: string
description: health_score | hotspot_count | dead_code_lines | file_count
default: health_score
title: Sort
description: health_score | hotspot_count | dead_code_lines | file_count
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 100
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Paginated_ModuleHealthSummary_'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-repowise-stability: internal
/api/repos/{repo_id}/modules/health/{module_path}:
get:
tags:
- Modules
summary: Get Module Health
operationId: get_module_health_api_repos__repo_id__modules_health__module_path__get
security:
- APIKeyHeader: []
parameters:
- name: repo_id
in: path
required: true
schema:
type: string
title: Repo Id
- name: module_path
in: path
required: true
schema:
type: string
title: Module Path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ModuleHealthDetail'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-repowise-stability: internal
components:
schemas:
GoverningDecisionRef:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
status:
type: string
title: Status
type: object
required:
- id
- title
- status
title: GoverningDecisionRef
description: Slim decision reference so lists can render titles, not UUIDs.
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
ModuleHealthSummary:
properties:
module_path:
type: string
title: Module Path
file_count:
type: integer
title: File Count
symbol_count:
type: integer
title: Symbol Count
hotspot_count:
type: integer
title: Hotspot Count
dead_code_count:
type: integer
title: Dead Code Count
dead_code_lines:
type: integer
title: Dead Code Lines
avg_churn_percentile:
type: number
title: Avg Churn Percentile
median_bus_factor:
type: number
title: Median Bus Factor
min_bus_factor:
type: integer
title: Min Bus Factor
primary_owner:
anyOf:
- type: string
- type: 'null'
title: Primary Owner
primary_owner_pct:
type: number
title: Primary Owner Pct
is_silo:
type: boolean
title: Is Silo
decision_count:
type: integer
title: Decision Count
doc_coverage_pct:
type: number
title: Doc Coverage Pct
health_score:
type: number
title: Health Score
type: object
required:
- module_path
- file_count
- symbol_count
- hotspot_count
- dead_code_count
- dead_code_lines
- avg_churn_percentile
- median_bus_factor
- min_bus_factor
- primary_owner
- primary_owner_pct
- is_silo
- decision_count
- doc_coverage_pct
- health_score
title: ModuleHealthSummary
description: One row in the per-module health rollup.
ModuleHealthOwner:
properties:
name:
type: string
title: Name
email:
anyOf:
- type: string
- type: 'null'
title: Email
file_count:
type: integer
title: File Count
pct:
type: number
title: Pct
type: object
required:
- name
- email
- file_count
- pct
title: ModuleHealthOwner
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ModuleHealthDetail:
properties:
module_path:
type: string
title: Module Path
file_count:
type: integer
title: File Count
symbol_count:
type: integer
title: Symbol Count
hotspot_count:
type: integer
title: Hotspot Count
dead_code_count:
type: integer
title: Dead Code Count
dead_code_lines:
type: integer
title: Dead Code Lines
avg_churn_percentile:
type: number
title: Avg Churn Percentile
median_bus_factor:
type: number
title: Median Bus Factor
min_bus_factor:
type: integer
title: Min Bus Factor
primary_owner:
anyOf:
- type: string
- type: 'null'
title: Primary Owner
primary_owner_pct:
type: number
title: Primary Owner Pct
is_silo:
type: boolean
title: Is Silo
decision_count:
type: integer
title: Decision Count
doc_coverage_pct:
type: number
title: Doc Coverage Pct
health_score:
type: number
title: Health Score
owners:
items:
$ref: '#/components/schemas/ModuleHealthOwner'
type: array
title: Owners
top_hotspots:
items:
type: string
type: array
title: Top Hotspots
governing_decisions:
items:
$ref: '#/components/schemas/GoverningDecisionRef'
type: array
title: Governing Decisions
contributor_count:
type: integer
title: Contributor Count
type: object
required:
- module_path
- file_count
- symbol_count
- hotspot_count
- dead_code_count
- dead_code_lines
- avg_churn_percentile
- median_bus_factor
- min_bus_factor
- primary_owner
- primary_owner_pct
- is_silo
- decision_count
- doc_coverage_pct
- health_score
- owners
- top_hotspots
- governing_decisions
- contributor_count
title: ModuleHealthDetail
description: Single-module deep view with breakdowns.
Paginated_ModuleHealthSummary_:
properties:
items:
items:
$ref: '#/components/schemas/ModuleHealthSummary'
type: array
title: Items
total:
type: integer
title: Total
has_more:
type: boolean
title: Has More
next_offset:
anyOf:
- type: integer
- type: 'null'
title: Next Offset
type: object
required:
- items
- total
- has_more
title: Paginated[ModuleHealthSummary]
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: Authorization