Skip to main content
The Detail REST API gives you programmatic access to bug findings, scan history, repository info, and custom rules. Use it to automate triage workflows, sync findings to internal tools, or build custom dashboards on top of Detail’s analysis engine.

Base URL

All API requests go to:
Every endpoint is prefixed with /public/v1/. A full request URL looks like:

Authentication

The API uses Bearer token authentication. Pass your API key in the Authorization header on every request. See Authentication for details on obtaining and using keys.

Request and response format

All request bodies and responses use JSON. Set Content-Type: application/json when sending a request body.

Pagination

Endpoints that return lists accept limit and offset query parameters and include a total field in the response. The response total field tells you how many records exist in total, so you can calculate subsequent offsets.

Available endpoints

Error codes

All errors return an ApiError JSON object with type, message, and statusCode fields.