Skip to main content

Resource URI

Description

Returns a list of all repositories indexed by GitNexus. This is a global resource — it doesn’t require a repository context. Read this first to discover which repositories are available and their current state.

Returns

array
List of indexed repositories

When to Use

  • Before any analysis: Check which repos are available
  • Multi-repo setups: Discover the correct repo name to use in tool calls
  • Index verification: Confirm a repo has been indexed

Example Response

Single Repository

Multiple Repositories

No Repositories

Multi-Repo Context

When multiple repositories are indexed:
  • The response includes a hint about using the repo parameter
  • All tools accept an optional repo parameter to specify which repository to query
  • Resource URIs use the repo name: gitnexus://repo/{name}/context

Next Steps

After reading this resource:
  1. Choose a repository from the list
  2. Read gitnexus://repo/{name}/context to get an overview and check staleness
  3. Use tools like query or context with the repo parameter if needed

Context Resource

Check repository stats and staleness