Events
Read assertions and facts that cite an event
GET
Requires the read scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
id*stringRetainer identifier.
Format
uuidlimit?integerMaximum items per collection.
Range
1 <= value <= 200Default
50assertionsCursor?stringAssertions page cursor.
factsCursor?stringFacts page cursor.
own?booleanSet false to omit assertions on the event itself.
Successful response.
application/json- response
assertions*array<>facts*array<|>nextCursors*curl -X GET 'https://retainer.tamloot.cc/v1/events/d2c0648c-2994-4f16-bdf1-a0136be6037d/claims' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'Example Response
{ "assertions": [ { "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" } ], "facts": [ { "record": "4d59c234-2278-409a-b612-f158aa22befe", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "content": "string", "kind": "stated", "validFrom": "2019-08-24T14:15:22Z", "validTo": "2019-08-24T14:15:22Z", "writtenBy": { "via": "string", "type": "user", "id": "string", "name": "string" }, "sources": [ { "event": "1a4a8620-0119-4336-af71-a3b3e24f5ebc", "quote": "string" } ], "status": "current" } ], "nextCursors": { "assertions": "string", "facts": "string" }}