Relationship Intelligence

Export record

Export record downloads this promise as Markdown. The request uses format md. The file names the company, the promise, the state, the due date, the quoted mail, and the history.

get/v1/commitments/{commitmentId}/export

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/commitments/{commitmentId}/export
  • Auth: HTTP bearer

Path parameters

commitmentIdstring uuid required

Commitment id.

Example:8b8dfa9b-a7b2-46ea-982c-622a914c00e5

Query parameters

formatstring

Export format.

Example:md

md for the file Export record downloads.

Response

The Markdown file Export record downloads.

accountstring required

Counterparty account.

confidencenumber required

Extraction confidence.

counterpartystring

Promise counterparty.

directionstring required

promised_by_me, promised_by_them, or mutual.

dueAtstring date-time nullable

Resolved due time.

duePhrasestring

Due condition as stated.

generatedAtstring date-time required

When the record was produced.

idstring required

Commitment id.

ownerstring

Promise owner.

statestring required

Register state.

textstring required

The obligation.

Example response

{
  "account": "Acme",
  "confidence": 0.95,
  "counterparty": "jordan@example.com",
  "direction": "promised_by_me",
  "dueAt": "2026-09-14T17:00:00Z",
  "duePhrase": "by the 14th",
  "evidence": [
    {
      "contentHash": "sha256:abc123",
      "excerpt": "We will have the migration live by the 14th.",
      "occurredAt": "2026-09-06T12:00:00Z",
      "source": "gmail",
      "sourceUri": "https://mail.google.com/thread-1"
    }
  ],
  "generatedAt": "2026-09-09T12:00:00Z",
  "history": [
    {
      "actorRef": "a8dfa9b6-a7b2-46ea-982c-622a914c00e5",
      "actorType": "user",
      "kind": "internally_confirmed",
      "occurredAt": "2026-09-07T09:00:00Z",
      "version": 2
    }
  ],
  "id": "8b8dfa9b-a7b2-46ea-982c-622a914c00e5",
  "owner": "alex@example.com",
  "state": "at_risk",
  "text": "Migration live by the 14th"
}

Changes

No operation changes recorded.