Platform API

Customize Your Training Data Pipeline with SamaHub API

Samasource provides a REST API as a simple way to integrate your existing data annotation technology with SamaHub. Via the API, you can query the status of projects, submit annotation tasks and receive the results of human labeled tasks.

Getting Started with API

Work with your dedicated project manager to set up a SamaHub project. Once your project is set up, you can test our API workflow.

Available Webhooks and REST API

Register your callback with our webhooks for proactive messages about your projects, tasks and results.

API

Method

Description

Task

POST

Send annotation tasks to your SamaHub queue for labeling or classification.

Task

GET

Get a status of tasks currently in your queue or poll for delivered tasks.

Task

PUT

Change priority of incomplete tasks in queue.

Task

Web Hook: Task Submission Listener

Listen to tasks that have been submitted by labelers. (Pre QA).

Task

Web Hook: Task Delivery

Receive complete tasks for final delivery after tasks have been completed and QA reviewed.

Task Rejection

PUT

Reject completed task for rework.

Interested in learning more? Contact Samasource to get started.