How Sorsh fits into your tool
For engineering teams at Sorsh customers. Six short steps; the full reference is in the integration guide.
-
Step 1
The free audit needs nothing from you
During the free audit, workers answer a few tasks on a Sorsh page through one link. No code, no install, no access to your systems.
You only come in if your team wants Sorsh inside your own labeling tool. The rest of this page is for that.
What the free audit needs from engineeringCode changesInstallsAPI keysAccess to your systemsNothing. Workers use a Sorsh link. -
Step 2
Add two lines to your tool
Load the SDK, then point
Sorsh.embedat the field workers type into and the button they submit with.Plain ES5, no build step, no dependencies, no cookies. It works in single-page apps: it waits for the field to appear.
Prefer markup? Add
data-sorsh-answeranddata-sorsh-submitand leave out the selectors.<!-- 1. load the SDK from your Sorsh instance --> <script src="https://pilot.sorsh.in/sdk/sorsh-sdk.js"></script> <!-- 2. wire it to your answer field and submit button --> <script> Sorsh.embed({ endpoint: "https://pilot.sorsh.in", pilotKey: "pk_xxx", // worker access code from Sorsh contributor: function(){ return CURRENT_USER_ID; }, answer: "#answer", // your answer field submit: "#submit" // your submit button }); </script>
-
Step 3
Or skip the code: the browser extension
For a pilot, workers can install the Sorsh browser extension instead. Each worker sets the answer field once, and the extension captures the same data from your existing pages.
No change to your tool. Ask your Sorsh contact for it. The SDK is the better long-term option.
Two ways in -
Step 4
What gets sent
One request per submitted answer, straight from the worker's browser to your Sorsh instance. Nothing to run on your servers.
- Event types and timing in the answer field: typing, deletes, cursor moves, pastes with their length, leaving and returning. Never the characters typed.
- The worker ID and task labels you choose.
- The answer text, so it can be checked. Sorsh doesn't store it, and you can send it empty to score on behavior alone.
{ "contributor_id": "w_1042", "task_id": "t_17", "final_text": "Air gets thinner as you go up…", "events": [ { "t": 0, "type": "focus" }, { "t": 900, "type": "char" }, { "t": 1500, "type": "blur" }, { "t": 41200, "type": "focus" }, { "t": 41300, "type": "paste", "len": 174 } ] }Shortened. The full event list is in the docs. -
Step 5
What you get back
Each answer gets a trust score from 0 to 100 and a verdict: clear at 70 and above, review from 40 to 69, high risk below 40. The reasons come in plain words.
Keep the result out of the worker's view, so nobody learns what gets flagged. Your team reviews everything in the Sorsh console and the audit report.
{ "trust_score": 10, "verdict": "high_risk", "reasons": [ "100% of the answer arrived via paste", "tabbed away, then pasted a block on return (copy-from-LLM pattern)" ] }The real response for the request in step 4 (shortened) -
Step 6
Security and data
- Every submission needs your worker access code. Without it the request is refused.
- Operators sign in with Google or an emailed one-time code. Console credentials travel in request headers, never in URLs.
- Each customer gets its own Sorsh instance and database.
- Answer text isn't stored. Deletions, exports and data views are logged with who did them.