Skip to main content
POST
/
code
/
ask
Ask a question about the project's connected source repositories
curl --request POST \
  --url https://api.gleap.io/v3/code/ask \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '
{
  "question": "<string>"
}
'
{
  "answer": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.gleap.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
question
string
required

Response

200 - application/json

Ok

answer
string
required