{
"error": "Missing or invalid API key. Send \"Authorization: Bearer <key>\" with a key from https://www.morphllm.com/dashboard/api-keys"
}
{
"error": "An organization admin must authorize and pay for an engagement. Use an API key created by an admin of this organization."
}
{
"error": "Engagement not found. List yours with GET /api/v1/hack-me/engagements."
}
{
"error": "This engagement has already finished."
}
Overview
Cancels an engagement; the action behind morph hackme cancel. What it does depends on payment:
Engagement
Result
awaiting_payment
Cancelled. Nothing is charged and the checkout page stops working. A payment already submitted cannot be walked away from: 409.
Paid, assessment not started (for example, still waiting for its DNS record)
cancelled at once. Nothing was run against your host.
Paid, assessment started
The stop is sent to the assessment. status reads dispatched with stopRequestedAt set until the stop is confirmed, then cancelled. Findings not yet reported are lost.
A stopped paid engagement is not refunded automatically. Repeating the call returns the same stop. Organization keys require an organization admin.
{
"error": "Missing or invalid API key. Send \"Authorization: Bearer <key>\" with a key from https://www.morphllm.com/dashboard/api-keys"
}
{
"error": "An organization admin must authorize and pay for an engagement. Use an API key created by an admin of this organization."
}
{
"error": "Engagement not found. List yours with GET /api/v1/hack-me/engagements."
}
{
"error": "This engagement has already finished."
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Morph Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/light.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=cd5a33b1dd765106a68d6f487a1e20f1","dark":"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/dark.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=c1c314250fc34da822ffa325af1cc60e","href":"https://morphllm.com"},"favicon":"https://mintcdn.com/morph-555d6c14/81UoWpotGPzGjPQ0/favicon.ico?fit=max\u0026auto=format\u0026n=81UoWpotGPzGjPQ0\u0026q=85\u0026s=0f94266a609b76a75975d1377f33b7e0","api":{"playground":{}},"navbar":{"links":[{"href":"https://discord.gg/AdXta4yxEK","label":"Community"},{"href":"https://morphllm.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://morphllm.com/dashboard"}},"seo":{"indexing":"all"},"styling":{"latex":true},"contextual":{"options":["copy","view","download-spec","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"morph-555d6c14","hasAudioNarration":false,"actualSubdomain":"morph-555d6c14","customDomains":["docs.morphllm.com"],"gitSource":{"type":"github","owner":"morphllm","repo":"landing","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0fd2ae0cbaa5f5c7704e3a","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":45},{"language":"default","tag":"Models","count":20},{"language":"default","tag":"Integrations","count":13},{"language":"default","tag":"Compute","count":12},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Hack me","count":8},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"WarpGrep","count":7},{"language":"default","tag":"Speech to Text","count":5},{"language":"default","tag":"Frameworks","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false,"authValue":{"userAuth":{"type":"shared-session","apiUrl":"https://www.morphllm.com/api/user/session","loginUrl":"https://www.morphllm.com/dashboard","invalidatedAt":1765493560614}}},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/hack-me-cancel","slug":"/api-reference/endpoint/hack-me-cancel","pageMetadata":{"title":"Cancel a Hack me Engagement","description":"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel","openapi":"POST /api/v1/hack-me/engagements/{id}/cancel","href":"/api-reference/endpoint/hack-me-cancel"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/\", \"/cancel\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Cancels an engagement; the action behind `,_jsx(_components.code,{children:`morph hackme cancel`}),`. What it does depends on payment:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Engagement`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Result`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`awaiting_payment`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Cancelled. Nothing is charged and the checkout page stops working. A payment already submitted cannot be walked away from: `,_jsx(_components.code,{children:`409`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Paid, assessment not started (for example, still waiting for its DNS record)`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`cancelled`}),` at once. Nothing was run against your host.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Paid, assessment started`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The stop is sent to the assessment. `,_jsx(_components.code,{children:`status`}),` reads `,_jsx(_components.code,{children:`dispatched`}),` with `,_jsx(_components.code,{children:`stopRequestedAt`}),` set until the stop is confirmed, then `,_jsx(_components.code,{children:`cancelled`}),`. Findings not yet reported are lost.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`A stopped paid engagement is not refunded automatically. Repeating the call returns the same stop. Organization keys require an organization admin.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cancel a Hack me Engagement","description":"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel","openapi":"POST /api/v1/hack-me/engagements/{id}/cancel","href":"/api-reference/endpoint/hack-me-cancel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"cancelHackMeEngagement","summary":"Cancel a Hack me engagement","description":"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel","tags":["hack-me"],"security":["e1304ca4-336d-4c00-aa9b-7393fcc7d405"],"parameters":["56131bdf-6319-4bd6-bdea-11f220f0c8ed"],"responses":{"200":"afc0208e-c68e-40bf-9b54-1fb802299f09","401":"2ca16850-0932-4413-95b4-f26535e56077","403":"af7dd32d-637b-4841-a04b-2a0113258886","404":"6bc0c09c-8a43-4d5b-9114-e5452d2268c5","409":"29a9b90f-682d-475f-9c76-981b4e908061"},"method":"post","type":"path","servers":["8f7468ae-d6b2-4d5f-814e-1a3f0d3d08ea"],"path":"/api/v1/hack-me/engagements/{id}/cancel","baseUrlOptions":["https://api.morphllm.com"],"title":"Cancel a Hack me engagement","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"56131bdf-6319-4bd6-bdea-11f220f0c8ed":{"schema":{"type":"string","format":"uuid","description":"Identifies the engagement to cancel or stop.\nId of an engagement that has not finished.","example":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Identifies the engagement to cancel or stop.","name":"id","in":"path"}},"responses":{"afc0208e-c68e-40bf-9b54-1fb802299f09":{"description":"Cancelled, or the stop recorded.","content":{"application/json":{"example":{"engagement":{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","hostname":"app.example.com","status":"cancelled","assessmentStatus":null,"detail":null,"verification":null,"agreementVersion":"2026-12-02-v1","authorizationAcceptedAt":"2027-01-04T09:02:00.000Z","paidAt":null,"amountSubtotalCents":null,"amountDiscountCents":null,"amountTaxCents":null,"amountTotalCents":null,"activity":null,"completedAt":null,"createdAt":"2027-01-04T09:02:00.000Z","report":null,"stopRequestedAt":"2027-01-04T09:10:00.000Z","attemptNumber":1,"attempts":[{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"cancelled","assessmentStatus":null,"createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":null,"completedAt":null}],"restart":null,"refundReason":null}},"schema":{"type":"object","properties":{"engagement":{"type":"object","description":"The engagement after the call.","required":["id","hostname","status","assessmentStatus","detail","verification","agreementVersion","authorizationAcceptedAt","paidAt","amountSubtotalCents","amountDiscountCents","amountTaxCents","amountTotalCents","activity","completedAt","createdAt","report","stopRequestedAt","attemptNumber","attempts","restart","refundReason"],"example":{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","hostname":"app.example.com","status":"paid","assessmentStatus":"verifying","detail":"The TXT record was not found yet. DNS changes can take a few minutes to appear. It is checked again automatically.","verification":{"recordName":"_mindfort.app.example.com","recordValue":"f0e1d2c3b4a5968778695a4b3c2d1e0f"},"agreementVersion":"2026-12-02-v1","authorizationAcceptedAt":"2027-01-04T09:02:00.000Z","paidAt":"2027-01-04T09:05:00.000Z","amountSubtotalCents":50000,"amountDiscountCents":0,"amountTaxCents":0,"amountTotalCents":50000,"activity":null,"completedAt":null,"createdAt":"2027-01-04T09:02:00.000Z","report":null,"stopRequestedAt":null,"attemptNumber":1,"attempts":[{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"paid","assessmentStatus":"verifying","createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":null,"completedAt":null}],"restart":null,"refundReason":null},"properties":{"id":{"type":"string","format":"uuid","description":"Engagement id. Pass it to the other routes. A restart is a new attempt with its own id.","example":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","isRequired":true,"uniqueKey":"engagement.id","typeLabel":"string\u003cuuid>"},"hostname":{"type":"string","description":"The one host under test, lowercase. It is tested over HTTPS on port 443.","example":"app.example.com","isRequired":true,"uniqueKey":"engagement.hostname","typeLabel":"string"},"status":{"type":"string","enum":["awaiting_dns","awaiting_payment","paid","dispatched","completed","failed","cancelled"],"description":"The field to act on. `awaiting_payment`: terms accepted, not paid; pay at the checkout route’s URL. `paid`: payment received; while `assessmentStatus` is `verifying` it waits for the DNS TXT record in `verification`, otherwise the assessment is being started. `dispatched`: the assessment started; `assessmentStatus` is `queued` or `running`. `completed`: `report` is ready. `failed`: the run failed; `restart` says whether it can run again at no charge. `cancelled`: cancelled before payment, stopped at your request, or refused (see `refundReason`). `awaiting_dns`: a draft from a retired flow that cannot be continued; cancel it.","example":"completed","isRequired":true,"uniqueKey":"engagement.status","typeLabel":"enum\u003cstring>"},"assessmentStatus":{"oneOf":[{"type":"string","enum":["verifying","queued","running","completed","failed","cancelled",null],"description":"The assessment’s own status. `verifying`: waiting for the DNS TXT record. `queued`: waiting to start. `running`: testing, which takes hours. `completed`, `failed` and `cancelled`: the run ended. Null before payment and while a paid assessment is being started.","example":"completed","isRequired":true,"uniqueKey":"engagement.assessmentStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["verifying","queued","running","completed","failed","cancelled",null],"description":"The assessment’s own status. `verifying`: waiting for the DNS TXT record. `queued`: waiting to start. `running`: testing, which takes hours. `completed`, `failed` and `cancelled`: the run ended. Null before payment and while a paid assessment is being started.","example":"completed","isRequired":true,"uniqueKey":"engagement.assessmentStatus.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.assessmentStatus","typeLabel":"enum\u003cstring> | null"},"detail":{"oneOf":[{"type":"string","description":"One line on the current state, in plain text: why it is waiting (the DNS record not found yet, a delayed start, another assessment of the host running) or why it failed or was cancelled. Null when there is nothing to add.","example":null,"isRequired":true,"uniqueKey":"engagement.detail.oneOf.0","typeLabel":"string"},{"type":"null","description":"One line on the current state, in plain text: why it is waiting (the DNS record not found yet, a delayed start, another assessment of the host running) or why it failed or was cancelled. Null when there is nothing to add.","example":null,"isRequired":true,"uniqueKey":"engagement.detail.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.detail","typeLabel":"string | null"},"verification":{"oneOf":[{"type":"object","description":"The DNS TXT record to publish. Set only while `status` is `paid` and `assessmentStatus` is `verifying`. Otherwise null.","required":["recordName","recordValue"],"example":null,"properties":{"recordName":{"type":"string","description":"Name of the DNS TXT record to publish, as a fully qualified name.","example":"_mindfort.app.example.com","isRequired":true,"uniqueKey":"engagement.verification.oneOf.0.recordName","typeLabel":"string"},"recordValue":{"type":"string","description":"Value of the TXT record, exactly as given.","example":"f0e1d2c3b4a5968778695a4b3c2d1e0f","isRequired":true,"uniqueKey":"engagement.verification.oneOf.0.recordValue","typeLabel":"string"}},"isRequired":true,"uniqueKey":"engagement.verification.oneOf.0","typeLabel":"object"},{"type":"null","description":"The DNS TXT record to publish. Set only while `status` is `paid` and `assessmentStatus` is `verifying`. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.verification.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.verification","typeLabel":"object | null"},"agreementVersion":{"type":"string","description":"Version of the authorization terms accepted for this attempt.","example":"2026-12-02-v1","isRequired":true,"uniqueKey":"engagement.agreementVersion","typeLabel":"string"},"authorizationAcceptedAt":{"type":"string","format":"date-time","description":"ISO 8601 time the authorization terms were accepted.","example":"2027-01-04T09:02:00.000Z","isRequired":true,"uniqueKey":"engagement.authorizationAcceptedAt","typeLabel":"string\u003cdate-time>"},"paidAt":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 time of payment. Null until paid. A restart shows the payment it runs on.","example":"2027-01-04T09:05:00.000Z","isRequired":true,"uniqueKey":"engagement.paidAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 time of payment. Null until paid. A restart shows the payment it runs on.","example":"2027-01-04T09:05:00.000Z","isRequired":true,"uniqueKey":"engagement.paidAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.paidAt","typeLabel":"string\u003cdate-time> | null"},"amountSubtotalCents":{"oneOf":[{"type":"integer","description":"The price before discount and tax, in US cents. Null until paid.","example":50000,"isRequired":true,"uniqueKey":"engagement.amountSubtotalCents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The price before discount and tax, in US cents. Null until paid.","example":50000,"isRequired":true,"uniqueKey":"engagement.amountSubtotalCents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.amountSubtotalCents","typeLabel":"integer | null"},"amountDiscountCents":{"oneOf":[{"type":"integer","description":"Discount from a promotion code, in US cents. Null until paid.","example":0,"isRequired":true,"uniqueKey":"engagement.amountDiscountCents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Discount from a promotion code, in US cents. Null until paid.","example":0,"isRequired":true,"uniqueKey":"engagement.amountDiscountCents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.amountDiscountCents","typeLabel":"integer | null"},"amountTaxCents":{"oneOf":[{"type":"integer","description":"Sales tax Stripe charged from the billing address, in US cents. Null until paid. The example is illustrative.","example":0,"isRequired":true,"uniqueKey":"engagement.amountTaxCents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sales tax Stripe charged from the billing address, in US cents. Null until paid. The example is illustrative.","example":0,"isRequired":true,"uniqueKey":"engagement.amountTaxCents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.amountTaxCents","typeLabel":"integer | null"},"amountTotalCents":{"oneOf":[{"type":"integer","description":"What was charged, in US cents: subtotal, less discount, plus tax. Null until paid. The example is illustrative.","example":50000,"isRequired":true,"uniqueKey":"engagement.amountTotalCents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"What was charged, in US cents: subtotal, less discount, plus tax. Null until paid. The example is illustrative.","example":50000,"isRequired":true,"uniqueKey":"engagement.amountTotalCents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.amountTotalCents","typeLabel":"integer | null"},"activity":{"oneOf":[{"type":"object","description":"The run’s stages and where each one is. Null until the run reports them.","required":["stages"],"example":{"stages":[{"name":"Reconnaissance","state":"done"},{"name":"Access control","state":"done"},{"name":"Injection","state":"done"}]},"properties":{"stages":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The stage, as the assessment names it.","example":"Access control","isRequired":true,"uniqueKey":"engagement.activity.oneOf.0.stages.items.[INDEX].name","typeLabel":"string"},"state":{"type":"string","enum":["pending","running","done","skipped","failed"],"description":"Where the stage is: `pending`, `running`, `done`, `skipped` or `failed`.","example":"running","isRequired":true,"uniqueKey":"engagement.activity.oneOf.0.stages.items.[INDEX].state","typeLabel":"enum\u003cstring>"}},"required":["name","state"],"uniqueKey":"engagement.activity.oneOf.0.stages.items.[INDEX]","typeLabel":"object"},"description":"The run’s testing stages, in the order they run.","example":[{"name":"Reconnaissance","state":"done"},{"name":"Access control","state":"running"},{"name":"Injection","state":"pending"}],"isRequired":true,"uniqueKey":"engagement.activity.oneOf.0.stages","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"engagement.activity.oneOf.0","typeLabel":"object"},{"type":"null","description":"The run’s stages and where each one is. Null until the run reports them.","example":{"stages":[{"name":"Reconnaissance","state":"done"},{"name":"Access control","state":"done"},{"name":"Injection","state":"done"}]},"isRequired":true,"uniqueKey":"engagement.activity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.activity","typeLabel":"object | null"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 time the assessment ended: completed, failed or cancelled. Null before, and on an engagement cancelled before payment.","example":"2027-01-04T15:12:00.000Z","isRequired":true,"uniqueKey":"engagement.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 time the assessment ended: completed, failed or cancelled. Null before, and on an engagement cancelled before payment.","example":"2027-01-04T15:12:00.000Z","isRequired":true,"uniqueKey":"engagement.completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.completedAt","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","description":"ISO 8601 time the engagement was created.","example":"2027-01-04T09:02:00.000Z","isRequired":true,"uniqueKey":"engagement.createdAt","typeLabel":"string\u003cdate-time>"},"report":{"oneOf":[{"type":"object","description":"The findings. Set once `status` is `completed`. Otherwise null.","required":["findings"],"example":{"findings":[{"id":"5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47","status":"confirmed","severity":"high","class":"Broken Access Control","title":"Any signed-in user can read another account’s invoices","where":"GET https://app.example.com/api/invoices/{id}","proof":"Signed in as account A, requested invoice 1042 of account B: 200 with the full invoice.","control":"Check that the invoice belongs to the caller’s account before returning it.","chain":"","detail":"Invoice ids are sequential and the route checks only that the caller is signed in.\n\nImpact: any customer can read every other customer’s billing details."}]},"properties":{"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Finding id.","example":"5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].id","typeLabel":"string"},"status":{"type":"string","description":"Validation status. `confirmed`: the agents proved it against the live host.","example":"confirmed","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].status","typeLabel":"string"},"severity":{"type":"string","description":"Severity as reported, such as `critical`, `high`, `medium` or `low`. Empty when none was given.","example":"high","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].severity","typeLabel":"string"},"class":{"type":"string","description":"The kind of weakness, such as its OWASP category.","example":"Broken Access Control","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].class","typeLabel":"string"},"title":{"type":"string","description":"The problem in one line.","example":"Any signed-in user can read another account’s invoices","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].title","typeLabel":"string"},"where":{"type":"string","description":"The endpoint where it was found. Empty when not reported.","example":"GET https://app.example.com/api/invoices/{id}","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].where","typeLabel":"string"},"proof":{"type":"string","description":"Evidence gathered against the live host. Empty when not reported.","example":"Signed in as account A, requested invoice 1042 of account B: 200 with the full invoice.","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].proof","typeLabel":"string"},"control":{"type":"string","description":"How to fix it. Empty when not reported.","example":"Check that the invoice belongs to the caller’s account before returning it.","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].control","typeLabel":"string"},"chain":{"type":"string","description":"How this finding links with others into one attack, when it does. Empty otherwise.","example":"","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].chain","typeLabel":"string"},"detail":{"type":"string","description":"What is wrong and its impact. Empty when not reported.","example":"Invoice ids are sequential and the route checks only that the caller is signed in.\n\nImpact: any customer can read every other customer’s billing details.","isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX].detail","typeLabel":"string"}},"required":["id","status","severity","class","title","where","proof","control","chain","detail"],"description":"One validated finding, as plain text.","example":{"id":"5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47","status":"confirmed","severity":"high","class":"Broken Access Control","title":"Any signed-in user can read another account’s invoices","where":"GET https://app.example.com/api/invoices/{id}","proof":"Signed in as account A, requested invoice 1042 of account B: 200 with the full invoice.","control":"Check that the invoice belongs to the caller’s account before returning it.","chain":"","detail":"Invoice ids are sequential and the route checks only that the caller is signed in.\n\nImpact: any customer can read every other customer’s billing details."},"uniqueKey":"engagement.report.oneOf.0.findings.items.[INDEX]","typeLabel":"object"},"description":"Validated findings, highest severity first, at most 200. Findings past the first 40 carry their title, severity and class only. Empty when nothing was found.","example":[{"id":"5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47","status":"confirmed","severity":"high","class":"Broken Access Control","title":"Any signed-in user can read another account’s invoices","where":"GET https://app.example.com/api/invoices/{id}","proof":"Signed in as account A, requested invoice 1042 of account B: 200 with the full invoice.","control":"Check that the invoice belongs to the caller’s account before returning it.","chain":"","detail":"Invoice ids are sequential and the route checks only that the caller is signed in.\n\nImpact: any customer can read every other customer’s billing details."}],"isRequired":true,"uniqueKey":"engagement.report.oneOf.0.findings","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"engagement.report.oneOf.0","typeLabel":"object"},{"type":"null","description":"The findings. Set once `status` is `completed`. Otherwise null.","example":{"findings":[{"id":"5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47","status":"confirmed","severity":"high","class":"Broken Access Control","title":"Any signed-in user can read another account’s invoices","where":"GET https://app.example.com/api/invoices/{id}","proof":"Signed in as account A, requested invoice 1042 of account B: 200 with the full invoice.","control":"Check that the invoice belongs to the caller’s account before returning it.","chain":"","detail":"Invoice ids are sequential and the route checks only that the caller is signed in.\n\nImpact: any customer can read every other customer’s billing details."}]},"isRequired":true,"uniqueKey":"engagement.report.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.report","typeLabel":"object | null"},"stopRequestedAt":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 time you cancelled the engagement or asked to stop it. While `status` is still `paid` or `dispatched`, the stop waits for the assessment service to confirm it, then `status` reads `cancelled`. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.stopRequestedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 time you cancelled the engagement or asked to stop it. While `status` is still `paid` or `dispatched`, the stop waits for the assessment service to confirm it, then `status` reads `cancelled`. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.stopRequestedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.stopRequestedAt","typeLabel":"string\u003cdate-time> | null"},"attemptNumber":{"type":"integer","description":"1 for the paid run, then 2 and 3 for restarts (at most 3 attempts per payment).","example":1,"isRequired":true,"uniqueKey":"engagement.attemptNumber","typeLabel":"integer"},"attempts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The attempt’s engagement id.","example":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"attemptNumber":{"type":"integer","description":"1 for the paid run, then 2 and 3 for restarts.","example":1,"isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].attemptNumber","typeLabel":"integer"},"status":{"type":"string","enum":["awaiting_dns","awaiting_payment","paid","dispatched","completed","failed","cancelled"],"description":"The attempt’s `status`.","example":"failed","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"assessmentStatus":{"oneOf":[{"type":"string","enum":["verifying","queued","running","completed","failed","cancelled",null],"description":"The attempt’s `assessmentStatus`.","example":"failed","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].assessmentStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["verifying","queued","running","completed","failed","cancelled",null],"description":"The attempt’s `assessmentStatus`.","example":"failed","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].assessmentStatus.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].assessmentStatus","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"ISO 8601 time the attempt was created.","example":"2027-01-04T09:02:00.000Z","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"dispatchedAt":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 time the attempt was handed to the assessment service. Null before.","example":"2027-01-04T09:41:00.000Z","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].dispatchedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 time the attempt was handed to the assessment service. Null before.","example":"2027-01-04T09:41:00.000Z","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].dispatchedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].dispatchedAt","typeLabel":"string\u003cdate-time> | null"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 time the attempt’s assessment ended. Null before.","example":"2027-01-04T11:30:00.000Z","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 time the attempt’s assessment ended. Null before.","example":"2027-01-04T11:30:00.000Z","isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.attempts.items.[INDEX].completedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","attemptNumber","status","assessmentStatus","createdAt","dispatchedAt","completedAt"],"description":"One attempt of a payment.","example":{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"failed","assessmentStatus":"failed","createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":"2027-01-04T09:41:00.000Z","completedAt":"2027-01-04T11:30:00.000Z"},"uniqueKey":"engagement.attempts.items.[INDEX]","typeLabel":"object"},"description":"Every attempt on this payment, oldest first, this one included.","example":[{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"completed","assessmentStatus":"completed","createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":"2027-01-04T09:41:00.000Z","completedAt":"2027-01-04T15:12:00.000Z"}],"isRequired":true,"uniqueKey":"engagement.attempts","typeLabel":"object[]"},"restart":{"oneOf":[{"type":"object","description":"Set only on a failed attempt that no restart has replaced yet: whether it can run again at no charge. Otherwise null.","required":["available","remaining","until","requiresAcceptance","blockedReason","contactSupport"],"example":null,"properties":{"available":{"type":"boolean","description":"Whether the restart route accepts this attempt now.","example":true,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.available","typeLabel":"boolean"},"remaining":{"type":"integer","description":"Restarts this payment has left, out of 2.","example":2,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.remaining","typeLabel":"integer"},"until":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 end of the restart window, 7 days after payment.","example":"2027-01-11T09:05:00.000Z","isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 end of the restart window, 7 days after payment.","example":"2027-01-11T09:05:00.000Z","isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.until","typeLabel":"string\u003cdate-time> | null"},"requiresAcceptance":{"type":"boolean","description":"The authorization terms changed since this attempt was accepted. Restarting needs `acceptedTerms: true`, accepting the current terms.","example":false,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.requiresAcceptance","typeLabel":"boolean"},"blockedReason":{"oneOf":[{"type":"string","description":"Why a restart is not available now, in plain text. Null when it is.","example":null,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.blockedReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why a restart is not available now, in plain text. Null when it is.","example":null,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.blockedReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.blockedReason","typeLabel":"string | null"},"contactSupport":{"type":"boolean","description":"No restart will become available for this payment. Email support@morphllm.com about a refund.","example":false,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0.contactSupport","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"engagement.restart.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set only on a failed attempt that no restart has replaced yet: whether it can run again at no charge. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.restart.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.restart","typeLabel":"object | null"},"refundReason":{"oneOf":[{"type":"string","description":"Set when Morph will refund the payment because the assessment was refused, for example because the host no longer resolves only to public addresses. Plain text. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.refundReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when Morph will refund the payment because the assessment was refused, for example because the host no longer resolves only to public addresses. Plain text. Otherwise null.","example":null,"isRequired":true,"uniqueKey":"engagement.refundReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"engagement.refundReason","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"engagement","typeLabel":"object"}},"required":["engagement"],"description":"An engagement after a write.","example":{"engagement":{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","hostname":"app.example.com","status":"paid","assessmentStatus":"verifying","detail":"The TXT record was not found yet. DNS changes can take a few minutes to appear. It is checked again automatically.","verification":{"recordName":"_mindfort.app.example.com","recordValue":"f0e1d2c3b4a5968778695a4b3c2d1e0f"},"agreementVersion":"2026-12-02-v1","authorizationAcceptedAt":"2027-01-04T09:02:00.000Z","paidAt":"2027-01-04T09:05:00.000Z","amountSubtotalCents":50000,"amountDiscountCents":0,"amountTaxCents":0,"amountTotalCents":50000,"activity":null,"completedAt":null,"createdAt":"2027-01-04T09:02:00.000Z","report":null,"stopRequestedAt":null,"attemptNumber":1,"attempts":[{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"paid","assessmentStatus":"verifying","createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":null,"completedAt":null}],"restart":null,"refundReason":null}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"engagement":{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","hostname":"app.example.com","status":"cancelled","assessmentStatus":null,"detail":null,"verification":null,"agreementVersion":"2026-12-02-v1","authorizationAcceptedAt":"2027-01-04T09:02:00.000Z","paidAt":null,"amountSubtotalCents":null,"amountDiscountCents":null,"amountTaxCents":null,"amountTotalCents":null,"activity":null,"completedAt":null,"createdAt":"2027-01-04T09:02:00.000Z","report":null,"stopRequestedAt":"2027-01-04T09:10:00.000Z","attemptNumber":1,"attempts":[{"id":"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16","attemptNumber":1,"status":"cancelled","assessmentStatus":null,"createdAt":"2027-01-04T09:02:00.000Z","dispatchedAt":null,"completedAt":null}],"restart":null,"refundReason":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"2ca16850-0932-4413-95b4-f26535e56077":{"description":"Missing or invalid Morph API key on a Hack me request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request was refused and what to do instead, in plain text.","example":"Engagement not found. List yours with GET /api/v1/hack-me/engagements.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the Hack me routes.","example":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Missing or invalid API key. Send \"Authorization: Bearer \u003ckey>\" with a key from https://www.morphllm.com/dashboard/api-keys"},"examples":{"Example":{"title":"Example","value":{"error":"Missing or invalid API key. Send \"Authorization: Bearer \u003ckey>\" with a key from https://www.morphllm.com/dashboard/api-keys"}}},"exampleType":"examples"}},"exampleType":"examples"},"af7dd32d-637b-4841-a04b-2a0113258886":{"description":"The key is an organization key whose owner is not an admin of the organization. With an organization key, every write needs a key created by an organization admin.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request was refused and what to do instead, in plain text.","example":"Engagement not found. List yours with GET /api/v1/hack-me/engagements.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the Hack me routes.","example":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"An organization admin must authorize and pay for an engagement. Use an API key created by an admin of this organization."},"examples":{"Example":{"title":"Example","value":{"error":"An organization admin must authorize and pay for an engagement. Use an API key created by an admin of this organization."}}},"exampleType":"examples"}},"exampleType":"examples"},"6bc0c09c-8a43-4d5b-9114-e5452d2268c5":{"description":"No engagement with this id belongs to the key’s account. Another account’s engagement also returns 404, so existence is never leaked.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request was refused and what to do instead, in plain text.","example":"Engagement not found. List yours with GET /api/v1/hack-me/engagements.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the Hack me routes.","example":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."},"examples":{"Example":{"title":"Example","value":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."}}},"exampleType":"examples"}},"exampleType":"examples"},"29a9b90f-682d-475f-9c76-981b4e908061":{"description":"The engagement has already finished, or its payment was submitted so it can no longer be walked away from. The message says which.","content":{"application/json":{"example":{"error":"This engagement has already finished."},"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request was refused and what to do instead, in plain text.","example":"Engagement not found. List yours with GET /api/v1/hack-me/engagements.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the Hack me routes.","example":{"error":"Engagement not found. List yours with GET /api/v1/hack-me/engagements."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"This engagement has already finished."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"e1304ca4-336d-4c00-aa9b-7393fcc7d405":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"opaque","description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"8f7468ae-d6b2-4d5f-814e-1a3f0d3d08ea":{"url":"https://api.morphllm.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"opaque","description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"morph-555d6c14","siteName":"Morph Documentation","title":"Cancel a Hack me Engagement - Morph Documentation","contextualStarterQuestions":[],"lastModified":"2026-12-02T08:11:34.899Z","originalFileLocation":"api-reference/endpoint/hack-me-cancel.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel\">\u003cmeta data-mint-head name=\"application-name\" content=\"Morph Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a Hack me Engagement - Morph Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Morph Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://morph-555d6c14.mintlify.site/_mintlify/api/og/v2?division=Hack+me\u0026amp;title=Cancel+a+Hack+me+Engagement\u0026amp;description=Walk+away+from+an+unpaid+engagement+or+stop+a+paid+one+at+%2Fapi%2Fv1%2Fhack-me%2Fengagements%2F%7Bid%7D%2Fcancel\u0026amp;theme=2a78a8709f2d6f723112079e\u0026amp;signature=d0dd0a3e25f2f0eb14a2dda1e83f761460ae8fd47cc78261bb291c18e24b1275\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cancel a Hack me Engagement - Morph Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://morph-555d6c14.mintlify.site/_mintlify/api/og/v2?division=Hack+me\u0026amp;title=Cancel+a+Hack+me+Engagement\u0026amp;description=Walk+away+from+an+unpaid+engagement+or+stop+a+paid+one+at+%2Fapi%2Fv1%2Fhack-me%2Fengagements%2F%7Bid%7D%2Fcancel\u0026amp;theme=2a78a8709f2d6f723112079e\u0026amp;signature=d0dd0a3e25f2f0eb14a2dda1e83f761460ae8fd47cc78261bb291c18e24b1275\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Morph Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/hack-me-cancel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.morphllm.com/#organization\",\"name\":\"Morph Documentation\",\"url\":\"https://docs.morphllm.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/light.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=cd5a33b1dd765106a68d6f487a1e20f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.morphllm.com#website\",\"name\":\"Morph Documentation\",\"url\":\"https://docs.morphllm.com\",\"publisher\":{\"@id\":\"https://docs.morphllm.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel#webpage\",\"url\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel\",\"name\":\"Cancel a Hack me Engagement\",\"description\":\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel\",\"dateModified\":\"2026-12-02T08:11:34.899Z\",\"isPartOf\":{\"@id\":\"https://docs.morphllm.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/apply\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hack me\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-terms\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cancel a Hack me Engagement\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel#apireference\",\"headline\":\"Cancel a Hack me Engagement\",\"name\":\"Cancel a Hack me Engagement\",\"description\":\"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel\",\"url\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/hack-me-cancel#webpage\"},\"dateModified\":\"2026-12-02T08:11:34.899Z\",\"publisher\":{\"@id\":\"https://docs.morphllm.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.morphllm.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Morph Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Morph Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/hack-me-cancel.md","siteName":"Morph Documentation","nav":{"global":null,"groups":[{"group":"Get Started","public":true,"pages":[{"title":"Introduction","description":"Open-weight coding models on an OpenAI-compatible API","icon":"book-open","href":"/introduction"},{"title":"Quickstart","description":"Run a model, apply edits at 10,500 tok/s, and search code — one OpenAI-compatible API","icon":"rocket","href":"/quickstart"},{"title":"Endpoints","description":"Choose general inference or reserve capacity for a dedicated model endpoint","icon":"plug","href":"/endpoints"},{"title":"General inference","description":"Send requests to Morph models without provisioning an endpoint","icon":"bolt","href":"/general-inference"},{"title":"Dedicated endpoints","description":"Reserve model capacity, send requests, monitor usage, and cancel service","icon":"server","href":"/dedicated-endpoints"},{"title":"Dedicated compute","description":"Reserve whole GPU nodes by the month, SSH into them, manage keys, read metrics, pay invoices, and give notice","icon":"microchip","href":"/dedicated-compute"},{"title":"Hack me","description":"Have one public host penetration tested: accept the terms, pay, prove control with a DNS TXT record, get validated findings with evidence and a fix","icon":"shield-halved","href":"/hack-me"},{"title":"Ultra Plan \u0026 Rate Limits","description":"Unlimited Kimi K3.1 and DeepSeek V4.1 Flash for $200/mo, plus account rate limits, headers, and 429 handling","icon":"infinity","href":"/ultra-plan"},{"title":"morph CLI","description":"One binary for WarpGrep search, Fast Apply edits, Compact, and chat. Agents call it through their shell.","icon":"terminal","href":"/cli"},{"title":"Agent skills","description":"SKILL.md files that teach Claude Code, Codex, Cursor and OpenCode when to call morph.","icon":"graduation-cap","href":"/skills"}]},{"group":"Models","public":true,"pages":[{"group":"Open Source Models","icon":"rocket","root":{"title":"Open Source Models","description":"Open-weight models with automatic prefix caching","icon":"rocket","href":"/sdk/components/fast-models"},"pages":[{"title":"Dynamic Tool Loading","description":"Load Kimi K3.1 tool schemas only when an agent needs them","icon":"wrench","href":"/sdk/components/dynamic-tool-loading"},{"title":"Prompt Caching","description":"Automatic prefix caching on every open source model. Cached input at $0.312/1M on GLM-5.3, no cache-write surcharge.","icon":"database","href":"/sdk/components/caching"},{"title":"Standby Requests","description":"50% off Kimi K3.1, GLM-5.3, GLM-5.3-Flash, and DeepSeek V4 Flash for latency-tolerant workloads. Set service_tier: standby and pay half.","icon":"clock","href":"/sdk/components/standby"}]},{"title":"Reflex","description":"Get a decision from text, JSON, or an image. Send a state and a question; read the probabilities.","icon":"bolt","href":"/models/reflex"},{"title":"Prism","tag":"BETA","description":"Check whether text was written by an AI model, and which provider's model wrote it.","icon":"fingerprint","href":"/models/prism"},{"title":"Speech to Text","description":"Ultra-low-latency voice-to-text: 87 ms streaming, 195 ms 34B dictation, $0.18/audio hr. OpenAI-compatible.","icon":"microphone","href":"/models/speech-to-text"},{"title":"Fast Apply","description":"AI file editing at 10,500 tokens/s - 1.8x faster, 40% fewer tokens","icon":"bolt","href":"/sdk/components/fast-apply"},{"title":"Compact","description":"Drop filler from chat history at 33,000 tok/s. No rewriting, no paraphrasing.","icon":"compress","og:image":"images/compact.webp","twitter:image":"images/compact.webp","href":"/sdk/components/compact"},{"group":"WarpGrep","icon":"search","root":{"title":"WarpGrep","description":"A code search subagent that finds relevant code in a separate context window. No embeddings, no indexing.","icon":"search","href":"/sdk/components/warp-grep/index"},"pages":[{"group":"Subagent as a Tool","pages":[{"title":"Codebase Search","description":"Search local repositories with WarpGrep","icon":"magnifying-glass","href":"/sdk/components/warp-grep/codebase-search"},{"title":"GitHub Search","description":"Search public GitHub repositories without cloning","icon":"github","href":"/sdk/components/warp-grep/github-search"},{"title":"Streaming","description":"Stream WarpGrep search steps","icon":"bars-staggered","href":"/sdk/components/warp-grep/streaming"}]},{"title":"Examples","description":"Production-ready WarpGrep agent patterns","icon":"code","href":"/sdk/components/warp-grep/examples"},{"title":"Direct API Access","description":"Build your own agent harness around WarpGrep","icon":"code","href":"/sdk/components/warp-grep/direct"},{"title":"Sandbox Execution","description":"Run WarpGrep in remote sandboxes and custom environments","icon":"cloud","href":"/sdk/components/warp-grep/sandbox-execution"}]},{"title":"Model Router","description":"Classifies prompt difficulty, ambiguity, and domain for automatic model selection","icon":"route","og:image":"images/router.jpg","twitter:image":"images/router.jpg","href":"/sdk/components/router"}]},{"group":"API Reference","public":true,"pages":[{"title":"Apply API","description":"Apply code edits at 10,500 tok/s with 98% accuracy via OpenAI-compatible API","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/apply"},{"title":"Compact API","description":"Compress chat history and code context at 33,000 tok/s with byte-identical output","openapi":"POST /v1/compact","href":"/api-reference/endpoint/compact"},{"title":"WarpGrep API","description":"Agentic code search subagent that explores repositories in ~6 seconds","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/warpgrep"},{"title":"Messages API","description":"Anthropic-compatible /v1/messages endpoint — point an Anthropic SDK at Morph by changing the base URL","openapi":"POST /v1/messages","href":"/api-reference/endpoint/messages"},{"title":"Reflex API","description":"Typed decisions: send a state and named questions, get a probability per answer back. No text generation, no parsing.","openapi":"POST /v1/systemone","href":"/api-reference/endpoint/systemone"},{"group":"Speech to Text","pages":[{"title":"Audio Transcriptions API","description":"Turn speech into text. OpenAI-compatible, plus key terms, clean style, speaker labels, word timestamps and subtitles.","openapi":"POST /v1/audio/transcriptions","href":"/api-reference/endpoint/audio-transcriptions"},{"title":"Audio Translations API","description":"Transcribe speech and translate it, into English by default or into another language with target_language.","openapi":"POST /v1/audio/translations","href":"/api-reference/endpoint/audio-translations"},{"title":"Transcription Corrections API","description":"Tell Morph what a transcript should have said, for a file transcription or a realtime turn.","openapi":"POST /v1/audio/corrections","href":"/api-reference/endpoint/audio-corrections"},{"title":"Realtime Transcription API","description":"Live speech to text over a WebSocket, on OpenAI's realtime transcription protocol.","href":"/api-reference/endpoint/realtime-transcription"},{"title":"Realtime Client Secrets API","description":"A short-lived secret a browser opens the realtime WebSocket with, so your API key stays on your server.","openapi":"POST /v1/realtime/client_secrets","href":"/api-reference/endpoint/realtime-client-secrets"}]},{"group":"Models","pages":[{"title":"List Models","description":"OpenAI-compatible model listing at /v1/models","openapi":"GET /v1/models","href":"/api-reference/endpoint/models"},{"title":"Retrieve Model","description":"Fetch a single model by id at /v1/models/{model}","openapi":"GET /v1/models/{model}","href":"/api-reference/endpoint/retrieve-model"},{"title":"Delete Model","description":"Remove a fine-tuned model at /v1/models/{model}","openapi":"DELETE /v1/models/{model}","href":"/api-reference/endpoint/delete-model"}]},{"group":"Dedicated","pages":[{"title":"List Dedicated Endpoints","description":"Discover your dedicated endpoints at /api/v1/dedicated/endpoints","openapi":"GET /api/v1/dedicated/endpoints","href":"/api-reference/endpoint/dedicated-list"},{"title":"Get Dedicated Endpoint","description":"Fetch one endpoint's lifecycle at /api/v1/dedicated/endpoints/{id}","openapi":"GET /api/v1/dedicated/endpoints/{id}","href":"/api-reference/endpoint/dedicated-get"},{"title":"Cancel Dedicated Endpoint","description":"Cancel service at /api/v1/dedicated/endpoints/{id}/cancel","openapi":"POST /api/v1/dedicated/endpoints/{id}/cancel","href":"/api-reference/endpoint/dedicated-cancel"}]},{"group":"Compute","pages":[{"title":"List Compute Offers","description":"See hardware on sale and its price at /api/v1/compute/offers","openapi":"GET /api/v1/compute/offers","href":"/api-reference/endpoint/compute-offers"},{"title":"Reserve Compute","description":"Hold whole GPU nodes and get a bank checkout URL at /api/v1/compute/reservations","openapi":"POST /api/v1/compute/reservations","href":"/api-reference/endpoint/compute-reserve"},{"title":"List Compute Reservations","description":"List your organization's compute at /api/v1/compute/reservations","openapi":"GET /api/v1/compute/reservations","href":"/api-reference/endpoint/compute-list"},{"title":"Get Compute Reservation","description":"Fetch one reservation and its nodes at /api/v1/compute/reservations/{id}","openapi":"GET /api/v1/compute/reservations/{id}","href":"/api-reference/endpoint/compute-get"},{"title":"Give Notice on Compute","description":"End a reservation at /api/v1/compute/reservations/{id}/cancel","openapi":"POST /api/v1/compute/reservations/{id}/cancel","href":"/api-reference/endpoint/compute-cancel"},{"title":"List Compute SSH Keys","description":"List the SSH keys on a reservation at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"GET /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-list"},{"title":"Add Compute SSH Key","description":"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"POST /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-add"},{"title":"Remove Compute SSH Key","description":"Remove an SSH key at /api/v1/compute/reservations/{id}/ssh-keys/{keyId}","openapi":"DELETE /api/v1/compute/reservations/{id}/ssh-keys/{keyId}","href":"/api-reference/endpoint/compute-ssh-keys-remove"},{"title":"Restart Compute Nodes","description":"Ask for nodes of a reservation to be rebooted at /api/v1/compute/reservations/{id}/nodes/restart","openapi":"POST /api/v1/compute/reservations/{id}/nodes/restart","href":"/api-reference/endpoint/compute-nodes-restart"},{"title":"Report a Compute Problem","description":"Report a problem with nodes of a reservation at /api/v1/compute/reservations/{id}/nodes/report","openapi":"POST /api/v1/compute/reservations/{id}/nodes/report","href":"/api-reference/endpoint/compute-nodes-report"},{"title":"Get Compute Node Metrics","description":"Read a node's GPU, CPU and RAM utilisation at /api/v1/compute/reservations/{id}/metrics","openapi":"GET /api/v1/compute/reservations/{id}/metrics","href":"/api-reference/endpoint/compute-metrics"},{"title":"List Compute Invoices","description":"List the invoices of a reservation at /api/v1/compute/reservations/{id}/invoices","openapi":"GET /api/v1/compute/reservations/{id}/invoices","href":"/api-reference/endpoint/compute-invoices"}]},{"group":"Hack me","pages":[{"title":"Get Hack me Terms","description":"Read the price and the authorization terms for a host at /api/v1/hack-me/terms","openapi":"GET /api/v1/hack-me/terms","href":"/api-reference/endpoint/hack-me-terms"},{"title":"Start a Hack me Engagement","description":"Authorize a test of one host and get a Stripe Checkout URL at /api/v1/hack-me/engagements","openapi":"POST /api/v1/hack-me/engagements","href":"/api-reference/endpoint/hack-me-start"},{"title":"List Hack me Engagements","description":"List your engagements at /api/v1/hack-me/engagements","openapi":"GET /api/v1/hack-me/engagements","href":"/api-reference/endpoint/hack-me-list"},{"title":"Get Hack me Engagement","description":"Fetch one engagement, its DNS record and its report at /api/v1/hack-me/engagements/{id}","openapi":"GET /api/v1/hack-me/engagements/{id}","href":"/api-reference/endpoint/hack-me-get"},{"title":"Get the Checkout Page","description":"Get the Stripe Checkout page of an unpaid engagement at /api/v1/hack-me/engagements/{id}/checkout","openapi":"POST /api/v1/hack-me/engagements/{id}/checkout","href":"/api-reference/endpoint/hack-me-checkout"},{"title":"Check the DNS Record","description":"Check an engagement's DNS TXT record now at /api/v1/hack-me/engagements/{id}/verify","openapi":"POST /api/v1/hack-me/engagements/{id}/verify","href":"/api-reference/endpoint/hack-me-verify"},{"title":"Cancel a Hack me Engagement","description":"Walk away from an unpaid engagement or stop a paid one at /api/v1/hack-me/engagements/{id}/cancel","openapi":"POST /api/v1/hack-me/engagements/{id}/cancel","href":"/api-reference/endpoint/hack-me-cancel"},{"title":"Restart a Hack me Engagement","description":"Run a failed assessment again on the same payment at /api/v1/hack-me/engagements/{id}/restart","openapi":"POST /api/v1/hack-me/engagements/{id}/restart","href":"/api-reference/endpoint/hack-me-restart"}]},{"group":"Credits","pages":[{"title":"Create Credit Top-up","description":"Buy credits with USDC from an agent at /api/v1/credits/topups","openapi":"POST /api/v1/credits/topups","href":"/api-reference/endpoint/credits-topup-create"},{"title":"Get Credit Top-up","description":"Check whether a top-up has been paid and credited at /api/v1/credits/topups/{checkoutId}","openapi":"GET /api/v1/credits/topups/{checkoutId}","href":"/api-reference/endpoint/credits-topup-get"}]},{"group":"Account","pages":[{"title":"Get Account Usage","description":"Read your daily usage and spend at /api/v1/account/usage","openapi":"GET /api/v1/account/usage","href":"/api-reference/endpoint/account-usage-get"},{"title":"Get Account Settings","description":"Read your billing settings at /api/v1/account/settings","openapi":"GET /api/v1/account/settings","href":"/api-reference/endpoint/account-settings-get"},{"title":"Update Account Settings","description":"Change spend limits, spend alerts, auto-reload and Ultra daily overage at /api/v1/account/settings","openapi":"PATCH /api/v1/account/settings","href":"/api-reference/endpoint/account-settings-update"}]},{"group":"Organization","pages":[{"title":"List Member Budgets","description":"Read every organization member's monthly budget and spend at /api/v1/org/members/budgets","openapi":"GET /api/v1/org/members/budgets","href":"/api-reference/endpoint/org-member-budgets-list"},{"title":"Set Member Budget","description":"Cap a member's monthly spend on your organization's keys at /api/v1/org/members/{userId}/budget","openapi":"PUT /api/v1/org/members/{userId}/budget","href":"/api-reference/endpoint/org-member-budget-set"},{"title":"Remove Member Budget","description":"Remove a member's monthly budget at /api/v1/org/members/{userId}/budget","openapi":"DELETE /api/v1/org/members/{userId}/budget","href":"/api-reference/endpoint/org-member-budget-delete"}]},{"title":"Report API","description":"Report failed or problematic completions to improve Morph model quality","openapi":"POST /api/report","href":"/api-reference/endpoint/report"}]},{"group":"Integrations","public":true,"pages":[{"group":"Guides","icon":"book","pages":[{"title":"Claude Code \u0026 Codex","description":"Run Morph's open models inside Claude Code and Codex","icon":"terminal","href":"/guides/coding-agents"},{"title":"Enterprise Model Routing","description":"Route every Claude Code turn to the right Claude model with an org-wide policy. Configure it in Administration, install it per developer, uninstall in one command.","href":"/guides/enterprise-model-routing"},{"title":"General Prompting","description":"Learn how to use prompt models like Claude, GPT-4o, and Gemini optimized for agentic workflows","icon":"message","href":"/guides/prompting"},{"title":"Agent Tools (edit_file)","description":"Build precise AI agents that edit code fast without full file rewrites using Morph's edit_file tool","icon":"wrench","href":"/guides/agent-tools"},{"title":"XML Tool Calls","description":"Learn why XML tool calls outperform JSON for code editing and how to implement them with Claude and other LLMs","icon":"code","href":"/guides/xml-tool-calls"},{"title":"WarpGrep in Python","description":"Build a complete WarpGrep agent harness in Python","icon":"python","href":"/guides/warp-grep-python"},{"title":"Build a dictation app","description":"A hold-to-talk dictation app for macOS, Windows or Linux on morph-transcribe, built by your coding agent from one prompt.","href":"/guides/dictation-app"},{"title":"API Reference","description":"Complete MorphClient API and types","icon":"book","href":"/sdk/reference"}]},{"group":"Frameworks","icon":"code","pages":[{"title":"Vercel AI SDK","description":"Stream fast code edits with Morph using the Vercel AI SDK","icon":"triangle","href":"/guides/ai-sdk"},{"title":"Blaxel Sandboxes","description":"Apply edits and execute AI code via tool calls inside a secure sandboxed environment on Blaxel.","icon":"b","href":"/guides/blaxel"},{"title":"Freestyle","description":"How to integrate Morph Fast Apply with Freestyle Dev Servers for lightning-fast AI code editing.","href":"/guides/freestyle"},{"title":"Claude Code","description":"Run Claude Code on Morph models, and add Morph's fast edits and repo search as tools.","href":"/guides/claude-code"}]},{"group":"Legacy","icon":"archive","pages":[{"title":"MCP server (legacy)","description":"The Morph MCP server for hosts that cannot run commands. New installs should use the morph CLI + skills.","icon":"plug","href":"/mcpquickstart"}]}]}]},"basePath":"","title":"Cancel a Hack me Engagement - Morph Documentation","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","SectionHeading-DMe18In2.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}