From da92bb550c17acf8674285c133762121402cde40 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 15 Jul 2025 21:41:03 +0000 Subject: [PATCH 01/61] SDK regeneration --- .mock/definition/__package__.yml | 7758 +++- .mock/definition/actions.yml | 16 +- .mock/definition/activityLog.yml | 84 + .mock/definition/annotationHistory.yml | 121 + .mock/definition/annotationReviews.yml | 209 + .mock/definition/annotations.yml | 334 +- .mock/definition/api.yml | 7 +- .mock/definition/aws.yml | 36 + .mock/definition/blueprints.yml | 80 + .mock/definition/comments.yml | 211 +- .mock/definition/dashboard.yml | 212 + .mock/definition/dataExplorer.yml | 139 + .mock/definition/dataManager.yml | 422 +- .mock/definition/datasetStorageAzure.yml | 422 + .mock/definition/datasetStorageGcs.yml | 422 + .mock/definition/datasetStorageS3.yml | 472 + .mock/definition/datasets.yml | 567 + .mock/definition/exportStorage.yml | 15 +- .mock/definition/exportStorage/azure.yml | 306 +- .mock/definition/exportStorage/gcs.yml | 312 +- .mock/definition/exportStorage/local.yml | 290 +- .mock/definition/exportStorage/redis.yml | 319 +- .mock/definition/exportStorage/s3.yml | 342 +- .mock/definition/exportStorage/s3S.yml | 307 - .mock/definition/importStorage.yml | 15 +- .mock/definition/importStorage/azure.yml | 387 +- .mock/definition/importStorage/gcs.yml | 395 +- .mock/definition/importStorage/local.yml | 294 +- .mock/definition/importStorage/redis.yml | 342 +- .mock/definition/importStorage/s3.yml | 442 +- .mock/definition/importStorage/s3S.yml | 498 - .mock/definition/invites.yml | 59 + .mock/definition/jwt.yml | 185 + .mock/definition/jwtSettings.yml | 55 - .mock/definition/labels.yml | 115 +- .mock/definition/machineLearning.yml | 40 + .mock/definition/ml.yml | 353 +- .mock/definition/modelProviderConnection.yml | 297 + .mock/definition/modelProviders.yml | 177 - .mock/definition/organizations.yml | 451 +- .mock/definition/organizations/members.yml | 71 +- .mock/definition/pauses.yml | 243 + .mock/definition/predictions.yml | 104 +- .mock/definition/projectRoles.yml | 124 + .mock/definition/projectTemplates.yml | 361 + .mock/definition/projects.yml | 1563 +- .mock/definition/projects/exports.yml | 397 +- .../{files.yml => projects/fileUploads.yml} | 87 +- .mock/definition/projects/labels.yml | 78 +- .mock/definition/projects/pauses.yml | 209 - .mock/definition/prompts.yml | 938 +- .mock/definition/prompts/indicators.yml | 69 - .mock/definition/prompts/runs.yml | 112 - .mock/definition/prompts/versions.yml | 346 - .mock/definition/sessionPolicy.yml | 66 + .mock/definition/sso.yml | 110 + .mock/definition/stats.yml | 299 + .mock/definition/storage.yml | 32 + .mock/definition/storageGcsWif.yml | 746 + .mock/definition/storageS3Roles.yml | 817 + .mock/definition/tasks.yml | 713 +- .mock/definition/tokens.yml | 132 - .mock/definition/users.yml | 407 +- .mock/definition/versions.yml | 92 +- .mock/definition/views.yml | 143 +- .mock/definition/webhooks.yml | 279 +- .mock/definition/workspaces.yml | 484 +- .mock/definition/workspaces/members.yml | 114 - .mock/openapi/openapi.yaml | 31601 +++++++++++----- poetry.lock | 12 +- reference.md | 11442 ++---- src/label_studio_sdk/__init__.py | 324 +- src/label_studio_sdk/actions/client.py | 8 +- .../types/actions_create_request_id.py | 14 +- src/label_studio_sdk/annotations/__init__.py | 4 +- src/label_studio_sdk/annotations/client.py | 599 +- .../annotations/types/__init__.py | 6 +- .../annotation_bulk_request_last_action.py | 7 + ...ions_create_bulk_request_selected_items.py | 34 - .../annotations_create_bulk_response_item.py | 19 - .../annotations_create_many_response_item.py} | 9 +- src/label_studio_sdk/base_client.py | 98 +- src/label_studio_sdk/comments/client.py | 658 - src/label_studio_sdk/core/__init__.py | 3 - src/label_studio_sdk/core/pagination.py | 88 - src/label_studio_sdk/environment.py | 7 - src/label_studio_sdk/errors/__init__.py | 4 +- .../errors/method_not_allowed_error.py | 9 + .../errors/unauthorized_error.py | 9 - .../export_storage/__init__.py | 27 +- .../export_storage/azure/__init__.py | 3 - .../export_storage/azure/client.py | 498 +- .../export_storage/azure/types/__init__.py | 6 - .../azure/types/azure_create_response.py | 57 - .../azure/types/azure_update_response.py | 57 - src/label_studio_sdk/export_storage/client.py | 10 +- .../export_storage/gcs/__init__.py | 3 - .../export_storage/gcs/client.py | 498 +- .../export_storage/gcs/types/__init__.py | 6 - .../gcs/types/gcs_create_response.py | 57 - .../gcs/types/gcs_update_response.py | 57 - .../export_storage/local/__init__.py | 3 - .../export_storage/local/client.py | 458 +- .../export_storage/local/types/__init__.py | 6 - .../local/types/local_create_response.py | 47 - .../local/types/local_update_response.py | 47 - .../export_storage/redis/__init__.py | 3 - .../export_storage/redis/client.py | 514 +- .../export_storage/redis/types/__init__.py | 6 - .../redis/types/redis_create_response.py | 62 - .../redis/types/redis_update_response.py | 62 - .../export_storage/s3/__init__.py | 3 - .../export_storage/s3/client.py | 544 +- .../export_storage/s3/types/__init__.py | 6 - .../s3/types/s3create_response.py | 81 - .../s3/types/s3update_response.py | 81 - .../export_storage/s3s/client.py | 980 - .../import_storage/__init__.py | 27 +- .../import_storage/azure/__init__.py | 3 - .../import_storage/azure/client.py | 542 +- .../import_storage/azure/types/__init__.py | 6 - .../azure/types/azure_create_response.py | 72 - .../azure/types/azure_update_response.py | 72 - src/label_studio_sdk/import_storage/client.py | 10 +- .../import_storage/gcs/__init__.py | 3 - .../import_storage/gcs/client.py | 542 +- .../import_storage/gcs/types/__init__.py | 6 - .../gcs/types/gcs_create_response.py | 72 - .../gcs/types/gcs_update_response.py | 72 - .../import_storage/local/__init__.py | 3 - .../import_storage/local/client.py | 462 +- .../import_storage/local/types/__init__.py | 6 - .../local/types/local_create_response.py | 47 - .../local/types/local_update_response.py | 47 - .../import_storage/redis/__init__.py | 3 - .../import_storage/redis/client.py | 518 +- .../import_storage/redis/types/__init__.py | 6 - .../redis/types/redis_create_response.py | 62 - .../redis/types/redis_update_response.py | 62 - .../import_storage/s3/__init__.py | 3 - .../import_storage/s3/client.py | 592 +- .../import_storage/s3/types/__init__.py | 6 - .../s3/types/s3create_response.py | 101 - .../s3/types/s3update_response.py | 101 - .../import_storage/s3s/__init__.py | 2 - .../import_storage/s3s/client.py | 1224 - src/label_studio_sdk/jwt_settings/client.py | 259 - src/label_studio_sdk/ml/__init__.py | 18 +- src/label_studio_sdk/ml/client.py | 368 +- src/label_studio_sdk/ml/types/__init__.py | 13 +- .../ml/types/ml_create_response.py | 68 - .../types/ml_create_response_auth_method.py | 5 - .../ml/types/ml_update_response.py | 68 - .../types/ml_update_response_auth_method.py | 5 - .../model_providers/client.py | 825 - .../__init__.py | 3 + .../members => organizations}/client.py | 228 +- .../members}/__init__.py | 0 .../organizations/members/client.py | 291 + src/label_studio_sdk/predictions/client.py | 98 +- src/label_studio_sdk/projects/__init__.py | 16 +- src/label_studio_sdk/projects/client.py | 1235 +- .../projects/exports/__init__.py | 3 - .../projects/exports/client.py | 769 +- .../projects/exports/types/__init__.py | 6 - .../exports/types/exports_convert_response.py | 24 - .../exports_list_formats_response_item.py | 44 - .../s3s => projects/file_uploads}/__init__.py | 0 .../file_uploads}/client.py | 163 +- .../projects/pauses/client.py | 704 - .../projects/types/__init__.py | 5 +- .../types/projects_create_response.py | 91 - .../projects/types/projects_list_response.py | 23 - .../types/projects_update_response.py | 96 - src/label_studio_sdk/prompts/__init__.py | 21 - src/label_studio_sdk/prompts/client.py | 1107 - .../prompts/indicators/__init__.py | 2 - .../prompts/indicators/client.py | 238 - src/label_studio_sdk/prompts/runs/__init__.py | 5 - src/label_studio_sdk/prompts/runs/client.py | 409 - .../prompts/runs/types/__init__.py | 5 - .../types/runs_list_request_project_subset.py | 5 - .../prompts/types/__init__.py | 15 - ...ictions_request_failed_predictions_item.py | 32 - ...ompts_batch_failed_predictions_response.py | 19 - ..._batch_predictions_request_results_item.py | 59 - .../prompts/versions/__init__.py | 2 - .../prompts/versions/client.py | 1235 - src/label_studio_sdk/tasks/__init__.py | 3 - src/label_studio_sdk/tasks/client.py | 912 +- src/label_studio_sdk/tasks/types/__init__.py | 6 - .../tasks/types/tasks_list_request_fields.py | 5 - .../tasks/types/tasks_list_response.py | 38 - src/label_studio_sdk/tokens/__init__.py | 2 - src/label_studio_sdk/tokens/client.py | 610 - src/label_studio_sdk/types/__init__.py | 258 +- ...update_actions_item.py => actions_enum.py} | 5 +- ..._task_file_upload.py => annotated_enum.py} | 2 +- src/label_studio_sdk/types/annotation.py | 30 +- .../types/annotation_completed_by.py | 6 - .../types/annotation_last_action.py | 18 +- .../types/annotations_dm_field.py | 111 - .../types/auth_method_enum.py | 5 + .../types/azure_blob_export_storage.py | 16 +- .../types/azure_blob_export_storage_status.py | 7 - .../types/azure_blob_import_storage.py | 16 +- .../types/azure_blob_import_storage_status.py | 7 - src/label_studio_sdk/types/base_task.py | 106 - .../types/base_task_updated_by.py | 7 - .../__init__.py => types/blank_enum.py} | 3 + .../types/comment_created_by.py | 5 - .../types/converted_format.py | 6 +- ...esponse.py => converted_format_request.py} | 21 +- .../types/converted_format_status.py | 5 - .../types/custom_scripts_editable_by_enum.py | 5 + .../types/data_manager_task_serializer.py | 118 - ...manager_task_serializer_annotators_item.py | 5 - ...er_task_serializer_comment_authors_item.py | 5 - ...anager_task_serializer_predictions_item.py | 29 - ...k_serializer_predictions_item_model_run.py | 5 - .../types/default_role_enum.py | 5 + src/label_studio_sdk/types/export.py | 10 +- src/label_studio_sdk/types/export_format.py | 25 - .../types/export_snapshot_status.py | 5 - src/label_studio_sdk/types/export_status.py | 5 - src/label_studio_sdk/types/file_upload.py | 6 +- src/label_studio_sdk/types/filter.py | 7 +- src/label_studio_sdk/types/filter_group.py | 2 +- src/label_studio_sdk/types/finished_enum.py | 5 + .../types/gcs_export_storage.py | 16 +- .../types/gcs_export_storage_status.py | 7 - .../types/gcs_import_storage.py | 16 +- .../types/gcs_import_storage_status.py | 7 - .../{access_token_response.py => hotkeys.py} | 11 +- src/label_studio_sdk/types/inference_run.py | 34 - .../types/inference_run_cost_estimate.py | 47 - .../types/inference_run_created_by.py | 5 - .../types/inference_run_organization.py | 5 - .../types/inference_run_project_subset.py | 5 - .../types/inference_run_status.py | 7 - .../types/jwt_settings_response.py | 32 - src/label_studio_sdk/types/key_indicators.py | 6 - .../types/key_indicators_item.py | 41 - ...ey_indicators_item_additional_kpis_item.py | 27 - ...eld_last_action.py => last_action_enum.py} | 2 +- .../types/local_files_export_storage.py | 16 +- .../local_files_export_storage_status.py | 7 - .../types/local_files_import_storage.py | 16 +- .../local_files_import_storage_status.py | 7 - ...ns.py => lse_annotation_filter_options.py} | 12 +- .../lse_annotation_filter_options_request.py | 42 + ...otation_filter_options_request_reviewed.py | 7 + .../lse_annotation_filter_options_reviewed.py | 7 + ...xport_snapshot.py => lse_export_create.py} | 20 +- src/label_studio_sdk/types/lse_fields.py | 49 + .../types/lse_fields_onboarding_state.py | 8 + .../types/lse_fields_trial_role.py | 8 + .../types/lse_organization.py | 55 + ...organization_custom_scripts_editable_by.py | 7 + ..._options.py => lse_task_filter_options.py} | 32 +- .../lse_task_filter_options_annotated.py | 7 + .../types/lse_task_filter_options_finished.py | 7 + .../types/lse_task_filter_options_request.py | 63 + ...e_task_filter_options_request_annotated.py | 7 + ...se_task_filter_options_request_finished.py | 7 + ...se_task_filter_options_request_reviewed.py | 7 + ...lse_task_filter_options_request_skipped.py | 7 + .../types/lse_task_filter_options_reviewed.py | 7 + .../types/lse_task_filter_options_skipped.py | 7 + src/label_studio_sdk/types/lse_user.py | 49 + .../types/{base_user.py => lse_user_api.py} | 21 +- src/label_studio_sdk/types/ml_backend.py | 29 +- .../types/ml_backend_auth_method.py | 5 - .../types/ml_backend_state.py | 5 - .../types/model_provider_connection.py | 62 - ...provider_connection_budget_reset_period.py | 5 - .../model_provider_connection_created_by.py | 5 - .../model_provider_connection_organization.py | 5 - .../model_provider_connection_provider.py | 7 - .../types/model_provider_connection_scope.py | 5 - .../pauses/__init__.py => types/null_enum.py} | 1 + .../types/onboarding_state_enum.py | 7 + ...en_response.py => organization_billing.py} | 10 +- ...izer_drafts_item.py => organization_id.py} | 14 +- ...ects_item_id.py => organization_invite.py} | 6 +- .../{comment.py => organization_member.py} | 33 +- ...l_config.py => organization_membership.py} | 8 +- src/label_studio_sdk/types/pause.py | 34 - src/label_studio_sdk/types/pause_paused_by.py | 5 - src/label_studio_sdk/types/prediction.py | 14 +- src/label_studio_sdk/types/project.py | 67 +- src/label_studio_sdk/types/project_import.py | 21 +- .../types/project_import_status.py | 5 - .../types/project_sampling.py | 6 +- .../types/project_skip_queue.py | 4 +- src/label_studio_sdk/types/prompt.py | 71 - .../types/prompt_associated_projects_item.py | 6 - .../types/prompt_created_by.py | 5 - .../types/prompt_organization.py | 5 - src/label_studio_sdk/types/prompt_version.py | 32 - .../types/prompt_version_created_by.py | 5 - .../types/prompt_version_organization.py | 5 - .../types/prompt_version_provider.py | 7 - .../types/redis_export_storage.py | 16 +- .../types/redis_export_storage_status.py | 7 - .../types/redis_import_storage.py | 16 +- .../types/redis_import_storage_status.py | 7 - .../types/refined_prompt_response.py | 54 - ...fined_prompt_response_refinement_status.py | 7 - src/label_studio_sdk/types/reviewed_enum.py | 5 + .../types/s3export_storage.py | 16 +- .../types/s3export_storage_status.py | 7 - .../types/s3import_storage.py | 16 +- .../types/s3import_storage_status.py | 7 - .../types/s3s_export_storage.py | 73 - .../types/s3s_import_storage.py | 122 - .../types/s3s_import_storage_status.py | 7 - src/label_studio_sdk/types/sampling_enum.py | 7 + .../types/serialization_option.py | 4 - ...lue.py => serialization_option_request.py} | 10 +- .../types/serialization_options.py | 18 +- .../types/serialization_options_request.py | 47 + src/label_studio_sdk/types/skip_queue_enum.py | 5 + src/label_studio_sdk/types/skipped_enum.py | 5 + src/label_studio_sdk/types/state_enum.py | 5 + src/label_studio_sdk/types/status7bf_enum.py | 5 + src/label_studio_sdk/types/status_d14enum.py | 5 + src/label_studio_sdk/types/task.py | 156 - .../types/task_annotators_item.py | 5 - .../types/task_comment_authors_item.py | 5 - src/label_studio_sdk/types/trial_role_enum.py | 16 + src/label_studio_sdk/types/user_simple.py | 9 +- ...ra_kpis_item.py => user_simple_request.py} | 17 +- src/label_studio_sdk/types/view.py | 19 +- src/label_studio_sdk/types/webhook.py | 18 +- .../types/webhook_actions_item.py | 21 - .../types/webhook_serializer_for_update.py | 24 +- src/label_studio_sdk/types/workspace.py | 68 - src/label_studio_sdk/users/client.py | 685 +- .../users/types/users_get_token_response.py | 11 +- .../users/types/users_reset_token_response.py | 11 +- src/label_studio_sdk/versions/__init__.py | 5 - src/label_studio_sdk/versions/client.py | 112 - .../versions/types/__init__.py | 6 - .../versions/types/versions_get_response.py | 73 - .../types/versions_get_response_edition.py | 5 - src/label_studio_sdk/views/client.py | 362 +- src/label_studio_sdk/webhooks/__init__.py | 3 - src/label_studio_sdk/webhooks/client.py | 533 +- .../webhooks/types/__init__.py | 5 - .../webhooks_update_request_actions_item.py | 21 - src/label_studio_sdk/workspaces/__init__.py | 6 - src/label_studio_sdk/workspaces/client.py | 692 - .../workspaces/members/__init__.py | 5 - .../workspaces/members/types/__init__.py | 6 - .../members/types/members_create_response.py | 22 - .../types/members_list_response_item.py | 22 - tests/export_storage/test_azure.py | 112 +- tests/export_storage/test_gcs.py | 112 +- tests/export_storage/test_local.py | 100 +- tests/export_storage/test_redis.py | 120 +- tests/export_storage/test_s3.py | 96 +- tests/export_storage/test_s3s.py | 175 - tests/import_storage/test_azure.py | 120 +- tests/import_storage/test_gcs.py | 120 +- tests/import_storage/test_local.py | 96 +- tests/import_storage/test_redis.py | 108 +- tests/import_storage/test_s3.py | 112 +- tests/import_storage/test_s3s.py | 329 - .../files => tests/organizations}/__init__.py | 0 tests/organizations/test_members.py | 38 + tests/projects/test_exports.py | 91 +- .../test_file_uploads.py} | 32 +- tests/projects/test_pauses.py | 154 - tests/prompts/__init__.py | 2 - tests/prompts/test_indicators.py | 47 - tests/prompts/test_runs.py | 74 - tests/prompts/test_versions.py | 280 - tests/test_actions.py | 4 +- tests/test_annotations.py | 95 +- tests/test_comments.py | 154 - tests/test_jwt_settings.py | 44 - tests/test_ml.py | 99 +- tests/test_model_providers.py | 194 - tests/test_organizations.py | 68 + tests/test_predictions.py | 49 +- tests/test_projects.py | 157 +- tests/test_prompts.py | 180 - tests/test_tasks.py | 311 +- tests/test_tokens.py | 62 - tests/test_users.py | 262 + tests/test_versions.py | 36 - tests/test_views.py | 110 +- tests/test_workspaces.py | 154 - tests/workspaces/__init__.py | 2 - tests/workspaces/test_members.py | 39 - 396 files changed, 50033 insertions(+), 50450 deletions(-) create mode 100644 .mock/definition/activityLog.yml create mode 100644 .mock/definition/annotationHistory.yml create mode 100644 .mock/definition/annotationReviews.yml create mode 100644 .mock/definition/aws.yml create mode 100644 .mock/definition/blueprints.yml create mode 100644 .mock/definition/dashboard.yml create mode 100644 .mock/definition/dataExplorer.yml create mode 100644 .mock/definition/datasetStorageAzure.yml create mode 100644 .mock/definition/datasetStorageGcs.yml create mode 100644 .mock/definition/datasetStorageS3.yml create mode 100644 .mock/definition/datasets.yml delete mode 100644 .mock/definition/exportStorage/s3S.yml delete mode 100644 .mock/definition/importStorage/s3S.yml create mode 100644 .mock/definition/invites.yml create mode 100644 .mock/definition/jwt.yml delete mode 100644 .mock/definition/jwtSettings.yml create mode 100644 .mock/definition/machineLearning.yml create mode 100644 .mock/definition/modelProviderConnection.yml delete mode 100644 .mock/definition/modelProviders.yml create mode 100644 .mock/definition/pauses.yml create mode 100644 .mock/definition/projectRoles.yml create mode 100644 .mock/definition/projectTemplates.yml rename .mock/definition/{files.yml => projects/fileUploads.yml} (54%) delete mode 100644 .mock/definition/projects/pauses.yml delete mode 100644 .mock/definition/prompts/indicators.yml delete mode 100644 .mock/definition/prompts/runs.yml delete mode 100644 .mock/definition/prompts/versions.yml create mode 100644 .mock/definition/sessionPolicy.yml create mode 100644 .mock/definition/sso.yml create mode 100644 .mock/definition/stats.yml create mode 100644 .mock/definition/storage.yml create mode 100644 .mock/definition/storageGcsWif.yml create mode 100644 .mock/definition/storageS3Roles.yml delete mode 100644 .mock/definition/tokens.yml delete mode 100644 .mock/definition/workspaces/members.yml create mode 100644 src/label_studio_sdk/annotations/types/annotation_bulk_request_last_action.py delete mode 100644 src/label_studio_sdk/annotations/types/annotations_create_bulk_request_selected_items.py delete mode 100644 src/label_studio_sdk/annotations/types/annotations_create_bulk_response_item.py rename src/label_studio_sdk/{prompts/types/prompts_batch_predictions_response.py => annotations/types/annotations_create_many_response_item.py} (76%) delete mode 100644 src/label_studio_sdk/comments/client.py delete mode 100644 src/label_studio_sdk/core/pagination.py delete mode 100644 src/label_studio_sdk/environment.py create mode 100644 src/label_studio_sdk/errors/method_not_allowed_error.py delete mode 100644 src/label_studio_sdk/errors/unauthorized_error.py delete mode 100644 src/label_studio_sdk/export_storage/azure/types/__init__.py delete mode 100644 src/label_studio_sdk/export_storage/azure/types/azure_create_response.py delete mode 100644 src/label_studio_sdk/export_storage/azure/types/azure_update_response.py delete mode 100644 src/label_studio_sdk/export_storage/gcs/types/__init__.py delete mode 100644 src/label_studio_sdk/export_storage/gcs/types/gcs_create_response.py delete mode 100644 src/label_studio_sdk/export_storage/gcs/types/gcs_update_response.py delete mode 100644 src/label_studio_sdk/export_storage/local/types/__init__.py delete mode 100644 src/label_studio_sdk/export_storage/local/types/local_create_response.py delete mode 100644 src/label_studio_sdk/export_storage/local/types/local_update_response.py delete mode 100644 src/label_studio_sdk/export_storage/redis/types/__init__.py delete mode 100644 src/label_studio_sdk/export_storage/redis/types/redis_create_response.py delete mode 100644 src/label_studio_sdk/export_storage/redis/types/redis_update_response.py delete mode 100644 src/label_studio_sdk/export_storage/s3/types/__init__.py delete mode 100644 src/label_studio_sdk/export_storage/s3/types/s3create_response.py delete mode 100644 src/label_studio_sdk/export_storage/s3/types/s3update_response.py delete mode 100644 src/label_studio_sdk/export_storage/s3s/client.py delete mode 100644 src/label_studio_sdk/import_storage/azure/types/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/azure/types/azure_create_response.py delete mode 100644 src/label_studio_sdk/import_storage/azure/types/azure_update_response.py delete mode 100644 src/label_studio_sdk/import_storage/gcs/types/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/gcs/types/gcs_create_response.py delete mode 100644 src/label_studio_sdk/import_storage/gcs/types/gcs_update_response.py delete mode 100644 src/label_studio_sdk/import_storage/local/types/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/local/types/local_create_response.py delete mode 100644 src/label_studio_sdk/import_storage/local/types/local_update_response.py delete mode 100644 src/label_studio_sdk/import_storage/redis/types/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/redis/types/redis_create_response.py delete mode 100644 src/label_studio_sdk/import_storage/redis/types/redis_update_response.py delete mode 100644 src/label_studio_sdk/import_storage/s3/types/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/s3/types/s3create_response.py delete mode 100644 src/label_studio_sdk/import_storage/s3/types/s3update_response.py delete mode 100644 src/label_studio_sdk/import_storage/s3s/__init__.py delete mode 100644 src/label_studio_sdk/import_storage/s3s/client.py delete mode 100644 src/label_studio_sdk/jwt_settings/client.py delete mode 100644 src/label_studio_sdk/ml/types/ml_create_response.py delete mode 100644 src/label_studio_sdk/ml/types/ml_create_response_auth_method.py delete mode 100644 src/label_studio_sdk/ml/types/ml_update_response.py delete mode 100644 src/label_studio_sdk/ml/types/ml_update_response_auth_method.py delete mode 100644 src/label_studio_sdk/model_providers/client.py rename src/label_studio_sdk/{jwt_settings => organizations}/__init__.py (59%) rename src/label_studio_sdk/{workspaces/members => organizations}/client.py (54%) rename src/label_studio_sdk/{comments => organizations/members}/__init__.py (100%) create mode 100644 src/label_studio_sdk/organizations/members/client.py delete mode 100644 src/label_studio_sdk/projects/exports/types/__init__.py delete mode 100644 src/label_studio_sdk/projects/exports/types/exports_convert_response.py delete mode 100644 src/label_studio_sdk/projects/exports/types/exports_list_formats_response_item.py rename src/label_studio_sdk/{export_storage/s3s => projects/file_uploads}/__init__.py (100%) rename src/label_studio_sdk/{files => projects/file_uploads}/client.py (76%) delete mode 100644 src/label_studio_sdk/projects/pauses/client.py delete mode 100644 src/label_studio_sdk/projects/types/projects_create_response.py delete mode 100644 src/label_studio_sdk/projects/types/projects_list_response.py delete mode 100644 src/label_studio_sdk/projects/types/projects_update_response.py delete mode 100644 src/label_studio_sdk/prompts/__init__.py delete mode 100644 src/label_studio_sdk/prompts/client.py delete mode 100644 src/label_studio_sdk/prompts/indicators/__init__.py delete mode 100644 src/label_studio_sdk/prompts/indicators/client.py delete mode 100644 src/label_studio_sdk/prompts/runs/__init__.py delete mode 100644 src/label_studio_sdk/prompts/runs/client.py delete mode 100644 src/label_studio_sdk/prompts/runs/types/__init__.py delete mode 100644 src/label_studio_sdk/prompts/runs/types/runs_list_request_project_subset.py delete mode 100644 src/label_studio_sdk/prompts/types/__init__.py delete mode 100644 src/label_studio_sdk/prompts/types/prompts_batch_failed_predictions_request_failed_predictions_item.py delete mode 100644 src/label_studio_sdk/prompts/types/prompts_batch_failed_predictions_response.py delete mode 100644 src/label_studio_sdk/prompts/types/prompts_batch_predictions_request_results_item.py delete mode 100644 src/label_studio_sdk/prompts/versions/__init__.py delete mode 100644 src/label_studio_sdk/prompts/versions/client.py delete mode 100644 src/label_studio_sdk/tasks/types/__init__.py delete mode 100644 src/label_studio_sdk/tasks/types/tasks_list_request_fields.py delete mode 100644 src/label_studio_sdk/tasks/types/tasks_list_response.py delete mode 100644 src/label_studio_sdk/tokens/__init__.py delete mode 100644 src/label_studio_sdk/tokens/client.py rename src/label_studio_sdk/types/{webhook_serializer_for_update_actions_item.py => actions_enum.py} (81%) rename src/label_studio_sdk/types/{base_task_file_upload.py => annotated_enum.py} (50%) delete mode 100644 src/label_studio_sdk/types/annotation_completed_by.py delete mode 100644 src/label_studio_sdk/types/annotations_dm_field.py create mode 100644 src/label_studio_sdk/types/auth_method_enum.py delete mode 100644 src/label_studio_sdk/types/azure_blob_export_storage_status.py delete mode 100644 src/label_studio_sdk/types/azure_blob_import_storage_status.py delete mode 100644 src/label_studio_sdk/types/base_task.py delete mode 100644 src/label_studio_sdk/types/base_task_updated_by.py rename src/label_studio_sdk/{model_providers/__init__.py => types/blank_enum.py} (58%) delete mode 100644 src/label_studio_sdk/types/comment_created_by.py rename src/label_studio_sdk/types/{api_token_response.py => converted_format_request.py} (65%) delete mode 100644 src/label_studio_sdk/types/converted_format_status.py create mode 100644 src/label_studio_sdk/types/custom_scripts_editable_by_enum.py delete mode 100644 src/label_studio_sdk/types/data_manager_task_serializer.py delete mode 100644 src/label_studio_sdk/types/data_manager_task_serializer_annotators_item.py delete mode 100644 src/label_studio_sdk/types/data_manager_task_serializer_comment_authors_item.py delete mode 100644 src/label_studio_sdk/types/data_manager_task_serializer_predictions_item.py delete mode 100644 src/label_studio_sdk/types/data_manager_task_serializer_predictions_item_model_run.py create mode 100644 src/label_studio_sdk/types/default_role_enum.py delete mode 100644 src/label_studio_sdk/types/export_format.py delete mode 100644 src/label_studio_sdk/types/export_snapshot_status.py delete mode 100644 src/label_studio_sdk/types/export_status.py create mode 100644 src/label_studio_sdk/types/finished_enum.py delete mode 100644 src/label_studio_sdk/types/gcs_export_storage_status.py delete mode 100644 src/label_studio_sdk/types/gcs_import_storage_status.py rename src/label_studio_sdk/types/{access_token_response.py => hotkeys.py} (80%) delete mode 100644 src/label_studio_sdk/types/inference_run.py delete mode 100644 src/label_studio_sdk/types/inference_run_cost_estimate.py delete mode 100644 src/label_studio_sdk/types/inference_run_created_by.py delete mode 100644 src/label_studio_sdk/types/inference_run_organization.py delete mode 100644 src/label_studio_sdk/types/inference_run_project_subset.py delete mode 100644 src/label_studio_sdk/types/inference_run_status.py delete mode 100644 src/label_studio_sdk/types/jwt_settings_response.py delete mode 100644 src/label_studio_sdk/types/key_indicators.py delete mode 100644 src/label_studio_sdk/types/key_indicators_item.py delete mode 100644 src/label_studio_sdk/types/key_indicators_item_additional_kpis_item.py rename src/label_studio_sdk/types/{annotations_dm_field_last_action.py => last_action_enum.py} (88%) delete mode 100644 src/label_studio_sdk/types/local_files_export_storage_status.py delete mode 100644 src/label_studio_sdk/types/local_files_import_storage_status.py rename src/label_studio_sdk/types/{annotation_filter_options.py => lse_annotation_filter_options.py} (65%) create mode 100644 src/label_studio_sdk/types/lse_annotation_filter_options_request.py create mode 100644 src/label_studio_sdk/types/lse_annotation_filter_options_request_reviewed.py create mode 100644 src/label_studio_sdk/types/lse_annotation_filter_options_reviewed.py rename src/label_studio_sdk/types/{export_snapshot.py => lse_export_create.py} (64%) create mode 100644 src/label_studio_sdk/types/lse_fields.py create mode 100644 src/label_studio_sdk/types/lse_fields_onboarding_state.py create mode 100644 src/label_studio_sdk/types/lse_fields_trial_role.py create mode 100644 src/label_studio_sdk/types/lse_organization.py create mode 100644 src/label_studio_sdk/types/lse_organization_custom_scripts_editable_by.py rename src/label_studio_sdk/types/{task_filter_options.py => lse_task_filter_options.py} (50%) create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_annotated.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_finished.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_request.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_request_annotated.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_request_finished.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_request_reviewed.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_request_skipped.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_reviewed.py create mode 100644 src/label_studio_sdk/types/lse_task_filter_options_skipped.py create mode 100644 src/label_studio_sdk/types/lse_user.py rename src/label_studio_sdk/types/{base_user.py => lse_user_api.py} (62%) delete mode 100644 src/label_studio_sdk/types/ml_backend_auth_method.py delete mode 100644 src/label_studio_sdk/types/ml_backend_state.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection_budget_reset_period.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection_created_by.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection_organization.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection_provider.py delete mode 100644 src/label_studio_sdk/types/model_provider_connection_scope.py rename src/label_studio_sdk/{projects/pauses/__init__.py => types/null_enum.py} (81%) create mode 100644 src/label_studio_sdk/types/onboarding_state_enum.py rename src/label_studio_sdk/types/{rotate_token_response.py => organization_billing.py} (80%) rename src/label_studio_sdk/types/{data_manager_task_serializer_drafts_item.py => organization_id.py} (65%) rename src/label_studio_sdk/types/{prompt_associated_projects_item_id.py => organization_invite.py} (79%) rename src/label_studio_sdk/types/{comment.py => organization_member.py} (58%) rename src/label_studio_sdk/types/{project_label_config.py => organization_membership.py} (77%) delete mode 100644 src/label_studio_sdk/types/pause.py delete mode 100644 src/label_studio_sdk/types/pause_paused_by.py delete mode 100644 src/label_studio_sdk/types/project_import_status.py delete mode 100644 src/label_studio_sdk/types/prompt.py delete mode 100644 src/label_studio_sdk/types/prompt_associated_projects_item.py delete mode 100644 src/label_studio_sdk/types/prompt_created_by.py delete mode 100644 src/label_studio_sdk/types/prompt_organization.py delete mode 100644 src/label_studio_sdk/types/prompt_version.py delete mode 100644 src/label_studio_sdk/types/prompt_version_created_by.py delete mode 100644 src/label_studio_sdk/types/prompt_version_organization.py delete mode 100644 src/label_studio_sdk/types/prompt_version_provider.py delete mode 100644 src/label_studio_sdk/types/redis_export_storage_status.py delete mode 100644 src/label_studio_sdk/types/redis_import_storage_status.py delete mode 100644 src/label_studio_sdk/types/refined_prompt_response.py delete mode 100644 src/label_studio_sdk/types/refined_prompt_response_refinement_status.py create mode 100644 src/label_studio_sdk/types/reviewed_enum.py delete mode 100644 src/label_studio_sdk/types/s3export_storage_status.py delete mode 100644 src/label_studio_sdk/types/s3import_storage_status.py delete mode 100644 src/label_studio_sdk/types/s3s_export_storage.py delete mode 100644 src/label_studio_sdk/types/s3s_import_storage.py delete mode 100644 src/label_studio_sdk/types/s3s_import_storage_status.py create mode 100644 src/label_studio_sdk/types/sampling_enum.py rename src/label_studio_sdk/types/{key_indicator_value.py => serialization_option_request.py} (73%) create mode 100644 src/label_studio_sdk/types/serialization_options_request.py create mode 100644 src/label_studio_sdk/types/skip_queue_enum.py create mode 100644 src/label_studio_sdk/types/skipped_enum.py create mode 100644 src/label_studio_sdk/types/state_enum.py create mode 100644 src/label_studio_sdk/types/status7bf_enum.py create mode 100644 src/label_studio_sdk/types/status_d14enum.py delete mode 100644 src/label_studio_sdk/types/task.py delete mode 100644 src/label_studio_sdk/types/task_annotators_item.py delete mode 100644 src/label_studio_sdk/types/task_comment_authors_item.py create mode 100644 src/label_studio_sdk/types/trial_role_enum.py rename src/label_studio_sdk/types/{key_indicators_item_extra_kpis_item.py => user_simple_request.py} (56%) delete mode 100644 src/label_studio_sdk/types/webhook_actions_item.py delete mode 100644 src/label_studio_sdk/types/workspace.py delete mode 100644 src/label_studio_sdk/versions/__init__.py delete mode 100644 src/label_studio_sdk/versions/client.py delete mode 100644 src/label_studio_sdk/versions/types/__init__.py delete mode 100644 src/label_studio_sdk/versions/types/versions_get_response.py delete mode 100644 src/label_studio_sdk/versions/types/versions_get_response_edition.py delete mode 100644 src/label_studio_sdk/webhooks/types/__init__.py delete mode 100644 src/label_studio_sdk/webhooks/types/webhooks_update_request_actions_item.py delete mode 100644 src/label_studio_sdk/workspaces/__init__.py delete mode 100644 src/label_studio_sdk/workspaces/client.py delete mode 100644 src/label_studio_sdk/workspaces/members/__init__.py delete mode 100644 src/label_studio_sdk/workspaces/members/types/__init__.py delete mode 100644 src/label_studio_sdk/workspaces/members/types/members_create_response.py delete mode 100644 src/label_studio_sdk/workspaces/members/types/members_list_response_item.py delete mode 100644 tests/export_storage/test_s3s.py delete mode 100644 tests/import_storage/test_s3s.py rename {src/label_studio_sdk/files => tests/organizations}/__init__.py (100%) create mode 100644 tests/organizations/test_members.py rename tests/{test_files.py => projects/test_file_uploads.py} (58%) delete mode 100644 tests/projects/test_pauses.py delete mode 100644 tests/prompts/__init__.py delete mode 100644 tests/prompts/test_indicators.py delete mode 100644 tests/prompts/test_runs.py delete mode 100644 tests/prompts/test_versions.py delete mode 100644 tests/test_comments.py delete mode 100644 tests/test_jwt_settings.py delete mode 100644 tests/test_model_providers.py create mode 100644 tests/test_organizations.py delete mode 100644 tests/test_prompts.py delete mode 100644 tests/test_tokens.py delete mode 100644 tests/test_versions.py delete mode 100644 tests/test_workspaces.py delete mode 100644 tests/workspaces/__init__.py delete mode 100644 tests/workspaces/test_members.py diff --git a/.mock/definition/__package__.yml b/.mock/definition/__package__.yml index 7558ed180..f8c111950 100644 --- a/.mock/definition/__package__.yml +++ b/.mock/definition/__package__.yml @@ -1,38 +1,52 @@ errors: - BadRequestError: - status-code: 400 - type: unknown - docs: Invalid project ID supplied - examples: - - value: string NotFoundError: status-code: 404 type: unknown - docs: Project not found + docs: No more logs found + examples: + - value: + key: value + NotImplementedError: + status-code: 501 + type: unknown + docs: KPI depends on other KPIs - not implemented InternalServerError: status-code: 500 type: string docs: Predicting error examples: - value: Server responded with an error. + BadRequestError: + status-code: 400 + type: unknown + docs: '' + examples: + - value: + key: value + - value: string + ForbiddenError: + status-code: 403 + type: unknown + docs: '' + examples: + - value: + key: value MethodNotAllowedError: status-code: 405 - type: unknown - docs: User cannot soft delete self. + type: map + docs: '' + examples: + - value: + key: value UnauthorizedError: status-code: 401 type: unknown - docs: Invalid refresh token + docs: '' + examples: + - value: + key: value types: - AnnotationCompletedBy: - discriminated: false - union: - - UserSimple - - integer - source: - openapi: openapi/openapi.yaml - inline: true - AnnotationLastAction: + ActionEnum: enum: - prediction - propagated_annotation @@ -44,30 +58,351 @@ types: - rejected - fixed_and_accepted - deleted_review - docs: Action which was performed in the last annotation history item + docs: |- + * `prediction` - Created from prediction + * `propagated_annotation` - Created from another annotation + * `imported` - Imported + * `submitted` - Submitted + * `updated` - Updated + * `skipped` - Skipped + * `accepted` - Accepted + * `rejected` - Rejected + * `fixed_and_accepted` - Fixed and accepted + * `deleted_review` - Deleted review + source: + openapi: openapi/openapi.yaml + ActionsEnum: + enum: + - PROJECT_CREATED + - PROJECT_UPDATED + - PROJECT_DELETED + - TASKS_CREATED + - TASKS_DELETED + - ANNOTATION_CREATED + - ANNOTATIONS_CREATED + - ANNOTATION_UPDATED + - ANNOTATIONS_DELETED + - LABEL_LINK_CREATED + - LABEL_LINK_UPDATED + - LABEL_LINK_DELETED + - REVIEW_CREATED + - REVIEW_UPDATED + - REVIEWS_DELETED + docs: |- + * `PROJECT_CREATED` - PROJECT_CREATED + * `PROJECT_UPDATED` - PROJECT_UPDATED + * `PROJECT_DELETED` - PROJECT_DELETED + * `TASKS_CREATED` - TASKS_CREATED + * `TASKS_DELETED` - TASKS_DELETED + * `ANNOTATION_CREATED` - ANNOTATION_CREATED + * `ANNOTATIONS_CREATED` - ANNOTATIONS_CREATED + * `ANNOTATION_UPDATED` - ANNOTATION_UPDATED + * `ANNOTATIONS_DELETED` - ANNOTATIONS_DELETED + * `LABEL_LINK_CREATED` - LABEL_LINK_CREATED + * `LABEL_LINK_UPDATED` - LABEL_LINK_UPDATED + * `LABEL_LINK_DELETED` - LABEL_LINK_DELETED + * `REVIEW_CREATED` - REVIEW_CREATED + * `REVIEW_UPDATED` - REVIEW_UPDATED + * `REVIEWS_DELETED` - REVIEWS_DELETED + source: + openapi: openapi/openapi.yaml + ActivityLog: + properties: + id: integer + user_id: + type: integer + validation: + min: -2147483648 + max: 2147483647 + email: + type: string + validation: + maxLength: 256 + user_agent: + type: optional + validation: + maxLength: 1024 + http_referer: + type: optional + validation: + maxLength: 1024 + request_url: + type: string + validation: + maxLength: 256 + request_method: + type: string + validation: + maxLength: 10 + response_code: + type: string + validation: + maxLength: 3 + datetime: datetime + ip_address: optional + extra_data: optional + duration: + type: optional + docs: Duration of response generation in ms + validation: + min: -2147483648 + max: 2147483647 + project_id: + type: optional + docs: Project id if request has it + validation: + min: -2147483648 + max: 2147483647 + workspace_owner_id: + type: optional + docs: Owner id of workspace where action performed + validation: + min: -2147483648 + max: 2147483647 + organization_id: + type: optional + docs: Organization id + validation: + min: -2147483648 + max: 2147483647 + source: + openapi: openapi/openapi.yaml + ActivityLogResponse: + docs: Serializer for ActivityLogAPI response. + properties: + data: list + recordsTotal: integer + recordsFiltered: integer + source: + openapi: openapi/openapi.yaml + AllRolesProjectListSampling: + discriminated: false + union: + - SamplingEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + AllRolesProjectListSkipQueue: + discriminated: false + union: + - SkipQueueEnum + - NullEnum + source: + openapi: openapi/openapi.yaml inline: true + AllRolesProjectList: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + useful_annotation_number: string + enable_empty_annotation: + type: optional + docs: Allow annotators to submit empty annotations + show_collab_predictions: + type: optional + docs: If set, the annotator can view model predictions + evaluate_predictions_automatically: + type: optional + docs: Retrieve and display predictions when loading a task + reveal_preannotations_interactively: + type: optional + docs: Reveal pre-annotations interactively + members: string + pause_on_failed_annotator_evaluation: + type: optional + default: false + comment_classification_config: optional + maximum_annotations: + type: optional + docs: >- + Maximum number of annotations for one task. If the number of + annotations per task is equal or greater to this value, the task is + completed (is_labeled=True) + validation: + min: -2147483648 + max: 2147483647 + blueprints: list + is_draft: + type: optional + docs: Whether or not the project is in the middle of being created + show_annotation_history: + type: optional + docs: Show annotation history to annotator + workspace: string + queue_total: string + control_weights: optional + min_annotations_to_start_training: + type: optional + docs: >- + Minimum number of completed tasks after which model training is + started + validation: + min: -2147483648 + max: 2147483647 + show_ground_truth_first: optional + prompts: string + data_types: unknown + num_tasks_with_annotations: string + duplication_done: + type: optional + default: false + annotation_limit_count: + type: optional + validation: + min: 1 + custom_task_lock_ttl: + type: optional + docs: TTL in seconds for task reservations, on new and existing tasks + validation: + min: 1 + max: 86400 + annotator_evaluation_minimum_score: + type: optional + default: '95.00' + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + color: + type: optional + validation: + maxLength: 16 + ground_truth_number: + type: integer + docs: Honeypot annotation number in project + annotator_evaluation_minimum_tasks: + type: optional + default: 10 + validation: + min: 0 + allow_stream: string + reviewer_queue_total: string + description: + type: optional + docs: Project description + config_has_control_tags: + type: string + docs: Flag to detect is project ready for labeling + organization: optional + skipped_annotations_number: string + overlap_cohort_percentage: + type: optional + validation: + min: -2147483648 + max: 2147483647 + custom_script: optional + label_config: + type: optional + docs: Label config in XML format. See more about it in documentation + model_version: + type: optional + docs: Machine learning model version + parsed_label_config: unknown + queue_done: string + members_count: string + queue_left: string + review_settings: ReviewSettings + created_by: + type: optional + docs: Project owner + created_at: datetime + title: + type: optional + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 + start_training_on_annotation_update: + type: string + docs: Start model training after any annotations are submitted or updated + rejected: string + review_total_tasks: string + is_published: + type: optional + docs: Whether or not the project is published to annotators + require_comment_on_skip: + type: optional + default: false + finished_task_number: integer + assignment_settings: AssignmentSettings + annotation_limit_percent: + type: optional + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + task_number: + type: integer + docs: Total task number in project + total_annotations_number: string + id: integer + sampling: optional + ready: string + skip_queue: optional + pinned_at: + type: optional + docs: Pinned date and time + expert_instruction: + type: optional + docs: Labeling instructions in HTML format + config_suitable_for_bulk_annotation: + type: string + docs: Flag to detect is project ready for bulk annotation + total_predictions_number: integer + show_skip_button: + type: optional + docs: Show a skip button in interface and allow annotators to skip the task + show_overlap_first: optional + reviewed_number: string + show_instruction: + type: optional + docs: Show instructions to the annotator before they start + source: + openapi: openapi/openapi.yaml + AnnotatedEnum: + enum: + - only + - exclude + docs: |- + * `only` - only + * `exclude` - exclude + * `None` - None + source: + openapi: openapi/openapi.yaml + AnnotationLastAction: + discriminated: false + docs: |- + Action which was performed in the last annotation history item + + * `prediction` - Created from prediction + * `propagated_annotation` - Created from another annotation + * `imported` - Imported + * `submitted` - Submitted + * `updated` - Updated + * `skipped` - Skipped + * `accepted` - Accepted + * `rejected` - Rejected + * `fixed_and_accepted` - Fixed and accepted + * `deleted_review` - Deleted review + union: + - LastActionEnum + - NullEnum source: openapi: openapi/openapi.yaml + inline: true Annotation: properties: - id: optional + id: integer result: type: optional>> docs: List of annotation results for the task created_username: - type: optional + type: string docs: Username string + default: '' created_ago: - type: optional + type: string docs: Time delta from creation time default: '' - validation: - minLength: 1 - completed_by: optional - unique_id: - type: optional - validation: - minLength: 1 + completed_by: optional was_cancelled: type: optional docs: User skipped the task @@ -75,10 +410,10 @@ types: type: optional docs: This annotation is a Ground Truth (ground_truth) created_at: - type: optional + type: datetime docs: Creation time updated_at: - type: optional + type: datetime docs: Last updated time draft_created_at: type: optional @@ -87,13 +422,28 @@ types: type: optional docs: How much time it took to annotate the task import_id: - type: optional + type: optional docs: >- Original annotation ID that was at the import step or NULL if this annotation wasn't imported last_action: type: optional - docs: Action which was performed in the last annotation history item + docs: |- + Action which was performed in the last annotation history item + + * `prediction` - Created from prediction + * `propagated_annotation` - Created from another annotation + * `imported` - Imported + * `submitted` - Submitted + * `updated` - Updated + * `skipped` - Skipped + * `accepted` - Accepted + * `rejected` - Rejected + * `fixed_and_accepted` - Fixed and accepted + * `deleted_review` - Deleted review + bulk_created: + type: optional + docs: Annotation was created in bulk mode task: type: optional docs: Corresponding task for this annotation @@ -114,612 +464,619 @@ types: docs: User who created the last annotation history item source: openapi: openapi/openapi.yaml - BaseUser: + AnnotationHistoryAction: + discriminated: false + union: + - ActionEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + AnnotationHistory: + docs: |- + 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 properties: - id: optional - first_name: - type: optional + id: integer + comment: optional + organization_id: + type: optional + docs: Organization for this annotation history validation: - maxLength: 256 - last_name: - type: optional + min: -2147483648 + max: 2147483647 + project_id: + type: optional + docs: Project for this annotation history validation: - maxLength: 256 - username: - type: string + min: -2147483648 + max: 2147483647 + annotation_id: + type: optional + docs: Corresponding annotation for this historical annotation validation: - minLength: 1 - maxLength: 256 - email: - type: optional + min: -2147483648 + max: 2147483647 + draft_id: + type: optional + docs: Corresponding draft for this historical annotation validation: - format: email - maxLength: 254 - last_activity: optional - avatar: optional - initials: optional - phone: - type: optional + min: -2147483648 + max: 2147483647 + review_id: + type: optional + docs: AnnotationReview ID, using with review field validation: - maxLength: 256 - active_organization: optional - allow_newsletters: - type: optional - docs: Allow sending newsletters to user - date_joined: optional - source: - openapi: openapi/openapi.yaml - Filter: - properties: - id: optional - index: + min: -2147483648 + max: 2147483647 + task_id: type: optional - docs: To keep filter order - column: - type: string - docs: Field name + docs: Task id validation: - minLength: 1 - maxLength: 1024 - type: - type: string - docs: Field type + min: -2147483648 + max: 2147483647 + result: optional + lead_time: + type: optional + docs: How much time it took to annotate the task + action: optional + started_at: + type: optional + docs: >- + The time that a user started working on this revision of the + annotation + created_at: datetime + created_by: + type: optional + docs: Created by user id validation: - minLength: 1 - maxLength: 1024 - operator: - type: string - docs: Filter operator + min: -2147483648 + max: 2147483647 + comment_id: + type: optional + docs: Comment id sent with result validation: - minLength: 1 - maxLength: 1024 - value: - type: optional> - docs: Filter value + min: -2147483648 + max: 2147483647 source: openapi: openapi/openapi.yaml - FilterGroup: + AnnotationReview: + docs: |- + 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 properties: - id: optional - filters: list - conjunction: - type: string - docs: Type of conjunction - validation: - minLength: 1 - maxLength: 1024 + id: integer + created_by: + type: integer + docs: User who made this review + created_at: + type: datetime + docs: Creation time + accepted: + type: optional + docs: Accepted or rejected (if false) flag + result: optional + annotation: + type: integer + docs: Corresponding annotation + fixed_annotation_history: + type: optional + docs: Fixed annotation history item by the reviewer + previous_annotation_history: + type: optional + docs: Previous annotation history item by the annotator + last_annotation_history: optional + remove_from_queue: optional + started_at: optional source: openapi: openapi/openapi.yaml - View: + AnnotationReviewRequest: + docs: |- + 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 properties: - id: optional - filter_group: optional - data: - type: optional> - docs: Custom view data - ordering: - type: optional> - docs: Ordering parameters - selected_items: - type: optional> - docs: Selected items - user: - type: optional - docs: User who made this view - project: + accepted: + type: optional + docs: Accepted or rejected (if false) flag + result: optional + annotation: type: integer - docs: Project ID + docs: Corresponding annotation + last_annotation_history: optional + comment: + type: optional + validation: + minLength: 1 + remove_from_queue: optional + started_at: optional source: openapi: openapi/openapi.yaml - FileUpload: - properties: - id: optional - file: optional + AssignmentSettingsLabelStreamTaskDistribution: + discriminated: false + docs: >- + Modes for distributing tasks to annotators + + + * `auto_distribution` - Label Stream distributes tasks automatically to + annotators + + * `assigned_only` - Label Stream shows tasks only to assigned users + union: + - LabelStreamTaskDistributionEnum + - NullEnum source: openapi: openapi/openapi.yaml - OrganizationInvite: + inline: true + AssignmentSettings: properties: - token: - type: optional - validation: - minLength: 1 - invite_url: - type: optional - validation: - minLength: 1 + id: integer + label_stream_task_distribution: + type: optional + docs: >- + Modes for distributing tasks to annotators + + + * `auto_distribution` - Label Stream distributes tasks automatically + to annotators + + * `assigned_only` - Label Stream shows tasks only to assigned users + project: optional source: openapi: openapi/openapi.yaml - LabelLink: - properties: - id: optional - annotations_count: optional - from_name: - type: string - docs: Tag name - validation: - minLength: 1 - maxLength: 2048 - project: integer - label: integer + AssignmentSettingsRequestLabelStreamTaskDistribution: + discriminated: false + docs: >- + Modes for distributing tasks to annotators + + + * `auto_distribution` - Label Stream distributes tasks automatically to + annotators + + * `assigned_only` - Label Stream shows tasks only to assigned users + union: + - LabelStreamTaskDistributionEnum + - NullEnum source: openapi: openapi/openapi.yaml - Label: + inline: true + AssignmentSettingsRequest: properties: - id: optional - links: optional> - created_at: - type: optional - docs: Time of label creation - updated_at: - type: optional - docs: Time of label modification - value: - type: map - docs: Label value - title: - type: string - docs: Label title - validation: - minLength: 1 - maxLength: 2048 - description: - type: optional - docs: Label description - approved: - type: optional - docs: Status of label - created_by: - type: integer - docs: User who made this label - approved_by: - type: optional - docs: User who approved this label - organization: integer - projects: optional> + label_stream_task_distribution: + type: optional + docs: >- + Modes for distributing tasks to annotators + + + * `auto_distribution` - Label Stream distributes tasks automatically + to annotators + + * `assigned_only` - Label Stream shows tasks only to assigned users + project: optional source: openapi: openapi/openapi.yaml - LabelCreate: + AssociatedProject: + docs: |- + 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 properties: - id: optional - created_by: optional - organization: optional - project: integer - from_name: - type: string - validation: - minLength: 1 - created_at: - type: optional - docs: Time of label creation - updated_at: - type: optional - docs: Time of label modification - value: - type: map - docs: Label value + id: integer title: - type: string - docs: Label title - validation: - minLength: 1 - maxLength: 2048 - description: type: optional - docs: Label description - approved: - type: optional - docs: Status of label - approved_by: - type: optional - docs: User who approved this label - projects: optional> - source: - openapi: openapi/openapi.yaml - MlBackendState: - enum: - - CO - - DI - - ER - - TR - - PR - inline: true + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 source: openapi: openapi/openapi.yaml - MlBackendAuthMethod: + AuthMethodEnum: enum: - NONE - BASIC_AUTH - inline: true + docs: |- + * `NONE` - None + * `BASIC_AUTH` - Basic Auth source: openapi: openapi/openapi.yaml - MlBackend: + AzureBlobExportStorage: properties: - id: optional - state: optional - readable_state: optional - is_interactive: - type: optional - docs: >- - Used to interactively annotate tasks. If true, model returns one list - with results - url: + id: integer + type: type: string - docs: URL for the machine learning model server - validation: - minLength: 1 - error_message: + default: azure + synchronizable: + type: optional + default: true + container: type: optional - docs: Error message in error state - title: + docs: Azure blob container + prefix: type: optional - docs: Name of the machine learning backend - auth_method: optional - basic_auth_user: + docs: Azure blob prefix name + regex_filter: type: optional - docs: HTTP Basic Auth user - basic_auth_pass: optional - basic_auth_pass_is_set: optional - description: + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + account_name: type: optional - docs: Description for the machine learning backend - extra_params: - type: optional> - docs: Any extra parameters passed to the ML Backend during the setup - model_version: + docs: Azure Blob account name + account_key: type: optional - docs: Current model version associated with this machine learning backend - timeout: - type: optional - docs: Response model timeout - created_at: optional - updated_at: optional - auto_update: - type: optional - docs: >- - If false, model version is set by the user, if true - getting latest - version from backend. - project: integer - source: - openapi: openapi/openapi.yaml - OrganizationId: - properties: - id: optional - title: - type: string + docs: Azure Blob account key + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time validation: - minLength: 1 - maxLength: 1000 - contact_info: + min: 0 + max: 2147483647 + last_sync_job: type: optional + docs: Last sync job ID validation: - format: email - maxLength: 254 - created_at: optional - source: - openapi: openapi/openapi.yaml - Organization: - properties: - id: optional + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional title: - type: string - validation: - minLength: 1 - maxLength: 1000 - token: type: optional + docs: Cloud storage title validation: maxLength: 256 - created_at: optional - updated_at: optional - contact_info: + description: type: optional - validation: - format: email - maxLength: 254 - created_by: optional - users: optional> + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + can_delete_objects: + type: optional + docs: Deletion from storage enabled + project: + type: integer + docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - UserSerializerWithProjects: + AzureBlobImportStorage: properties: - id: optional - first_name: - type: optional - validation: - maxLength: 256 - last_name: - type: optional - validation: - maxLength: 256 - username: + id: integer + type: type: string + default: azure + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + container: + type: optional + docs: Azure blob container + prefix: + type: optional + docs: Azure blob prefix name + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + account_name: + type: optional + docs: Azure Blob account name + account_key: + type: optional + docs: Azure Blob account key + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time validation: - minLength: 1 - maxLength: 256 - email: + min: 0 + max: 2147483647 + last_sync_job: type: optional + docs: Last sync job ID validation: - format: email - maxLength: 254 - last_activity: optional - avatar: optional - initials: optional - phone: + maxLength: 256 + status: optional + traceback: type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title validation: maxLength: 256 - active_organization: optional - allow_newsletters: - type: optional - docs: Allow sending newsletters to user - date_joined: optional - created_projects: optional - contributed_to_projects: optional - source: - openapi: openapi/openapi.yaml - OrganizationMemberUser: - properties: - id: optional - organization: + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 + project: type: integer - docs: Organization ID - user: UserSerializerWithProjects + docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - Prediction: + AzureDatasetStorage: properties: - id: optional - result: - docs: List of prediction results for the task - type: list> - model_version: + id: integer + type: + type: string + default: azure + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + container: type: optional - docs: >- - Model version - tag for predictions that can be used to filter tasks - in Data Manager, as well as select specific model version for showing - preannotations in the labeling interface - created_ago: + docs: Azure blob container + prefix: type: optional - docs: Delta time from creation time - default: '' - validation: - minLength: 1 - score: - type: optional - docs: Prediction score - cluster: - type: optional - docs: Cluster for the current prediction - neighbors: - type: optional> - docs: Array of task IDs of the closest neighbors - mislabeling: - type: optional - docs: Related task mislabeling score - created_at: optional - updated_at: optional - model: + docs: Azure blob prefix name + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + account_name: + type: optional + docs: Azure Blob account name + account_key: + type: optional + docs: Azure Blob account key + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: type: optional - docs: An ML Backend instance that created the prediction. - model_run: + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + presign_ttl: type: optional - docs: A run of a ModelVersion that created the prediction. - task: integer - project: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 + glob_pattern: + type: optional + docs: Glob pattern for syncing from bucket + synced: + type: optional + docs: Flag if dataset has been previously synced or not + job_id: + type: optional + dataset: + type: integer + docs: A unique integer value identifying this dataset. source: openapi: openapi/openapi.yaml - UserSimple: - docs: Project owner + AzureDatasetStorageRequest: properties: - id: optional - first_name: + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + container: + type: optional + docs: Azure blob container + prefix: + type: optional + docs: Azure blob prefix name + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + account_name: + type: optional + docs: Azure Blob account name + account_key: + type: optional + docs: Azure Blob account key + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: type: optional + docs: Last sync job ID validation: maxLength: 256 - last_name: + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: type: optional + docs: Cloud storage title validation: maxLength: 256 - email: + description: type: optional + docs: Cloud storage description + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) validation: - format: email - maxLength: 254 - avatar: optional - source: - openapi: openapi/openapi.yaml - ProjectSampling: - enum: - - value: Sequential sampling - name: SequentialSampling - - value: Uniform sampling - name: UniformSampling - - value: Uncertainty sampling - name: UncertaintySampling - inline: true - source: - openapi: openapi/openapi.yaml - ProjectSkipQueue: - enum: - - REQUEUE_FOR_ME - - REQUEUE_FOR_OTHERS - - IGNORE_SKIPPED - inline: true + min: 0 + max: 32767 + glob_pattern: + type: optional + docs: Glob pattern for syncing from bucket + synced: + type: optional + docs: Flag if dataset has been previously synced or not + dataset: + type: integer + docs: A unique integer value identifying this dataset. source: openapi: openapi/openapi.yaml - Project: + BlankEnum: literal<""> + Blueprint: properties: - id: optional + id: integer + share_id: string + short_url: string + project: integer + created_by: optional title: type: optional - docs: Project name. Must be between 3 and 50 characters long. + docs: Blueprint name. Must be between 3 and 50 characters long. validation: - minLength: 3 maxLength: 50 description: type: optional docs: Project description label_config: type: optional - docs: Label config in XML format. See more about it in documentation - expert_instruction: - type: optional - docs: Labeling instructions in HTML format - show_instruction: - type: optional - docs: Show instructions to the annotator before they start - show_skip_button: - type: optional - docs: Show a skip button in interface and allow annotators to skip the task - enable_empty_annotation: - type: optional - docs: Allow annotators to submit empty annotations - show_annotation_history: - type: optional - docs: Show annotation history to annotator - organization: optional - prompts: optional> - color: + docs: Labeling configuration in XML format + created_at: datetime + updated_at: datetime + source: + openapi: openapi/openapi.yaml + BlueprintList: + properties: + id: integer + share_id: string + short_url: string + title: type: optional + docs: Blueprint name. Must be between 3 and 50 characters long. validation: - maxLength: 16 - maximum_annotations: - type: optional - docs: >- - Maximum number of annotations for one task. If the number of - annotations per task is equal or greater to this value, the task is - completed (is_labeled=True) - annotation_limit_count: - type: optional - docs: >- - Maximum number of tasks that can be annotated by a single annotator in - this project pause - annotation_limit_percent: - type: optional - docs: >- - Maximum percentage of tasks in this project that can be annotated by a - single annotator - is_published: - type: optional - docs: Whether or not the project is published to annotators - model_version: - type: optional - docs: Machine learning model version - is_draft: - type: optional - docs: Whether or not the project is in the middle of being created - created_by: optional - created_at: optional - min_annotations_to_start_training: - type: optional - docs: >- - Minimum number of completed tasks after which model training is - started - start_training_on_annotation_update: - type: optional - docs: Start model training after any annotations are submitted or updated - show_collab_predictions: - type: optional - docs: If set, the annotator can view model predictions - num_tasks_with_annotations: - type: optional - docs: Tasks with annotations count - task_number: - type: optional - docs: Total task number in project - useful_annotation_number: - type: optional - docs: >- - Useful annotation number in project not including - skipped_annotations_number and ground_truth_number. Total annotations - = annotation_number + skipped_annotations_number + ground_truth_number - ground_truth_number: - type: optional - docs: Honeypot annotation number in project - skipped_annotations_number: - type: optional - docs: Skipped by collaborators annotation number in project - total_annotations_number: - type: optional - docs: >- - Total annotations number in project including - skipped_annotations_number and ground_truth_number. - total_predictions_number: - type: optional - docs: >- - Total predictions number in project including - skipped_annotations_number, ground_truth_number, and - useful_annotation_number. - sampling: optional - show_ground_truth_first: optional - show_overlap_first: optional - overlap_cohort_percentage: optional - task_data_login: + maxLength: 50 + description: type: optional - docs: 'Task data credentials: login' - validation: - maxLength: 256 - task_data_password: + docs: Project description + created_at: datetime + source: + openapi: openapi/openapi.yaml + BudgetResetPeriodEnum: + enum: + - Monthly + - Yearly + docs: |- + * `Monthly` - Monthly + * `Yearly` - Yearly + source: + openapi: openapi/openapi.yaml + Comment: + properties: + id: integer + region_ref: optional + classifications: optional + text: type: optional - docs: 'Task data credentials: password' - validation: - maxLength: 256 - control_weights: - type: optional> - docs: > - Dict of weights for each control tag in metric calculation. Each - control tag (e.g. label or choice) will have its own key in control - weight dict with weight for each label and overall weight. For - example, if a bounding box annotation with a control tag named my_bbox - should be included with 0.33 weight in agreement calculation, and the - first label Car should be twice as important as Airplane, then you - need to specify: {'my_bbox': {'type': 'RectangleLabels', 'labels': - {'Car': 1.0, 'Airplane': 0.5}, 'overall': 0.33}} - parsed_label_config: - type: optional> - docs: JSON-formatted labeling configuration - evaluate_predictions_automatically: - type: optional - docs: Retrieve and display predictions when loading a task - config_has_control_tags: - type: optional - docs: Flag to detect is project ready for labeling - skip_queue: optional - reveal_preannotations_interactively: + docs: Reviewer or annotator comment + created_at: + type: datetime + docs: Creation time + updated_at: + type: datetime + docs: Last updated time + is_resolved: type: optional - docs: Reveal pre-annotations interactively - pinned_at: + docs: True if the comment is resolved + resolved_at: type: optional - docs: Pinned date and time - finished_task_number: - type: optional - docs: Finished tasks - queue_total: optional - queue_done: optional + docs: Resolving time + project: optional + task: optional + draft: optional + annotation: optional + created_by: + type: integer + docs: User who made this comment source: openapi: openapi/openapi.yaml - ProjectLabelConfig: + CommentRequest: properties: - label_config: - type: string - docs: Label config in XML format. See more about it in documentation - validation: - minLength: 1 + region_ref: optional + classifications: optional + text: + type: optional + docs: Reviewer or annotator comment + is_resolved: + type: optional + docs: True if the comment is resolved + draft: optional + annotation: optional source: openapi: openapi/openapi.yaml - ConvertedFormatStatus: - enum: - - created - - in_progress - - failed - - completed - inline: true + ConvertedFormat: + properties: + id: integer + status: optional + export_type: + type: string + validation: + maxLength: 64 + traceback: + type: optional + docs: Traceback report in case of errors source: openapi: openapi/openapi.yaml - ConvertedFormat: + ConvertedFormatRequest: properties: - id: optional - status: optional + status: optional export_type: type: string validation: @@ -730,167 +1087,384 @@ types: docs: Traceback report in case of errors source: openapi: openapi/openapi.yaml - ExportStatus: + CustomScriptsEditableByEnum: enum: - - created - - in_progress - - failed - - completed - inline: true + - AD + - MA + docs: |- + * `AD` - Administrator + * `MA` - Manager source: openapi: openapi/openapi.yaml - Export: + Dataset: properties: + id: integer + created_by: + type: optional + docs: User who created Dataset + created_at: + type: datetime + docs: Creation time + updated_at: + type: datetime + docs: Last updated time title: + type: string + docs: Dataset title + validation: + maxLength: 1000 + description: type: optional + docs: Dataset description + columns: optional + total_entities: + type: optional validation: - maxLength: 2048 - id: optional - created_by: optional - created_at: - type: optional - docs: Creation time - finished_at: - type: optional - docs: Complete or fail time - status: optional - md5: + min: -2147483648 + max: 2147483647 + vector_db_dataset_name: type: optional + docs: Dataset name for weaviate schema validation: - minLength: 1 - maxLength: 128 - counters: optional> - converted_formats: optional> + maxLength: 37 + organization: optional source: openapi: openapi/openapi.yaml - ProjectImportStatus: - enum: - - created - - in_progress - - failed - - completed - inline: true + DatasetMember: + properties: + user: integer source: openapi: openapi/openapi.yaml - ProjectImport: + DatasetRequest: properties: - id: optional - preannotated_from_fields: optional> - commit_to_project: optional - return_task_ids: optional - status: optional - url: + created_by: + type: optional + docs: User who created Dataset + title: + type: string + docs: Dataset title + validation: + minLength: 1 + maxLength: 1000 + description: type: optional + docs: Dataset description + columns: optional + total_entities: + type: optional validation: - maxLength: 2048 - traceback: optional - error: optional - created_at: - type: optional - docs: Creation time - updated_at: - type: optional - docs: Updated time - finished_at: - type: optional - docs: Complete or fail time - task_count: optional - annotation_count: optional - prediction_count: optional - duration: optional - file_upload_ids: optional> - could_be_tasks_list: optional - found_formats: optional> - data_columns: optional> - tasks: optional> - task_ids: optional> - project: optional + min: -2147483648 + max: 2147483647 + vector_db_dataset_name: + type: optional + docs: Dataset name for weaviate schema + validation: + minLength: 1 + maxLength: 37 + organization: optional source: openapi: openapi/openapi.yaml - ProjectReimportStatus: - enum: - - created - - in_progress - - failed - - completed - inline: true + DatasetView: + properties: + id: integer + filter_group: optional + data: optional + ordering: optional + order: + type: optional + docs: >- + Position of the tab, starting at the left in data manager and + increasing as the tabs go left to right + validation: + min: -2147483648 + max: 2147483647 + selected_items: optional + user: + type: optional + docs: User who made this view + dataset: + type: integer + docs: Dataset ID source: openapi: openapi/openapi.yaml - ProjectReimport: + DatasetViewRequest: properties: - id: optional - status: optional - error: optional - task_count: optional - annotation_count: optional - prediction_count: optional - duration: optional - file_upload_ids: optional> - files_as_tasks_list: optional - found_formats: optional> - data_columns: optional> - traceback: optional - project: optional + filter_group: optional + data: optional + ordering: optional + order: + type: optional + docs: >- + Position of the tab, starting at the left in data manager and + increasing as the tabs go left to right + validation: + min: -2147483648 + max: 2147483647 + selected_items: optional + user: + type: optional + docs: User who made this view + dataset: + type: integer + docs: Dataset ID source: openapi: openapi/openapi.yaml - AzureBlobImportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true + DefaultRoleCustomScriptsEditableBy: + discriminated: false + docs: |- + Set the minimum user role that can edit custom scripts in the UI. + + * `AD` - Administrator + * `MA` - Manager + union: + - CustomScriptsEditableByEnum + - NullEnum source: openapi: openapi/openapi.yaml - AzureBlobImportStorage: + inline: true + DefaultRole: properties: - id: optional - type: + organization: + type: integer + docs: A unique integer value identifying this organization. + default_role: + type: optional + docs: |- + Default membership role for invited users + + * `OW` - Owner + * `AD` - Administrator + * `MA` - Manager + * `RE` - Reviewer + * `AN` - Annotator + * `DI` - Deactivated + * `NO` - Not Activated + external_id: type: optional - default: azure - synchronizable: - type: optional - default: true - presign: - type: optional - default: true - container: + docs: External ID to uniquely identify this organization + embed_domains: optional + embed_settings: optional + extra_data_on_activity_logs: optional + custom_scripts_enabled_at: + type: optional + docs: >- + Set to current time to enabled custom scripts for this organization. + Can only be enabled if no organization members are active members of + any other organizations; otherwise an error will be raised. If this + occurs, contact the LEAP team for assistance with enabling custom + scripts. + custom_scripts_editable_by: + type: optional + docs: |- + Set the minimum user role that can edit custom scripts in the UI. + + * `AD` - Administrator + * `MA` - Manager + annotator_reviewer_firewall_enabled_at: + type: optional + docs: >- + Set to current time to restrict data sharing between annotators and + reviewers in the label stream, review stream, and notifications (which + will be disabled). In these settings, information about annotator and + reviewer identity is suppressed in the UI. + read_only_quick_view_enabled_at: + type: optional + docs: >- + Set to current time to prevent creating or editing annotations in + quick view. + label_stream_navigation_disabled_at: + type: optional + docs: >- + Set to current time to disable the label stream navigation for this + organization. This will prevent users from going back in the label + stream to view previous labels. + source: + openapi: openapi/openapi.yaml + DefaultRoleEnum: + enum: + - OW + - AD + - MA + - RE + - AN + - DI + - 'NO' + docs: |- + * `OW` - Owner + * `AD` - Administrator + * `MA` - Manager + * `RE` - Reviewer + * `AN` - Annotator + * `DI` - Deactivated + * `NO` - Not Activated + source: + openapi: openapi/openapi.yaml + Export: + properties: + title: type: optional - docs: Azure blob container + validation: + maxLength: 2048 + id: integer + created_by: optional + created_at: + type: datetime + docs: Creation time + finished_at: + type: optional + docs: Complete or fail time + status: optional + md5: + type: optional + validation: + maxLength: 128 + counters: optional + converted_formats: optional> + source: + openapi: openapi/openapi.yaml + FileUpload: + properties: + id: integer + file: string + source: + openapi: openapi/openapi.yaml + Filter: + properties: + id: integer + index: + type: optional + docs: To keep filter order + validation: + min: -2147483648 + max: 2147483647 + column: + type: string + docs: Field name + validation: + maxLength: 1024 + type: + type: string + docs: Field type + validation: + maxLength: 1024 + operator: + type: string + docs: Filter operator + validation: + maxLength: 1024 + value: optional + source: + openapi: openapi/openapi.yaml + FilterGroup: + properties: + id: integer + filters: list + conjunction: + type: string + docs: Type of conjunction + validation: + maxLength: 1024 + source: + openapi: openapi/openapi.yaml + FilterGroupRequest: + properties: + filters: list + conjunction: + type: string + docs: Type of conjunction + validation: + minLength: 1 + maxLength: 1024 + source: + openapi: openapi/openapi.yaml + FilterRequest: + properties: + index: + type: optional + docs: To keep filter order + validation: + min: -2147483648 + max: 2147483647 + column: + type: string + docs: Field name + validation: + minLength: 1 + maxLength: 1024 + type: + type: string + docs: Field type + validation: + minLength: 1 + maxLength: 1024 + operator: + type: string + docs: Filter operator + validation: + minLength: 1 + maxLength: 1024 + value: optional + source: + openapi: openapi/openapi.yaml + FinishedEnum: + enum: + - only + - exclude + docs: |- + * `only` - only + * `exclude` - exclude + * `None` - None + source: + openapi: openapi/openapi.yaml + GcsDatasetStorage: + properties: + id: integer + type: + type: string + default: gcs + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + bucket: + type: optional + docs: GCS bucket name prefix: type: optional - docs: Azure blob prefix name + docs: GCS bucket prefix regex_filter: type: optional docs: Cloud storage regex for filtering objects use_blob_urls: type: optional docs: Interpret objects as BLOBs and generate URLs - account_name: + google_application_credentials: type: optional - docs: Azure Blob account name - account_key: + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: type: optional - docs: Azure Blob account key + docs: Google project ID last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -900,71 +1474,72 @@ types: type: optional docs: Cloud storage description created_at: - type: optional + type: datetime docs: Creation time presign_ttl: type: optional docs: Presigned URLs TTL (in minutes) - project: + validation: + min: 0 + max: 32767 + glob_pattern: + type: optional + docs: Glob pattern for syncing from bucket + synced: + type: optional + docs: Flag if dataset has been previously synced or not + job_id: + type: optional + dataset: type: integer - docs: A unique integer value identifying this project. - source: - openapi: openapi/openapi.yaml - AzureBlobExportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true + docs: A unique integer value identifying this dataset. source: openapi: openapi/openapi.yaml - AzureBlobExportStorage: + GcsDatasetStorageRequest: properties: - id: optional - type: - type: optional - default: azure synchronizable: type: optional default: true - container: + presign: + type: optional + default: true + bucket: type: optional - docs: Azure blob container + docs: GCS bucket name prefix: type: optional - docs: Azure blob prefix name + docs: GCS bucket prefix regex_filter: type: optional docs: Cloud storage regex for filtering objects use_blob_urls: type: optional docs: Interpret objects as BLOBs and generate URLs - account_name: + google_application_credentials: type: optional - docs: Azure Blob account name - account_key: + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: type: optional - docs: Azure Blob account key + docs: Google project ID last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -973,32 +1548,28 @@ types: description: type: optional docs: Cloud storage description - created_at: - type: optional - docs: Creation time - can_delete_objects: + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 + glob_pattern: + type: optional + docs: Glob pattern for syncing from bucket + synced: type: optional - docs: Deletion from storage enabled - project: + docs: Flag if dataset has been previously synced or not + dataset: type: integer - docs: A unique integer value identifying this project. - source: - openapi: openapi/openapi.yaml - GcsExportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true + docs: A unique integer value identifying this dataset. source: openapi: openapi/openapi.yaml GcsExportStorage: properties: - id: optional + id: integer type: - type: optional + type: string default: gcs synchronizable: type: optional @@ -1027,18 +1598,19 @@ types: last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -1048,7 +1620,7 @@ types: type: optional docs: Cloud storage description created_at: - type: optional + type: datetime docs: Creation time can_delete_objects: type: optional @@ -1058,52 +1630,55 @@ types: docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - LocalFilesExportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true - source: - openapi: openapi/openapi.yaml - LocalFilesExportStorage: + GcsImportStorage: properties: - id: optional + id: integer type: - type: optional - default: localfiles + type: string + default: gcs synchronizable: type: optional default: true - path: + presign: + type: optional + default: true + bucket: type: optional - docs: Local path + docs: GCS bucket name + prefix: + type: optional + docs: GCS bucket prefix regex_filter: type: optional - docs: Regex for filtering objects + docs: Cloud storage regex for filtering objects use_blob_urls: type: optional docs: Interpret objects as BLOBs and generate URLs + google_application_credentials: + type: optional + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: + type: optional + docs: Google project ID last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -1113,71 +1688,77 @@ types: type: optional docs: Cloud storage description created_at: - type: optional + type: datetime docs: Creation time - can_delete_objects: - type: optional - docs: Deletion from storage enabled + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 project: type: integer docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - RedisExportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true - source: - openapi: openapi/openapi.yaml - RedisExportStorage: + GcswifExportStorage: properties: - id: optional + id: integer type: - type: optional - default: redis + type: string + default: gcswif synchronizable: type: optional default: true - path: - type: optional - docs: Storage prefix (optional) - host: - type: optional - docs: Server Host IP (optional) - port: + bucket: type: optional - docs: Server Port (optional) - password: + docs: GCS bucket name + prefix: type: optional - docs: Server Password (optional) + docs: GCS bucket prefix regex_filter: type: optional docs: Cloud storage regex for filtering objects use_blob_urls: type: optional docs: Interpret objects as BLOBs and generate URLs + google_application_credentials: + type: optional + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: + type: optional + docs: Google project ID + google_project_number: + type: optional + docs: Google project number + google_wif_pool_id: + type: optional + docs: Google WIF pool ID + google_wif_provider_id: + type: optional + docs: Google WIF provider ID + google_service_account_email: + type: optional + docs: Google service account email last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -1187,56 +1768,70 @@ types: type: optional docs: Cloud storage description created_at: - type: optional + type: datetime docs: Creation time can_delete_objects: type: optional docs: Deletion from storage enabled - db: - type: optional - docs: Server Database project: type: integer docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - S3ExportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true - source: - openapi: openapi/openapi.yaml - S3ExportStorage: + GcswifExportStorageRequest: properties: - id: optional - type: - type: optional - default: s3 synchronizable: type: optional default: true + bucket: + type: optional + docs: GCS bucket name + prefix: + type: optional + docs: GCS bucket prefix + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + google_application_credentials: + type: optional + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: + type: optional + docs: Google project ID + google_project_number: + type: optional + docs: Google project number + google_wif_pool_id: + type: optional + docs: Google WIF pool ID + google_wif_provider_id: + type: optional + docs: Google WIF provider ID + google_service_account_email: + type: optional + docs: Google service account email last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -1245,63 +1840,99 @@ types: description: type: optional docs: Cloud storage description - created_at: - type: optional - docs: Creation time can_delete_objects: type: optional docs: Deletion from storage enabled + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + GcswifImportStorage: + properties: + id: integer + type: + type: string + default: gcswif + synchronizable: + type: optional + default: true + presign: + type: optional + default: true bucket: type: optional - docs: S3 bucket name + docs: GCS bucket name prefix: type: optional - docs: S3 bucket prefix + docs: GCS bucket prefix regex_filter: type: optional docs: Cloud storage regex for filtering objects use_blob_urls: type: optional docs: Interpret objects as BLOBs and generate URLs - aws_access_key_id: + google_application_credentials: type: optional - docs: AWS_ACCESS_KEY_ID - aws_secret_access_key: + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: type: optional - docs: AWS_SECRET_ACCESS_KEY - aws_session_token: + docs: Google project ID + google_project_number: type: optional - docs: AWS_SESSION_TOKEN - aws_sse_kms_key_id: + docs: Google project number + google_wif_pool_id: type: optional - docs: AWS SSE KMS Key ID - region_name: + docs: Google WIF pool ID + google_wif_provider_id: type: optional - docs: AWS Region - s3_endpoint: + docs: Google WIF provider ID + google_service_account_email: type: optional - docs: S3 Endpoint + docs: Google service account email + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 project: type: integer docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - GcsImportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true - source: - openapi: openapi/openapi.yaml - GcsImportStorage: + GcswifImportStorageRequest: properties: - id: optional - type: - type: optional - default: gcs synchronizable: type: optional default: true @@ -1326,24 +1957,37 @@ types: google_project_id: type: optional docs: Google project ID + google_project_number: + type: optional + docs: Google project number + google_wif_pool_id: + type: optional + docs: Google WIF pool ID + google_wif_provider_id: + type: optional + docs: Google WIF provider ID + google_service_account_email: + type: optional + docs: Google service account email last_sync: type: optional docs: Last sync finished time last_sync_count: type: optional docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 last_sync_job: type: optional docs: Last sync job ID validation: maxLength: 256 - status: optional + status: optional traceback: type: optional docs: Traceback report for the last failed sync - meta: - type: optional> - docs: Meta and debug information about storage processes + meta: optional title: type: optional docs: Cloud storage title @@ -1352,94 +1996,3432 @@ types: description: type: optional docs: Cloud storage description - created_at: - type: optional - docs: Creation time presign_ttl: type: optional docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 project: type: integer docs: A unique integer value identifying this project. source: openapi: openapi/openapi.yaml - LocalFilesImportStorageStatus: - enum: - - initialized - - queued - - in_progress - - failed - - completed - inline: true + Hotkeys: + properties: + custom_hotkeys: map source: openapi: openapi/openapi.yaml - LocalFilesImportStorage: + LseapiTokenCreate: properties: - id: optional - type: - type: optional - default: localfiles - synchronizable: + token: string + created_at: string + expires_at: string + source: + openapi: openapi/openapi.yaml + LseapiTokenList: + properties: + token: string + created_at: string + expires_at: string + source: + openapi: openapi/openapi.yaml + LsejwtSettings: + properties: + api_tokens_enabled: type: optional - default: true - path: + docs: Enable JWT API token authentication for this organization + legacy_api_tokens_enabled: + type: optional + docs: Enable legacy API token authentication for this organization + api_token_ttl_days: + type: optional + docs: Number of days before JWT API tokens expire + validation: + min: -2147483648 + max: 2147483647 + source: + openapi: openapi/openapi.yaml + Label: + docs: |- + 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 + properties: + id: integer + links: list + created_at: + type: datetime + docs: Time of label creation + updated_at: + type: datetime + docs: Time of label modification + value: unknown + title: + type: string + docs: Label title + validation: + maxLength: 2048 + description: type: optional - docs: Local path - regex_filter: + docs: Label description + approved: + type: optional + docs: Status of label + created_by: + type: integer + docs: User who made this label + approved_by: + type: optional + docs: User who approved this label + organization: integer + projects: list + source: + openapi: openapi/openapi.yaml + LabelCreate: + properties: + id: integer + created_by: integer + organization: integer + project: integer + from_name: string + created_at: + type: datetime + docs: Time of label creation + updated_at: + type: datetime + docs: Time of label modification + value: unknown + title: + type: string + docs: Label title + validation: + maxLength: 2048 + description: type: optional - docs: Regex for filtering objects - use_blob_urls: + docs: Label description + approved: + type: optional + docs: Status of label + approved_by: + type: optional + docs: User who approved this label + projects: list + source: + openapi: openapi/openapi.yaml + LabelCreateRequest: + properties: + project: integer + from_name: + type: string + validation: + minLength: 1 + value: unknown + title: + type: string + docs: Label title + validation: + minLength: 1 + maxLength: 2048 + description: + type: optional + docs: Label description + approved: + type: optional + docs: Status of label + approved_by: + type: optional + docs: User who approved this label + source: + openapi: openapi/openapi.yaml + LabelLink: + docs: |- + 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 + properties: + id: integer + annotations_count: integer + from_name: + type: string + docs: Tag name + validation: + maxLength: 2048 + project: integer + label: integer + source: + openapi: openapi/openapi.yaml + LabelStreamTaskDistributionEnum: + enum: + - auto_distribution + - assigned_only + docs: >- + * `auto_distribution` - Label Stream distributes tasks automatically to + annotators + + * `assigned_only` - Label Stream shows tasks only to assigned users + source: + openapi: openapi/openapi.yaml + LastActionEnum: + enum: + - prediction + - propagated_annotation + - imported + - submitted + - updated + - skipped + - accepted + - rejected + - fixed_and_accepted + - deleted_review + docs: |- + * `prediction` - Created from prediction + * `propagated_annotation` - Created from another annotation + * `imported` - Imported + * `submitted` - Submitted + * `updated` - Updated + * `skipped` - Skipped + * `accepted` - Accepted + * `rejected` - Rejected + * `fixed_and_accepted` - Fixed and accepted + * `deleted_review` - Deleted review + source: + openapi: openapi/openapi.yaml + LocalFilesExportStorage: + properties: + id: integer + type: + type: string + default: localfiles + synchronizable: + type: optional + default: true + path: + type: optional + docs: Local path + regex_filter: + type: optional + docs: Regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + can_delete_objects: + type: optional + docs: Deletion from storage enabled + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LocalFilesImportStorage: + properties: + id: integer + type: + type: string + default: localfiles + synchronizable: + type: optional + default: true + path: + type: optional + docs: Local path + regex_filter: + type: optional + docs: Regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LseAnnotationFilterOptionsReviewed: + discriminated: false + docs: >- + `only` - include all tasks with at least one not reviewed + annotation
`exclude` - exclude with at least one not reviewed + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - ReviewedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseAnnotationFilterOptions: + properties: + usual: + type: optional + docs: Include not skipped and not ground truth annotations + default: true + ground_truth: + type: optional + docs: Include ground truth annotations + skipped: + type: optional + docs: Include skipped annotations + reviewed: + type: optional + docs: >- + `only` - include all tasks with at least one not reviewed + annotation
`exclude` - exclude with at least one not reviewed + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + source: + openapi: openapi/openapi.yaml + LseAnnotationFilterOptionsRequestReviewed: + discriminated: false + docs: >- + `only` - include all tasks with at least one not reviewed + annotation
`exclude` - exclude with at least one not reviewed + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - ReviewedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseAnnotationFilterOptionsRequest: + properties: + usual: + type: optional + docs: Include not skipped and not ground truth annotations + default: true + ground_truth: + type: optional + docs: Include ground truth annotations + skipped: + type: optional + docs: Include skipped annotations + reviewed: + type: optional + docs: >- + `only` - include all tasks with at least one not reviewed + annotation
`exclude` - exclude with at least one not reviewed + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + source: + openapi: openapi/openapi.yaml + LseExportCreate: + properties: + title: + type: optional + validation: + maxLength: 2048 + id: integer + created_by: optional + created_at: + type: datetime + docs: Creation time + finished_at: + type: optional + docs: Complete or fail time + status: optional + md5: + type: optional + validation: + maxLength: 128 + counters: optional + converted_formats: optional> + task_filter_options: optional + annotation_filter_options: optional + serialization_options: optional + source: + openapi: openapi/openapi.yaml + LseFieldsTrialRole: + discriminated: false + union: + - TrialRoleEnum + - BlankEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseFieldsOnboardingState: + discriminated: false + docs: |- + The current stage of user onboarding + + * `not_started` - Not Started + * `signup` - Signup + * `trial_signup` - Trial Signup + * `first_tutorial` - First Tutorial + * `in_app_guidance` - In App Guidance + * `complete` - Complete + union: + - OnboardingStateEnum + - BlankEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseFields: + properties: + invite_expired: string + invite_expired_at: string + invited_at: optional + invite_activated: optional + trial_company: + type: optional + validation: + maxLength: 1000 + trial_role: optional + trial_models_in_production: + type: optional + validation: + maxLength: 1000 + trial_experience_labeling: + type: optional + validation: + maxLength: 1000 + trial_license_enterprise: optional + social_auth_finished: + type: optional + docs: Is user finished social authentication + invited_by: optional + onboarding_state: + type: optional + docs: |- + The current stage of user onboarding + + * `not_started` - Not Started + * `signup` - Signup + * `trial_signup` - Trial Signup + * `first_tutorial` - First Tutorial + * `in_app_guidance` - In App Guidance + * `complete` - Complete + email_notification_settings: string + source: + openapi: openapi/openapi.yaml + LseFieldsRequestTrialRole: + discriminated: false + union: + - TrialRoleEnum + - BlankEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseFieldsRequestOnboardingState: + discriminated: false + docs: |- + The current stage of user onboarding + + * `not_started` - Not Started + * `signup` - Signup + * `trial_signup` - Trial Signup + * `first_tutorial` - First Tutorial + * `in_app_guidance` - In App Guidance + * `complete` - Complete + union: + - OnboardingStateEnum + - BlankEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseFieldsRequest: + properties: + invited_at: optional + invite_activated: optional + trial_company: + type: optional + validation: + maxLength: 1000 + trial_role: optional + trial_models_in_production: + type: optional + validation: + maxLength: 1000 + trial_experience_labeling: + type: optional + validation: + maxLength: 1000 + trial_license_enterprise: optional + social_auth_finished: + type: optional + docs: Is user finished social authentication + invited_by: optional + onboarding_state: + type: optional + docs: |- + The current stage of user onboarding + + * `not_started` - Not Started + * `signup` - Signup + * `trial_signup` - Trial Signup + * `first_tutorial` - First Tutorial + * `in_app_guidance` - In App Guidance + * `complete` - Complete + source: + openapi: openapi/openapi.yaml + LseOrganizationCustomScriptsEditableBy: + discriminated: false + docs: |- + Set the minimum user role that can edit custom scripts in the UI. + + * `AD` - Administrator + * `MA` - Manager + union: + - CustomScriptsEditableByEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseOrganization: + properties: + id: integer + external_id: + type: optional + docs: External ID to uniquely identify this organization + title: string + token: string + default_role: + type: optional + docs: |- + Default membership role for invited users + + * `OW` - Owner + * `AD` - Administrator + * `MA` - Manager + * `RE` - Reviewer + * `AN` - Annotator + * `DI` - Deactivated + * `NO` - Not Activated + created_at: datetime + billing: OrganizationBilling + embed_domains: optional + embed_settings: optional + custom_scripts_enabled: string + custom_scripts_editable_by: + type: optional + docs: |- + Set the minimum user role that can edit custom scripts in the UI. + + * `AD` - Administrator + * `MA` - Manager + source: + openapi: openapi/openapi.yaml + LseOrganizationMemberList: + docs: >- + A serializer mixin that takes an additional `fields` argument that + controls + + which fields should be displayed. + properties: + id: integer + organization: + type: integer + docs: Organization ID + user: LseUserOrganizationMemberList + role: string + source: + openapi: openapi/openapi.yaml + LseProjectSampling: + discriminated: false + union: + - SamplingEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectSkipQueue: + discriminated: false + union: + - SkipQueueEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProject: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + id: integer + title: + type: optional + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 + description: + type: optional + docs: Project description + label_config: + type: optional + docs: Label config in XML format. See more about it in documentation + expert_instruction: + type: optional + docs: Labeling instructions in HTML format + show_instruction: + type: optional + docs: Show instructions to the annotator before they start + show_skip_button: + type: optional + docs: Show a skip button in interface and allow annotators to skip the task + enable_empty_annotation: + type: optional + docs: Allow annotators to submit empty annotations + show_annotation_history: + type: optional + docs: Show annotation history to annotator + organization: optional + color: + type: optional + validation: + maxLength: 16 + maximum_annotations: + type: optional + docs: >- + Maximum number of annotations for one task. If the number of + annotations per task is equal or greater to this value, the task is + completed (is_labeled=True) + validation: + min: -2147483648 + max: 2147483647 + is_published: + type: optional + docs: Whether or not the project is published to annotators + model_version: + type: optional + docs: Machine learning model version + is_draft: + type: optional + docs: Whether or not the project is in the middle of being created + created_by: + type: optional + docs: Project owner + created_at: datetime + min_annotations_to_start_training: + type: optional + docs: >- + Minimum number of completed tasks after which model training is + started + validation: + min: -2147483648 + max: 2147483647 + start_training_on_annotation_update: + type: string + docs: Start model training after any annotations are submitted or updated + show_collab_predictions: + type: optional + docs: If set, the annotator can view model predictions + num_tasks_with_annotations: + type: integer + docs: Tasks with annotations count + task_number: + type: integer + docs: Total task number in project + useful_annotation_number: + type: integer + docs: >- + Useful annotation number in project not including + skipped_annotations_number and ground_truth_number. Total annotations + = annotation_number + skipped_annotations_number + ground_truth_number + ground_truth_number: + type: integer + docs: Honeypot annotation number in project + skipped_annotations_number: + type: integer + docs: Skipped by collaborators annotation number in project + total_annotations_number: + type: integer + docs: >- + Total annotations number in project including + skipped_annotations_number and ground_truth_number. + total_predictions_number: + type: integer + docs: >- + Total predictions number in project including + skipped_annotations_number, ground_truth_number, and + useful_annotation_number. + sampling: optional + show_ground_truth_first: optional + show_overlap_first: optional + overlap_cohort_percentage: + type: optional + validation: + min: -2147483648 + max: 2147483647 + task_data_login: + type: optional + docs: 'Task data credentials: login' + validation: + maxLength: 256 + task_data_password: + type: optional + docs: 'Task data credentials: password' + validation: + maxLength: 256 + control_weights: optional + parsed_label_config: unknown + evaluate_predictions_automatically: + type: optional + docs: Retrieve and display predictions when loading a task + config_has_control_tags: + type: string + docs: Flag to detect is project ready for labeling + skip_queue: optional + reveal_preannotations_interactively: + type: optional + docs: Reveal pre-annotations interactively + pinned_at: + type: optional + docs: Pinned date and time + finished_task_number: + type: integer + docs: Finished tasks + queue_total: string + queue_done: string + config_suitable_for_bulk_annotation: + type: string + docs: Flag to detect is project ready for bulk annotation + workspace: string + review_settings: ReviewSettings + assignment_settings: AssignmentSettings + members: string + custom_script: optional + comment_classification_config: optional + duplication_done: + type: optional + default: false + require_comment_on_skip: + type: optional + default: false + data_types: unknown + reviewer_queue_total: string + queue_left: string + members_count: string + custom_task_lock_ttl: + type: optional + docs: TTL in seconds for task reservations, on new and existing tasks + validation: + min: 1 + max: 86400 + prompts: string + annotation_limit_count: + type: optional + validation: + min: 1 + annotation_limit_percent: + type: optional + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + pause_on_failed_annotator_evaluation: + type: optional + default: false + annotator_evaluation_minimum_score: + type: optional + default: '95.00' + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + annotator_evaluation_minimum_tasks: + type: optional + default: 10 + validation: + min: 0 + source: + openapi: openapi/openapi.yaml + LseProjectCounts: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + id: integer + task_number: + type: integer + docs: Total task number in project + finished_task_number: integer + total_predictions_number: integer + total_annotations_number: string + num_tasks_with_annotations: string + useful_annotation_number: string + ground_truth_number: + type: integer + docs: Honeypot annotation number in project + skipped_annotations_number: string + rejected: string + queue_total: string + queue_done: string + queue_left: string + reviewed_number: string + review_total_tasks: string + source: + openapi: openapi/openapi.yaml + LseProjectCreateSampling: + discriminated: false + union: + - SamplingEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectCreateSkipQueue: + discriminated: false + union: + - SkipQueueEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectCreate: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + id: integer + title: + type: optional + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 + description: + type: optional + docs: Project description + label_config: + type: optional + docs: Label config in XML format. See more about it in documentation + expert_instruction: + type: optional + docs: Labeling instructions in HTML format + show_instruction: + type: optional + docs: Show instructions to the annotator before they start + show_skip_button: + type: optional + docs: Show a skip button in interface and allow annotators to skip the task + enable_empty_annotation: + type: optional + docs: Allow annotators to submit empty annotations + show_annotation_history: + type: optional + docs: Show annotation history to annotator + organization: optional + color: + type: optional + validation: + maxLength: 16 + maximum_annotations: + type: optional + docs: >- + Maximum number of annotations for one task. If the number of + annotations per task is equal or greater to this value, the task is + completed (is_labeled=True) + validation: + min: -2147483648 + max: 2147483647 + is_published: + type: optional + docs: Whether or not the project is published to annotators + model_version: + type: optional + docs: Machine learning model version + is_draft: + type: optional + docs: Whether or not the project is in the middle of being created + created_by: + type: optional + docs: Project owner + created_at: datetime + min_annotations_to_start_training: + type: optional + docs: >- + Minimum number of completed tasks after which model training is + started + validation: + min: -2147483648 + max: 2147483647 + start_training_on_annotation_update: + type: string + docs: Start model training after any annotations are submitted or updated + show_collab_predictions: + type: optional + docs: If set, the annotator can view model predictions + num_tasks_with_annotations: + type: integer + docs: Tasks with annotations count + task_number: + type: integer + docs: Total task number in project + useful_annotation_number: + type: integer + docs: >- + Useful annotation number in project not including + skipped_annotations_number and ground_truth_number. Total annotations + = annotation_number + skipped_annotations_number + ground_truth_number + ground_truth_number: + type: integer + docs: Honeypot annotation number in project + skipped_annotations_number: + type: integer + docs: Skipped by collaborators annotation number in project + total_annotations_number: + type: integer + docs: >- + Total annotations number in project including + skipped_annotations_number and ground_truth_number. + total_predictions_number: + type: integer + docs: >- + Total predictions number in project including + skipped_annotations_number, ground_truth_number, and + useful_annotation_number. + sampling: optional + show_ground_truth_first: optional + show_overlap_first: optional + overlap_cohort_percentage: + type: optional + validation: + min: -2147483648 + max: 2147483647 + task_data_login: + type: optional + docs: 'Task data credentials: login' + validation: + maxLength: 256 + task_data_password: + type: optional + docs: 'Task data credentials: password' + validation: + maxLength: 256 + control_weights: optional + parsed_label_config: unknown + evaluate_predictions_automatically: + type: optional + docs: Retrieve and display predictions when loading a task + config_has_control_tags: + type: string + docs: Flag to detect is project ready for labeling + skip_queue: optional + reveal_preannotations_interactively: + type: optional + docs: Reveal pre-annotations interactively + pinned_at: + type: optional + docs: Pinned date and time + finished_task_number: + type: integer + docs: Finished tasks + queue_total: string + queue_done: string + config_suitable_for_bulk_annotation: + type: string + docs: Flag to detect is project ready for bulk annotation + workspace: optional + source: + openapi: openapi/openapi.yaml + LseProjectCreateRequestSampling: + discriminated: false + union: + - SamplingEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectCreateRequestSkipQueue: + discriminated: false + union: + - SkipQueueEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectCreateRequest: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + title: + type: optional + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 + description: + type: optional + docs: Project description + label_config: + type: optional + docs: Label config in XML format. See more about it in documentation + expert_instruction: + type: optional + docs: Labeling instructions in HTML format + show_instruction: + type: optional + docs: Show instructions to the annotator before they start + show_skip_button: + type: optional + docs: Show a skip button in interface and allow annotators to skip the task + enable_empty_annotation: + type: optional + docs: Allow annotators to submit empty annotations + show_annotation_history: + type: optional + docs: Show annotation history to annotator + organization: optional + color: + type: optional + validation: + maxLength: 16 + maximum_annotations: + type: optional + docs: >- + Maximum number of annotations for one task. If the number of + annotations per task is equal or greater to this value, the task is + completed (is_labeled=True) + validation: + min: -2147483648 + max: 2147483647 + is_published: + type: optional + docs: Whether or not the project is published to annotators + model_version: + type: optional + docs: Machine learning model version + is_draft: + type: optional + docs: Whether or not the project is in the middle of being created + created_by: + type: optional + docs: Project owner + min_annotations_to_start_training: + type: optional + docs: >- + Minimum number of completed tasks after which model training is + started + validation: + min: -2147483648 + max: 2147483647 + show_collab_predictions: + type: optional + docs: If set, the annotator can view model predictions + sampling: optional + show_ground_truth_first: optional + show_overlap_first: optional + overlap_cohort_percentage: + type: optional + validation: + min: -2147483648 + max: 2147483647 + task_data_login: + type: optional + docs: 'Task data credentials: login' + validation: + maxLength: 256 + task_data_password: + type: optional + docs: 'Task data credentials: password' + validation: + maxLength: 256 + control_weights: optional + evaluate_predictions_automatically: + type: optional + docs: Retrieve and display predictions when loading a task + skip_queue: optional + reveal_preannotations_interactively: + type: optional + docs: Reveal pre-annotations interactively + pinned_at: + type: optional + docs: Pinned date and time + workspace: optional + source: + openapi: openapi/openapi.yaml + LseProjectUpdateSampling: + discriminated: false + union: + - SamplingEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectUpdateSkipQueue: + discriminated: false + union: + - SkipQueueEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseProjectUpdate: + docs: |- + Serializer get numbers from project queryset annotation, + make sure, that you use correct one(Project.objects.with_counts()) + properties: + id: integer + title: + type: optional + docs: Project name. Must be between 3 and 50 characters long. + validation: + minLength: 3 + maxLength: 50 + description: + type: optional + docs: Project description + label_config: + type: optional + docs: Label config in XML format. See more about it in documentation + expert_instruction: + type: optional + docs: Labeling instructions in HTML format + show_instruction: + type: optional + docs: Show instructions to the annotator before they start + show_skip_button: + type: optional + docs: Show a skip button in interface and allow annotators to skip the task + enable_empty_annotation: + type: optional + docs: Allow annotators to submit empty annotations + show_annotation_history: + type: optional + docs: Show annotation history to annotator + organization: optional + color: + type: optional + validation: + maxLength: 16 + maximum_annotations: + type: optional + docs: >- + Maximum number of annotations for one task. If the number of + annotations per task is equal or greater to this value, the task is + completed (is_labeled=True) + validation: + min: -2147483648 + max: 2147483647 + is_published: + type: optional + docs: Whether or not the project is published to annotators + model_version: + type: optional + docs: Machine learning model version + is_draft: + type: optional + docs: Whether or not the project is in the middle of being created + created_by: + type: optional + docs: Project owner + created_at: datetime + min_annotations_to_start_training: + type: optional + docs: >- + Minimum number of completed tasks after which model training is + started + validation: + min: -2147483648 + max: 2147483647 + start_training_on_annotation_update: + type: string + docs: Start model training after any annotations are submitted or updated + show_collab_predictions: + type: optional + docs: If set, the annotator can view model predictions + num_tasks_with_annotations: + type: integer + docs: Tasks with annotations count + task_number: + type: integer + docs: Total task number in project + useful_annotation_number: + type: integer + docs: >- + Useful annotation number in project not including + skipped_annotations_number and ground_truth_number. Total annotations + = annotation_number + skipped_annotations_number + ground_truth_number + ground_truth_number: + type: integer + docs: Honeypot annotation number in project + skipped_annotations_number: + type: integer + docs: Skipped by collaborators annotation number in project + total_annotations_number: + type: integer + docs: >- + Total annotations number in project including + skipped_annotations_number and ground_truth_number. + total_predictions_number: + type: integer + docs: >- + Total predictions number in project including + skipped_annotations_number, ground_truth_number, and + useful_annotation_number. + sampling: optional + show_ground_truth_first: optional + show_overlap_first: optional + overlap_cohort_percentage: + type: optional + validation: + min: -2147483648 + max: 2147483647 + task_data_login: + type: optional + docs: 'Task data credentials: login' + validation: + maxLength: 256 + task_data_password: + type: optional + docs: 'Task data credentials: password' + validation: + maxLength: 256 + control_weights: optional + parsed_label_config: unknown + evaluate_predictions_automatically: + type: optional + docs: Retrieve and display predictions when loading a task + config_has_control_tags: + type: string + docs: Flag to detect is project ready for labeling + skip_queue: optional + reveal_preannotations_interactively: + type: optional + docs: Reveal pre-annotations interactively + pinned_at: + type: optional + docs: Pinned date and time + finished_task_number: + type: integer + docs: Finished tasks + queue_total: string + queue_done: string + config_suitable_for_bulk_annotation: + type: string + docs: Flag to detect is project ready for bulk annotation + workspace: integer + review_settings: ReviewSettings + assignment_settings: AssignmentSettings + custom_script: optional + comment_classification_config: optional + require_comment_on_skip: + type: optional + default: false + custom_task_lock_ttl: + type: optional + docs: TTL in seconds for task reservations, on new and existing tasks + validation: + min: 1 + max: 86400 + prompts: string + annotation_limit_count: + type: optional + validation: + min: 1 + annotation_limit_percent: + type: optional + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + pause_on_failed_annotator_evaluation: + type: optional + default: false + annotator_evaluation_minimum_score: + type: optional + default: '95.00' + validation: + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + annotator_evaluation_minimum_tasks: + type: optional + default: 10 + validation: + min: 0 + source: + openapi: openapi/openapi.yaml + LseS3ExportStorage: + properties: + id: integer + type: + type: string + default: s3s + synchronizable: + type: optional + default: true + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + can_delete_objects: + type: optional + docs: Deletion from storage enabled + bucket: + type: optional + docs: S3 bucket name + prefix: + type: optional + docs: S3 bucket prefix + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + aws_access_key_id: + type: optional + docs: AWS_ACCESS_KEY_ID + aws_secret_access_key: + type: optional + docs: AWS_SECRET_ACCESS_KEY + aws_session_token: + type: optional + docs: AWS_SESSION_TOKEN + aws_sse_kms_key_id: + type: optional + docs: AWS SSE KMS Key ID + region_name: + type: optional + docs: AWS Region + s3_endpoint: + type: optional + docs: S3 Endpoint + external_id: + type: optional + docs: AWS ExternalId + role_arn: + type: string + docs: AWS RoleArn + legacy_auth: optional + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LseS3ExportStorageRequest: + properties: + synchronizable: + type: optional + default: true + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + can_delete_objects: + type: optional + docs: Deletion from storage enabled + bucket: + type: optional + docs: S3 bucket name + prefix: + type: optional + docs: S3 bucket prefix + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + aws_access_key_id: + type: optional + docs: AWS_ACCESS_KEY_ID + aws_secret_access_key: + type: optional + docs: AWS_SECRET_ACCESS_KEY + aws_session_token: + type: optional + docs: AWS_SESSION_TOKEN + aws_sse_kms_key_id: + type: optional + docs: AWS SSE KMS Key ID + region_name: + type: optional + docs: AWS Region + s3_endpoint: + type: optional + docs: S3 Endpoint + external_id: + type: optional + docs: AWS ExternalId + role_arn: + type: string + docs: AWS RoleArn + validation: + minLength: 1 + legacy_auth: optional + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LseS3ImportStorage: + properties: + id: integer + type: + type: string + default: s3s + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + created_at: + type: datetime + docs: Creation time + bucket: + type: optional + docs: S3 bucket name + prefix: + type: optional + docs: S3 bucket prefix + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + aws_access_key_id: + type: optional + docs: AWS_ACCESS_KEY_ID + aws_secret_access_key: + type: optional + docs: AWS_SECRET_ACCESS_KEY + aws_session_token: + type: optional + docs: AWS_SESSION_TOKEN + aws_sse_kms_key_id: + type: optional + docs: AWS SSE KMS Key ID + region_name: + type: optional + docs: AWS Region + s3_endpoint: + type: optional + docs: S3 Endpoint + external_id: + type: optional + docs: AWS ExternalId + role_arn: + type: string + docs: AWS RoleArn + legacy_auth: optional + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 + recursive_scan: + type: optional + docs: Perform recursive scan over the bucket content + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LseS3ImportStorageRequest: + properties: + synchronizable: + type: optional + default: true + presign: + type: optional + default: true + last_sync: + type: optional + docs: Last sync finished time + last_sync_count: + type: optional + docs: Count of tasks synced last time + validation: + min: 0 + max: 2147483647 + last_sync_job: + type: optional + docs: Last sync job ID + validation: + maxLength: 256 + status: optional + traceback: + type: optional + docs: Traceback report for the last failed sync + meta: optional + title: + type: optional + docs: Cloud storage title + validation: + maxLength: 256 + description: + type: optional + docs: Cloud storage description + bucket: + type: optional + docs: S3 bucket name + prefix: + type: optional + docs: S3 bucket prefix + regex_filter: + type: optional + docs: Cloud storage regex for filtering objects + use_blob_urls: + type: optional + docs: Interpret objects as BLOBs and generate URLs + aws_access_key_id: + type: optional + docs: AWS_ACCESS_KEY_ID + aws_secret_access_key: + type: optional + docs: AWS_SECRET_ACCESS_KEY + aws_session_token: + type: optional + docs: AWS_SESSION_TOKEN + aws_sse_kms_key_id: + type: optional + docs: AWS SSE KMS Key ID + region_name: + type: optional + docs: AWS Region + s3_endpoint: + type: optional + docs: S3 Endpoint + external_id: + type: optional + docs: AWS ExternalId + role_arn: + type: string + docs: AWS RoleArn + validation: + minLength: 1 + legacy_auth: optional + presign_ttl: + type: optional + docs: Presigned URLs TTL (in minutes) + validation: + min: 0 + max: 32767 + recursive_scan: + type: optional + docs: Perform recursive scan over the bucket content + project: + type: integer + docs: A unique integer value identifying this project. + source: + openapi: openapi/openapi.yaml + LseTaskPredictionsItem: + properties: + result: + type: optional>> + score: + type: optional + model_version: + type: optional + model: + type: optional> + model_run: + type: optional> + task: + type: optional + project: + type: optional + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskDraftsItem: + properties: + result: + type: optional>> + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTask: + docs: Task Serializer with project scheme configs validation + properties: + id: integer + agreement: string + predictions: + docs: Predictions for this task + type: list + annotations: string + drafts: + docs: Drafts for this task + type: list + annotators: + docs: Annotators IDs who annotated this task + type: list + inner_id: optional + cancelled_annotations: optional + total_annotations: optional + total_predictions: optional + completed_at: optional + annotations_results: string + predictions_results: string + predictions_score: optional + file_upload: string + storage_filename: string + annotations_ids: string + predictions_model_versions: string + avg_lead_time: optional + draft_exists: optional + updated_by: + docs: User IDs who updated this task + type: list> + reviewers: string + comments: string + comment_authors: string + reviewed: optional + reviews_accepted: optional + reviews_rejected: optional + ground_truth: optional + data: unknown + meta: optional + created_at: + type: datetime + docs: Time a task was created + updated_at: + type: datetime + docs: Last time a task was updated + is_labeled: + type: optional + docs: >- + True if the number of annotations for this task is greater than or + equal to the number of maximum_completions for the project + overlap: + type: optional + docs: Number of distinct annotators that processed the current task + validation: + min: -2147483648 + max: 2147483647 + comment_count: + type: optional + docs: Number of comments in the task including all annotations + validation: + min: -2147483648 + max: 2147483647 + unresolved_comment_count: + type: optional + docs: Number of unresolved comments in the task including all annotations + validation: + min: -2147483648 + max: 2147483647 + last_comment_updated_at: + type: optional + docs: When the last comment was updated + project: + type: optional + docs: Project ID for this task + source: + openapi: openapi/openapi.yaml + LseTaskFilterOptionsSkipped: + discriminated: false + docs: >- + `only` - include all tasks with skipped annotations
`exclude` - exclude + all tasks with skipped annotations + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - SkippedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsFinished: + discriminated: false + docs: >- + `only` - include all finished tasks (is_labeled = true)
`exclude` - + exclude all finished tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - FinishedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsAnnotated: + discriminated: false + docs: >- + `only` - include all tasks with at least one not skipped + annotation
`exclude` - exclude all tasks with at least one not skipped + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - AnnotatedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsReviewed: + discriminated: false + docs: >- + `only` - include all reviewed tasks
`exclude` - exclude all reviewed + tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - ReviewedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptions: + properties: + view: + type: optional + docs: Apply filters from the view ID (a tab from the Data Manager) + skipped: + type: optional + docs: >- + `only` - include all tasks with skipped annotations
`exclude` - + exclude all tasks with skipped annotations + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + finished: + type: optional + docs: >- + `only` - include all finished tasks (is_labeled = true)
`exclude` - + exclude all finished tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + annotated: + type: optional + docs: >- + `only` - include all tasks with at least one not skipped + annotation
`exclude` - exclude all tasks with at least one not + skipped annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + only_with_annotations: + type: optional + default: false + reviewed: + type: optional + docs: >- + `only` - include all reviewed tasks
`exclude` - exclude all + reviewed tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + source: + openapi: openapi/openapi.yaml + LseTaskFilterOptionsRequestSkipped: + discriminated: false + docs: >- + `only` - include all tasks with skipped annotations
`exclude` - exclude + all tasks with skipped annotations + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - SkippedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsRequestFinished: + discriminated: false + docs: >- + `only` - include all finished tasks (is_labeled = true)
`exclude` - + exclude all finished tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - FinishedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsRequestAnnotated: + discriminated: false + docs: >- + `only` - include all tasks with at least one not skipped + annotation
`exclude` - exclude all tasks with at least one not skipped + annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - AnnotatedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsRequestReviewed: + discriminated: false + docs: >- + `only` - include all reviewed tasks
`exclude` - exclude all reviewed + tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + union: + - ReviewedEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskFilterOptionsRequest: + properties: + view: + type: optional + docs: Apply filters from the view ID (a tab from the Data Manager) + skipped: + type: optional + docs: >- + `only` - include all tasks with skipped annotations
`exclude` - + exclude all tasks with skipped annotations + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + finished: + type: optional + docs: >- + `only` - include all finished tasks (is_labeled = true)
`exclude` - + exclude all finished tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + annotated: + type: optional + docs: >- + `only` - include all tasks with at least one not skipped + annotation
`exclude` - exclude all tasks with at least one not + skipped annotation + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + only_with_annotations: + type: optional + default: false + reviewed: + type: optional + docs: >- + `only` - include all reviewed tasks
`exclude` - exclude all + reviewed tasks + + + * `only` - only + + * `exclude` - exclude + + * `None` - None + source: + openapi: openapi/openapi.yaml + LseTaskSerializerForAnnotatorsDraftsItem: + properties: + result: + type: optional>> + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskSerializerForAnnotatorsPredictionsItem: + properties: + result: + type: optional>> + score: + type: optional + model_version: + type: optional + model: + type: optional> + model_run: + type: optional> + task: + type: optional + project: + type: optional + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskSerializerForAnnotators: + docs: Task Serializer with project scheme configs validation + properties: + id: integer + data: unknown + created_at: + type: datetime + docs: Time a task was created + annotations: string + drafts: + docs: Drafts for this task + type: list + total_annotations: optional + cancelled_annotations: optional + annotations_results: string + predictions: + docs: Predictions for this task + type: list + total_predictions: optional + predictions_score: optional + predictions_results: string + comments: string + comment_count: string + unresolved_comment_count: string + reviews_rejected: optional + draft_exists: optional + source: + openapi: openapi/openapi.yaml + LseTaskSerializerForReviewersPredictionsItem: + properties: + result: + type: optional>> + score: + type: optional + model_version: + type: optional + model: + type: optional> + model_run: + type: optional> + task: + type: optional + project: + type: optional + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskSerializerForReviewersDraftsItem: + properties: + result: + type: optional>> + created_at: + type: optional + updated_at: + type: optional + source: + openapi: openapi/openapi.yaml + inline: true + LseTaskSerializerForReviewers: + docs: Task Serializer with project scheme configs validation + properties: + id: integer + agreement: string + predictions: + docs: Predictions for this task + type: list + annotations: string + drafts: + docs: Drafts for this task + type: list + annotators: + docs: Annotators IDs who annotated this task + type: list + inner_id: optional + cancelled_annotations: optional + total_annotations: optional + total_predictions: optional + completed_at: optional + annotations_results: string + predictions_results: string + predictions_score: optional + file_upload: string + storage_filename: string + annotations_ids: string + predictions_model_versions: string + avg_lead_time: optional + draft_exists: optional + updated_by: + docs: User IDs who updated this task + type: list> + reviewers: string + comments: string + comment_authors: string + reviewed: optional + reviews_accepted: optional + reviews_rejected: optional + ground_truth: optional + data: unknown + meta: optional + created_at: + type: datetime + docs: Time a task was created + updated_at: + type: datetime + docs: Last time a task was updated + is_labeled: + type: optional + docs: >- + True if the number of annotations for this task is greater than or + equal to the number of maximum_completions for the project + overlap: + type: optional + docs: Number of distinct annotators that processed the current task + validation: + min: -2147483648 + max: 2147483647 + comment_count: + type: optional + docs: Number of comments in the task including all annotations + validation: + min: -2147483648 + max: 2147483647 + unresolved_comment_count: + type: optional + docs: Number of unresolved comments in the task including all annotations + validation: + min: -2147483648 + max: 2147483647 + last_comment_updated_at: + type: optional + docs: When the last comment was updated + project: + type: optional + docs: Project ID for this task + source: + openapi: openapi/openapi.yaml + LseUser: + docs: |- + 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 + properties: + id: integer + first_name: + type: optional + validation: + maxLength: 256 + last_name: + type: optional + validation: + maxLength: 256 + username: + type: string + validation: + maxLength: 256 + email: + type: optional + validation: + format: email + maxLength: 254 + last_activity: datetime + custom_hotkeys: optional + avatar: string + initials: + type: string + default: '?' + phone: + type: optional + validation: + maxLength: 256 + active_organization: optional + active_organization_meta: string + allow_newsletters: + type: optional + docs: Allow sending newsletters to user + date_joined: optional + org_membership: list + lse_fields: LseFields + pause: string + source: + openapi: openapi/openapi.yaml + LseUserApi: + docs: |- + 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 + properties: + id: integer + first_name: + type: optional + validation: + maxLength: 256 + last_name: + type: optional + validation: + maxLength: 256 + username: + type: string + validation: + maxLength: 256 + email: + type: optional + validation: + format: email + maxLength: 254 + last_activity: datetime + custom_hotkeys: optional + avatar: string + initials: + type: string + default: '?' + phone: + type: optional + validation: + maxLength: 256 + active_organization: optional + active_organization_meta: string + allow_newsletters: + type: optional + docs: Allow sending newsletters to user + date_joined: optional + org_membership: list + source: + openapi: openapi/openapi.yaml + LseUserOrganizationMemberList: + docs: |- + 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 + properties: + id: integer + first_name: + type: optional + validation: + maxLength: 256 + last_name: + type: optional + validation: + maxLength: 256 + username: + type: string + validation: + maxLength: 256 + email: + type: optional + validation: + format: email + maxLength: 254 + last_activity: datetime + custom_hotkeys: optional + avatar: string + initials: + type: string + default: '?' + phone: + type: optional + validation: + maxLength: 256 + active_organization: optional + allow_newsletters: + type: optional + docs: Allow sending newsletters to user + date_joined: optional + lse_fields: LseFields + pause: string + created_projects: string + contributed_to_projects: string + source: + openapi: openapi/openapi.yaml + MlBackend: + docs: Serializer for MLBackend model. + properties: + id: integer + state: optional + readable_state: string + is_interactive: + type: optional + docs: >- + Used to interactively annotate tasks. If true, model returns one list + with results + url: + type: string + docs: URL for the machine learning model server + error_message: + type: optional + docs: Error message in error state + title: + type: optional + docs: Name of the machine learning backend + auth_method: optional + basic_auth_user: + type: optional + docs: HTTP Basic Auth user + basic_auth_pass_is_set: string + description: + type: optional + docs: Description for the machine learning backend + extra_params: optional + model_version: + type: optional + docs: Current model version associated with this machine learning backend + timeout: + type: optional + docs: Response model timeout + created_at: datetime + updated_at: datetime + auto_update: + type: optional + docs: >- + If false, model version is set by the user, if true - getting latest + version from backend. + project: integer + source: + openapi: openapi/openapi.yaml + ModeEnum: + enum: + - settings + - value: settings,data + name: SettingsData + docs: |- + * `settings` - Only settings + * `settings,data` - Settings and tasks + source: + openapi: openapi/openapi.yaml + ModelInterface: + properties: + id: integer + created_by: + type: optional + docs: User who created Dataset + skill_name: optional + title: + type: string + docs: Model name + validation: + maxLength: 500 + description: + type: optional + docs: Model description + created_at: datetime + updated_at: datetime + input_fields: optional + output_classes: optional + organization: optional + associated_projects: optional> + source: + openapi: openapi/openapi.yaml + ModelInterfaceRequest: + properties: + created_by: + type: optional + docs: User who created Dataset + skill_name: optional + title: + type: string + docs: Model name + validation: + minLength: 1 + maxLength: 500 + description: + type: optional + docs: Model description + input_fields: optional + output_classes: optional + organization: optional + associated_projects: optional> + source: + openapi: openapi/openapi.yaml + ModelInterfaceSerializerGet: + properties: + id: integer + created_by: + type: optional + docs: User who created Dataset + skill_name: optional + associated_projects: optional> + title: + type: string + docs: Model name + validation: + maxLength: 500 + description: + type: optional + docs: Model description + created_at: datetime + updated_at: datetime + input_fields: optional + output_classes: optional + organization: optional + source: + openapi: openapi/openapi.yaml + ModelProviderConnectionBudgetResetPeriod: + discriminated: false + docs: |- + Budget reset period for the model provider connection (null if not reset) + + * `Monthly` - Monthly + * `Yearly` - Yearly + union: + - BudgetResetPeriodEnum + - NullEnum + source: + openapi: openapi/openapi.yaml + inline: true + ModelProviderConnection: + properties: + id: integer + created_by: UserSimple + model_params: + type: string + docs: JSON schema for the model parameters available for the provider + provider: optional + deployment_name: + type: optional + docs: Azure OpenAI deployment name + validation: + maxLength: 512 + endpoint: + type: optional + docs: Azure OpenAI endpoint + validation: + maxLength: 512 + google_project_id: + type: optional + docs: Google project ID + validation: + maxLength: 255 + google_location: + type: optional + docs: Google project location + validation: + maxLength: 255 + cached_available_models: + type: optional + docs: List of available models from the provider + validation: + maxLength: 4096 + scope: optional + created_at: datetime + updated_at: datetime + is_internal: + type: optional + docs: >- + Whether the model provider connection is internal, not visible to the + user + budget_limit: + type: optional + docs: Budget limit for the model provider connection (null if unlimited) + budget_last_reset_date: + type: optional + docs: Date and time the budget was last reset + budget_reset_period: + type: optional + docs: >- + Budget reset period for the model provider connection (null if not + reset) + + + * `Monthly` - Monthly + + * `Yearly` - Yearly + budget_total_spent: + type: optional + docs: >- + Tracked total budget spent for the given provider connection within + the current budget period + budget_alert_threshold: + type: optional + docs: Budget alert threshold for the given provider connection + organization: optional + source: + openapi: openapi/openapi.yaml + ModelProviderConnectionRequest: + properties: + provider: optional + api_key: + type: optional + docs: Model provider API key + auth_token: + type: optional + docs: Model provider Auth token + deployment_name: + type: optional + docs: Azure OpenAI deployment name + validation: + maxLength: 512 + endpoint: + type: optional + docs: Azure OpenAI endpoint + validation: + maxLength: 512 + google_application_credentials: + type: optional + docs: The content of GOOGLE_APPLICATION_CREDENTIALS json file + google_project_id: + type: optional + docs: Google project ID + validation: + maxLength: 255 + google_location: + type: optional + docs: Google project location + validation: + maxLength: 255 + cached_available_models: + type: optional + docs: List of available models from the provider + validation: + maxLength: 4096 + scope: optional + is_internal: + type: optional + docs: >- + Whether the model provider connection is internal, not visible to the + user + budget_alert_threshold: + type: optional + docs: Budget alert threshold for the given provider connection + source: + openapi: openapi/openapi.yaml + ModelRun: + properties: + id: integer + parent_model: integer + project_subset: optional + status: ModelRunStatusEnum + job_id: + type: optional + docs: Job ID for inference job for a ModelRun e.g. Adala job ID + validation: + maxLength: 255 + total_predictions: + type: optional + validation: + min: -2147483648 + max: 2147483647 + total_correct_predictions: + type: optional + validation: + min: -2147483648 + max: 2147483647 + total_tasks: + type: optional + validation: + min: -2147483648 + max: 2147483647 + created_at: datetime + triggered_at: optional + predictions_updated_at: optional + completed_at: optional + organization: optional + project: integer + model_version: integer + created_by: optional + source: + openapi: openapi/openapi.yaml + ModelRunRequest: + properties: + project_subset: optional + job_id: + type: optional + docs: Job ID for inference job for a ModelRun e.g. Adala job ID + validation: + maxLength: 255 + total_predictions: + type: optional + validation: + min: -2147483648 + max: 2147483647 + total_correct_predictions: + type: optional + validation: + min: -2147483648 + max: 2147483647 + total_tasks: + type: optional + validation: + min: -2147483648 + max: 2147483647 + predictions_updated_at: optional + organization: optional + project: integer + model_version: integer + source: + openapi: openapi/openapi.yaml + ModelRunStatusEnum: + enum: + - Pending + - InProgress + - Completed + - Failed + - Canceled + docs: |- + * `Pending` - Pending + * `InProgress` - InProgress + * `Completed` - Completed + * `Failed` - Failed + * `Canceled` - Canceled + source: + openapi: openapi/openapi.yaml + NullEnum: string + OnboardingStateEnum: + enum: + - not_started + - signup + - trial_signup + - first_tutorial + - in_app_guidance + - complete + docs: |- + * `not_started` - Not Started + * `signup` - Signup + * `trial_signup` - Trial Signup + * `first_tutorial` - First Tutorial + * `in_app_guidance` - In App Guidance + * `complete` - Complete + source: + openapi: openapi/openapi.yaml + OrganizationBilling: + properties: + manual_workspace_management: string + manual_role_management: string + source: + openapi: openapi/openapi.yaml + OrganizationId: + docs: >- + A serializer mixin that takes an additional `fields` argument that + controls + + which fields should be displayed. + properties: + id: integer + title: + type: string + validation: + maxLength: 1000 + contact_info: + type: optional + validation: + format: email + maxLength: 254 + created_at: datetime + source: + openapi: openapi/openapi.yaml + OrganizationInvite: + properties: + token: optional + invite_url: optional + source: + openapi: openapi/openapi.yaml + OrganizationMember: + docs: >- + A serializer mixin that takes an additional `fields` argument that + controls + + which fields should be displayed. + properties: + user: + type: integer + docs: User ID + organization: + type: integer + docs: Organization ID + contributed_projects_count: string + annotations_count: string + created_at: datetime + source: + openapi: openapi/openapi.yaml + OrganizationMembership: + properties: + role: string + active: string + organization_id: + type: integer + docs: Organization ID + source: + openapi: openapi/openapi.yaml + OrganizationMembershipRequest: + properties: + role: + type: string + validation: + minLength: 1 + source: + openapi: openapi/openapi.yaml + PaginatedAllRolesProjectListList: + properties: + count: integer + next: + type: optional + validation: + format: uri + previous: + type: optional + validation: + format: uri + results: list + source: + openapi: openapi/openapi.yaml + PaginatedAnnotationHistoryList: + properties: + count: integer + next: + type: optional + validation: + format: uri + previous: + type: optional + validation: + format: uri + results: list + source: + openapi: openapi/openapi.yaml + PaginatedLabelCreateList: + properties: + count: integer + next: + type: optional + validation: + format: uri + previous: + type: optional + validation: + format: uri + results: list + source: + openapi: openapi/openapi.yaml + PaginatedLabelLinkList: + properties: + count: integer + next: + type: optional + validation: + format: uri + previous: + type: optional + validation: + format: uri + results: list + source: + openapi: openapi/openapi.yaml + PaginatedLabelList: + properties: + count: integer + next: + type: optional + validation: + format: uri + previous: + type: optional + validation: + format: uri + results: list