Skip to Content
Open Retainer
Review

Read an assertion

GET
/v1/assertions/{id}

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Response Body

Successful response.

application/json
  1. response
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
recordId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
object*string
recordLabel*string|null
field*string
value*unknown
currentValue*unknown
status*string
Value in"active""superseded""pending_review""rejected""retracted"
reason*|null
actor*
confidence*number
sourceRecordId*|null
isInitial*boolean
observedAt*string
Formatdate-time
createdAt*string
Formatdate-time
source*|null
conflictingRecord*|null
relationReferences?
reviewedBy*|null
reviewedAt*|null
Example Request
curl -X GET 'https://retainer.tamloot.cc/v1/assertions/d2c0648c-2994-4f16-bdf1-a0136be6037d' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "recordId": "0470cfd4-dcf3-4d8c-ac28-58c6deeff25f",  "object": "string",  "recordLabel": "string",  "field": "string",  "value": null,  "currentValue": null,  "status": "active",  "reason": "outranked",  "actor": {    "via": "string",    "type": "user",    "id": "string",    "name": "string"  },  "confidence": 0,  "sourceRecordId": "799244ea-56f2-4870-bdb3-37032b615ea2",  "isInitial": true,  "observedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "source": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "type": "string",    "title": "string",    "occurredAt": "2019-08-24T14:15:22Z"  },  "conflictingRecord": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "object": "string",    "label": "string"  },  "relationReferences": {    "property1": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "string",      "label": "string"    },    "property2": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "string",      "label": "string"    }  },  "reviewedBy": {    "via": "string",    "type": "user",    "id": "string",    "name": "string"  },  "reviewedAt": "2019-08-24T14:15:22Z"}