Get started with Depth API in minutes
Connect GitHub
Select Repository
Configure repository settings and start indexing
Generate API Key
Using the API Key
Required Parameters
repo_name
: The GitHub repository to query (e.g., “github.com/calcom/cal.com”)
messages
: Array of message objects with role
and content
model
: Currently supports “gpt-4o”
Optional Parameters
stream
: Boolean flag for streaming responses (default: true)
temperature
: Float between 0 and 2 for response randomness
Response Formats
stream: false
stream: true
error
object in the response body: