GET
https://api.discovertext.com/api/v1/cluster/project/{project_id}/group/{clusterId}
Return Value: A Collection of items in a cluster group for the project
meta: { count: (item count), offset: (current offset), limit: (current limit) }, items: [ { cluster item }, { cluster item }, ...], links: [ { paging links } ] }Where {cluster item} is:
{ "text": (the text of the item, string), "similarityScore": (percent similar to the seed item, numeric decimal), "differences": [ (array of differences from the seed item) ] "id": (the cluster item id, numeric) }The differences array contains difference items with:
- type: the difference type. One of "add", "delete", or "change"
- start: the character start offset
- end: the character end offset
- originalText: the original text from the seed item
{ "type": "change", "start": 54, "end": 100, "originalText": "DiscoverText" }