applications

Regenerate Negotiation Scripts

Force a fresh AI generation, bypassing the KV cache. When force: true, also bypasses the offered stage gate so users can prep before the offer drops.

post/applications/{resultId}/negotiate

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/applications/{resultId}/negotiate
  • Auth: HTTP bearer

Path parameters

resultIdstring required

Application result identifier

Example:1

Request body

forceboolean

Bypass the offer-stage gate and bust the KV cache to force a fresh AI generation

Response

Regenerated negotiation scripts

successtrue required

Example response

{
  "data": {
    "status": "completed",
    "generatedAt": "2026-05-07T12:34:56.000Z",
    "offerContext": {
      "company": "Acme Corp",
      "jobTitle": "Senior Software Engineer",
      "marketRangeCurrency": "USD"
    },
    "scripts": [
      {
        "followUpResponses": [
          {
            "trigger": "We do not have room to move on base salary"
          }
        ],
        "scenario": "state_expectations"
      }
    ]
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.