Working with Projects (API)
Creating a project
First you need to create a private key for Encord.
The above API call returns the unique identifier of the Project known as project_hash
, and makes the caller the Admin of the project.
Creating a project API key
You can create a project API key via the API to interact with the Project. You need to provide the project_hash
to uniquely identify your Project.
The APIKeyScopes
provides the following values to restrict access to specific functionality via the API.
- LABEL_READ : For access to getting label rows
- LABEL_WRITE : For access to creating/saving label rows
Fetching a project API key
Via the API you can get all API keys for an existing project.
Adding datasets to a project
Via the API you can add existing datasets to a project.
The unique identifier dataset_hash
for every dataset is needed for this functionality.
Removing datasets from a project
You can remove existing datasets to a project via the API.
The unique identifier dataset_hash
is required for every dataset to be removed
Adding users to a project
Add users to an existing project via the API.
The email_id
of the users need to be provided as an input.
Project user roles are Admin = 0, Annotator = 1, Reviewer = 2, Annotator & Reviewer = 3, Team manager = 4
Fetching project information
Fetch information associated with a given project.
Fetching project ontology
You can fetch the ontology of an existing project using the above API call. The editor ontology can be found in the API response under the key editor_ontology
.
Was this page helpful?