Projects

List project tasks

Changed on
        Retrieve a paginated list of tasks for a specific project. For example, use the following cURL command:
        ```bash
        curl -X GET http://localhost:8000/api/projects/{id}/tasks/?page=1&page_size=10 -H 'Authorization: Token abc123'
        ```
    
get/api/projects/{id}/tasks/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/projects/{id}/tasks/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

A unique integer value identifying this project.

Query parameters

orderingstring

Which field to use when ordering the results.

pageinteger

[or "start"] current page

page_sizeinteger

[or "length"] tasks per page, use -1 to obtain all tasks (in this case "page" has no effect and this operation might be slow)

Response

cancelled_annotationsinteger

Number of total cancelled annotations for the current task

comment_authorsinteger[]

Users who wrote comments

comment_countinteger

Number of comments in the task including all annotations

created_atstring date-time required

Time a task was created

dataunknown required
file_uploadinteger nullable

Uploaded file used as data source for this task

idinteger required
inner_idinteger nullable

Internal task ID in the project, starts with 1

is_labeledboolean

True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project

last_comment_updated_atstring date-time nullable

When the last comment was updated

metaunknown
overlapinteger

Number of distinct annotators that processed the current task

projectinteger nullable

Project ID for this task

total_annotationsinteger

Number of total annotations for the current task except cancelled annotations

total_predictionsinteger

Number of total predictions for the current task

unresolved_comment_countinteger

Number of unresolved comments in the task including all annotations

updated_atstring date-time required

Last time a task was updated

updated_byinteger nullable

Last annotator or reviewer who updated this task

Changes

    • info

      added to the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status