Skip to main content

Security API reference

Base URL: https://api.withfoundry.ai
Auth: Authorization: Bearer key_...
All responses use the envelope { success, data, meta: { requestId } }.

Start scan

POST /v1/security/scan Start a security scan for a repository. Request body Response data Example

Get scan result

GET /v1/security/scan/:scanId Retrieve scan status and findings. Path Response data Finding object Example