Revenue

Get action history

History loads the action, its revisions, the policy decisions, and the outcomes.

get/v1/revenue-actions/{actionId}/audit

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/revenue-actions/{actionId}/audit
  • Auth: HTTP bearer

Path parameters

actionIdstring uuid required
Example:1a8dfa9b-a7b2-46ea-982c-622a914c00e5

Action id.

Response

Action history.

revisionsobject[]

Immutable revision snapshots.

Example response

{
  "action": {
    "actionType": "warm_follow_up",
    "approvalStatus": "pending",
    "approvedAt": "2026-07-12T12:05:00Z",
    "approvedRevision": 1,
    "channel": "email",
    "createdAt": "2026-07-12T12:00:00Z",
    "detector": "manual",
    "dismissReason": "not_relevant",
    "dueAt": "2026-07-15T00:00:00Z",
    "evidence": [
      {
        "excerpt": "We are concerned security could delay renewal.",
        "externalEvidenceRefs": [
          "timestamp:12000-16000"
        ],
        "id": "4b8dfa9b-a7b2-46ea-982c-622a914c00e5",
        "occurredAt": "2026-07-31T14:00:00Z",
        "source": "meeting",
        "sourceRecordId": "oppulence:session-42:claim:claim-risk"
      }
    ],
    "executedAt": "2026-07-12T12:06:00Z",
    "executionMode": "draft",
    "executionOwner": "rowboat",
    "executionStatus": "pending",
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "policyStatus": "pending",
    "priorityComponents": {
      "commitment_urgency": 25,
      "evidence_quality": 10,
      "recency_signal": 12,
      "relationship_value": 20,
      "uncertainty_penalty": -5
    },
    "priorityScore": 82,
    "proposedMessage": "Hi Jordan — you asked me to circle back this month...",
    "proposedSubject": "Following up as promised",
    "providerMessageId": "msg_01",
    "providerThreadId": "thread_01",
    "queueStatus": "open",
    "reason": "They asked for a follow-up in July.",
    "recipientEmail": "buyer@example.com",
    "reconciliationAttempts": 1,
    "reconciliationCheckedAt": "2026-07-12T12:07:00Z",
    "reconciliationNextAt": "2026-07-12T12:12:00Z",
    "reconciliationStatus": "pending",
    "relationshipId": "9c8dfa9b-a7b2-46ea-982c-622a914c00e5",
    "relationshipName": "Acme",
    "revision": 1,
    "revisionHash": "sha256:746c1d9cd3925b8e632fc1b4bd539758514cb1aefdf31948fe8d1b45ce74c29d",
    "senderAccountRef": "gmail:me@company.com",
    "snoozedUntil": "2026-07-20T09:00:00Z",
    "updatedAt": "2026-07-12T12:06:00Z"
  },
  "decisions": [
    {
      "evaluatedAt": "2026-07-12T12:00:00Z",
      "expiresAt": "2026-07-13T12:00:00Z",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "reasonCodes": [
        "suppression.opted_out"
      ],
      "revision": 1,
      "revisionHash": "sha256:746c1d9cd3925b8e632fc1b4bd539758514cb1aefdf31948fe8d1b45ce74c29d",
      "status": "passed"
    }
  ],
  "outcomes": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "kind": "replied",
      "occurredAt": "2026-07-12T14:00:00Z",
      "source": "user",
      "sourceEventId": "manual:replied:1783864800000"
    }
  ]
}

Changes

No operation changes recorded.