Skip to main content
POST
Request a smart contract review

Authorizations

X-API-Key
string
header
required

Your API key in the X-API-Key header.

Headers

X-Case-Id
string | null

Active case, optional: the token of a case you can view. The query is recorded in that case and also uses its own labels. A case that does not exist, was deleted or is no longer shared with you returns 400 case_unavailable and the query is not run, with no charge.

Body

application/json
repo
string
required

Repo público de GitHub: https://github.com/<dueño>/<repo>. Subir un zip todavía no se acepta.

commit
string
required

Hash completo del commit (40 hex). Todo el informe refiere a ese hash.

level
string | null
default:automated

Nivel (D03): automated (Revisión automática), assisted (Revisión asistida) o audit (Auditoría, con un humano; pide spec).

files
string[] | null

Archivos en alcance: caminos o patrones relativos al repo; con ! adelante excluye. Default: src/**/*.sol sin tests, scripts ni lib/.

spec
string | null

Especificación o README de diseño (opcional; obligatoria en audit), hasta 50,000 caracteres.

project
string | null

Nombre del proyecto para el dashboard. Default: el nombre del repo.

Response

Review registered.