Skip to main content
A share gives people access to one result, the way a Google Docs share does. Today there is one kind: anyone with the link can view. Whoever opens the link sees the image, its cell outlines and counts in their browser, without an account. Nothing on the page edits the result, and downloading files from it asks the visitor to sign in to HalfPage. Every share has an access (who it reaches) and a role (what they can do). Today those are always anyone_with_link and viewer; the fields are there so your code keeps working when more kinds of sharing arrive.

Share a result

Share a segmentation_id once its prediction is COMPLETED (see the quickstart). Sharing is idempotent: a result has at most one live link, so asking again returns the same share.
Response
Treat the url like a password to the result: anyone holding it can view it. Search engines are told not to index shared pages.

See who’s looked

view_count and last_viewed_at go up each time the link is opened.
curl
Revoking stops the link opening at once. Sharing the same result again makes a new link.
curl