Skip to main content

Citations

Every search result in Ground includes a citation that provides complete provenance information.

Citation Fields

Citation Types

Code Citations

For repository sources, citations include file path, line numbers, and commit SHA:

Documentation Citations

For HTML documentation, citations include the URL:

OpenAPI Citations

For OpenAPI specs, citations include operation details:

Using Citations

In LLM Prompts

Include citations in your prompts for grounded responses:

For User Display

Show citations to help users verify information:

Version Tracking

Ground tracks versions differently by source type: This allows you to:
  • Link to specific code versions
  • Detect when documentation changes
  • Track API version compatibility