From bb029edad26c61e7edb7b51ce49588b9c8837f55 Mon Sep 17 00:00:00 2001 From: makseq Date: Tue, 19 Aug 2025 12:00:31 +0000 Subject: [PATCH 1/2] Update OpenAPI YAML --- fern/openapi/openapi.yaml | 711 ++++++++++++++------------------------ 1 file changed, 259 insertions(+), 452 deletions(-) diff --git a/fern/openapi/openapi.yaml b/fern/openapi/openapi.yaml index bfc111c..59cf864 100644 --- a/fern/openapi/openapi.yaml +++ b/fern/openapi/openapi.yaml @@ -650,7 +650,9 @@ paths: - in: query name: annotators schema: - type: string + type: array + items: + type: integer - in: query name: draft schema: @@ -669,7 +671,9 @@ paths: - in: query name: projects schema: - type: string + type: array + items: + type: integer tags: - Comments security: @@ -866,27 +870,21 @@ paths: description: Export comments to CSV file summary: Export comments to CSV parameters: - - in: query - name: annotation - schema: - type: integer - in: query name: annotators schema: type: string - - in: query - name: draft - schema: - type: integer + description: Comma-separated list of annotator user IDs - in: query name: expand_created_by schema: type: boolean - default: false + description: Expand the created_by field - in: query name: projects schema: type: string + description: Comma-separated list of project IDs - in: query name: tz schema: @@ -2455,83 +2453,13 @@ paths: description: Retrieve all the registered actions with descriptions that data manager can use. summary: Get actions - parameters: - - in: query - name: project - schema: - type: integer - description: Project ID - required: true tags: - Data Manager security: - Token: [] responses: '200': - content: - application/json: - schema: - type: array - title: Action list - description: List of available actions - items: - type: object - title: Action - properties: - id: - type: string - title: Action ID - title: - type: string - title: Title - order: - type: integer - title: Order - permission: - type: string - title: Permission - experimental: - type: boolean - title: Experimental - dialog: - type: object - title: Dialog - properties: - title: - type: string - title: Title - nullable: true - text: - type: string - title: Text - nullable: true - type: - type: string - title: Type - nullable: true - form: - type: array - title: Form - items: - type: object - nullable: true - examples: - Response: - value: - - id: predictions_to_annotations - title: Create Annotations From Predictions - order: 91 - permission: tasks.change - experimental: false - dialog: - title: Create Annotations From Predictions - text: Create annotations from predictions using selected predictions - set for each selected task. Your account will be assigned - as an owner to those annotations. - type: confirm - form: null - summary: response - description: Actions retrieved successfully + description: No response body x-fern-sdk-group-name: actions x-fern-sdk-method-name: list x-fern-audiences: @@ -3686,7 +3614,11 @@ paths: - Token: [] responses: '200': - description: View order updated successfully + content: + application/json: + schema: + $ref: '#/components/schemas/View' + description: '' x-fern-sdk-group-name: views x-fern-sdk-method-name: update_order x-fern-audiences: @@ -3694,15 +3626,9 @@ paths: /api/dm/views/reset/: delete: operationId: api_dm_views_reset_destroy - description: Delete all views for a specific project. + description: 'Delete all views for a specific project. Request body example: + `{"project": 1}`.' summary: Delete all project views - parameters: - - in: query - name: project - schema: - type: integer - description: Project ID - required: true tags: - Data Manager security: @@ -6331,12 +6257,6 @@ paths: schema: type: integer required: true - - in: query - name: limit - schema: - type: integer - default: 100 - description: Limit the number of logs to return - in: query name: start_date schema: @@ -7445,119 +7365,21 @@ paths: type: object properties: IAA: - oneOf: - - type: array + type: array + items: + type: array items: - type: array - items: - type: number - description: Inter-Annotator Agreement matrix (2D array) when - per_label=false - - type: object - additionalProperties: - type: array - items: - type: array - items: - type: number - description: Inter-Annotator Agreement matrix per label when - per_label=true - description: Inter-Annotator Agreement matrix - 2D array when - per_label=false, object with label keys when per_label=true + type: number + description: Inter-Annotator Agreement matrix (2D array) users: type: array items: type: object description: List of users in the matrix std: - oneOf: - - type: number - - type: object - additionalProperties: - type: number - description: Standard deviation per label when per_label=true - description: Standard deviation - number when per_label=false, - object with label keys when per_label=true - common_tasks: - oneOf: - - type: array - items: - type: array - items: - type: number - description: Number of common tasks between annotators (2D array) - when per_label=false - - type: object - additionalProperties: - type: array - items: - type: array - items: - type: number - description: Number of common tasks per label when per_label=true - description: Common tasks matrix - 2D array when per_label=false, - object with label keys when per_label=true - examples: - Inter-AnnotatorAgreementMatrix(perLabel=false): - value: - IAA: - - - 1.0 - - 0.5 - - - 0.5 - - 1.0 - users: - - id: 1 - email: user1@example.com - - id: 2 - email: user2@example.com - common_tasks: - - - 0.0 - - 1.0 - - - 1.0 - - 0.0 - summary: Inter-Annotator Agreement Matrix (per_label=false) - description: Example of Inter-Annotator Agreement matrix when per_label=false - Inter-AnnotatorAgreementMatrix(perLabel=true): - value: - IAA: - neg: - - - null - - 0.0 - - - 0.0 - - null - pos: - - - null - - 0.5 - - - 0.5 - - null - users: - - id: 1 - email: user1@example.com - - id: 2 - email: user2@example.com - common_tasks: - neg: - - - 0.0 - - 2.0 - - - 2.0 - - 0.0 - pos: - - - 0.0 - - 4.0 - - - 4.0 - - 0.0 - std: - neg: 0.1 - pos: 0.2 - summary: Inter-Annotator Agreement Matrix (per_label=true) - description: Example of Inter-Annotator Agreement matrix when per_label=true + type: number + description: Standard deviation (if requested) description: Inter-Annotator Agreement matrix - x-fern-sdk-group-name: - - projects - - stats - x-fern-sdk-method-name: iaa - x-fern-audiences: - - public /api/projects/{id}/stats/agreement_annotator/{user_id}: get: operationId: api_projects_stats_agreement_annotator_retrieve @@ -12081,8 +11903,12 @@ paths: security: - Token: [] responses: - '200': - description: Validation successful + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/LseS3ExportStorage' + description: '' x-fern-sdk-group-name: - export_storage - s3s @@ -13814,8 +13640,12 @@ paths: security: - Token: [] responses: - '200': - description: Validation successful + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/LseS3ImportStorage' + description: '' x-fern-sdk-group-name: - import_storage - s3s @@ -15576,267 +15406,267 @@ components: Serializer get numbers from project queryset annotation, make sure, that you use correct one(Project.objects.with_counts()) properties: - workspace_title: - type: string - readOnly: true - ready: - type: string - readOnly: true - overlap_cohort_percentage: + min_annotations_to_start_training: type: integer maximum: 2147483647 minimum: -2147483648 - queue_left: + description: Minimum number of completed tasks after which model training + is started + has_blueprints: type: string readOnly: true - config_suitable_for_bulk_annotation: - type: boolean - readOnly: true - description: Flag to detect is project ready for bulk annotation - has_blueprints: + reviewed_number: type: string readOnly: true - show_overlap_first: + reveal_preannotations_interactively: type: boolean + description: Reveal pre-annotations interactively + description: + type: string + nullable: true + description: Project description queue_total: type: string readOnly: true - enable_empty_annotation: + is_draft: type: boolean - description: Allow annotators to submit empty annotations - custom_task_lock_ttl: - type: integer - maximum: 86400 - minimum: 1 + description: Whether or not the project is in the middle of being created + control_weights: nullable: true - description: TTL in seconds for task reservations, on new and existing tasks - prompts: - type: string + description: 'Dict of weights for each control tag in metric calculation. + Each control tag (e.g. label or choice) will have it''s own key in control + weight dict with weight for each label and overall weight.For example, + if bounding box annotation with control tag named my_bbox should be included + with 0.33 weight in agreement calculation, and the first label Car should + be twice more important than Airplaine, then you have to need the specify: + {''my_bbox'': {''type'': ''RectangleLabels'', ''labels'': {''Car'': 1.0, + ''Airplaine'': 0.5}, ''overall'': 0.33}' + task_number: + type: integer readOnly: true - start_training_on_annotation_update: + description: Total task number in project + config_has_control_tags: type: boolean readOnly: true - description: Start model training after any annotations are submitted or - updated - evaluate_predictions_automatically: + description: Flag to detect is project ready for labeling + show_skip_button: type: boolean - description: Retrieve and display predictions when loading a task + description: Show a skip button in interface and allow annotators to skip + the task + useful_annotation_number: + type: string + readOnly: true + review_settings: + $ref: '#/components/schemas/ReviewSettings' + comment_classification_config: + type: string + custom_script: + type: string + ground_truth_number: + type: integer + readOnly: true + description: Honeypot annotation number in project + num_tasks_with_annotations: + type: string + readOnly: true + rejected: + type: string + readOnly: true + reviewer_queue_total: + type: string + readOnly: true show_instruction: type: boolean description: Show instructions to the annotator before they start - color: - type: string - nullable: true - maxLength: 16 - sampling: + data_types: + readOnly: true nullable: true - oneOf: - - $ref: '#/components/schemas/SamplingEnum' - - $ref: '#/components/schemas/NullEnum' created_by: allOf: - $ref: '#/components/schemas/UserSimple' description: Project owner - reveal_preannotations_interactively: + show_overlap_first: type: boolean - description: Reveal pre-annotations interactively - pinned_at: + queue_left: type: string - format: date-time - nullable: true - description: Pinned date and time - finished_task_number: - type: integer readOnly: true - parsed_label_config: - readOnly: true - description: JSON-formatted labeling configuration - duplication_done: + pause_on_failed_annotator_evaluation: type: boolean + nullable: true default: false - reviewer_queue_total: - type: string - readOnly: true - show_ground_truth_first: - type: boolean - task_number: + maximum_annotations: type: integer - readOnly: true - description: Total task number in project - num_tasks_with_annotations: + maximum: 2147483647 + minimum: -2147483648 + title: Maximum annotation number + description: 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) + title: type: string - readOnly: true - description_short: + nullable: true + description: Project name. Must be between 3 and 50 characters long. + maxLength: 50 + minLength: 3 + ready: type: string readOnly: true - id: - type: integer - readOnly: true - allow_stream: + members: type: string readOnly: true + expert_instruction: + type: string + nullable: true + description: Labeling instructions in HTML format + organization: + type: integer + nullable: true annotation_limit_percent: type: string format: decimal pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ nullable: true - created_at: - type: string - format: date-time - readOnly: true - annotation_limit_count: - type: integer - minimum: 1 + skip_queue: nullable: true - queue_done: - type: string + oneOf: + - $ref: '#/components/schemas/SkipQueueEnum' + - $ref: '#/components/schemas/NullEnum' + assignment_settings: + $ref: '#/components/schemas/AssignmentSettings' + parsed_label_config: readOnly: true - control_weights: + description: JSON-formatted labeling configuration + color: + type: string nullable: true - description: 'Dict of weights for each control tag in metric calculation. - Each control tag (e.g. label or choice) will have it''s own key in control - weight dict with weight for each label and overall weight.For example, - if bounding box annotation with control tag named my_bbox should be included - with 0.33 weight in agreement calculation, and the first label Car should - be twice more important than Airplaine, then you have to need the specify: - {''my_bbox'': {''type'': ''RectangleLabels'', ''labels'': {''Car'': 1.0, - ''Airplaine'': 0.5}, ''overall'': 0.33}' - data_types: - readOnly: true + maxLength: 16 + sampling: nullable: true - reviewed_number: + oneOf: + - $ref: '#/components/schemas/SamplingEnum' + - $ref: '#/components/schemas/NullEnum' + duplication_status: + type: string + config_suitable_for_bulk_annotation: + type: boolean + readOnly: true + description: Flag to detect is project ready for bulk annotation + members_count: type: string readOnly: true - total_annotations_number: + prompts: type: string readOnly: true + overlap_cohort_percentage: + type: integer + maximum: 2147483647 + minimum: -2147483648 total_predictions_number: type: integer readOnly: true - config_has_control_tags: + label_config: + type: string + nullable: true + description: Label config in XML format. See more about it in documentation + pinned_at: + type: string + format: date-time + nullable: true + description: Pinned date and time + require_comment_on_skip: type: boolean + default: false + description_short: + type: string readOnly: true - description: Flag to detect is project ready for labeling + custom_task_lock_ttl: + type: integer + maximum: 86400 + minimum: 1 + nullable: true + description: TTL in seconds for task reservations, on new and existing tasks blueprints: type: array items: $ref: '#/components/schemas/BlueprintList' readOnly: true - is_published: - type: boolean - title: Published - description: Whether or not the project is published to annotators - duplication_status: - type: string - review_total_tasks: - type: string - readOnly: true - show_skip_button: - type: boolean - description: Show a skip button in interface and allow annotators to skip - the task - is_draft: - type: boolean - description: Whether or not the project is in the middle of being created - title: + annotator_evaluation_minimum_score: type: string + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ nullable: true - description: Project name. Must be between 3 and 50 characters long. - maxLength: 50 - minLength: 3 - show_collab_predictions: + default: '95.00' + duplication_done: type: boolean - title: Show predictions to annotator - description: If set, the annotator can view model predictions - members: - type: string - readOnly: true - min_annotations_to_start_training: - type: integer - maximum: 2147483647 - minimum: -2147483648 - description: Minimum number of completed tasks after which model training - is started - workspace: + default: false + enable_empty_annotation: + type: boolean + description: Allow annotators to submit empty annotations + created_at: type: string + format: date-time readOnly: true - organization: - type: integer - nullable: true - assignment_settings: - $ref: '#/components/schemas/AssignmentSettings' annotator_evaluation_minimum_tasks: type: integer minimum: 0 nullable: true default: 10 - skipped_annotations_number: - type: string + id: + type: integer readOnly: true - annotator_evaluation_minimum_score: - type: string - format: decimal - pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ - nullable: true - default: '95.00' - comment_classification_config: - type: string - description: - type: string - nullable: true - description: Project description - expert_instruction: - type: string - nullable: true - description: Labeling instructions in HTML format - show_annotation_history: + start_training_on_annotation_update: type: boolean - description: Show annotation history to annotator - skip_queue: - nullable: true - oneOf: - - $ref: '#/components/schemas/SkipQueueEnum' - - $ref: '#/components/schemas/NullEnum' - review_settings: - $ref: '#/components/schemas/ReviewSettings' - members_count: - type: string readOnly: true + description: Start model training after any annotations are submitted or + updated model_version: type: string nullable: true description: Machine learning model version - useful_annotation_number: + skipped_annotations_number: type: string readOnly: true - custom_script: + annotation_limit_count: + type: integer + minimum: 1 + nullable: true + review_total_tasks: type: string - require_comment_on_skip: + readOnly: true + workspace: + type: string + readOnly: true + is_published: type: boolean - default: false - ground_truth_number: + title: Published + description: Whether or not the project is published to annotators + finished_task_number: type: integer readOnly: true - description: Honeypot annotation number in project - pause_on_failed_annotator_evaluation: + show_collab_predictions: type: boolean - nullable: true - default: false - label_config: + title: Show predictions to annotator + description: If set, the annotator can view model predictions + total_annotations_number: type: string - nullable: true - description: Label config in XML format. See more about it in documentation - maximum_annotations: - type: integer - maximum: 2147483647 - minimum: -2147483648 - title: Maximum annotation number - description: 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) - rejected: + readOnly: true + allow_stream: + type: string + readOnly: true + show_ground_truth_first: + type: boolean + queue_done: type: string readOnly: true + workspace_title: + type: string + readOnly: true + evaluate_predictions_automatically: + type: boolean + description: Retrieve and display predictions when loading a task + show_annotation_history: + type: boolean + description: Show annotation history to annotator required: - allow_stream - assignment_settings @@ -16472,7 +16302,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -16562,7 +16392,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -16653,7 +16483,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -16751,7 +16581,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -16850,7 +16680,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -16942,7 +16772,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -17036,7 +16866,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -17132,7 +16962,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18079,7 +17909,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18177,7 +18007,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18264,7 +18094,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18354,7 +18184,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18459,7 +18289,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18556,7 +18386,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18655,7 +18485,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -18756,7 +18586,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -19279,7 +19109,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -19354,7 +19184,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -20722,7 +20552,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -20830,7 +20660,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -20941,7 +20771,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -21056,7 +20886,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -21269,19 +21099,13 @@ components: title: User IDs readOnly: true reviewers: - type: array - items: - type: object - additionalProperties: {} + type: string readOnly: true comments: type: string readOnly: true comment_authors: - type: array - items: - type: object - additionalProperties: {} + type: string readOnly: true reviewed: type: boolean @@ -21292,16 +21116,13 @@ components: ground_truth: type: boolean annotators_count: - type: integer - description: The annotators_count is calculated as the number of users with - annotations (can be repeated, so same as the number of annotations) + - the number of assignees without annotations. + type: string readOnly: true reviewers_count: - type: integer + type: string readOnly: true comment_authors_count: - type: integer + type: string readOnly: true data: description: User imported or uploaded data for a task. Data is formatted @@ -21813,19 +21634,13 @@ components: title: User IDs readOnly: true reviewers: - type: array - items: - type: object - additionalProperties: {} + type: string readOnly: true comments: type: string readOnly: true comment_authors: - type: array - items: - type: object - additionalProperties: {} + type: string readOnly: true reviewed: type: boolean @@ -21836,16 +21651,13 @@ components: ground_truth: type: boolean annotators_count: - type: integer - description: The annotators_count is calculated as the number of users with - annotations (can be repeated, so same as the number of annotations) + - the number of assignees without annotations. + type: string readOnly: true reviewers_count: - type: integer + type: string readOnly: true comment_authors_count: - type: integer + type: string readOnly: true data: description: User imported or uploaded data for a task. Data is formatted @@ -23081,7 +22893,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -23171,7 +22983,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -23256,7 +23068,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -23496,7 +23308,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -23591,7 +23403,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -23681,7 +23493,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -24000,7 +23812,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -24101,7 +23913,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -24472,7 +24284,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -25662,7 +25474,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -25755,7 +25567,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -26053,7 +25865,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -26170,7 +25982,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -26276,7 +26088,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -26382,7 +26194,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusC5aEnum' + $ref: '#/components/schemas/StatusD14Enum' traceback: type: string nullable: true @@ -26751,14 +26563,13 @@ components: * `in_progress` - In progress * `failed` - Failed * `completed` - Completed - StatusC5aEnum: + StatusD14Enum: enum: - initialized - queued - in_progress - failed - completed - - completed_with_errors type: string description: |- * `initialized` - Initialized @@ -26766,7 +26577,6 @@ components: * `in_progress` - In progress * `failed` - Failed * `completed` - Completed - * `completed_with_errors` - Completed with errors TaskAssignment: type: object properties: @@ -27514,6 +27324,3 @@ components: name: api_key env: LABEL_STUDIO_API_KEY prefix: 'Token ' -servers: -- url: http://localhost:8000 - description: Label Studio From b4fa8efc291e3175dd4c6d25dd9eba76066ab961 Mon Sep 17 00:00:00 2001 From: makseq Date: Tue, 19 Aug 2025 14:56:10 +0000 Subject: [PATCH 2/2] Update OpenAPI YAML --- fern/openapi/openapi.yaml | 701 ++++++++++++++++++++++++-------------- 1 file changed, 447 insertions(+), 254 deletions(-) diff --git a/fern/openapi/openapi.yaml b/fern/openapi/openapi.yaml index 59cf864..6d7d28d 100644 --- a/fern/openapi/openapi.yaml +++ b/fern/openapi/openapi.yaml @@ -650,9 +650,7 @@ paths: - in: query name: annotators schema: - type: array - items: - type: integer + type: string - in: query name: draft schema: @@ -671,9 +669,7 @@ paths: - in: query name: projects schema: - type: array - items: - type: integer + type: string tags: - Comments security: @@ -870,21 +866,27 @@ paths: description: Export comments to CSV file summary: Export comments to CSV parameters: + - in: query + name: annotation + schema: + type: integer - in: query name: annotators schema: type: string - description: Comma-separated list of annotator user IDs + - in: query + name: draft + schema: + type: integer - in: query name: expand_created_by schema: type: boolean - description: Expand the created_by field + default: false - in: query name: projects schema: type: string - description: Comma-separated list of project IDs - in: query name: tz schema: @@ -2453,13 +2455,83 @@ paths: description: Retrieve all the registered actions with descriptions that data manager can use. summary: Get actions + parameters: + - in: query + name: project + schema: + type: integer + description: Project ID + required: true tags: - Data Manager security: - Token: [] responses: '200': - description: No response body + content: + application/json: + schema: + type: array + title: Action list + description: List of available actions + items: + type: object + title: Action + properties: + id: + type: string + title: Action ID + title: + type: string + title: Title + order: + type: integer + title: Order + permission: + type: string + title: Permission + experimental: + type: boolean + title: Experimental + dialog: + type: object + title: Dialog + properties: + title: + type: string + title: Title + nullable: true + text: + type: string + title: Text + nullable: true + type: + type: string + title: Type + nullable: true + form: + type: array + title: Form + items: + type: object + nullable: true + examples: + Response: + value: + - id: predictions_to_annotations + title: Create Annotations From Predictions + order: 91 + permission: tasks.change + experimental: false + dialog: + title: Create Annotations From Predictions + text: Create annotations from predictions using selected predictions + set for each selected task. Your account will be assigned + as an owner to those annotations. + type: confirm + form: null + summary: response + description: Actions retrieved successfully x-fern-sdk-group-name: actions x-fern-sdk-method-name: list x-fern-audiences: @@ -3614,11 +3686,7 @@ paths: - Token: [] responses: '200': - content: - application/json: - schema: - $ref: '#/components/schemas/View' - description: '' + description: View order updated successfully x-fern-sdk-group-name: views x-fern-sdk-method-name: update_order x-fern-audiences: @@ -3626,9 +3694,15 @@ paths: /api/dm/views/reset/: delete: operationId: api_dm_views_reset_destroy - description: 'Delete all views for a specific project. Request body example: - `{"project": 1}`.' + description: Delete all views for a specific project. summary: Delete all project views + parameters: + - in: query + name: project + schema: + type: integer + description: Project ID + required: true tags: - Data Manager security: @@ -6257,6 +6331,12 @@ paths: schema: type: integer required: true + - in: query + name: limit + schema: + type: integer + default: 100 + description: Limit the number of logs to return - in: query name: start_date schema: @@ -7365,21 +7445,119 @@ paths: type: object properties: IAA: - type: array - items: - type: array + oneOf: + - type: array items: - type: number - description: Inter-Annotator Agreement matrix (2D array) + type: array + items: + type: number + description: Inter-Annotator Agreement matrix (2D array) when + per_label=false + - type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + description: Inter-Annotator Agreement matrix per label when + per_label=true + description: Inter-Annotator Agreement matrix - 2D array when + per_label=false, object with label keys when per_label=true users: type: array items: type: object description: List of users in the matrix std: - type: number - description: Standard deviation (if requested) + oneOf: + - type: number + - type: object + additionalProperties: + type: number + description: Standard deviation per label when per_label=true + description: Standard deviation - number when per_label=false, + object with label keys when per_label=true + common_tasks: + oneOf: + - type: array + items: + type: array + items: + type: number + description: Number of common tasks between annotators (2D array) + when per_label=false + - type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + description: Number of common tasks per label when per_label=true + description: Common tasks matrix - 2D array when per_label=false, + object with label keys when per_label=true + examples: + Inter-AnnotatorAgreementMatrix(perLabel=false): + value: + IAA: + - - 1.0 + - 0.5 + - - 0.5 + - 1.0 + users: + - id: 1 + email: user1@example.com + - id: 2 + email: user2@example.com + common_tasks: + - - 0.0 + - 1.0 + - - 1.0 + - 0.0 + summary: Inter-Annotator Agreement Matrix (per_label=false) + description: Example of Inter-Annotator Agreement matrix when per_label=false + Inter-AnnotatorAgreementMatrix(perLabel=true): + value: + IAA: + neg: + - - null + - 0.0 + - - 0.0 + - null + pos: + - - null + - 0.5 + - - 0.5 + - null + users: + - id: 1 + email: user1@example.com + - id: 2 + email: user2@example.com + common_tasks: + neg: + - - 0.0 + - 2.0 + - - 2.0 + - 0.0 + pos: + - - 0.0 + - 4.0 + - - 4.0 + - 0.0 + std: + neg: 0.1 + pos: 0.2 + summary: Inter-Annotator Agreement Matrix (per_label=true) + description: Example of Inter-Annotator Agreement matrix when per_label=true description: Inter-Annotator Agreement matrix + x-fern-sdk-group-name: + - projects + - stats + x-fern-sdk-method-name: iaa + x-fern-audiences: + - public /api/projects/{id}/stats/agreement_annotator/{user_id}: get: operationId: api_projects_stats_agreement_annotator_retrieve @@ -11903,12 +12081,8 @@ paths: security: - Token: [] responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/LseS3ExportStorage' - description: '' + '200': + description: Validation successful x-fern-sdk-group-name: - export_storage - s3s @@ -13640,12 +13814,8 @@ paths: security: - Token: [] responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/LseS3ImportStorage' - description: '' + '200': + description: Validation successful x-fern-sdk-group-name: - import_storage - s3s @@ -15406,31 +15576,6 @@ components: Serializer get numbers from project queryset annotation, make sure, that you use correct one(Project.objects.with_counts()) properties: - min_annotations_to_start_training: - type: integer - maximum: 2147483647 - minimum: -2147483648 - description: Minimum number of completed tasks after which model training - is started - has_blueprints: - type: string - readOnly: true - reviewed_number: - type: string - readOnly: true - reveal_preannotations_interactively: - type: boolean - description: Reveal pre-annotations interactively - description: - type: string - nullable: true - description: Project description - queue_total: - type: string - readOnly: true - is_draft: - type: boolean - description: Whether or not the project is in the middle of being created control_weights: nullable: true description: 'Dict of weights for each control tag in metric calculation. @@ -15441,232 +15586,257 @@ components: be twice more important than Airplaine, then you have to need the specify: {''my_bbox'': {''type'': ''RectangleLabels'', ''labels'': {''Car'': 1.0, ''Airplaine'': 0.5}, ''overall'': 0.33}' + duplication_done: + type: boolean + default: false + require_comment_on_skip: + type: boolean + default: false + config_suitable_for_bulk_annotation: + type: boolean + readOnly: true + description: Flag to detect is project ready for bulk annotation task_number: type: integer readOnly: true description: Total task number in project - config_has_control_tags: - type: boolean + finished_task_number: + type: integer readOnly: true - description: Flag to detect is project ready for labeling - show_skip_button: - type: boolean - description: Show a skip button in interface and allow annotators to skip - the task - useful_annotation_number: + rejected: type: string readOnly: true - review_settings: - $ref: '#/components/schemas/ReviewSettings' - comment_classification_config: - type: string - custom_script: + description_short: type: string - ground_truth_number: - type: integer readOnly: true - description: Honeypot annotation number in project - num_tasks_with_annotations: + ready: type: string readOnly: true - rejected: + duplication_status: type: string - readOnly: true - reviewer_queue_total: + annotation_limit_percent: type: string - readOnly: true - show_instruction: + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + nullable: true + start_training_on_annotation_update: type: boolean - description: Show instructions to the annotator before they start - data_types: readOnly: true - nullable: true - created_by: - allOf: - - $ref: '#/components/schemas/UserSimple' - description: Project owner - show_overlap_first: + description: Start model training after any annotations are submitted or + updated + show_collab_predictions: type: boolean - queue_left: + title: Show predictions to annotator + description: If set, the annotator can view model predictions + show_annotation_history: + type: boolean + description: Show annotation history to annotator + total_annotations_number: type: string readOnly: true - pause_on_failed_annotator_evaluation: - type: boolean - nullable: true - default: false - maximum_annotations: + id: type: integer - maximum: 2147483647 - minimum: -2147483648 - title: Maximum annotation number - description: 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) - title: - type: string + readOnly: true + custom_task_lock_ttl: + type: integer + maximum: 86400 + minimum: 1 nullable: true - description: Project name. Must be between 3 and 50 characters long. - maxLength: 50 - minLength: 3 - ready: + description: TTL in seconds for task reservations, on new and existing tasks + color: type: string - readOnly: true - members: + nullable: true + maxLength: 16 + num_tasks_with_annotations: type: string readOnly: true - expert_instruction: + label_config: type: string nullable: true - description: Labeling instructions in HTML format - organization: - type: integer - nullable: true - annotation_limit_percent: + description: Label config in XML format. See more about it in documentation + show_ground_truth_first: + type: boolean + queue_done: type: string - format: decimal - pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ - nullable: true - skip_queue: - nullable: true - oneOf: - - $ref: '#/components/schemas/SkipQueueEnum' - - $ref: '#/components/schemas/NullEnum' - assignment_settings: - $ref: '#/components/schemas/AssignmentSettings' - parsed_label_config: readOnly: true - description: JSON-formatted labeling configuration - color: + workspace: type: string - nullable: true - maxLength: 16 + readOnly: true sampling: nullable: true oneOf: - $ref: '#/components/schemas/SamplingEnum' - $ref: '#/components/schemas/NullEnum' - duplication_status: - type: string - config_suitable_for_bulk_annotation: + is_draft: type: boolean + description: Whether or not the project is in the middle of being created + reviewed_number: + type: string readOnly: true - description: Flag to detect is project ready for bulk annotation - members_count: + custom_script: + type: string + annotator_evaluation_minimum_score: + type: string + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ + nullable: true + default: '95.00' + expert_instruction: + type: string + nullable: true + description: Labeling instructions in HTML format + workspace_title: type: string readOnly: true - prompts: + comment_classification_config: + type: string + review_total_tasks: type: string readOnly: true - overlap_cohort_percentage: - type: integer - maximum: 2147483647 - minimum: -2147483648 total_predictions_number: type: integer readOnly: true - label_config: + reveal_preannotations_interactively: + type: boolean + description: Reveal pre-annotations interactively + members: type: string + readOnly: true + show_overlap_first: + type: boolean + annotator_evaluation_minimum_tasks: + type: integer + minimum: 0 nullable: true - description: Label config in XML format. See more about it in documentation - pinned_at: + default: 10 + parsed_label_config: + readOnly: true + description: JSON-formatted labeling configuration + assignment_settings: + $ref: '#/components/schemas/AssignmentSettings' + created_at: type: string format: date-time - nullable: true - description: Pinned date and time - require_comment_on_skip: - type: boolean - default: false - description_short: - type: string readOnly: true - custom_task_lock_ttl: + annotation_limit_count: type: integer - maximum: 86400 minimum: 1 nullable: true - description: TTL in seconds for task reservations, on new and existing tasks - blueprints: - type: array - items: - $ref: '#/components/schemas/BlueprintList' + overlap_cohort_percentage: + type: integer + maximum: 2147483647 + minimum: -2147483648 + skip_queue: + nullable: true + oneOf: + - $ref: '#/components/schemas/SkipQueueEnum' + - $ref: '#/components/schemas/NullEnum' + has_blueprints: + type: string readOnly: true - annotator_evaluation_minimum_score: + members_count: type: string - format: decimal - pattern: ^-?\d{0,3}(?:\.\d{0,2})?$ - nullable: true - default: '95.00' - duplication_done: + readOnly: true + show_instruction: type: boolean - default: false + description: Show instructions to the annotator before they start + ground_truth_number: + type: integer + readOnly: true + description: Honeypot annotation number in project + description: + type: string + nullable: true + description: Project description enable_empty_annotation: type: boolean description: Allow annotators to submit empty annotations - created_at: + useful_annotation_number: type: string - format: date-time readOnly: true - annotator_evaluation_minimum_tasks: - type: integer - minimum: 0 - nullable: true - default: 10 - id: - type: integer + evaluate_predictions_automatically: + type: boolean + description: Retrieve and display predictions when loading a task + review_settings: + $ref: '#/components/schemas/ReviewSettings' + data_types: readOnly: true - start_training_on_annotation_update: + nullable: true + config_has_control_tags: type: boolean readOnly: true - description: Start model training after any annotations are submitted or - updated - model_version: + description: Flag to detect is project ready for labeling + reviewer_queue_total: type: string + readOnly: true + pause_on_failed_annotator_evaluation: + type: boolean nullable: true - description: Machine learning model version - skipped_annotations_number: + default: false + created_by: + allOf: + - $ref: '#/components/schemas/UserSimple' + description: Project owner + show_skip_button: + type: boolean + description: Show a skip button in interface and allow annotators to skip + the task + queue_left: type: string readOnly: true - annotation_limit_count: - type: integer - minimum: 1 + title: + type: string nullable: true - review_total_tasks: + description: Project name. Must be between 3 and 50 characters long. + maxLength: 50 + minLength: 3 + min_annotations_to_start_training: + type: integer + maximum: 2147483647 + minimum: -2147483648 + description: Minimum number of completed tasks after which model training + is started + pinned_at: type: string + format: date-time + nullable: true + description: Pinned date and time + blueprints: + type: array + items: + $ref: '#/components/schemas/BlueprintList' readOnly: true - workspace: + maximum_annotations: + type: integer + maximum: 2147483647 + minimum: -2147483648 + title: Maximum annotation number + description: 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) + skipped_annotations_number: type: string readOnly: true is_published: type: boolean title: Published description: Whether or not the project is published to annotators - finished_task_number: - type: integer - readOnly: true - show_collab_predictions: - type: boolean - title: Show predictions to annotator - description: If set, the annotator can view model predictions - total_annotations_number: + prompts: type: string readOnly: true - allow_stream: + model_version: type: string - readOnly: true - show_ground_truth_first: - type: boolean - queue_done: + nullable: true + description: Machine learning model version + allow_stream: type: string readOnly: true - workspace_title: + organization: + type: integer + nullable: true + queue_total: type: string readOnly: true - evaluate_predictions_automatically: - type: boolean - description: Retrieve and display predictions when loading a task - show_annotation_history: - type: boolean - description: Show annotation history to annotator required: - allow_stream - assignment_settings @@ -16302,7 +16472,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16392,7 +16562,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16483,7 +16653,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16581,7 +16751,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16680,7 +16850,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16772,7 +16942,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16866,7 +17036,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -16962,7 +17132,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -17909,7 +18079,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18007,7 +18177,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18094,7 +18264,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18184,7 +18354,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18289,7 +18459,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18386,7 +18556,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18485,7 +18655,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -18586,7 +18756,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -19109,7 +19279,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -19184,7 +19354,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -20552,7 +20722,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -20660,7 +20830,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -20771,7 +20941,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -20886,7 +21056,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -21099,13 +21269,19 @@ components: title: User IDs readOnly: true reviewers: - type: string + type: array + items: + type: object + additionalProperties: {} readOnly: true comments: type: string readOnly: true comment_authors: - type: string + type: array + items: + type: object + additionalProperties: {} readOnly: true reviewed: type: boolean @@ -21116,13 +21292,16 @@ components: ground_truth: type: boolean annotators_count: - type: string + type: integer + description: The annotators_count is calculated as the number of users with + annotations (can be repeated, so same as the number of annotations) + + the number of assignees without annotations. readOnly: true reviewers_count: - type: string + type: integer readOnly: true comment_authors_count: - type: string + type: integer readOnly: true data: description: User imported or uploaded data for a task. Data is formatted @@ -21634,13 +21813,19 @@ components: title: User IDs readOnly: true reviewers: - type: string + type: array + items: + type: object + additionalProperties: {} readOnly: true comments: type: string readOnly: true comment_authors: - type: string + type: array + items: + type: object + additionalProperties: {} readOnly: true reviewed: type: boolean @@ -21651,13 +21836,16 @@ components: ground_truth: type: boolean annotators_count: - type: string + type: integer + description: The annotators_count is calculated as the number of users with + annotations (can be repeated, so same as the number of annotations) + + the number of assignees without annotations. readOnly: true reviewers_count: - type: string + type: integer readOnly: true comment_authors_count: - type: string + type: integer readOnly: true data: description: User imported or uploaded data for a task. Data is formatted @@ -22893,7 +23081,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -22983,7 +23171,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23068,7 +23256,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23308,7 +23496,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23403,7 +23591,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23493,7 +23681,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23812,7 +24000,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -23913,7 +24101,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -24284,7 +24472,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -25474,7 +25662,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -25567,7 +25755,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -25865,7 +26053,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -25982,7 +26170,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -26088,7 +26276,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -26194,7 +26382,7 @@ components: description: Last sync job ID maxLength: 256 status: - $ref: '#/components/schemas/StatusD14Enum' + $ref: '#/components/schemas/StatusC5aEnum' traceback: type: string nullable: true @@ -26563,13 +26751,14 @@ components: * `in_progress` - In progress * `failed` - Failed * `completed` - Completed - StatusD14Enum: + StatusC5aEnum: enum: - initialized - queued - in_progress - failed - completed + - completed_with_errors type: string description: |- * `initialized` - Initialized @@ -26577,6 +26766,7 @@ components: * `in_progress` - In progress * `failed` - Failed * `completed` - Completed + * `completed_with_errors` - Completed with errors TaskAssignment: type: object properties: @@ -27324,3 +27514,6 @@ components: name: api_key env: LABEL_STUDIO_API_KEY prefix: 'Token ' +servers: +- url: http://localhost:8000 + description: Label Studio