repos

Force a fresh re-index of a repo against its current HEAD.

The optional body lets the caller opt into regenerating AI docs on this re-index — same generate_docs / docs_file_percentage knobs as POST /repos/index. When generate_docs=True the credit-hold gate from the initial-index path runs unchanged: free → 403, Pro → atomic credit hold, admin → no hold.

post/repos/{repo_id}/reindex

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/repos/{repo_id}/reindex
  • Auth: HTTP bearer

Path parameters

repo_idstring required

Request body

generate_docsboolean nullable
docs_file_percentagenumber nullable
wiki_style'comprehensive' | 'caveman' | 'reference' | 'tutorial' nullable
docs_language'en' | 'ru' | 'es' | 'fr' | 'de' | 'zh' | 'ja' | 'ko' | 'it' | 'pt' | 'nl' | 'pl' | 'tr' | 'ar' | 'hi' nullable

Response

Successful Response

snapshot_idstring required
short_idstring required
status'queued' | 'indexing' | 'ready' | 'failed' required
cachedboolean required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the response's property default value changed from 100 to 200 for the status