API Reference
Get a specific job item by ID
Python
from autoblocks.api.app_client import AutoblocksAppClient client = AutoblocksAppClient( api_key="<YOUR_API_KEY>", app_slug="my-app", ) job_item = client.human_review.get_job_item(job_id="123", item_id="456")
{ "id": "cm83i1gtw00000cle3nf0gmtw", "grades": [ { "scoreId": "cm83i1gtw00000cle3nf0gmtw", "grade": 0.5, "user": { "email": "john@example.com" } } ], "inputFields": [ { "id": "cm83i1gtw00000cle3nf0gmtw", "name": "input", "value": "Hello, world!", "contentType": "TEXT" } ], "outputFields": [ { "id": "cm83i1gtw00000cle3nf0gmtw", "name": "output", "value": "Hello, world!", "contentType": "TEXT" } ], "fieldComments": [ { "fieldId": "cm83i1gtw00000cle3nf0gmtw", "value": "This is a comment", "startIdx": 1, "endIdx": 2, "inRelationToScoreName": "accuracy", "user": { "email": "john@example.com" } } ], "inputComments": [ { "value": "This is a comment", "inRelationToScoreName": "accuracy", "user": { "email": "john@example.com" } } ], "outputComments": [ { "value": "This is a comment", "inRelationToScoreName": "accuracy", "user": { "email": "john@example.com" } } ] }
API Key created in the Autoblocks Webapp
The job item was returned successfully
A job item
Show child attributes