Skip to content

2.1.1

Choose a tag to compare

@matt-bernstein matt-bernstein released this 10 Aug 15:47
· 60 commits to master since this release

What's Changed

Features

Endpoint(s) Change
/api/dm/views/:id/ is_locked, locked_at, locked_by: user who locked this view
/api/dm/views/:id/ [*].filter_group.filters[*].child_filters: multiple child_filters for annotation and prediction results
/api/projects/:id/members/export/ export project members as CSV
/api/users etc. organization_membership: support Flex users
/api/users etc. organization_membership.role: support View-Only users
/api/projects/:id annotator_evaluation_metric: GT agreement, acceptance score, or rejection rate
/api/projects/:id review_settings.annotator_batch_percent
/api/projects/:id review_settings.sampling: by_annotator
/api/projects/:id permissions: project level permissions
/api/analytics/kpis publish APIs used for Analytics and Project Dashboards
/api/current-user/hotkeys project: per-project hotkeys

Bug Fixes

Many undocumented fields due to schema drift are now documented.

Requests

Endpoint(s) Fields Added Fields Removed Fields Now Required
POST/PATCH /api/storages/*[/validate] recursive_scan, synchronizable last_sync, last_sync_count, last_sync_job, meta, status, traceback (read-only) project
POST/PATCH /api/tasks/{id}/annotations[/{id}] bulk_created, draft_created_at, import_id, last_action, last_created_by, parent_annotation, parent_prediction, unique_id
POST /api/tasks/{id}/annotations/bulk discriminated oneOf (all=false+included vs all=true+excluded)
POST/PATCH /api/tasks/{id}/predictions[/{id}] cluster, mislabeling, model, model_run, neighbors, project result, task (POST)
POST /api/ml auto_update, model_version project, url
PATCH /api/ml/{id} auto_update, model_version
POST /api/dm/actions filters, ordering, selectedItems (schemas)
POST/PATCH /api/dm/actions[/{id}] data (schema)
POST /api/projects/{id}/tasks/assignees filters, selectedItems (schemas)
PATCH /api/projects/{id}/tasks/{task_pk}/assignees type, users (unrequired)
POST /api/users active_organization, custom_hotkeys, date_joined, password avatar, id, initials username
PATCH /api/users/{id}/ active_organization, custom_hotkeys, date_joined, email_notification_settings, is_email_verified, onboarding_state, password avatar, email, id, initials
POST /api/project-templates/{id}/create-project workspace_id (unrequired)

Responses

Endpoints(s) Change
GET/POST /api/prompts/{prompt_id}/versions/{version_id}/inference-runs + model_version
  • various nullable type fixes (eg string -> string | None)
  • CSV export: Preserve CSV columns when task data keys collide with control tag names

Full Changelog: release/2.1.0...release/2.1.1