> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.labelstud.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.labelstud.io/_mcp/server.

# Get project by ID

GET http://localhost:8000/api/projects/{id}/

Retrieve information about a project by project ID. Counter fields use per-user or project-wide scope as documented on each field; for all reviewed tasks in the project use `GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC`.

Reference: https://api.labelstud.io/api-reference/api-reference/projects/get

## Authentication

- `Authorization` header (required) (prefixed with ` Token   `) — The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: curl [https://label-studio-host/api/projects](https://label-studio-host/api/projects) -H "Authorization: Token \[your-token]"

## Request

### Path parameters

- `id` (integer, required)

### Query parameters

- `members_limit` (integer, optional, default: 10) — Maximum number of members to return

## Response

### 200

Project information. Not all fields are available for all roles.

- `allow_stream` (boolean, required)
- `assignment_settings` (AssignmentSettings, required)
- `collection_mode` (string, required, nullable) — Data Collection project mode (assigned/open); null for non-collection projects. Set at creation only.
- `config_has_control_tags` (boolean, required) — Flag to detect is project ready for labeling
- `config_suitable_for_bulk_annotation` (boolean, required) — Flag to detect is project ready for bulk annotation
- `created_at` (datetime, required)
- `data_types` (map from string to any, required, nullable)
- `dm_column_access` (any, required) — Effective Annotator/Reviewer column deny lists. Managers+ see both roles.
- `finished_task_number` (integer, required) — Finished tasks
- `ground_truth_number` (integer, required) — Honeypot annotation number in project
- `id` (integer, required)
- `internal_description` (list of any, required, nullable) — Description (Internal)
- `is_dimensions_enabled` (boolean, required)
- `members` (list of map from string to any, required)
- `members_count` (integer, required)
- `num_tasks_with_annotations` (integer, required) — Tasks with at least one annotation. For annotators, counts only tasks this user annotated; for other roles, counts project-wide. For analytics, use annotated_tasks or related KPIs with explicit project/member filters.
- `organization` (integer, required)
- `parsed_label_config` (map from string to any, required) — JSON-formatted labeling configuration
- `permissions` (list of string, required)
- `prompts` (list of map from string to any, required, nullable)
- `queue_done` (integer, required) — Annotator-only: tasks this user has completed in the labeling queue for the project.
- `queue_left` (integer, required, nullable) — Reviewer-only: remaining tasks in this user's manually assigned review queue. Returns 0 when no manual assignments apply; the project card then uses `review_total_tasks` and `reviewed_number` for auto-review progress. Not the same as the project-wide `tasks_pending_review` KPI.
- `queue_total` (integer, required) — Role-dependent queue size. Annotators: total tasks in the labeling queue. Reviewers (list/counts): total manually assigned review tasks (same pool as `reviewer_queue_total`). Not the same as `task_number` (all project tasks) or `review_total_tasks` (auto-review stream pool).
- `ready` (boolean, required)
- `rejected` (integer, required) — Annotator-only: this user's annotations rejected by reviewers.
- `review_settings` (ReviewSettings, required)
- `review_total_tasks` (integer, required, nullable) — Total tasks in this user's reviewer queue for the project (denominator for personal review progress). Respects review sampling limits when configured. Null for annotators. This is not the project-wide reviewed or pending count; see Analytics KPIs tasks_reviewed and tasks_pending_review for org-level totals.
- `reviewed_number` (integer, required, nullable) — Tasks this user has reviewed in the project (personal reviewer progress shown on the project card). Includes only reviews created by the authenticated user, so the value can be lower than the project-wide reviewed total when multiple reviewers participate. Null for annotators. For all reviewed tasks in the project, use the Analytics KPI tasks\_reviewed: GET /api/analytics/kpis/tasks\_reviewed?projects=\{id}\&tz=UTC.
- `reviewer_queue_total` (integer, required, nullable) — Tasks manually assigned to this user for review (`reviewer_queue_total_count`). Null for annotators.
- `skipped_annotations_number` (integer, required)
- `start_training_on_annotation_update` (boolean, required) — Start model training after any annotations are submitted or updated
- `state` (string, required)
- `state_marked_done_at` (datetime, required, nullable) — When the project was marked as Done. Null unless state_source is "manual". Managers+ only.
- `state_marked_done_by` (UserSimple, required, nullable) — User who marked the project as Done. Null unless state_source is "manual". Managers+ only.
- `state_source` (enum, required, nullable) — "manual" while a Manager+ has marked the project as Done, "auto" while the state is calculated from tasks. Null when project states are not available.
  - Allowed values: `manual`, `auto`
- `task_number` (integer, required) — Total task number in project
- `total_annotations_number` (integer, required)
- `total_predictions_number` (integer, required, nullable)
- `useful_annotation_number` (integer, required, nullable)
- `workspace` (integer, required)
- `workspace_title` (string, required, nullable)
- `agreement_methodology` (enum, optional, default: pairwise) — Methodology (Consensus / Pairwise Averaging) * `consensus` - Consensus * `pairwise` - Pairwise Averaging
  - Allowed values: `consensus`, `pairwise`
- `agreement_threshold` (string, optional, nullable) — Agreement threshold
- `annotation_limit_count` (integer, optional, nullable) — Limit by number of tasks
- `annotation_limit_percent` (string, optional, nullable) — Limit by percentage of tasks
- `annotator_evaluation_continuous_tasks` (integer, optional, default: 0) — Continuous Evaluation: Required tasks
- `annotator_evaluation_enabled` (boolean, optional) — Evaluate all annotators against ground truth
- `annotator_evaluation_metric` (enum, optional, nullable, default: gt_agreement) — Metric used to evaluate annotators. Defaults to gt_agreement. * `gt_agreement` - Ground truth agreement * `acceptance_score` - Acceptance score * `rejection_rate` - Rejection rate
  - Allowed values: `gt_agreement`, `acceptance_score`, `rejection_rate`
- `annotator_evaluation_minimum_score` (string, optional, nullable, default: 95.00) — Score required to pass evaluation
- `annotator_evaluation_minimum_tasks` (integer, optional, nullable, default: 10) — Number of tasks for evaluation
- `annotator_evaluation_onboarding_tasks` (integer, optional, default: 0) — Onboarding Evaluation: Required tasks
- `color` (string, optional, nullable) — Color
- `comment_classification_config` (string, optional)
- `control_weights` (map from string to ControlTagWeight, optional, nullable) — Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight.
- `created_by` (UserSimple, optional) — Project owner
- `custom_interface_code` (string, optional, nullable)
- `custom_interface_compiled` (string, optional, nullable)
- `custom_interface_params` (any, optional, nullable)
- `custom_script` (string, optional) — Plugins
- `custom_task_lock_ttl` (integer, optional, nullable) — Task reservation time. TTL in seconds (UI displays and edits this value in minutes).
- `description` (string, optional, nullable) — Description (Public)
- `dm_column_defaults` (LseProjectResponseDmColumnDefaults, optional, nullable) — Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.
- `duplication_done` (boolean, optional, default: false)
- `duplication_status` (string, optional)
- `enable_empty_annotation` (boolean, optional) — Allow empty annotations
- `evaluate_predictions_automatically` (boolean, optional) — Retrieve and display predictions when loading a task
- `expert_instruction` (string, optional, nullable) — Instructions
- `input_schema` (any, optional, nullable)
- `is_draft` (boolean, optional) — Whether or not the project is in the middle of being created
- `is_published` (boolean, optional) — Whether or not the project is published to annotators
- `is_skill_assessment` (boolean, optional) — Skill assessment: tests contributors instead of producing work
- `label_config` (string, optional, nullable) — Labeling Configuration
- `max_additional_annotators_assignable` (integer, optional, nullable) — Maximum additional annotators
- `maximum_annotations` (integer, optional) — Annotations per task
- `min_annotations_to_start_training` (integer, optional) — Minimum number of completed tasks after which model training is started
- `model_version` (string, optional, nullable) — Machine learning model version
- `output_schema` (any, optional, nullable)
- `overlap_cohort_percentage` (integer, optional) — Annotations per task coverage
- `pause_on_failed_annotator_evaluation` (boolean, optional, nullable, default: false) — Pause annotator on failed evaluation
- `pinned_at` (datetime, optional, nullable) — Pinned date and time
- `require_comment_on_skip` (boolean, optional, default: false) — Require comment to skip
- `reveal_preannotations_interactively` (boolean, optional) — Reveal pre-annotations interactively
- `sampling` (enum, optional, nullable) — * `Sequential sampling` - Tasks are ordered by Data manager ordering * `Uniform sampling` - Tasks are chosen randomly * `Uncertainty sampling` - Tasks are chosen according to model uncertainty scores (active learning mode)
  - Allowed values: `Sequential sampling`, `Uniform sampling`, `Uncertainty sampling`
- `show_annotation_history` (boolean, optional) — Show Data Manager to Annotators
- `show_collab_predictions` (boolean, optional) — Use predictions to pre-label Tasks
- `show_instruction` (boolean, optional) — Show instructions before labeling
- `show_overlap_first` (boolean, optional) — Show tasks with overlap first
- `show_skip_button` (boolean, optional) — Allow skipping tasks
- `show_unused_data_columns_to_annotators` (boolean, optional, nullable) — Show only columns used in labeling configuration to Annotators. API uses inverse field semantics here: set false to show only used columns, set true to show all task.data columns.
- `skip_queue` (enum, optional, nullable) — * `REQUEUE_FOR_ME` - Requeue for me * `REQUEUE_FOR_OTHERS` - Requeue for others * `IGNORE_SKIPPED` - Ignore skipped
  - Allowed values: `REQUEUE_FOR_ME`, `REQUEUE_FOR_OTHERS`, `IGNORE_SKIPPED`
- `source_interface_id` (integer, optional, nullable)
- `source_interface_version` (integer, optional, nullable) — Stable version ID of the saved interface snapshot used by this project.
- `strict_task_overlap` (boolean, optional, default: true) — Enforce strict overlap limit
- `task_data_login` (string, optional, nullable) — Login
- `task_data_password` (string, optional, nullable) — Password
- `title` (string, optional, nullable) — Project Name
- `use_custom_interface` (boolean, optional, default: false)
- `show_ground_truth_first` (boolean, optional, deprecated) — Onboarding mode (true): show ground truth tasks first in the labeling stream

## Types

### AssignmentSettings

- `id` (integer, required)
- `label_stream_task_distribution` (enum, optional, nullable) — Automatic / Manual * `auto_distribution` - Label Stream distributes tasks automatically to annotators * `assigned_only` - Label Stream shows tasks only to assigned users
  - Allowed values: `auto_distribution`, `assigned_only`
- `project` (integer, optional, nullable)

### ReviewSettings

- `id` (integer, required)
- `requeue_rejected_tasks_to_annotator` (boolean, required, deprecated) — Deprecated. Prefer allowed_reject_actions. If set, the rejected task is requeued to the annotator
- `allowed_reject_actions` (list of enum, optional)
  - Allowed values: `remove`, `requeue`, `redistribute`
- `annotator_batch_percent` (string, optional) — Percent of an annotator’s work to review before moving to another annotator
- `anonymize_annotations` (boolean, optional) — Hide annotator names from annotations while review
- `default_reject_action` (enum, optional) — Reject action a reviewer triggers in one click, without opening the reject options menu * `remove` - Remove * `requeue` - Requeue * `redistribute` - Redistribute
  - Allowed values: `remove`, `requeue`, `redistribute`
- `instruction` (string, optional, nullable) — Instructions
- `only_finished_tasks` (boolean, optional) — Show only finished tasks in the review stream
- `project` (integer, optional, nullable)
- `require_comment_on_reject` (boolean, optional) — Reviewers must leave a comment on reject
- `review_criteria` (enum, optional, nullable) — Task is reviewed after at least one accepted annotation / Task is reviewed when all annotations are reviewed * `all` - Task is reviewed if all annotations are reviewed * `one` - Task is reviewed if at least one annotation is reviewed
  - Allowed values: `all`, `one`
- `review_only_manual_assignments` (boolean, optional) — Show only manually assigned tasks in the review stream
- `review_task_limit_percent` (string, optional, nullable) — Task limit (%)
- `sampling` (enum, optional, nullable) — By Task ID / Random / By Annotator * `task_id` - By Task ID * `random` - Random * `by_annotator` - By Annotator
  - Allowed values: `task_id`, `random`, `by_annotator`
- `show_agreement_to_reviewers` (boolean, optional) — Show agreement to reviewers in the Data Manager
- `show_data_manager_to_reviewers` (boolean, optional) — Show the Data Manager to reviewers
- `show_instruction` (boolean, optional) — Show before reviewing
- `show_unused_data_columns_to_reviewers` (boolean, optional, nullable) — Show unused task data columns to reviewers in the Data Manager
- `requeue_rejected_tasks_mode` (enum, optional, nullable, deprecated) — Deprecated. Prefer allowed_reject_actions. Remove rejected annotations from labeling queue / Requeue rejected annotations back to annotators / Allow reviewer to decide: Remove or Requeue * `requeue` - Requeue * `remove` - Remove * `flexible` - Flexible
  - Allowed values: `requeue`, `remove`, `flexible`

### UserSimple

A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations

- `avatar` (string, required, nullable)
- `id` (integer, required)
- `username` (string, required)
- `email` (string, optional)
- `first_name` (string, optional)
- `last_name` (string, optional)

### ControlTagWeight

Weights configuration for a single control tag. Structure: \{"overall": 0.5, "type": "Choices", "labels": \{"cat": 1.0, "dog": 0.0}}

- `overall` (double, required) — Overall weight for this control tag (0.0 to 1.0). Zero excludes the tag from agreement.
- `type` (string, required) — Control tag type from the labeling config (e.g. Choices, Labels, TextArea).
- `labels` (map from string to double, optional) — Per-label weights (0.0 to 1.0). Zero excludes the label from agreement.

### LseProjectResponseDmColumnDefaults

Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.

- `explore` (LseProjectResponseDmColumnDefaultsExplore, optional) — Main Data Manager grid.
- `labeling` (LseProjectResponseDmColumnDefaultsLabeling, optional) — Quick View (reserved).

### LseProjectResponseDmColumnDefaultsExplore

Main Data Manager grid.

- `order` (list of string, optional) — Shared column id order for this surface.
- `visible` (map from string to list of string, optional) — Public organization role to visible column ids.

### LseProjectResponseDmColumnDefaultsLabeling

Quick View (reserved).

- `order` (list of string, optional) — Shared column id order for this surface.
- `visible` (map from string to list of string, optional) — Public organization role to visible column ids.

## Examples

**Response**

```json
{
  "allow_stream": true,
  "assignment_settings": {
    "id": 1,
    "label_stream_task_distribution": "auto_distribution",
    "project": 1
  },
  "collection_mode": "string",
  "config_has_control_tags": true,
  "config_suitable_for_bulk_annotation": true,
  "created_at": "2024-01-15T09:30:00Z",
  "data_types": {},
  "dm_column_access": null,
  "finished_task_number": 1,
  "ground_truth_number": 1,
  "id": 1,
  "internal_description": [
    null
  ],
  "is_dimensions_enabled": true,
  "members": [
    {}
  ],
  "members_count": 1,
  "num_tasks_with_annotations": 1,
  "organization": 1,
  "parsed_label_config": {},
  "permissions": [
    "string"
  ],
  "prompts": [
    {}
  ],
  "queue_done": 1,
  "queue_left": 1,
  "queue_total": 1,
  "ready": true,
  "rejected": 1,
  "review_settings": {
    "id": 1,
    "requeue_rejected_tasks_to_annotator": true,
    "allowed_reject_actions": [
      "remove"
    ],
    "annotator_batch_percent": "string",
    "anonymize_annotations": true,
    "default_reject_action": "remove",
    "instruction": "string",
    "only_finished_tasks": true,
    "project": 1,
    "require_comment_on_reject": true,
    "review_criteria": "all",
    "review_only_manual_assignments": true,
    "review_task_limit_percent": "string",
    "sampling": "task_id",
    "show_agreement_to_reviewers": true,
    "show_data_manager_to_reviewers": true,
    "show_instruction": true,
    "show_unused_data_columns_to_reviewers": true,
    "requeue_rejected_tasks_mode": "requeue"
  },
  "review_total_tasks": 1,
  "reviewed_number": 1,
  "reviewer_queue_total": 1,
  "skipped_annotations_number": 1,
  "start_training_on_annotation_update": true,
  "state": "string",
  "state_marked_done_at": "2024-01-15T09:30:00Z",
  "state_marked_done_by": {
    "avatar": "string",
    "id": 1,
    "username": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string"
  },
  "state_source": "manual",
  "task_number": 1,
  "total_annotations_number": 1,
  "total_predictions_number": 1,
  "useful_annotation_number": 1,
  "workspace": 1,
  "workspace_title": "string",
  "agreement_methodology": "consensus",
  "agreement_threshold": "string",
  "annotation_limit_count": 1,
  "annotation_limit_percent": "string",
  "annotator_evaluation_continuous_tasks": 0,
  "annotator_evaluation_enabled": true,
  "annotator_evaluation_metric": "gt_agreement",
  "annotator_evaluation_minimum_score": "95.00",
  "annotator_evaluation_minimum_tasks": 10,
  "annotator_evaluation_onboarding_tasks": 0,
  "color": "string",
  "comment_classification_config": "string",
  "control_weights": {},
  "created_by": {
    "avatar": "string",
    "id": 1,
    "username": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string"
  },
  "custom_interface_code": "string",
  "custom_interface_compiled": "string",
  "custom_interface_params": null,
  "custom_script": "string",
  "custom_task_lock_ttl": 1,
  "description": "string",
  "dm_column_defaults": {
    "explore": {
      "order": [
        "string"
      ],
      "visible": {}
    },
    "labeling": {
      "order": [
        "string"
      ],
      "visible": {}
    }
  },
  "duplication_done": false,
  "duplication_status": "string",
  "enable_empty_annotation": true,
  "evaluate_predictions_automatically": true,
  "expert_instruction": "string",
  "input_schema": null,
  "is_draft": true,
  "is_published": true,
  "is_skill_assessment": true,
  "label_config": "string",
  "max_additional_annotators_assignable": 1,
  "maximum_annotations": 1,
  "min_annotations_to_start_training": 1,
  "model_version": "string",
  "output_schema": null,
  "overlap_cohort_percentage": 1,
  "pause_on_failed_annotator_evaluation": false,
  "pinned_at": "2024-01-15T09:30:00Z",
  "require_comment_on_skip": false,
  "reveal_preannotations_interactively": true,
  "sampling": "Sequential sampling",
  "show_annotation_history": true,
  "show_collab_predictions": true,
  "show_instruction": true,
  "show_overlap_first": true,
  "show_skip_button": true,
  "show_unused_data_columns_to_annotators": true,
  "skip_queue": "REQUEUE_FOR_ME",
  "source_interface_id": 1,
  "source_interface_version": 1,
  "strict_task_overlap": true,
  "task_data_login": "string",
  "task_data_password": "string",
  "title": "string",
  "use_custom_interface": false,
  "show_ground_truth_first": true
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8000/api/projects/1/"

headers = {"Authorization": "Token  <api_key>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'http://localhost:8000/api/projects/1/';
const options = {method: 'GET', headers: {Authorization: 'Token  <api_key>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "http://localhost:8000/api/projects/1/"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Token  <api_key>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("http://localhost:8000/api/projects/1/")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Token  <api_key>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://localhost:8000/api/projects/1/")
  .header("Authorization", "Token  <api_key>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:8000/api/projects/1/', [
  'headers' => [
    'Authorization' => 'Token  <api_key>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("http://localhost:8000/api/projects/1/");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Token  <api_key>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Token  <api_key>"]

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:8000/api/projects/1/")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```