API + tokens
Bearer-token REST API for scans, issues, scores. Rotate keys.
8 min read4 sections
Every request needs an Authorization header with a bearer token. Generate tokens at /settings/api-tokens.
bash
curl https://app.edith.expert/api/v1/repos \
-H "Authorization: Bearer edith_..."GET /api/v1/repos— list connected reposPOST /api/v1/repos/:id/scan— kick off a scanGET /api/v1/repos/:id/scans/:scanId— scan detailsGET /api/v1/repos/:id/issues— issues with filtersGET /api/v1/issues/:id— single issuePOST /api/v1/issues/:id/dismiss— dismiss a findingGET /api/v1/compliance/:framework— framework status
- Free — 60 requests / minute
- Builder — 300 / minute
- Pro / Agency — 1000 / minute
Excess returns 429 with a Retry-After header.
Errors use standard HTTP codes with a JSON body:
400— invalid input (zod validation error)401— missing/invalid token403— token lacks scope for this resource404— not found429— rate-limited5xx— server fault (we log + page oncall)
Related