Projects

List projects' counts

Returns a list of projects with their counts. For example, task_number which is the total task number in project

get/api/projects/counts/

Query parameters

archivedboolean

Filter by projects that belong to archived workspaces

filterstring

Filter projects by pinned status. Use 'pinned_only' to return only pinned projects, 'exclude_pinned' to return only non-pinned projects, or 'all' to return all projects.

idsstring

Multiple values may be separated by commas. (comma-separated values)

includestring

Comma-separated list of count fields to include in the response to optimize performance. Available fields: task_number, finished_task_number, total_predictions_number, total_annotations_number, num_tasks_with_annotations, useful_annotation_number, ground_truth_number, skipped_annotations_number. If not specified, all count fields are included.

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

searchstring

Search term for project title and description

source_interface_idnumber

Filter lse_project__source_interface_id by exact match

statestring

Filter current_state by exact match

titlestring

Filter title by contains (case-insensitive)

workspacesnumber

Filter workspaces by exact match

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

Changed in 4 of the 97 revisions of this API.72

    • added the optional property results/items/duplication_status to the response with the 200 status

      response-optional-property-added

    • the response property results/items/skipped_annotations_number became nullable for the status 200

      response-property-became-nullable

    • the results/items/queue_total response's property type/format changed from string/ to integer/ for status 200

      response-property-type-changed

    • the results/items/skipped_annotations_number response's property type/format changed from string/ to integer/ for status 200

      response-property-type-changed

    • the results/items/total_annotations_number response's property type/format changed from string/ to integer/ for status 200

      response-property-type-changed

    • added the new optional query request parameter source_interface_id

      new-optional-request-parameter

    • the response property results/items/queue_left became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/review_total_tasks became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/reviewed_number became nullable for the status 200

      response-property-became-nullable

Of the 97 revisions, 1 has no diff computed.