Projects

List projects' counts

Changed on

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

get/api/projects/counts/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/projects/counts/
  • Auth
    API key in header Authorization

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.

is_skill_assessmentboolean

Filter by skill assessments

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