Hack me
Restart a Hack me Engagement
Run a failed assessment again on the same payment at /api/v1/hack-me/engagements//restart
POST
Restart a failed Hack me engagement
Overview
Runs a failed assessment again on the same payment, at no charge; the action behindmorph hackme restart. Read restart on the failed engagement first: the call succeeds while restart.available is true. A payment has 2 restarts, usable within 7 days of payment. When restart.available is false, restart.blockedReason says why, and restart.contactSupport means no restart will become available: email support@morphllm.com about a refund.
When restart.requiresAcceptance is true, the authorization terms changed since you accepted them: read them with Get Hack me Terms and send { "acceptedTerms": true, "agreementVersion": "<agreementVersion from the terms>" }. A version that is no longer current is refused with 409. Otherwise send no body.
The response is the new attempt, with its own id and attemptNumber. Follow that id. Repeating the call returns the same attempt. Organization keys require an organization admin.Authorizations
Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.
Path Parameters
Body
application/json
Acceptance of the current terms, needed only when they changed since payment.
A restart of a failed attempt.