Skip to main content
POST
Search Codebase
Search your indexed codebase (repositories, documentation, and documents) using natural language queries.
string
required
Natural language search question (1-10,000 characters)
string[]
List of repositories to search (owner/repo format, e.g., ["owner/repo", "another/org/repo"])
string[]
Filter by specific indexed resources (alternative to repositories)
string[]
Filter by resource type: repository, documentation, document
string[]
Filter by file extensions (e.g., [".tf", ".yaml", ".py", ".md"])
string
Filter by code type: terraform, kubernetes, docker, python
string
Filter by cloud provider mentioned in code (e.g., aws, gcp, azure)
boolean
default:"true"
Include source code snippets in results
boolean
default:"true"
Include AI-analyzed results with explanations
integer
default:"1000"
Maximum number of results (1-1000)

Request Example

Response Example

Rate Limits

  • Professional: 2,000 queries/month
  • Team: 10,000 queries/month
  • Enterprise: Unlimited queries/month