repowise-dev Files API

The files API from repowise-dev — 2 operation(s) for files.

Operations 2

GET /api/repos/{repo_id}/files Files Index #
GET /api/repos/{repo_id}/files/{file_path} File Detail #

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-files-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-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: repowise Files API
  description: REST API for repowise — codebase documentation engine
  version: 0.59.0
tags:
- name: Files
paths:
  /api/repos/{repo_id}/files:
    get:
      tags:
      - Files
      summary: Files Index
      description: 'Slim per-file rows for the browsable Files index + treemap.


        One row per indexed file node, joined in-memory from four batch reads

        (graph nodes, materialized degree metrics, health metrics, git metadata).

        Third-party and framework nodes are excluded — they share the table with

        real files but have no path to open. Percentiles for pagerank and churn are

        computed once over the full set so the client can rank without refetching.'
      operationId: files_index_api_repos__repo_id__files_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:
                type: object
                additionalProperties: true
                title: Response Files Index Api Repos  Repo Id  Files Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/repos/{repo_id}/files/{file_path}:
    get:
      tags:
      - Files
      summary: File Detail
      description: Aggregate join over every per-file data source we persist.
      operationId: file_detail_api_repos__repo_id__files__file_path__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      - name: file_path
        in: path
        required: true
        schema:
          type: string
          title: File Path
      - name: fields
        in: query
        required: false
        schema:
          type: string
          description: How much of each block to return. 'full' (the default) is everything. 'slim' drops the four unbounded payloads — the wiki page body, the coverage line array, per-function blame, and each finding's 'details' map — for a caller that renders the summary numbers only. 'coverage.covered_line_count' and 'function_blame_count' are present in both modes, so a caller can still tell an empty block from a dropped one.
          default: full
          title: Fields
        description: How much of each block to return. 'full' (the default) is everything. 'slim' drops the four unbounded payloads — the wiki page body, the coverage line array, per-function blame, and each finding's 'details' map — for a caller that renders the summary numbers only. 'coverage.covered_line_count' and 'function_blame_count' are present in both modes, so a caller can still tell an empty block from a dropped one.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response File Detail Api Repos  Repo Id  Files  File Path  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization