REST API v2¶
TrustSource provides a REST API for programmatic access to scans, components, modules, projects and compliance data.
| Page | What it covers |
|---|---|
| Authentication | API key format, header usage, scopes. |
| Errors & Responses | HTTP status codes, error body format. |
| Endpoint Reference | All 25 endpoint families. |
| Example: curl | End-to-end workflow via curl. |
| Public Routes | Public SBOM/Notice sharing without auth. |
Base URL¶
All requests are JSON. CORS is enabled (Access-Control-Allow-Origin: *).
[!TIP] For interactive API exploration, use the built-in API Documentation Browser inside TrustSource.