Skip to main content

Sources

Sources are the foundation of Ground. They represent the repositories and documentation you want to index and search.

Source Types

Repository Sources (repo)

Index code from Git repositories with language-aware chunking.
Fields:
  • branch: Git branch to index (default: main)
  • include_patterns: Glob patterns for files to include
  • exclude_patterns: Glob patterns for files to exclude

Documentation Sources (docs)

Index documentation from websites or API specifications.

HTML Documentation

Or with explicit URL list:

OpenAPI Specifications

Source Status

API Operations

Create Source

List Sources

Get Source

Update Source

Delete Source

Trigger Sync

Best Practices

Filter out generated files, tests, and dependencies to keep the index focused and efficient.
Keep your sources fresh by syncing regularly. Stale sources show warnings in search results.
OpenAPI specs provide structured, version-tracked API information that’s easier to search accurately.