repowise-dev Actions API

The actions API from repowise-dev — 3 operation(s) for actions.

Operations 3

GET /api/repos/{repo_id}/actions Get Actions #
GET /api/repos/{repo_id}/actions/{action_id}/prompt Get Action Prompt #
PUT /api/repos/{repo_id}/actions/{action_id}/state Put Action State #

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-actions-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-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: repowise Actions API
  description: REST API for repowise — codebase documentation engine
  version: 0.59.0
tags:
- name: Actions
paths:
  /api/repos/{repo_id}/actions:
    get:
      tags:
      - Actions
      summary: Get Actions
      description: Both horizons in one response, so switching between them costs nothing.
      operationId: get_actions_api_repos__repo_id__actions_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/ActionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/repos/{repo_id}/actions/{action_id}/prompt:
    get:
      tags:
      - Actions
      summary: Get Action Prompt
      description: One action as the prompt an agent starts from, worded for its harness.
      operationId: get_action_prompt_api_repos__repo_id__actions__action_id__prompt_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      - name: action_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 32
          title: Action Id
      - name: flavor
        in: query
        required: false
        schema:
          enum:
          - generic
          - claude-code
          - claude-code-mcp
          - cursor
          type: string
          default: generic
          title: Flavor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentPromptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
  /api/repos/{repo_id}/actions/{action_id}/state:
    put:
      tags:
      - Actions
      summary: Put Action State
      operationId: put_action_state_api_repos__repo_id__actions__action_id__state_put
      security:
      - APIKeyHeader: []
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: string
          title: Repo Id
      - name: action_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 32
          title: Action Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionStateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionStateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-repowise-stability: internal
components:
  schemas:
    ActionStateResponse:
      properties:
        action_id:
          type: string
          title: Action Id
        state:
          anyOf:
          - type: string
            enum:
            - dismissed
            - snoozed
            - done
          - type: 'null'
          title: State
        until:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Until
      type: object
      required:
      - action_id
      - state
      title: ActionStateResponse
    NextAction:
      properties:
        id:
          type: string
          title: Id
        rule:
          type: string
          title: Rule
        tier:
          type: string
          enum:
          - act_now
          - plan
          - improve_signal
          title: Tier
        horizons:
          items:
            type: string
            enum:
            - week
            - quarter
          type: array
          title: Horizons
        severity:
          type: string
          enum:
          - critical
          - high
          - medium
          - low
          title: Severity
        title:
          type: string
          title: Title
          description: Verb first; paths and symbols wrapped in backticks.
        impact:
          type: string
          title: Impact
        why:
          items:
            $ref: '#/components/schemas/ActionWhy'
          type: array
          title: Why
        target:
          $ref: '#/components/schemas/ActionTarget'
        surface:
          type: string
          title: Surface
        effort:
          type: string
          enum:
          - S
          - M
          - L
          title: Effort
        confidence:
          type: string
          enum:
          - high
          - medium
          title: Confidence
        value:
          type: integer
          title: Value
          description: '0-4: the Fix first value band, or what the severity says.'
          default: 0
        priority:
          type: number
          title: Priority
          description: 'Value x confidence / effort: the order inside a tier.'
          default: 0.0
        done_when:
          type: string
          title: Done When
        command:
          anyOf:
          - type: string
          - type: 'null'
          title: Command
        marker:
          anyOf:
          - type: string
          - type: 'null'
          title: Marker
        evidence_ids:
          items:
            type: string
          type: array
          title: Evidence Ids
        evidence_total:
          type: integer
          title: Evidence Total
        includes:
          items:
            type: string
          type: array
          title: Includes
        fingerprint:
          type: string
          title: Fingerprint
        details:
          items:
            $ref: '#/components/schemas/ActionDetail'
          type: array
          title: Details
        details_total:
          type: integer
          title: Details Total
          default: 0
        commands:
          items:
            $ref: '#/components/schemas/ActionCommand'
          type: array
          title: Commands
      type: object
      required:
      - id
      - rule
      - tier
      - horizons
      - severity
      - title
      - impact
      - why
      - target
      - surface
      - effort
      - confidence
      - done_when
      - evidence_ids
      - evidence_total
      - includes
      - fingerprint
      title: NextAction
    AgentPromptResponse:
      properties:
        flavor:
          type: string
          enum:
          - generic
          - claude-code
          - claude-code-mcp
          - cursor
          title: Flavor
        text:
          type: string
          title: Text
        preview:
          anyOf:
          - type: string
          - type: 'null'
          title: Preview
      type: object
      required:
      - flavor
      - text
      title: AgentPromptResponse
    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
    ActionRuleStatus:
      properties:
        rule:
          type: string
          title: Rule
        status:
          type: string
          enum:
          - evaluated
          - not_applicable
          - unavailable
          title: Status
        reason:
          type: string
          title: Reason
        emitted:
          type: integer
          title: Emitted
      type: object
      required:
      - rule
      - status
      - reason
      - emitted
      title: ActionRuleStatus
    ActionStateRequest:
      properties:
        state:
          anyOf:
          - type: string
            enum:
            - dismissed
            - snoozed
            - done
          - type: 'null'
          title: State
          description: None clears the person's answer.
        fingerprint:
          type: string
          maxLength: 32
          title: Fingerprint
          default: ''
        snooze_days:
          type: integer
          maximum: 365.0
          minimum: 1.0
          title: Snooze Days
          default: 14
      type: object
      required:
      - state
      title: ActionStateRequest
    ActionsResponse:
      properties:
        status:
          type: string
          const: available
          title: Status
        anchor:
          anyOf:
          - type: string
          - type: 'null'
          title: Anchor
          description: Newest indexed commit time; windows count back from it.
        week_start:
          anyOf:
          - type: string
          - type: 'null'
          title: Week Start
        context:
          $ref: '#/components/schemas/ActionContext'
        horizons:
          additionalProperties:
            $ref: '#/components/schemas/ActionHorizon'
          propertyNames:
            enum:
            - week
            - quarter
          type: object
          title: Horizons
        summary:
          additionalProperties:
            type: string
          propertyNames:
            enum:
            - week
            - quarter
          type: object
          title: Summary
          description: Where things stand in each horizon, in one sentence.
        rules:
          items:
            $ref: '#/components/schemas/ActionRuleStatus'
          type: array
          title: Rules
        unavailable:
          additionalProperties:
            type: string
          type: object
          title: Unavailable
      type: object
      required:
      - status
      - anchor
      - week_start
      - context
      - horizons
      - summary
      - rules
      - unavailable
      title: ActionsResponse
    ActionHorizon:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/NextAction'
          type: array
          title: Actions
        total:
          type: integer
          title: Total
          description: Every visible action in this horizon, not only those listed.
        hidden:
          type: integer
          title: Hidden
          description: Actions the person dismissed, snoozed or marked done.
        by_tier:
          additionalProperties:
            type: integer
          type: object
          title: By Tier
      type: object
      required:
      - actions
      - total
      - hidden
      - by_tier
      title: ActionHorizon
    ActionTarget:
      properties:
        kind:
          type: string
          enum:
          - file
          - symbol
          - folder
          - document
          - decision
          - repo
          title: Kind
        path:
          type: string
          title: Path
        symbol:
          anyOf:
          - type: string
          - type: 'null'
          title: Symbol
      type: object
      required:
      - kind
      - path
      title: ActionTarget
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ActionWhy:
      properties:
        label:
          type: string
          title: Label
        value:
          type: string
          title: Value
        basis:
          type: string
          enum:
          - measured
          - inferred
          - unknown
          title: Basis
      type: object
      required:
      - label
      - value
      - basis
      title: ActionWhy
    ActionCommand:
      properties:
        purpose:
          type: string
          title: Purpose
        mcp:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcp
        cli:
          anyOf:
          - type: string
          - type: 'null'
          title: Cli
        tool:
          anyOf:
          - type: string
          - type: 'null'
          title: Tool
        arguments:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Arguments
      type: object
      required:
      - purpose
      title: ActionCommand
    ActionContext:
      properties:
        production_files:
          type: integer
          title: Production Files
        active_authors_90d:
          type: integer
          title: Active Authors 90D
        fix_commits_90d:
          type: integer
          title: Fix Commits 90D
        busy_threshold:
          type: integer
          title: Busy Threshold
        coverage:
          type: string
          enum:
          - measured
          - stale
          - unknown
          title: Coverage
        history_too_short:
          type: boolean
          title: History Too Short
          description: The index holds too few commits for history-driven rules to rank by.
          default: false
      type: object
      required:
      - production_files
      - active_authors_90d
      - fix_commits_90d
      - busy_threshold
      - coverage
      title: ActionContext
    ActionDetail:
      properties:
        path:
          type: string
          title: Path
        line:
          anyOf:
          - type: integer
          - type: 'null'
          title: Line
        symbol:
          anyOf:
          - type: string
          - type: 'null'
          title: Symbol
        marker:
          anyOf:
          - type: string
          - type: 'null'
          title: Marker
        severity:
          anyOf:
          - type: string
          - type: 'null'
          title: Severity
        reason:
          type: string
          title: Reason
          default: ''
        ref:
          anyOf:
          - type: string
          - type: 'null'
          title: Ref
      type: object
      required:
      - path
      title: ActionDetail
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization