v4

OpenAPI 3.0.02026-07-31257282489.4 KB
Code

Ask a question about the project's connected source repositories

Forwards the question to the code analyzer, which clones all repositories connected to this project, investigates them, and returns a user-facing answer (logic, behavior, click paths). The analyzer's system prompt enforces that no code, identifiers or secrets are included in answers. With no repositories connected the endpoint returns 200 with a canned no-repositories answer; it fails with 409 when the AI usage limit is reached.

post/code/ask

Headers

projectstring required

Request body

questionstring required

Response

Ok

answerstring required