Hanzo
OpenapiGit

List your repositories over the ZAP transport

Answers every repository in the caller's org and project scope.

POST /v1/git/zap/listRepos

Addresshttps://api.hanzo.ai/v1/git/zap/listRepos
MethodPOST
Operationpost_git_zap_listrepos
AuthAuthorization: Bearer $HANZO_API_KEY

Answers every repository in the caller's org and project scope. It reads NO body — the scope is entirely the caller's identity — so a request with an empty object is correct.

A ZAP PROCEDURE, not a REST resource. It answers the bridge's {status, msg, data} envelope rather than the raw view the /v1 route returns — which is a wire shape a typed op cannot produce, and the reason this stays a raw handler — and it calls the SAME core function the REST route calls, so the two transports cannot diverge in behaviour. Org and project scope come from the request identity and NEVER from the body: the body cannot widen the caller's scope. Without a validated org the answer is a 403 envelope.

Request

The document declares no body for POST /v1/git/zap/listRepos. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_git_zap_listrepos, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo git zap listRepos

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page