RetraceDocs

API Overview

Integrate Retrace Sandbox into your security workflows

Base URL

All API requests use the following base URL:

https://retrace.cloud/api/v1

Authentication

Every request must include your API key in the X-API-Key header:

X-API-Key: rtrc_live_abc123...

See Authentication for how to create and manage keys.

Endpoints

MethodEndpointDescription
POST/analyzeSubmit a file for analysis
GET/analyzeList your analyses
GET/analyze/:idGet analysis details and results

Rate Limits

API usage is subject to monthly scan quotas based on your plan. Rate limit information is included in every response:

HeaderDescription
X-RateLimit-LimitMonthly scan quota
X-RateLimit-RemainingScans remaining this month

When you exceed your quota, requests return 429 Too Many Requests.

Error Responses

All errors follow a consistent format:

{
  "error": "Description of what went wrong"
}
StatusMeaning
400Bad request — missing or invalid parameters
401Unauthorized — invalid or missing API key
403Forbidden — insufficient permissions (e.g., viewer role)
404Not found — analysis doesn't exist or belongs to another org
429Rate limited — monthly quota exceeded
500Internal server error
503Service unavailable — no detonation VMs available

On this page