Skip to main content
GET
Python (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

project_id
string
required

Project id.

Response

200 - application/json

OK

A labelling project.

object
any
required
id
string
required

Project id.

name
string
required
instructions
string
required
status
enum<string>
required

Project status.

Available options:
active,
archived
source
object
required

Where the project's items came from; other keys are kept as sent.

labels_per_item
required

How many labellers label each item, 1 or 2.

review_rule
enum<string>
required

Which items go to review: 'all', a 'sample' (needs labels_per_item 1) or 'disagreements' (needs labels_per_item 2).

Available options:
all,
sample,
disagreements
labeller_user_ids
string[]
required
reviewer_user_ids
string[]
required
schema_version
integer
required

Version of the current question schema, from 1.

Required range: -9007199254740991 <= x <= 9007199254740991
questions
object[]
required

The current question schema.

counts
object
required

Number of the project's items in each state, and in all.

last_export
object | null
required

The last published export, or null.

my_roles
enum<string>[]
required

The caller's roles on this project.

Available options:
manager,
labeller,
reviewer
created_by_user_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required