Skip to main content

GET /api/static/sites

List the Sites you own, paginated. Requires an API key with the read scope (a read-and-scan key also works, since read-and-scan implies read).

Request

Headers:
  • x-api-key (required): Your Rafter security API key, scope read or read-and-scan
Query Parameters:

Example Requests

Response

Success (200 OK):
Error (401 Unauthorized — missing key):
Error (401 Unauthorized — invalid key):
Error (429 Too Many Requests):
Error (500 Internal Server Error):

Response Fields

This endpoint is rate-limited to 100 requests per minute per account. A 429 response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers.

Examples

JavaScript

Python

Next Steps

Use each site’s id with the Get Site endpoint to check status and findings, or with Scan Site to trigger a re-scan.