{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/api/activity-logs/":{"get":{"operationId":"activityLogs_list","summary":"✨ Get activity logs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve activity logs filtered by workspace, project, user, HTTP method, date range or search query.","tags":["activityLogs"],"parameters":[{"name":"end_date","in":"query","description":"End date/time (ISO-8601) for log filtering.","required":false,"schema":{"type":"string"}},{"name":"method","in":"query","description":"HTTP request method used in the log.","required":false,"schema":{"$ref":"#/components/schemas/ApiActivityLogsGetParametersMethod","default":"all"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"[or \"start\"] Current page index.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"[or \"length\"] Logs per page, use -1 to obtain all logs (might be slow).","required":false,"schema":{"type":"integer"}},{"name":"project","in":"query","description":"Project ID to filter logs.","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Search expression using \"AND\"/\"OR\" to filter by request URL.","required":false,"schema":{"type":"string"}},{"name":"start_date","in":"query","description":"Start date/time (ISO-8601) for log filtering.","required":false,"schema":{"type":"string"}},{"name":"user","in":"query","description":"User ID to filter logs.","required":false,"schema":{"type":"integer"}},{"name":"workspace","in":"query","description":"Workspace owner ID to filter logs.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Activity logs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogResponse"}}}}},"404":{"description":"No more logs found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/analytics/kpis/":{"get":{"operationId":"kpis_list","summary":"✨ List all available KPIs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns metadata for all available KPI (Key Performance Indicator) classes. Each KPI includes its key, label, base class, dependencies, and configuration. This endpoint is useful for discovering available metrics and understanding their relationships and requirements.","tags":["kpis"],"responses":{"200":{"description":"List of available KPIs with metadata","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KPIMetadata"}}}}}},"security":[{"Token":[]}]}},"/api/analytics/kpis/{kpi_key}":{"get":{"operationId":"kpis_get","summary":"✨ Get KPI data with optional segmentation","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve data for a specific KPI with support for filtering and segmentation. Can segment by time (hourly, daily, weekly, monthly, yearly), by user, or both (2D matrix). Combining segment_by_user and segment_by_project returns a sparse user × project breakdown. If no segmentation is specified, returns a single total value. Supports filtering by projects, members, and date range. Date filters are interpreted in the specified timezone (required parameter). Maximum 50 projects allowed per request for performance reasons.","tags":["kpis"],"parameters":[{"name":"kpi_key","in":"path","description":"KPI identifier (key)","required":true,"schema":{"type":"string"}},{"name":"all","in":"query","description":"When true with segment_by_user, return only members with performance data (capped). Used by Member Performance Select All discovery.","required":false,"schema":{"type":"boolean"}},{"name":"end","in":"query","description":"End date for filtering (ISO format)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"members","in":"query","description":"Comma-separated user IDs. If empty, includes all organization members.","required":false,"schema":{"type":"string"}},{"name":"projects","in":"query","description":"Comma-separated project IDs. If empty, includes all organization projects. Maximum 50 projects allowed per request. Requests exceeding this limit will be rejected with a 400 error.","required":false,"schema":{"type":"string"}},{"name":"segment_by_project","in":"query","description":"Whether to segment results by project. Combine with segment_by_user for a user × project breakdown.","required":false,"schema":{"type":"boolean"}},{"name":"segment_by_time","in":"query","description":"Time granularity for segmentation","required":false,"schema":{"$ref":"#/components/schemas/ApiAnalyticsKpisKpiKeyGetParametersSegmentByTime"}},{"name":"segment_by_user","in":"query","description":"Whether to segment results by user","required":false,"schema":{"type":"boolean"}},{"name":"start","in":"query","description":"Start date for filtering (ISO format)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"tz","in":"query","description":"Timezone for date filtering (IANA timezone name, e.g., \"America/New_York\", \"UTC\"). The start and end dates will be interpreted in this timezone.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"KPI data with requested segmentation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KPIDetailResponse"}}}},"400":{"description":"Invalid parameters or unsupported KPI type","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"KPI not found or organization not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/annotation-history/":{"get":{"operationId":"annotationHistory_list","summary":"✨ List all annotation history items for annotation","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList annotation history items for an annotation. Annotation history logs all actions performed with annotations, such as: imports, submits, updates, reviews, and more. Users can view annotation history items in the Annotation History panel during labeling.","tags":["annotationHistory"],"parameters":[{"name":"annotation","in":"query","description":"Annotation ID to get annotation history items for.","required":false,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationHistory"}}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"annotationHistory_delete","summary":"✨ Delete annotation history items","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete all annotation history items for a specific annotation, task or project. This method is available only for users with administrator roles.","tags":["annotationHistory"],"parameters":[{"name":"annotation","in":"query","description":"Annotation ID to delete annotation history items for.","required":false,"schema":{"type":"integer"}},{"name":"project","in":"query","description":"Project ID to delete annotation history items for.","required":false,"schema":{"type":"integer"}},{"name":"task","in":"query","description":"Task ID to delete annotation history items for.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Returns a dict containing the count of removed items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/annotation_history_delete_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/annotation-history/{id}/":{"get":{"operationId":"annotationHistory_retrieve","summary":"✨ Retrieve a single annotation history item (full result for hydration)","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet one annotation history item by ID with full result. Used when the user clicks a stubbed history item to hydrate it.","tags":["annotationHistory"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationHistory"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/annotation-history/":{"get":{"operationId":"annotationHistory_list_for_project","summary":"✨ List annotation history items for project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all annotation history items for the project with pagination.","tags":["annotationHistory"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"created_at_from","in":"query","description":"Filter for annotation history items created at or after the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"created_at_to","in":"query","description":"Filter for annotation history items created at or before the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAnnotationHistoryList"}}}}},"security":[{"Token":[]}]}},"/api/annotation-reviews/":{"get":{"operationId":"annotationReviews_list","summary":"✨ List reviews","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all reviews for a specific annotation ID. Only allowed for organizations with reviewing features enabled.","tags":["annotationReviews"],"parameters":[{"name":"annotation","in":"query","required":false,"schema":{"type":"integer"}},{"name":"annotation__task__project","in":"query","required":false,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationReview"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"annotationReviews_create","summary":"✨ Create review","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a review for a specific annotation ID. Only allowed for organizations with reviewing features enabled.","tags":["annotationReviews"],"parameters":[{"name":"async_postprocess","in":"query","description":"Whether to postprocess the review asynchronously.","required":false,"schema":{"type":"boolean"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationReview"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationReviewRequest"}}}},"security":[{"Token":[]}]}},"/api/annotation-reviews/{id}/":{"get":{"operationId":"annotationReviews_get","summary":"✨ Get review","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific review by ID for an annotation. Only allowed for organizations with reviewing features enabled.","tags":["annotationReviews"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this annotation review.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationReview"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"annotationReviews_delete","summary":"✨ Delete review","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a review by ID. Only allowed for organizations with reviewing features enabled.","tags":["annotationReviews"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this annotation review.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"annotationReviews_update","summary":"✨ Update review","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific review by ID. Only allowed for organizations with reviewing features enabled.","tags":["annotationReviews"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this annotation review.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationReview"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAnnotationReviewRequest"}}}},"security":[{"Token":[]}]}},"/api/annotations/bulk-delete/":{"post":{"operationId":"annotations_delete_bulk","summary":"Bulk delete annotations by IDs","description":"Delete multiple annotations by their IDs. At most 100 annotation IDs can be submitted in one request. The deletion is processed synchronously. Returns the count of deleted annotations in the response.","tags":["Annotations"],"responses":{"200":{"description":"Annotations deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/annotations_delete_bulk_Response_200"}}}},"400":{"description":"Bad request - validation errors","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Forbidden - insufficient permissions","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationBulkDeleteRequest"}}}},"security":[{"Token":[]}]}},"/api/annotations/bulk/":{"post":{"operationId":"annotations_create_bulk","summary":"Bulk create annotations","description":"Create multiple annotations at once","tags":["Annotations"],"responses":{"201":{"description":"Bulk annotations created successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiAnnotationsBulkPostResponsesContentApplicationJsonSchemaItems"}}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationBulkSerializerWithSelectedItemsRequest"}}}},"security":[{"Token":[]}]}},"/api/annotations/{id}/":{"get":{"operationId":"annotations_get","summary":"Get annotation by its ID","description":"Retrieve a specific annotation for a task using the annotation result ID.","tags":["Annotations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Retrieved annotation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Annotation"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"annotations_delete","summary":"Delete annotation","description":"Delete an annotation. This action can't be undone!","tags":["Annotations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"annotations_update","summary":"Update annotation","description":"Update existing attributes on an annotation.","tags":["Annotations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated annotation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Annotation"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAnnotationRequest"}}}},"security":[{"Token":[]}]}},"/api/tasks/{id}/annotations/":{"get":{"operationId":"annotations_list","summary":"Get all task annotations","description":"List all annotations for a task.","tags":["Annotations"],"parameters":[{"name":"id","in":"path","description":"Task ID","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Annotation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Annotation"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"annotations_create","summary":"Create annotation","description":"\n        Add annotations to a task like an annotator does. The content of the result field depends on your\n        labeling configuration. For example, send the following data as part of your POST\n        request to send an empty annotation with the ID of the user who completed the task:\n\n        ```json\n        {\n        \"result\": {},\n        \"was_cancelled\": true,\n        \"ground_truth\": true,\n        \"lead_time\": 0,\n        \"task\": 0\n        \"completed_by\": 123\n        }\n        ```\n        ","tags":["Annotations"],"parameters":[{"name":"id","in":"path","description":"Task ID","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Created annotation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Annotation"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationRequest"}}}},"security":[{"Token":[]}]}},"/api/billing/info":{"get":{"operationId":"billing_info","summary":"✨ Get billing info","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve billing checks and feature availability for the active organization.","tags":["Billing"],"responses":{"200":{"description":"Billing information for the active organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInfoResponse"}}}}},"security":[{"Token":[]}]}},"/api/comments/":{"get":{"operationId":"comments_list","summary":"✨ List comments","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all comments for a specific annotation ID.","tags":["Comments"],"parameters":[{"name":"annotation","in":"query","required":false,"schema":{"type":"integer"}},{"name":"annotators","in":"query","required":false,"schema":{"type":"string"}},{"name":"draft","in":"query","required":false,"schema":{"type":"integer"}},{"name":"expand_created_by","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"projects","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of comments","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MaybeExpandedComment"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"comments_create","summary":"✨ Create comment","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a comment for a specific annotation ID.","tags":["Comments"],"parameters":[{"name":"expand_created_by","in":"query","description":"Expand the created_by field","required":false,"schema":{"type":"boolean"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaybeExpandedComment"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentRequest"}}}},"security":[{"Token":[]}]}},"/api/comments/export/":{"get":{"operationId":"comments_export","summary":"✨ Export comments to CSV","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nExport comments to CSV file","tags":["Comments"],"parameters":[{"name":"annotation","in":"query","required":false,"schema":{"type":"integer"}},{"name":"annotators","in":"query","required":false,"schema":{"type":"string"}},{"name":"draft","in":"query","required":false,"schema":{"type":"integer"}},{"name":"expand_created_by","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"projects","in":"query","required":false,"schema":{"type":"string"}},{"name":"tz","in":"query","description":"Timezone in which to export the data. Format IANA timezone name, e.g. \"America/New_York\"","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"CSV file with comments","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"Token":[]}]}},"/api/comments/{id}/":{"get":{"operationId":"comments_get","summary":"✨ Get comment","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific comment by ID for an annotation.","tags":["Comments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this comment.","required":true,"schema":{"type":"integer"}},{"name":"expand_created_by","in":"query","description":"Expand the created_by field","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaybeExpandedComment"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"comments_delete","summary":"✨ Delete comment","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a comment by ID","tags":["Comments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this comment.","required":true,"schema":{"type":"integer"}},{"name":"expand_created_by","in":"query","description":"Expand the created_by field","required":false,"schema":{"type":"boolean"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"comments_update","summary":"✨ Update comment","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific comment by ID.","tags":["Comments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this comment.","required":true,"schema":{"type":"integer"}},{"name":"expand_created_by","in":"query","description":"Expand the created_by field","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaybeExpandedComment"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCommentRequest"}}}},"security":[{"Token":[]}]}},"/api/current-user":{"get":{"operationId":"users_get_current_user","summary":"✨ Get current user info","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet info about the currently authenticated user.","tags":["Users"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUserAPI"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"users_update_current_user","summary":"✨ Update current user","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate details for the currently authenticated user.","tags":["Users"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUserAPI"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseUserSerializerUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/current-user/hotkeys/":{"get":{"operationId":"users_get_hotkeys","summary":"Get user hotkeys","description":"Retrieve the current user’s account hotkeys, or their stored personal override for the optional project scope.","tags":["Users"],"parameters":[{"name":"project","in":"query","description":"Project ID for a personal project-specific hotkey override. Omit for account defaults.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hotkeys"}}}},"400":{"description":"The project parameter is invalid.","content":{"application/json":{"schema":{"description":"Any type"}}}},"401":{"description":"Authentication credentials were not provided or are invalid.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"The user does not have access to the requested project.","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"The project does not exist in the user’s active organization.","content":{"application/json":{"schema":{"description":"Any type"}}}},"500":{"description":"An unexpected server error occurred.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"users_update_hotkeys","summary":"Update user hotkeys","description":"Update the current user’s account hotkeys, or their personal override for the optional project scope.","tags":["Users"],"parameters":[{"name":"project","in":"query","description":"Project ID for a personal project-specific hotkey override. Omit for account defaults.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hotkeys"}}}},"400":{"description":"The project parameter or hotkey payload is invalid.","content":{"application/json":{"schema":{"description":"Any type"}}}},"401":{"description":"Authentication credentials were not provided or are invalid.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"The user does not have access to the requested project.","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"The project does not exist in the user’s active organization.","content":{"application/json":{"schema":{"description":"Any type"}}}},"500":{"description":"An unexpected server error occurred.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedHotkeysRequest"}}}},"security":[{"Token":[]}]}},"/api/current-user/reset-token/":{"post":{"operationId":"users_reset_token","summary":"Reset user token","description":"Reset the user token for the current user.","tags":["Users"],"responses":{"201":{"description":"User token response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users_reset_token_Response_201"}}}}},"security":[{"Token":[]}]}},"/api/current-user/token":{"get":{"operationId":"users_get_token","summary":"Get user token","description":"Get a user token to authenticate to the API as the current user.","tags":["Users"],"responses":{"200":{"description":"User token response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users_get_token_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/current-user/whoami":{"get":{"operationId":"users_whoami","summary":"Retrieve my user","description":"Retrieve details of the account that you are using to access the API.","tags":["Users"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhoAmIUser"}}}}},"security":[{"Token":[]}]}},"/api/users/":{"get":{"operationId":"users_list","summary":"List users","description":"List the users that exist on the Label Studio server.","tags":["Users"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LseUserAPI"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"users_create","summary":"Create new user","description":"Create a user in Label Studio.","tags":["Users"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUser"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUserRequest"}}}},"security":[{"Token":[]}]}},"/api/users/{id}/":{"get":{"operationId":"users_get","summary":"Get user info","description":"Get info about a specific Label Studio user, based on the user ID.","tags":["Users"],"parameters":[{"name":"id","in":"path","description":"User ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUser"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"users_delete","summary":"Delete user","description":"Delete a specific Label Studio user. Only available in community edition.\n\n<Warning>Use caution when deleting a user, as this can cause issues such as breaking the \"Annotated by\" filter or leaving orphaned records.</Warning>","tags":["Users"],"parameters":[{"name":"id","in":"path","description":"User ID","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"users_update","summary":"Update user details","description":"\n        Update details for a specific user, such as their name or contact information, in Label Studio.\n        ","tags":["Users"],"parameters":[{"name":"id","in":"path","description":"User ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseUser"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseUserSerializerUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/dimensions/backfill/":{"post":{"operationId":"dimensions_trigger_backfill","summary":"✨ Trigger Agreement V2 backfill","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nTrigger an Agreement V2 backfill for the authenticated user's active organization. Recomputes agreement score matrices for all tasks that are missing them. Exactly one of three body fields must be provided:\n\n- **project_id**: backfill a single specific project.\n- **num_projects**: batched org backfill — queue the next N not-yet-started projects (in ascending project ID order), leaving any currently in-flight jobs untouched. Repeat calls until `projects_remaining` in the response reaches 0.\n- **all_projects**: full org backfill — cancel all in-flight jobs and queue every remaining non-completed project at once.\n\nRequires administrator or owner role and Agreement V2 access.","tags":["Dimensions"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillTriggerResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillTriggerRequestRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"dimensions_cancel_backfill","summary":"✨ Cancel Agreement V2 backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCancel Agreement V2 backfill jobs for the authenticated user's active organization. Cancel a specific job by job_id, all jobs for a specific project by project_id, or all backfill jobs for the entire organization if neither is provided.","tags":["Dimensions"],"parameters":[{"name":"job_id","in":"query","description":"Optional specific job ID to cancel","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to cancel its active backfill jobs","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillCancelResponse"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/dimensions/backfill/jobs/":{"get":{"operationId":"dimensions_list_backfills","summary":"✨ List Agreement V2 backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve Agreement V2 backfill jobs for the authenticated user's active organization, ordered by most-recently created first. Supports page / page_size query params (default 50 per page, max 500). Requires administrator or owner role and Agreement V2 access.","tags":["Dimensions"],"parameters":[{"name":"status","in":"query","description":"Filter by job status: PENDING, QUEUED, RUNNING, COMPLETED, or FAILED.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgreementV2BackfillJob"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/dimensions/backfill/status/":{"get":{"operationId":"dimensions_get_backfill_status","summary":"✨ Get Agreement V2 backfill status","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the status of an Agreement V2 backfill job for the authenticated user's active organization. By default returns the aggregated organization status. Specify job_id or project_id to get a specific job status. Requires administrator or owner role and Agreement V2 access.","tags":["Dimensions"],"parameters":[{"name":"job_id","in":"query","description":"Optional job ID to retrieve specific job status","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to retrieve the latest backfill status for that project. If omitted, returns aggregated organization status.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillJob"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/dimensions/value-counts-backfill/":{"post":{"operationId":"dimensions_trigger_value_counts_backfill","summary":"✨ Trigger Dimension value-counts backfill","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nTrigger a Dimension label-distribution value-counts backfill for the authenticated user's active organization. Populates MatrixAnnotatorEntry.value_counts and rebuilds the ProjectSummary.dimension_value_counts cache for all tasks, without recomputing agreement scores. Exactly one of three body fields must be provided:\n\n- **project_id**: backfill a single specific project.\n- **num_projects**: batched org backfill — queue the next N not-yet-started projects (in ascending project ID order), leaving any currently in-flight jobs untouched. Repeat calls until `projects_remaining` in the response reaches 0.\n- **all_projects**: full org backfill — cancel all in-flight jobs and queue every remaining non-completed project at once.\n\nRequires administrator or owner role and access to Agreement V2 value counts.","tags":["Dimensions"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillTriggerResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillTriggerRequestRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"dimensions_cancel_value_counts_backfill","summary":"✨ Cancel Dimension value-counts backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCancel Dimension value-counts backfill jobs for the authenticated user's active organization. Cancel a specific job by job_id, all jobs for a specific project by project_id, or all backfill jobs for the entire organization if neither is provided.","tags":["Dimensions"],"parameters":[{"name":"job_id","in":"query","description":"Optional specific job ID to cancel","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to cancel its active backfill jobs","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementV2BackfillCancelResponse"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/dimensions/value-counts-backfill/jobs/":{"get":{"operationId":"dimensions_list_value_counts_backfills","summary":"✨ List Dimension value-counts backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve Dimension value-counts backfill jobs for the authenticated user's active organization, ordered by most-recently created first. Supports page / page_size query params (default 50 per page, max 500). Requires administrator or owner role and Agreement V2 access.","tags":["Dimensions"],"parameters":[{"name":"status","in":"query","description":"Filter by job status: PENDING, QUEUED, RUNNING, COMPLETED, or FAILED.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ValueCountsBackfillJob"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/dimensions/value-counts-backfill/status/":{"get":{"operationId":"dimensions_get_value_counts_backfill_status","summary":"✨ Get Dimension value-counts backfill status","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the status of a Dimension value-counts backfill job for the authenticated user's active organization. By default returns the aggregated organization status. Specify job_id or project_id to get a specific job status. Requires administrator or owner role and Agreement V2 access.","tags":["Dimensions"],"parameters":[{"name":"job_id","in":"query","description":"Optional job ID to retrieve specific job status","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to retrieve the latest backfill status for that project. If omitted, returns aggregated organization status.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValueCountsBackfillJob"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/dimensions/":{"get":{"operationId":"dimensions_list","summary":"✨ List dimensions","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all dimensions for a specific project.","tags":["Dimensions"],"parameters":[{"name":"project_pk","in":"path","description":"Project ID","required":true,"schema":{"type":"integer"}},{"name":"agreement_methodology","in":"query","description":"Agreement methodology to use for computing allowed_metrics_with_params. If not provided, uses the methodology stored in the project settings. Valid values: \"pairwise\", \"consensus\". ","required":false,"schema":{"type":"string"}},{"name":"is_active","in":"query","description":"Filter by active status","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of dimensions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DimensionList"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/dimensions/{id}/":{"get":{"operationId":"dimensions_get","summary":"✨ Get dimension","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific dimension by ID.","tags":["Dimensions"],"parameters":[{"name":"id","in":"path","description":"Dimension ID","required":true,"schema":{"type":"integer"}},{"name":"project_pk","in":"path","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Dimension details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dimension"}}}}},"security":[{"Token":[]}]}},"/api/dm/actions/":{"get":{"operationId":"actions_list","summary":"Get actions","description":"Retrieve all the registered actions with descriptions that data manager can use.","tags":["actions"],"parameters":[{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Actions retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiDmActionsGetResponsesContentApplicationJsonSchemaItems"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"actions_create","summary":"Post actions","description":"Perform a Data Manager action with the selected tasks and filters. Note: More complex actions require additional parameters in the request body. Call `GET api/actions?project=<id>` to explore them. <br>Example: `GET api/actions?id=delete_tasks&project=1`","tags":["actions"],"parameters":[{"name":"id","in":"query","description":"Action name ID, see the full list of actions in the `GET api/actions` request","required":true,"schema":{"$ref":"#/components/schemas/ApiDmActionsPostParametersId"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","description":"View ID (optional, it has higher priority than filters, selectedItems and ordering from the request body payload)","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Action performed successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/actions_create_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareParamsRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/dm/views/":{"get":{"operationId":"views_list","summary":"List views","description":"List all views for a specific project.","tags":["views"],"parameters":[{"name":"project","in":"query","description":"Project ID","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/View"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"views_create","summary":"Create view","description":"Create a view for a specific project.","tags":["views"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/dm/views/order/":{"post":{"operationId":"views_update_order","summary":"Update order of views","description":"Update the order field of views based on the provided list of view IDs","tags":["views"],"responses":{"200":{"description":"View order updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/views_update_order_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewOrderRequest"}}}},"security":[{"Token":[]}]}},"/api/dm/views/reset/":{"delete":{"operationId":"views_delete_all","summary":"Delete all project views","description":"Delete all views for a specific project.","tags":["views"],"parameters":[{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/dm/views/{id}/":{"get":{"operationId":"views_get","summary":"Get view details","description":"Get the details about a specific view in the data manager","tags":["views"],"parameters":[{"name":"id","in":"path","description":"View ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"views_delete","summary":"Delete view","description":"Delete a specific view by ID.","tags":["views"],"parameters":[{"name":"id","in":"path","description":"View ID","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"views_update","summary":"Update view","description":"Update view data with additional filters and other information for a specific project.","tags":["views"],"parameters":[{"name":"id","in":"path","description":"View ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedViewRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/fsm/backfill/":{"post":{"operationId":"states_trigger_backfill","summary":"✨ Trigger state backfill for organization","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nTrigger state backfill for the authenticated user's active organization. Creates initial state records for entities without states. Requires administrator or owner role and state management access.","tags":["States"],"parameters":[{"name":"project_id","in":"query","description":"Optional project ID to trigger backfill for a single project","required":false,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillErrorResponse"}}}},"403":{"description":"Permission denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Organization not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"states_cancel_backfill","summary":"✨ Cancel state backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCancel state backfill jobs for the authenticated user's active organization. Can cancel a specific job by job_id, all jobs for a specific project by project_id, or all backfill jobs for the entire organization if neither is provided.","tags":["States"],"parameters":[{"name":"job_id","in":"query","description":"Optional specific job ID to cancel","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to cancel its active jobs","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillCancelResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillErrorResponse"}}}},"403":{"description":"Permission denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Organization not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/fsm/backfill/jobs/":{"get":{"operationId":"states_list_backfills","summary":"✨ List state backfill jobs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the latest 10 state backfill jobs for the authenticated user's active organization. Shows job history with status, progress, and timing information. Requires administrator or owner role and state management access.","tags":["States"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillJobListResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/fsm/backfill/status/":{"get":{"operationId":"states_get_backfill_status","summary":"✨ Get state backfill status","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the status of a state backfill job for the authenticated user's active organization. By default returns the aggregated org status, or specify job_id or project_id to get explicit job statuses. Shows progress, completion time, and any errors. Requires administrator or owner role and state management access.","tags":["States"],"parameters":[{"name":"job_id","in":"query","description":"Optional job ID to retrieve specific job status","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Optional project ID to retrieve the latest job status for a project. If omitted, returns aggregated org status.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateBackfillStatusResponse"}}}},"403":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/fsm/entities/{entity_name}/{entity_id}/history":{"get":{"operationId":"states_state_history","summary":"✨ Get entity state history","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the state history of an entity","tags":["States"],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entity_name","in":"path","required":true,"schema":{"type":"string"}},{"name":"created_at_from","in":"query","description":"Filter for state history items created at or after the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)","required":false,"schema":{"type":"string"}},{"name":"created_at_to","in":"query","description":"Filter for state history items created at or before the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)","required":false,"schema":{"type":"string"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"previous_state","in":"query","description":"Filter previous_state by exact match (case-insensitive)","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","description":"Filter state by exact match (case-insensitive)","required":false,"schema":{"type":"string"}},{"name":"transition_name","in":"query","description":"Filter transition_name by exact match (case-insensitive)","required":false,"schema":{"type":"string"}},{"name":"triggered_by","in":"query","description":"Filter triggered_by by exact match","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedStateModelList"}}}}},"security":[{"Token":[]}]}},"/api/fsm/entities/{entity_name}/{entity_id}/transition/":{"post":{"operationId":"states_execute_transition","summary":"✨ Execute manual state transition","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nExecute a registered manual transition for an entity.","tags":["States"],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entity_name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FSMTransitionExecuteResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FSMTransitionExecuteRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/import/file-upload/{id}":{"get":{"operationId":"files_get","summary":"Get file upload","description":"Retrieve details about a specific uploaded file.","tags":["files"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUpload"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"files_delete","summary":"Delete file upload","description":"Delete a specific uploaded file.","tags":["files"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"files_update","summary":"Update file upload","description":"Update a specific uploaded file.","tags":["files"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUpload"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedFileUploadRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/file-uploads":{"get":{"operationId":"files_list","summary":"Get files list","description":"\n        Retrieve the list of uploaded files used to create labeling tasks for a specific project.\n        ","tags":["files"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"all","in":"query","description":"Set to \"true\" if you want to retrieve all file uploads","required":false,"schema":{"type":"boolean"}},{"name":"ids","in":"query","description":"Specify the list of file upload IDs to retrieve, e.g. ids=[1,2,3]","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileUpload"}}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"files_delete_many","summary":"Delete files","description":"\n        Delete uploaded files for a specific project.\n        ","tags":["files"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/data/upload/{filename}":{"get":{"operationId":"files_download","summary":"Download file","description":"Download a specific uploaded file.","tags":["files"],"parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"File downloaded successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/files_download_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/model-run/batch-failed-predictions":{"post":{"operationId":"prompts_batch_failed_predictions","summary":"✨ Create batch of failed predictions","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new batch of failed predictions.","tags":["prompts"],"parameters":[{"name":"num_failed_predictions","in":"query","description":"Number of failed predictions being sent (for telemetry only, has no effect)","required":false,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchFailedPredictions"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchFailedPredictionsRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/model-run/batch-predictions":{"post":{"operationId":"prompts_batch_predictions","summary":"✨ Create batch predictions","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new batch prediction.","tags":["prompts"],"parameters":[{"name":"num_predictions","in":"query","description":"Number of predictions being sent (for telemetry only, has no effect)","required":false,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchPredictions"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchPredictionsRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/subset-tasks":{"get":{"operationId":"prompts_subset_tasks","summary":"✨ Get Project Subset Task List with Predictions and Accuracy details","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        Provides list of tasks, based on project subset. Includes predictions for tasks. For the 'HasGT' subset, accuracy metrics will also be provided.\n        ","tags":["prompts"],"parameters":[{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"alignment_class","in":"query","description":"Only include tasks whose prediction/reference alignment includes this class.","required":false,"schema":{"type":"string"}},{"name":"alignment_from_name","in":"query","description":"When alignment_class is set, limit matching to this output control tag.","required":false,"schema":{"type":"string"}},{"name":"alignment_outcome","in":"query","description":"Alignment outcome to drill into. Defaults to all TP, FP, and FN outcomes.","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsProjectPkSubsetTasksGetParametersAlignmentOutcome"}},{"name":"include_total","in":"query","description":"If true (default), includes task_count in response; if false, omits it.","required":false,"schema":{"type":"boolean"}},{"name":"model_run","in":"query","description":"A unique ID of a ModelRun","required":false,"schema":{"type":"integer"}},{"name":"model_version","in":"query","description":"Restrict prefetched predictions to this specific prompt version. Used with parent_model when no model_run is selected so a newly created version does not inherit predictions from prior versions.","required":false,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"output_class","in":"query","description":"Only include tasks whose prediction contains this output class.","required":false,"schema":{"type":"string"}},{"name":"output_from_name","in":"query","description":"When output_class is set, limit matching to this output control tag.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"parent_model","in":"query","description":"The ID of the parent model (ModelInterface) for this Inference Run","required":false,"schema":{"type":"integer"}},{"name":"prediction_version_ids","in":"query","description":"Comma-separated model version IDs. Only include tasks that have predictions for every listed version.","required":false,"schema":{"type":"string"}},{"name":"project_subset","in":"query","description":"The project subset to retrieve tasks for","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProjectSubsetTasksResponseList"}}}},"400":{"description":"Bad request - missing parent_model","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/subsets":{"get":{"operationId":"prompts_subsets","summary":"✨ Get available subsets of a project (for prompts usage)","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        Provides list of available subsets for a project along with count of tasks in each subset\n        ","tags":["prompts"],"parameters":[{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectSubsetItem"}}}}}},"security":[{"Token":[]}]}},"/api/prompts/":{"get":{"operationId":"prompts_list","summary":"✨ List prompts","description":"List all prompts.","tags":["prompts"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"A search term.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedModelInterfaceSerializerGETList"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"prompts_create","summary":"✨ Create prompt","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new prompt.","tags":["prompts"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelInterfaceRequest"}}}},"security":[{"Token":[]}]}},"/api/prompts/compatible-projects":{"get":{"operationId":"prompts_compatible_projects","summary":"✨ List projects compatible with prompt","description":"Retrieve a list of compatible project for prompt.","tags":["prompts"],"parameters":[{"name":"archived","in":"query","description":"Filter by projects that belong to archived workspaces","required":false,"schema":{"type":"boolean"}},{"name":"ids","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"is_skill_assessment","in":"query","description":"Filter by skill assessments","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"project_type","in":"query","description":"Skill to filter by","required":false,"schema":{"$ref":"#/components/schemas/ApiPromptsCompatibleProjectsGetParametersProjectType","default":"TextClassification"}},{"name":"source_interface_id","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"title","in":"query","required":false,"schema":{"type":"string"}},{"name":"workspaces","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAllRolesProjectListList"}}}}},"security":[{"Token":[]}]}},"/api/prompts/{id}/":{"get":{"operationId":"prompts_get","summary":"✨ Get prompt","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific prompt.","tags":["prompts"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelInterfaceSerializerGET"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"prompts_delete","summary":"✨ Delete prompt","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a prompt by ID","tags":["prompts"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model interface.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"prompts_update","summary":"✨ Update prompt","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific prompt by ID.","tags":["prompts"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedModelInterfaceRequest"}}}},"security":[{"Token":[]}]}},"/api/inference-runs/{id}/indicators/":{"get":{"operationId":"indicators_list","summary":"✨ Get key indicators","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet key indicators for the Prompt dashboard.","tags":["indicators"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Key indicators","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems"}}}}}},"security":[{"Token":[]}]}},"/api/inference-runs/{id}/indicators/{indicator_key}":{"get":{"operationId":"indicators_get","summary":"✨ Get key indicator","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific key indicator for the Prompt dashboard.","tags":["indicators"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"indicator_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Key indicator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSEKeyIndicatorValue"}}}}},"security":[{"Token":[]}]}},"/api/prompts/{id}/get-default-version-name":{"get":{"operationId":"versions_get_default_version_name","summary":"✨ Get default prompt version name","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet default prompt version name","tags":["versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultModelVersionNameResponse"}}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions":{"get":{"operationId":"versions_list","summary":"✨ List prompt versions","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all versions of a prompt.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThirdPartyModelVersion"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"versions_create","summary":"✨ Create prompt version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new version of a prompt.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThirdPartyModelVersion"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThirdPartyModelVersionRequest"}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions/{version_id}":{"get":{"operationId":"versions_get","summary":"✨ Get prompt version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific prompt of a model.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThirdPartyModelVersion"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"versions_delete","summary":"✨ Delete prompt version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a prompt version by ID","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"versions_update","summary":"✨ Update prompt version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific prompt version by ID.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThirdPartyModelVersion"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedThirdPartyModelVersionRequest"}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions/{version_id}/cost-estimate":{"get":{"operationId":"versions_cost_estimate","summary":"✨ Get cost estimate for running a prompt version on a particular project/subset","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet an estimate of the cost for making an inference run on the selected Prompt Version and Project/ProjectSubset","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Cost estimate response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceRunCostEstimate"}}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions/{version_id}/refine":{"get":{"operationId":"versions_get_refined_prompt","summary":"✨ Get refined prompt","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the refined prompt based on the `refinement_job_id`.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"refinement_job_id","in":"query","description":"Refinement Job ID acquired from the `POST /api/prompts/{prompt_id}/versions/{version_id}/refine` endpoint","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Refined prompt response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefinedPromptResponse"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"versions_refine_prompt","summary":"✨ Refine a prompt version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRefine a prompt version using a teacher model and save the refined prompt as a new version.","tags":["versions"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"async","in":"query","description":"Whether to run the refinement asynchronously","required":false,"schema":{"type":"boolean"}}],"responses":{"201":{"description":"Refined prompt response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefinedPromptResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefinePromptRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions/{version_id}/inference-runs":{"get":{"operationId":"runs_list","summary":"✨ Get inference run info","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet information (status, metadata, etc) about an existing inference run","tags":["runs"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"parent_model","in":"query","description":"The ID of the parent model for this Inference Run","required":false,"schema":{"type":"integer"}},{"name":"project","in":"query","description":"The ID of the project this Inference Run makes predictions on","required":false,"schema":{"type":"integer"}},{"name":"project_subset","in":"query","description":"Defines which tasks are operated on (e.g. HasGT will only operate on tasks with a ground truth annotation, but All will operate on all records)","required":false,"schema":{"$ref":"#/components/schemas/ApiPromptsPromptIdVersionsVersionIdInferenceRunsGetParametersProjectSubset"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ModelRun"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"runs_create","summary":"✨ Run prompt inference","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRun a prompt inference.","tags":["runs"],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRun"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRunRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/prompts/{prompt_id}/versions/{version_id}/inference-runs/{inference_run_id}/cancel":{"post":{"operationId":"runs_cancel","summary":"✨ Cancel Inference Run API","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCancel the inference run for the given api","tags":["runs"],"parameters":[{"name":"inference_run_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"prompt_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelModelRunResponse"}}}}},"security":[{"Token":[]}]}},"/api/interfaces/":{"get":{"operationId":"interfaces_list","summary":"✨ List saved interfaces","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList saved interfaces for the current organization.","tags":["Interfaces"],"parameters":[{"name":"has_published_versions","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"A search term.","required":false,"schema":{"type":"string"}},{"name":"workspace","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLseInterfaceListList"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"interfaces_create","summary":"✨ Create a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new saved interface.","tags":["Interfaces"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/":{"get":{"operationId":"interfaces_get","summary":"✨ Get a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a saved interface by ID.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"security":[{"Token":[]}]},"put":{"operationId":"interfaces_update","summary":"✨ Update a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a saved interface.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"interfaces_delete","summary":"✨ Delete a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a saved interface.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"interfaces_partial_update","summary":"✨ Partially update a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPartially update a saved interface.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseInterfaceRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/append_versions/":{"post":{"operationId":"interfaces_append_versions","summary":"✨ Append saved interface versions","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAppend one or more versions to a saved interface with server-assigned stable version IDs.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceAppendVersionsRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/duplicate/":{"post":{"operationId":"interfaces_duplicate","summary":"✨ Duplicate a saved interface","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a copy of an existing saved interface.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceDuplicateRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/move/":{"post":{"operationId":"interfaces_move","summary":"✨ Move a saved interface to another workspace","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nMove a saved interface to a workspace, your Personal Sandbox, or Shared (`workspace: null`). A workspace-scoped interface can only be used by projects in its workspace, so connected projects move with it when needed. Send `dry_run: true` first to get the move plan, then confirm with `dry_run: false` and the `expected_project_ids` from that plan. The response is the plan in every case; a blocked move or a changed plan returns 409 with the fresh plan.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceMovePlan"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceMoveRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/publish/":{"post":{"operationId":"interfaces_publish_version","summary":"✨ Publish a saved interface version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPublish one saved interface version by stable version ID.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceVersionIdRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/unpublish/":{"post":{"operationId":"interfaces_unpublish_version","summary":"✨ Unpublish a saved interface version","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUnpublish one saved interface version by stable version ID.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceVersionIdRequest"}}}},"security":[{"Token":[]}]}},"/api/interfaces/{id}/update_description/":{"post":{"operationId":"interfaces_update_version_description","summary":"✨ Update a saved interface version description","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate the description for one saved interface version by stable version ID.","tags":["Interfaces"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this interface.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterface"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseInterfaceVersionDescriptionRequest"}}}},"security":[{"Token":[]}]}},"/api/invite/reset-token":{"post":{"operationId":"organizations_reset_token","summary":"Reset organization token","description":"Reset the token used in the invitation link to invite someone to an organization.","tags":["organizations"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInvite"}}}}},"security":[{"Token":[]}]}},"/api/organizations/":{"get":{"operationId":"organizations_list","summary":"List your organizations","description":"\n        Return a list of the organizations you've created or that you have access to.\n        ","tags":["organizations"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationId"}}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}":{"get":{"operationId":"organizations_get","summary":"Get organization settings","description":"Retrieve the settings for a specific organization by ID.","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseOrganization"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"organizations_update","summary":"✨ Update organization","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate organization details including title, embed domains, and Plugins settings.","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseOrganization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseOrganizationSerializerUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships/filter-options/membership":{"get":{"operationId":"organizations_api_organizations_memberships_filter_options_membership_list","summary":"List organization member membership filter options","description":"Return the actor-accessible workspaces, each with its projects, plus unparented projects.","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Optional case-insensitive option label search.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMemberMembershipOption"}}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships/filter-options/skills":{"get":{"operationId":"organizations_api_organizations_memberships_filter_options_skills_list","summary":"List organization member Skills filter options","description":"Return Skills values held by members, self-reported or set by a skill assessment, with Contributor Setup display metadata. Owners, Administrators and Managers only.","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Optional case-insensitive option label search.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMemberSkillsOption"}}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/set-default-role":{"patch":{"operationId":"organizations_update_default_role","summary":"✨ Update default role","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate the default role for members of a specific organization.","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultRole"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDefaultRoleRequest"}}}},"security":[{"Token":[]}]}},"/api/invite":{"get":{"operationId":"invites_get_invite_link","summary":"Get invite link","description":"Get invite link for organization","tags":["invites"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInvite"}}}},"403":{"description":"Organization does not allow to invite people","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/invite/revoke":{"post":{"operationId":"invites_revoke_invite","summary":"✨ Revoke invite","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRevoke invite to organization","tags":["invites"],"responses":{"200":{"description":"Invite revoked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_invites_revoke_invite_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeInviteRequest"}}}},"security":[{"Token":[]}]}},"/api/invite/send-email":{"post":{"operationId":"invites_send_email","summary":"✨ Send email with invite","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSend email with invite to organization","tags":["invites"],"responses":{"200":{"description":"Invite sent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_invites_send_email_Response_200"}}}},"403":{"description":"Organization does not allow to invite people","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendInviteRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags":{"get":{"operationId":"memberTags_list","summary":"✨ List organization member tags","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a list of all member tags for a specific organization.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results per page (default: 30, max: 100).","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Search tags by label (case-insensitive).","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOrganizationMemberTagList"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"memberTags_create","summary":"✨ Create organization member tag","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new member tag for a specific organization.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTag"}}}},"400":{"description":"Bad Request - A tag with this label already exists","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTagRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags/assignments":{"post":{"operationId":"memberTags_assign","summary":"✨ Bulk assign tags to organization members","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAssign tags to multiple organization members in bulk.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"exclude_project_id","in":"query","description":"Filter exclude_project_id by exact match","required":false,"schema":{"type":"number","format":"double"}},{"name":"exclude_workspace_id","in":"query","description":"Filter exclude_workspace_id by exact match","required":false,"schema":{"type":"number","format":"double"}},{"name":"is_deleted","in":"query","description":"Filter is_deleted by exact match","required":false,"schema":{"type":"boolean"}},{"name":"role","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__gte","in":"query","description":"Filter user__last_activity by greater than or equal to","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__lte","in":"query","description":"Filter user__last_activity by less than or equal to","required":false,"schema":{"type":"string"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Number of tag assignments created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_member_tags_assign_Response_200"}}}},"400":{"description":"Bad Request - Invalid input","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkOrganizationMemberTagAssignmentRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags/imports":{"post":{"operationId":"memberTags_import","summary":"✨ Import member tags from CSV","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpload a CSV file to bulk import member tags and assign them to organization members.\n\nThe CSV file must contain `email` and `tags` columns. The `tags` column should contain comma-separated tag labels (quoted if they contain commas). Tags that do not exist will be created.\n\nOptionally, you can specify `bulk_tags` as a comma-separated list of tags to apply to all users in the CSV file.\n\nThe import runs asynchronously. Use the returned import job ID to check the status.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Import job created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_member_tags_import_Response_201"}}}},"400":{"description":"Bad Request - Invalid CSV file or missing required columns","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTagImportCreateRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags/imports/{import_pk}":{"get":{"operationId":"memberTags_get_import","summary":"✨ Get member tag import status","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the status and results of a member tag import job.\n\nThe response includes the current status (created, in_progress, completed, failed), timestamps, and counts of tags created, assignments made, and users skipped.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"import_pk","in":"path","description":"A unique integer value identifying this import job.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTagImportStatus"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Import job not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags/{tag_pk}":{"get":{"operationId":"memberTags_get","summary":"✨ Get organization member tag","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve details of a specific member tag.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"tag_pk","in":"path","description":"A unique integer value identifying this member tag.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTag"}}}},"404":{"description":"Member tag not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"memberTags_delete","summary":"✨ Delete organization member tag","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a member tag from the organization.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"tag_pk","in":"path","description":"A unique integer value identifying this member tag.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Member tag deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Member tag not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"memberTags_update","summary":"✨ Update organization member tag","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPartially update an existing member tag.","tags":["memberTags"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"tag_pk","in":"path","description":"A unique integer value identifying this member tag.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTag"}}}},"400":{"description":"Bad Request - A tag with this label already exists","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Member tag not found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedOrganizationMemberTagRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/member-tags/bulk":{"post":{"operationId":"bulk_post","summary":"✨ Bulk create organization member tags","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate multiple member tags for the organization in bulk. Duplicate labels within the request are deduplicated. Labels that already exist in the organization are skipped.","tags":["bulk"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Number of tags created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_member_tags_bulk_post_Response_201"}}}},"400":{"description":"Bad Request - Invalid input","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberTagBulkCreateRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"bulk_delete","summary":"✨ Bulk delete organization member tags","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete multiple member tags from the organization in bulk. Pass tag IDs via the `ids` query parameter (comma-separated or repeated). For backward compatibility, a JSON body with `ids` is still accepted.","tags":["bulk"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Tag IDs to delete. Accepts comma-separated values (e.g., `1,2`) or repeated params.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Number of tags deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organizations_member_tags_bulk_delete_Response_200"}}}},"400":{"description":"Bad Request - Invalid input","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships":{"get":{"operationId":"members_list","summary":"Get organization members list","description":"Retrieve a list of the organization members and their IDs.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"contributed_to_projects","in":"query","description":"Whether to include projects created and contributed to by the members.","required":false,"schema":{"type":"boolean"}},{"name":"exclude_project_id","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"exclude_workspace_id","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"is_deleted","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"role","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","description":"A search term.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"user__last_activity__gte","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"user__last_activity__lte","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLseOrganizationMemberListList"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"members_update","summary":"✨ Update organization member/role","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate organization membership or role for a specific user ID.\n\n**User Rotation Best Practices for API Usage**\n\nTo maintain compliance with our licensing terms and ensure optimal performance of HumanSignal's APIs, please consider the following guidelines when managing user assignments:\n\n* **Maintain the Minimum Assignment duration**: Once a licensed seat is assigned to a user, maintain that assignment for at least the minimum consecutive days before rotating the user. This duration can be found in your enterprise contract language.\n\n* **Automate, Monitor, and Log Rotations**: Implement automated scheduling and logging mechanisms to track the timing of user rotations. This helps ensure that rotations adhere to the aforementioned minimum period.\n\n* **Adhere to API Update Frequency and Wait Periods**: When updating user assignments via our APIs, follow the recommended frequency and wait period guidelines provided in the HumanSignal API documentation. Avoid sending rapid, successive requests that might overload the endpoint. Instead, incorporate appropriate delays between calls as specified in the documentation.\n\n* **Avoid Overloading the API Endpoint**: Design your integration to batch or schedule updates where possible, and implement backoff strategies if the API indicates rate limiting. This helps prevent service disruptions and ensures a smooth operation.\n\n","tags":["members"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseOrganizationMemberList"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedOrganizationMemberCreateUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships/filter-schema":{"get":{"operationId":"members_get_filter_schema","summary":"Get organization member filter capabilities","description":"Return the filter dimensions enabled for the current organization and actor.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberFilterSchema"}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships/search":{"get":{"operationId":"members_list_filtered","summary":"List organization members using reusable filters","description":"Retrieve a paginated organization-member list using the versioned `filters` query parameter.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"exclude_project_id","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"exclude_workspace_id","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"filters","in":"query","description":"Versioned JSON organization-member filter payload.","required":false,"schema":{"type":"string"}},{"name":"include_skills","in":"query","description":"Add `skills` to each row: the member's skills with their status, those the `filters` payload matched first. Owners, Administrators and Managers only; ignored for other roles.","required":false,"schema":{"type":"boolean"}},{"name":"is_deleted","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"role","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","description":"A search term.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"user__last_activity__gte","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"user__last_activity__lte","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLseOrganizationMemberListList"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"members_search","summary":"Search organization members using reusable filters","description":"POST transport for the versioned organization-member filter payload.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"include_skills","in":"query","description":"Add `skills` to each row: the member's skills with their status, those the `filters` payload matched first. Owners, Administrators and Managers only; ignored for other roles.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseOrganizationMemberList"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberFilterRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/memberships/{user_pk}/":{"get":{"operationId":"members_get","summary":"Get organization member details","description":"Get organization member details by user ID.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","description":"A unique integer value identifying the user to get organization details for.","required":true,"schema":{"type":"integer"}},{"name":"contributed_to_projects","in":"query","description":"Whether to include projects created and contributed to by the member.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMember"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"members_delete","summary":"Soft delete an organization member","description":"Soft delete a member from the organization.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","description":"A unique integer value identifying the user to be deleted from the organization.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Member deleted successfully.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"You can delete members only for your current active organization","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"description":"Any type"}}}},"405":{"description":"User cannot soft delete self.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/permissions":{"get":{"operationId":"permissions_list","summary":"✨ List organization permission overrides","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all organization-level permission overrides for a given organization.","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationPermission"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"permissions_create","summary":"✨ Create organization permission override","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new organization-level permission override for a given organization.","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermissionRequest"}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/permissions/options":{"get":{"operationId":"permissions_get_options","summary":"✨ Get configurable permissions options","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the list of configurable permission options (label, tooltip, default role and allowed roles).","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurablePermissionOption"}}}}}},"security":[{"Token":[]}]}},"/api/organizations/{id}/permissions/{permission_key}":{"get":{"operationId":"permissions_get","summary":"✨ Retrieve organization permission override","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the organization-level permission override for a given permission key.","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"permission_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Permission not found for organization","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"put":{"operationId":"permissions_replace","summary":"✨ Replace organization permission override","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReplace the organization-level permission override for a given permission key.","tags":["permissions"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this organization.","required":true,"schema":{"type":"integer"}},{"name":"permission_key","in":"path","description":"Permission key to update within the organization.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Permission not found for organization","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermissionRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"permissions_delete","summary":"✨ Delete organization permission override","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete the organization-level permission override for a given permission key.","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"permission_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Permission not found for organization","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"permissions_update","summary":"✨ Update organization permission override","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPartially update the organization-level permission override for a given permission key.","tags":["permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"permission_key","in":"path","description":"Permission key to update within the organization.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Permission Denied","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Permission not found for organization","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedOrganizationPermissionRequest"}}}},"security":[{"Token":[]}]}},"/api/jwt/settings":{"get":{"operationId":"jwtSettings_get","summary":"Retrieve JWT Settings","description":"Retrieve JWT settings for the currently active organization.","tags":["jwtSettings"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSEJWTSettings"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"jwtSettings_update","summary":"Update JWT Settings","description":"Update JWT settings for the currently active organization.","tags":["jwtSettings"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSEJWTSettings"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSEJWTSettingsRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/":{"get":{"operationId":"projects_list","summary":"List projects","description":"Retrieve a list of projects. Counter fields in each result follow one of two scopes:\n\n* **Per-user progress** — computed for the authenticated user and their project role (for example `reviewed_number`, `review_total_tasks`, `queue_done`, `queue_total`, `queue_left`). These power project-card progress in the UI and differ across users. Note: `queue_left` counts manual review assignments only; when it is `0`, the card uses `review_total_tasks` / `reviewed_number` for auto-review progress.\n* **Project-wide totals** — the same for every caller (for example `task_number`, `finished_task_number`).\n\nFor organization-level reviewed-task totals (all reviewers combined), use `GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC` rather than `reviewed_number`. See Analytics KPI `tasks_reviewed`, `tasks_pending_review`, `annotated_tasks`, and `total_tasks` for other project-wide metrics.","tags":["Projects"],"parameters":[{"name":"archived","in":"query","description":"Filter by projects that belong to archived workspaces","required":false,"schema":{"type":"boolean"}},{"name":"filter","in":"query","description":"Filter projects by pinned status. Use 'pinned_only' to return only pinned projects, 'exclude_pinned' to return only non-pinned projects, or 'all' to return all projects.","required":false,"schema":{"type":"string","default":"all"}},{"name":"ids","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated list of count fields to include in the response to optimize performance. Available fields: task_number, finished_task_number, total_predictions_number, total_annotations_number, num_tasks_with_annotations, useful_annotation_number, ground_truth_number, skipped_annotations_number. If not specified, all count fields are included.","required":false,"schema":{"type":"string"}},{"name":"is_skill_assessment","in":"query","description":"Filter by skill assessments","required":false,"schema":{"type":"boolean"}},{"name":"members_limit","in":"query","description":"Maximum number of members to return","required":false,"schema":{"type":"integer","default":10}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Search term for project title and description","required":false,"schema":{"type":"string"}},{"name":"source_interface_id","in":"query","description":"Filter lse_project__source_interface_id by exact match","required":false,"schema":{"type":"number","format":"double"}},{"name":"state","in":"query","description":"Filter current_state by exact match","required":false,"schema":{"type":"string"}},{"name":"title","in":"query","description":"Filter title by contains (case-insensitive)","required":false,"schema":{"type":"string"}},{"name":"workspaces","in":"query","description":"Filter workspaces by exact match","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAllRolesProjectListList"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"projects_create","summary":"Create a project","description":"Create a project for a specific organization.","tags":["Projects"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseProjectCreate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseProjectCreateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/counts/":{"get":{"operationId":"projects_list_counts","summary":"List projects' counts","description":"Returns a list of projects with their counts. For example, task_number which is the total task number in project","tags":["Projects"],"parameters":[{"name":"archived","in":"query","description":"Filter by projects that belong to archived workspaces","required":false,"schema":{"type":"boolean"}},{"name":"filter","in":"query","description":"Filter projects by pinned status. Use 'pinned_only' to return only pinned projects, 'exclude_pinned' to return only non-pinned projects, or 'all' to return all projects.","required":false,"schema":{"type":"string","default":"all"}},{"name":"ids","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated list of count fields to include in the response to optimize performance. Available fields: task_number, finished_task_number, total_predictions_number, total_annotations_number, num_tasks_with_annotations, useful_annotation_number, ground_truth_number, skipped_annotations_number. If not specified, all count fields are included.","required":false,"schema":{"type":"string"}},{"name":"is_skill_assessment","in":"query","description":"Filter by skill assessments","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"Search term for project title and description","required":false,"schema":{"type":"string"}},{"name":"source_interface_id","in":"query","description":"Filter lse_project__source_interface_id by exact match","required":false,"schema":{"type":"number","format":"double"}},{"name":"state","in":"query","description":"Filter current_state by exact match","required":false,"schema":{"type":"string"}},{"name":"title","in":"query","description":"Filter title by contains (case-insensitive)","required":false,"schema":{"type":"string"}},{"name":"workspaces","in":"query","description":"Filter workspaces by exact match","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLseProjectCountsList"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/":{"get":{"operationId":"projects_get","summary":"Get project by ID","description":"Retrieve information about a project by project ID. Counter fields use per-user or project-wide scope as documented on each field; for all reviewed tasks in the project use `GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC`.","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"members_limit","in":"query","description":"Maximum number of members to return","required":false,"schema":{"type":"integer","default":10}}],"responses":{"200":{"description":"Project information. Not all fields are available for all roles.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseProjectResponse"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"projects_delete","summary":"Delete project","description":"Delete a project by specified project ID.","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"projects_update","summary":"Update project details","description":"Update the details of a specific project.","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"members_limit","in":"query","description":"Maximum number of members to return","required":false,"schema":{"type":"integer","default":10}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseProjectResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseProjectUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/annotators/":{"get":{"operationId":"projects_list_unique_annotators","summary":"List unique annotators for project","description":"Return unique users who have submitted annotations in the specified project.","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"List of annotator users","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSimple"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/duplicate/":{"post":{"operationId":"projects_duplicate","summary":"✨ Duplicate project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nMake a copy of project.","tags":["Projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Project duplicated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_duplicate_Response_201"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDuplicateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/import":{"post":{"operationId":"projects_import_tasks","summary":"Import tasks","description":"\n            Import data as labeling tasks in bulk using this API endpoint. You can use this API endpoint to import multiple tasks.\n            One POST request is limited at 250K tasks and 200 MB.\n\n            **Note:** Imported data is verified against a project *label_config* and must\n            include all variables that were used in the *label_config*. For example,\n            if the label configuration has a *$text* variable, then each item in a data object\n            must include a \"text\" field.\n            <br>\n\n            ## Async Import Behavior\n            <hr style=\"opacity:0.3\">\n\n            **For non-Community editions, this endpoint processes imports asynchronously.**\n            \n            - The POST request **can fail** for invalid parameters, malformed request body, or other request-level validation errors.\n            - However, **data validation errors** that occur during import processing are handled asynchronously and will not cause the POST request to fail.\n            - Upon successful request validation, a response is returned: `{\"import\": <import_id>}`\n            - Use the returned `import_id` to poll the GET `/api/projects/{project_id}/imports/{import_id}` endpoint to check the import status and see any data validation errors.\n            - Data-level errors and import failures will only be visible in the GET request response.\n\n            For Community edition, imports are processed synchronously and return task counts immediately.\n            <br>\n\n            ## POST requests\n            <hr style=\"opacity:0.3\">\n\n            There are three possible ways to import tasks with this endpoint:\n\n            ### 1. **POST with data**\n            Send JSON tasks as POST data. Only JSON is supported for POSTing files directly.\n            Update this example to specify your authorization token and Label Studio instance host, then run the following from\n            the command line.\n\n            ```bash\n            curl -H 'Content-Type: application/json' -H 'Authorization: Token abc123' \\\n            -X POST 'http://localhost:8000/api/projects/1/import' --data '[{\"text\": \"Some text 1\"}, {\"text\": \"Some text 2\"}]'\n            ```\n\n            ### 2. **POST with files**\n            Send tasks as files. You can attach multiple files with different names.\n\n            - **JSON**: text files in JavaScript object notation format\n            - **CSV**: text files with tables in Comma Separated Values format\n            - **TSV**: text files with tables in Tab Separated Value format\n            - **TXT**: simple text files are similar to CSV with one column and no header, supported for projects with one source only\n\n            Update this example to specify your authorization token, Label Studio instance host, and file name and path,\n            then run the following from the command line:\n\n            ```bash\n            curl -H 'Authorization: Token abc123' \\\n            -X POST 'http://localhost:8000/api/projects/1/import' -F 'file=@path/to/my_file.csv'\n            ```\n\n            ### 3. **POST with URL**\n            You can also provide a URL to a file with labeling tasks. Supported file formats are the same as in option 2.\n\n            ```bash\n            curl -H 'Content-Type: application/json' -H 'Authorization: Token abc123' \\\n            -X POST 'http://localhost:8000/api/projects/1/import' \\\n            --data '[{\"url\": \"http://example.com/test1.csv\"}, {\"url\": \"http://example.com/test2.csv\"}]'\n            ```\n\n            <br>\n        ","tags":["Projects"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"commit_to_project","in":"query","description":"Set to \"true\" to immediately commit tasks to the project.","required":false,"schema":{"type":"boolean","default":true}},{"name":"preannotated_from_fields","in":"query","description":"List of fields to preannotate from the task data. For example, if you provide a list of `{\"text\": \"text\", \"prediction\": \"label\"}` items in the request, the system will create a task with the `text` field and a prediction with the `label` field when `preannoted_from_fields=[\"prediction\"]`.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"return_task_ids","in":"query","description":"Set to \"true\" to return task IDs in the response.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"201":{"description":"Tasks successfully imported or import queued. **For non-Community editions**, the response will be `{\"import\": <import_id>}` which you can use to poll the import status. **For Community edition**, the response contains task counts and is processed synchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_import_tasks_Response_201"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"string"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImportApiRequest"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/import/predictions":{"post":{"operationId":"projects_import_predictions","summary":"Import predictions","description":"Import model predictions for tasks in the specified project.","tags":["Projects"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Predictions successfully imported","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_import_predictions_Response_201"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PredictionRequest"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/validate/":{"post":{"operationId":"projects_validate_label_config","summary":"Validate project label config","description":"Determine whether the label configuration for a specific project is valid.","tags":["Projects"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLabelConfig"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLabelConfigRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/roles/":{"get":{"operationId":"roles_list","summary":"✨ List project roles for current user","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        List project roles for requested IDs for the current user\n        ","tags":["roles"],"parameters":[{"name":"ids","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectRole"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"roles_add","summary":"✨ Create project role for user","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        Create project role for user allowing the user the same access level provided by organization role.\n        ","tags":["roles"],"responses":{"201":{"description":"Role created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRole"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRoleRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/roles/{id}/":{"delete":{"operationId":"roles_remove","summary":"✨ Remove project role for user","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        Remove project role for user allowing the user the same access level provided by organization role.\n        ","tags":["roles"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project role.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Role removed","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/roles":{"get":{"operationId":"roles_get","summary":"✨ List project roles","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n        List users and their project level roles for a given project.\n        If user is not listed here and is a member of the project then they would behave as assigned role in organization.\n        ","tags":["roles"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectRole"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/analytics/data-quality/agreement-analysis/confusion-matrix":{"get":{"operationId":"stats_data_quality_agreement_confusion_matrix","summary":"✨ Data quality: confusion matrix","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns label confusion matrix with precision, recall, and top confusion pairs. In `ground_truth` mode the matrix is directional: rows are GT labels (actual), columns are annotator labels (predicted). In `all` and `accepted` modes — where no canonical \"actual vs predicted\" axis exists — the matrix is symmetric. When a task has multiple GT annotations the most recently updated one is used. `top_confusion_pairs.rate` is the share of off-diagonal mass.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"from_name","in":"query","description":"From name","required":false,"schema":{"type":"string","default":""}},{"name":"mode","in":"query","description":"Mode","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdAnalyticsDataQualityAgreementAnalysisConfusionMatrixGetParametersMode","default":"all"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataQualityAgreementConfusionMatrix"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/analytics/data-quality/agreement-analysis/dimensions":{"get":{"operationId":"stats_data_quality_agreement_dimensions","summary":"✨ Data quality: agreement by dimension","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns per-dimension agreement scores for active dimensions across tasks with at least two annotations.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataQualityAgreementDimensions"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/analytics/data-quality/agreement-analysis/distribution":{"get":{"operationId":"stats_data_quality_agreement_distribution","summary":"✨ Data quality: agreement distribution","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns average agreement, a 10-bucket histogram of `Task.precomputed_agreement` (filled on-the-fly from V2 dimension matrices when null), `low_agreement_count`, and `total_tasks`. Agreement score aggregates only include tasks with at least two non-cancelled annotations. The low-agreement threshold is `LseProject.agreement_threshold` (the same project setting Data Manager filters and review-routing rules consume); changing that setting moves the count for this endpoint as well.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataQualityAgreementDistribution"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/model-stats/{model_version}/agreement":{"get":{"operationId":"stats_model_version_annotator_agreement","summary":"✨ Get model-version overall agreement vs annotators","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet agreement between a given model version and all annotators in the project for overlapping tasks.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"model_version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Model-version overall agreement vs annotators","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_model_version_annotator_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/model-stats/{model_version}/agreement-groundtruth":{"get":{"operationId":"stats_model_version_ground_truth_agreement","summary":"✨ Get model-version ground truth agreement","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet agreement between a given model version and ground truth annotations in the project for overlapping tasks.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"model_version","in":"path","required":true,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Calculate agreement per label","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Model-version ground truth agreement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_model_version_ground_truth_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/model-stats/{model_version}/prediction":{"get":{"operationId":"stats_model_version_prediction_agreement","summary":"✨ Get model-version prediction agreement","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet agreement between a given model version and all other model versions in the project for overlapping tasks.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"model_version","in":"path","required":true,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Calculate agreement per label","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Model-version prediction agreement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_model_version_prediction_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/IAA":{"get":{"operationId":"stats_iaa","summary":"✨ Get Inter-Annotator Agreement matrix","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet Inter-Annotator Agreement (IAA) matrix for a project, showing agreement between all annotators.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"expand","in":"query","description":"Comma-separated list of fields to expand","required":false,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Calculate IAA per label","required":false,"schema":{"type":"boolean","default":false}},{"name":"std","in":"query","description":"Include standard deviation in results","required":false,"schema":{"type":"boolean","default":false}},{"name":"task","in":"query","description":"Comma-separated list of task IDs to filter by","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Inter-Annotator Agreement matrix","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_iaa_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/agreement-groundtruth":{"get":{"operationId":"stats_users_ground_truth_agreement","summary":"✨ Get ground truth agreement for multiple users","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet ground truth agreement statistics for multiple users within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma separated list of user IDs to get ground truth agreement for","required":true,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Calculate agreement per label. Not supported for projects using dimension-based agreement (Agreement V2), which returns HTTP 400.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Ground truth agreement statistics for multiple users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_users_ground_truth_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/agreement_annotator/{user_id}":{"get":{"operationId":"stats_agreement_annotator","summary":"✨ Get individual annotator agreement stats","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet agreement statistics for a specific annotator within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Individual annotator agreement statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_agreement_annotator_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/agreement_annotators":{"get":{"operationId":"stats_agreement_annotators","summary":"✨ Get agreement statistics for multiple annotators","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet agreement statistics for multiple annotators within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma separated list of annotator user IDs to get agreement scores for","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Multiple annotator agreement statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_agreement_annotators_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/data_filter":{"get":{"operationId":"stats_data_filters","summary":"✨ Get user data filter statistics","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet statistics about user data filters and their usage within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"User data filter statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_data_filters_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/finished":{"get":{"operationId":"stats_finished_tasks","summary":"✨ Get finished tasks statistics","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet statistics about finished tasks for a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"query","description":"User ID to filter statistics by (optional)","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Finished tasks statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_finished_tasks_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/label-distribution/counts":{"get":{"operationId":"stats_label_distribution_counts","summary":"✨ Get label distribution counts","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns counts and percentages for requested label choices, from both annotations and predictions. Supports either pagination (`limit`, `offset`) or targeted fetches via explicit `choice_keys`. Omitting `filters` preserves the unfiltered cached-count behavior. When a non-empty `filters` plan is provided, filtered aggregation is aggregation-complete and non-paginated: the response includes all structure choice keys and `next_offset` is always null (limit/offset are ignored for filtered requests).","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"choice_keys","in":"query","description":"Explicit choice keys to fetch, joined by \"___PIPE___\" (for example: \"label___SEP___pos___PIPE___quality___SEP___4\"). When provided, pagination params are ignored.","required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Optional JSON-encoded string containing a curated filter plan (not an exploded object). Pass one JSON string query value (for example `json.dumps(Filters.create(...))` from `label_studio_sdk.data_manager`); do not pass a nested object or Fern will explode `filters[...]` keys. The plan uses normalized AND semantics (`conjunction` must be `\"and\"`), contains at most 20 items, does not permit nested `child_filters`, and treats an empty `items` list as unfiltered. Supported filter fields are `filter:tasks:id`, `filter:tasks:inner_id`, `filter:tasks:data.*`, `filter:tasks:annotators`, `filter:tasks:ground_truth`, `filter:tasks:reviews_accepted`, `filter:tasks:reviews_rejected`, `filter:tasks:reviewed`, `filter:tasks:predictions_model_versions`, `filter:tasks:annotations_updated_at`, and `filter:tasks:predictions_updated_at`. Each item requires `filter`, `operator`, `type`, and `value`. Annotator filters require one or more positive integer IDs. Model-version filters require 1-100 non-empty strings. Source updated-at filters require an inclusive, ordered, timezone-aware range object with string `min` and `max` timestamps.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Maximum number of choice keys to return for pagination. Ignored when `choice_keys` is provided. Also ignored for filtered requests (non-empty `filters`), which always return the full aggregation-complete choice set.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"offset","in":"query","description":"Zero-based offset into the structure `choice_keys` list. Used only when `choice_keys` is not provided. Ignored for filtered requests (non-empty `filters`).","required":false,"schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Label distribution counts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelDistributionCountsResponse"}}}},"400":{"description":"Invalid JSON or filter plan. Plans use AND semantics, reject OR/nested filters, and require field-compatible values including timezone-aware source timestamp ranges.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelDistributionValidationError"}}}},"409":{"description":"Filtered Label Distribution is temporarily unavailable because dimension source readiness is incomplete. Retry later or omit `filters` to request unfiltered cached counts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilteredLabelDistributionUnavailable"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/label-distribution/structure":{"get":{"operationId":"stats_label_distribution_structure","summary":"✨ Get label distribution structure","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns dimensions and flattened `choice_keys` for a project. Use this response to drive paginated or targeted calls to the label distribution counts endpoint.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Label distribution structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelDistributionStructureResponse"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/lead_time":{"get":{"operationId":"stats_lead_time","summary":"✨ Get lead time statistics","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet lead time statistics across the project, including average annotation time.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Lead time statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_lead_time_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/member_performance_participants/":{"get":{"operationId":"stats_member_performance_participants","summary":"✨ Get member performance participants","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nHuman participants for the Member Performance dropdown.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"table","in":"query","description":"Which participant scope to load: \"annotations\" or \"reviews\".","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdStatsMemberPerformanceParticipantsGetParametersTable"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSimple"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/member_performance_rows/":{"get":{"operationId":"stats_member_performance_rows","summary":"✨ Get paginated member performance rows","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPaginated, sortable member performance rows for annotation/review tables.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma-separated participant IDs: numeric user IDs and/or synthetic members as <code>model:&lt;version&gt;</code> (annotations table only). When omitted, members and distinct model versions are derived from the project.","required":false,"schema":{"type":"string"}},{"name":"ordering","in":"query","description":"Sort field; prefix with \"-\" for descending (e.g. \"-finished\").","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"1-based page index.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Page size (1–100).","required":false,"schema":{"type":"integer"}},{"name":"table","in":"query","description":"Which table to load: \"annotations\" or \"reviews\".","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdStatsMemberPerformanceRowsGetParametersTable"}}],"responses":{"200":{"description":"Member performance rows for one page (footer totals: member_performance_summary).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_member_performance_rows_Response_200"}}}},"404":{"description":"Project not found or member performance analytics are unavailable.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/member_performance_summary/":{"get":{"operationId":"stats_member_performance_summary","summary":"✨ Get member performance table summary aggregates","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nFooter / Total aggregates for annotation or review member tables. Use with paginated <code>member_performance_rows</code>.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma-separated participant IDs: numeric user IDs and/or <code>model:&lt;version&gt;</code> for annotations. When omitted, derived from the project.","required":false,"schema":{"type":"string"}},{"name":"table","in":"query","description":"Which table: \"annotations\" or \"reviews\".","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdStatsMemberPerformanceSummaryGetParametersTable"}}],"responses":{"200":{"description":"Summary aggregates (avg_*, sum_*, count_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_member_performance_summary_Response_200"}}}},"404":{"description":"Project not found or member performance analytics are unavailable.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/stats/total_agreement":{"get":{"operationId":"stats_total_agreement","summary":"✨ Get total agreement for project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nOverall or per-label total agreement across the project.\n\nNOTE: when this endpoint returns 204 No Content, SDK clients return None.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"per_label","in":"query","description":"Return agreement per label","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Total agreement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_total_agreement_Response_200"}}}},"400":{"description":"Agreement V1 API is not supported for Agreement V2 projects","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/update-stats":{"get":{"operationId":"stats_update_stats","summary":"✨ Start stats recalculation","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nStart stats recalculation for given project","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stat_type","in":"query","description":"Stat type to recalculate. Possible values: label, stats","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response returns job id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_update_stats_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/user-stats/prediction":{"get":{"operationId":"stats_users_prediction_agreement","summary":"✨ Get prediction agreement statistics for multiple annotators","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet prediction agreement statistics for multiple annotators within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma separated list of annotator user IDs to get agreement scores for","required":true,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Per label","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Prediction agreement statistics for multiple annotators","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_users_prediction_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/user-stats/review_score":{"get":{"operationId":"stats_users_review_score","summary":"✨ Get review scores for multiple annotators","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet review score and performance score statistics for multiple annotators within a project. Only allowed for accounts with reviewing features enabled.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma separated list of annotator user IDs to get review scores for","required":true,"schema":{"type":"string"}},{"name":"per_label","in":"query","description":"Per label","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Review scores and performance scores for multiple annotators","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_users_review_score_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/user-stats/{user_pk}/prediction":{"get":{"operationId":"stats_user_prediction_agreement","summary":"✨ Get individual user prediction agreement","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet prediction agreement statistics for a specific user within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"per_label","in":"query","description":"Calculate agreement per label","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Individual user prediction agreement statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_user_prediction_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/user-stats/{user_pk}/review_score":{"get":{"operationId":"stats_user_review_score","summary":"✨ Get individual user review scores","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet review score statistics for a specific user within a project. Only allowed for accounts with reviewing features enabled.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"per_label","in":"query","description":"Calculate agreement per label","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Individual user review score statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_user_review_score_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/users/{user_pk}/stats/agreement-groundtruth":{"get":{"operationId":"stats_user_ground_truth_agreement","summary":"✨ Get individual user ground truth agreement","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet ground truth agreement statistics for a specific user within a project.","tags":["Stats"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"per_label","in":"query","description":"Calculate agreement per label. Not supported for projects using dimension-based agreement (Agreement V2), which returns HTTP 400.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Individual user ground truth agreement statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_stats_user_ground_truth_agreement_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/metricparam/":{"get":{"operationId":"metrics_get","summary":"✨ Get project metrics configuration","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the current metrics configuration for a project.","tags":["metrics"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Current metrics configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricParam"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"metrics_update","summary":"✨ Update project metrics configuration","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate metrics strategy and parameters for a project.","tags":["metrics"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated metrics configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricParam"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricParamUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/aws-custom-function":{"get":{"operationId":"custom_get_lambda","summary":"✨ Get AWS custom metric code","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the AWS Lambda code for the custom metric configured for this project.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Lambda code and deployment status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_get_lambda_Response_200"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"custom_update_lambda","summary":"✨ Update AWS custom metric Lambda","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate or update the AWS Lambda function used for custom metrics in this project.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_update_lambda_Response_200"}}}},"500":{"description":"Error updating function","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AWSCustomFunctionUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/aws-custom-function-logs":{"get":{"operationId":"custom_logs","summary":"✨ Get AWS lambda logs for project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet AWS lambda logs for project, including filtering by start and end dates","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"end_date","in":"query","description":"End date for AWS logs filtering in format %Y-%m-%d","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Limit the number of logs to return","required":false,"schema":{"type":"integer","default":100}},{"name":"start_date","in":"query","description":"Start date for AWS logs filtering in format %Y-%m-%d","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response returns list of AWS lambda logs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_logs_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/check-function":{"post":{"operationId":"custom_check_function","summary":"✨ Check custom matching function code","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate custom matching function code for the project.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Code is valid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_check_function_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckMatchingFunctionRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/custom-function":{"get":{"operationId":"custom_get_function","summary":"✨ Get custom metric code","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the custom metric function code for this project. The server routes to the active cloud provider (AWS Lambda or GCP Cloud Functions) based on the CUSTOM_METRIC_PROVIDER setting.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Function code and deployment status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_get_function_Response_200"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"custom_deploy_function","summary":"✨ Deploy custom metric function","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate or update the custom metric function for this project. The server routes to the active cloud provider (AWS Lambda or GCP Cloud Functions) based on the CUSTOM_METRIC_PROVIDER setting.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_deploy_function_Response_200"}}}},"500":{"description":"Error updating function","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFunctionCodeRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/custom-function-logs":{"get":{"operationId":"custom_get_function_logs","summary":"✨ Get custom metric function logs","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet execution logs for the custom metric function. The server routes to the active cloud provider based on the CUSTOM_METRIC_PROVIDER setting.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"end_date","in":"query","description":"End date for log filtering in format %Y-%m-%d","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Limit the number of logs to return","required":false,"schema":{"type":"integer","default":100}},{"name":"start_date","in":"query","description":"Start date for log filtering in format %Y-%m-%d","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of function execution logs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_get_function_logs_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/gcp-custom-function":{"get":{"operationId":"custom_get_gcp_function","summary":"✨ Get GCP custom metric code","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet the GCP Cloud Function code for the custom metric configured for this project.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Cloud Function code and deployment status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_get_gcp_function_Response_200"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"custom_update_gcp_function","summary":"✨ Update GCP custom metric Cloud Function","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate or update the GCP Cloud Function used for custom metrics in this project.","tags":["custom"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_metrics_custom_update_gcp_function_Response_200"}}}},"500":{"description":"Error updating function","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCPCustomFunctionUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/export":{"get":{"operationId":"exports_download_sync","summary":"[Deprecated] Easy export of tasks and annotations","description":"\n        This endpoint is deprecated in Enterprise. Use the async export API instead:\n        POST /api/projects/{id}/exports/ (see [Create new export](api:POST/api/projects/{id}/exports/)).\n\n        In Label Studio Enterprise, this endpoint will always return a 404 Not Found response with instructions to use the async export API.\n\n        <i>Note: if you have a large project it's recommended to use\n        export snapshots, this easy export endpoint might have timeouts.</i><br/><br>\n        Export annotated tasks as a file in a specific format.\n        For example, to export JSON annotations for a project to a file called `annotations.json`,\n        run the following from the command line:\n        ```bash\n        curl -X GET http://localhost:8000/api/projects/{id}/export?exportType=JSON -H 'Authorization: Token abc123' --output 'annotations.json'\n        ```\n        To export all tasks, including skipped tasks and others without annotations, run the following from the command line:\n        ```bash\n        curl -X GET http://localhost:8000/api/projects/{id}/export?exportType=JSON&download_all_tasks=true -H 'Authorization: Token abc123' --output 'annotations.json'\n        ```\n        To export specific tasks with IDs of 123 and 345, run the following from the command line:\n        ```bash\n        curl -X GET 'http://localhost:8000/api/projects/{id}/export?ids[]=123&ids[]=345' -H 'Authorization: Token abc123' --output 'annotations.json'\n        ```\n        ","tags":["exports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"download_all_tasks","in":"query","description":"If true, download all tasks regardless of status. If false, download only annotated tasks.","required":false,"schema":{"type":"boolean"}},{"name":"download_resources","in":"query","description":"If true, download all resource files such as images, audio, and others relevant to the tasks.","required":false,"schema":{"type":"boolean"}},{"name":"export_type","in":"query","description":"Selected export format (JSON by default)","required":false,"schema":{"type":"string"}},{"name":"ids","in":"query","description":"Specify a list of task IDs to retrieve only the details for those tasks.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Exported data","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}}},"deprecated":true,"security":[{"Token":[]}]}},"/api/projects/{id}/export/formats":{"get":{"operationId":"exports_list_formats","summary":"[Deprecated] Get export formats","description":"\n        This endpoint is deprecated in Enterprise. Use the async export API instead:\n        POST /api/projects/{{id}}/exports/ (see [Create new export](api:POST/api/projects/{id}/exports/)).\n\n        In Label Studio Enterprise, this endpoint will always return a 404 Not Found response with instructions to use the async export API.\n\n        Retrieve the available export formats for the current project by ID.","tags":["exports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Export formats","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"deprecated":true,"security":[{"Token":[]}]}},"/api/projects/{id}/exports/":{"get":{"operationId":"exports_list","summary":"List all export snapshots","description":"Returns a list of exported files for a specific project by ID.","tags":["exports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Export"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"exports_create","summary":"Create new export snapshot","description":"Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions.","tags":["exports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseExportCreate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseExportCreateRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/exports/{export_pk}":{"get":{"operationId":"exports_get","summary":"Get export snapshot by ID","description":"Retrieve information about an export file by export ID for a specific project.","tags":["exports"],"parameters":[{"name":"export_pk","in":"path","description":"Primary key identifying the export file.","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"exports_delete","summary":"Delete export snapshot","description":"Delete an export file by specified export ID.","tags":["exports"],"parameters":[{"name":"export_pk","in":"path","description":"Primary key identifying the export file.","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/exports/{export_pk}/convert":{"post":{"operationId":"exports_convert","summary":"Export conversion","description":"Convert export snapshot to selected format","tags":["exports"],"parameters":[{"name":"export_pk","in":"path","description":"Primary key identifying the export file.","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_exports_convert_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportConvertRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/exports/{export_pk}/download":{"get":{"operationId":"exports_download","summary":"Download export snapshot as file in specified format","description":"\n        Download an export file in the specified format for a specific project. Specify the project ID with the `id`\n        parameter in the path and the ID of the export file you want to download using the `export_pk` parameter\n        in the path.\n\n        Get the `export_pk` from the response of the request to [Create new export](api:POST/api/projects/{id}/exports/)\n        or after [listing export files](api:GET/api/projects/{id}/exports/).\n        ","tags":["exports"],"parameters":[{"name":"export_pk","in":"path","description":"Primary key identifying the export file.","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"exportType","in":"query","description":"Selected export format","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Export file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/imports/":{"get":{"operationId":"imports_list","summary":"List project imports","description":"List asynchronous import jobs for a project (paginated). Optionally filter by `status`. Use `page` / `page_size` query params.","tags":["imports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","description":"Page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results per page (max 100).","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","description":"Filter by import status (created, in_progress, failed, completed).","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProjectImportListList"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/imports/{import_pk}/":{"get":{"operationId":"imports_get","summary":"Get project import status","description":"\n            Poll the status of an asynchronous project import operation.\n\n            *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.\n            \n            **Usage:**\n            1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{\"import\": <import_id>}`\n            2. Use that `import_id` with this GET endpoint to check the import status\n            3. Poll this endpoint to see if the import has completed, is still processing, or has failed\n            4. **Import errors and failures will only be visible in this GET response**, not in the original POST request\n            \n            This endpoint returns detailed information about the import including task counts, status, and any error messages.\n            While an import is running, `task_count` / annotation / prediction counts update as batches commit.\n            Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.\n        ","tags":["imports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"import_pk","in":"path","description":"A unique integer value identifying this project import.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectImport"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/members/":{"post":{"operationId":"members_add","summary":"✨ Add project member","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAdd a member to a specific project.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMember"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberIdentityVerificationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"members_remove","summary":"✨ Remove member from project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRemove a member from a specific project. Pass the member ID via the `user` query parameter. For backward compatibility, a JSON body with `user` is still accepted.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user","in":"query","description":"User ID to remove from the project. Optional for backward compatibility with DELETE body.","required":false,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Member removed","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/members/export/":{"get":{"operationId":"members_export_csv","summary":"✨ Export project members as CSV","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDownload every member of a project matching the supplied member-list filters as a CSV file. This endpoint is restricted to users who can manage project settings.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Filter id by in list","required":false,"schema":{"type":"string"}},{"name":"implicit","in":"query","description":"Set to false to export direct project members only.","required":false,"schema":{"type":"boolean"}},{"name":"last_activity__gte","in":"query","description":"Filter last_activity by greater than or equal to","required":false,"schema":{"type":"string"}},{"name":"last_activity__lte","in":"query","description":"Filter last_activity by less than or equal to","required":false,"schema":{"type":"string"}},{"name":"ordering","in":"query","description":"Member ordering; prefix a field with \"-\" for descending order.","required":false,"schema":{"type":"string"}},{"name":"role","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search members by name, email, or username.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"tags_operator","in":"query","description":"How the `tags` ids combine: `any` (at least one tag), `all` (every tag, the default), `none` (no selected tag). Ignored without `tags`.","required":false,"schema":{"type":"string"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"with_deleted","in":"query","description":"Include deleted or disabled members.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/members/bulk/":{"post":{"operationId":"bulk_post_2","summary":"✨ Bulk assign project members","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAssign project members in bulk.","tags":["bulk"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"filters","in":"query","description":"Versioned JSON member-filter payload, the same one the organization members list accepts. Only when all=True. When advanced member filtering is enabled, do not also supply role, user_type, tags, or last-activity legacy filter parameters.","required":false,"schema":{"type":"string"}},{"name":"last_activity__gte","in":"query","description":"Filter by last activity (ISO 8601 formatted date). Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"last_activity__lte","in":"query","description":"Filter by last activity upper bound (ISO 8601 formatted date). Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"role","in":"query","description":"Filter by organization role. Only when all=True. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search members by first name, last name, email, or an enabled optional member-list column. Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"tags_operator","in":"query","description":"How the `tags` ids combine: `any` (at least one tag), `all` (every tag, the default), `none` (no selected tag). Ignored without `tags`.","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__gte","in":"query","description":"Filter user__last_activity by greater than or equal to","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__lte","in":"query","description":"Filter user__last_activity by less than or equal to","required":false,"schema":{"type":"string"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberBulkAssignResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberBulkAssignRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"bulk_delete_2","summary":"✨ Bulk unassign project members","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUnassign project members in bulk. Pass selector fields via query parameters (`all`, `included`, `excluded`) and optional member filters (`search`, `role`, `tags`, `last_activity__gte`, `last_activity__lte`). For backward compatibility, a JSON body with bulk fields is still accepted.","tags":["bulk"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"all","in":"query","description":"Apply unassignment to all currently matched project members.","required":false,"schema":{"type":"boolean"}},{"name":"excluded","in":"query","description":"Comma-separated list of user IDs to keep assigned when `all=true`.","required":false,"schema":{"type":"string"}},{"name":"ids","in":"query","description":"Filter id by in list","required":false,"schema":{"type":"string"}},{"name":"included","in":"query","description":"Comma-separated list of user IDs to unassign when `all=false`.","required":false,"schema":{"type":"string"}},{"name":"last_activity__gte","in":"query","description":"Filter by last activity (ISO 8601 formatted date). Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"last_activity__lte","in":"query","description":"Filter by last activity upper bound (ISO 8601 formatted date). Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"role","in":"query","description":"Filter by role, project roles take precedence over organization roles. Only when all=True. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search term for filtering members by name, email, or username. Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"tags_operator","in":"query","description":"How the `tags` ids combine: `any` (at least one tag), `all` (every tag, the default), `none` (no selected tag). Ignored without `tags`.","required":false,"schema":{"type":"string"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_members_bulk_delete_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/members/paginated/":{"get":{"operationId":"paginated_list","summary":"✨ Get project members paginated","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the members for a specific project.\n\n**Response Fields:**\n- `implicit_member` (boolean): Indicates if the user is an implicit member.\n  - `true`: User has access via workspace membership or organization role (Administrator/Owner)\n  - `false`: User is an explicit project member (added directly to the project)\n- `project_role` (string|null): Project-specific role override if assigned, null otherwise\n\n**Note:** Users can have both explicit membership AND implicit access. The `implicit_member` field is `false` if the user has an explicit ProjectMember entry, regardless of whether they also have implicit access via workspace or org role.","tags":["paginated"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma-separated list of user IDs to filter by","required":false,"schema":{"type":"string"}},{"name":"implicit","in":"query","description":"Include/Exclude implicit project members in the results. If not provided, explicit + implicit members are returned.","required":false,"schema":{"type":"boolean"}},{"name":"include_skills","in":"query","description":"Add `skills` to each row: the member's skills with their status, those the `filters` payload matched first. Owners, Administrators and Managers only; ignored for other roles.","required":false,"schema":{"type":"boolean"}},{"name":"last_activity__gte","in":"query","description":"Filter by last activity time (ISO 8601 datetime). Returns users with last activity greater than or equal to this time.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"last_activity__lte","in":"query","description":"Filter by last activity time (ISO 8601 datetime). Returns users with last activity less than or equal to this time.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"no_annotators","in":"query","description":"Exclude annotators from the results","required":false,"schema":{"type":"boolean"}},{"name":"no_view_only","in":"query","description":"Exclude view-only users from the results","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Ordering field. Prefix with \"-\" for descending order. Allowed fields: id, email, first_name, last_name, username, last_activity, role, date_joined\n\n**Note on role ordering:**\nWhen ordering by \"role\", the system uses the effective role:\n- Project-specific role if assigned (takes precedence)\n- Organization role if no project role is assigned\n\nRoles are sorted alphabetically by their code: AD (Administrator), AN (Annotator), DI (Disabled), MA (Manager), NO (Not Activated), OW (Owner), RE (Reviewer)","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"role","in":"query","description":"Filter members by role. Accepts single role or comma-separated list of roles.\n\n**Format:**\n- Single role: `?role=RE`\n- Multiple roles: `?role=AN,RE` (users with ANY of these roles)\n\n**Role Codes:**\n- `OW` = Owner\n- `AD` = Administrator\n- `MA` = Manager\n- `RE` = Reviewer\n- `AN` = Annotator\n\n**Matching Logic:**\nReturns users who have any of the specified roles either:\n1. As their **project-specific role** (from project role assignments), OR\n2. As their **organization role** (if they have no project-specific role override)\n\n**Note:** Project-specific roles take precedence. If a user has a project role assigned, their organization role is ignored for filtering purposes.","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search term for filtering members by name, email, or username","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Filter members by tags. Use a comma-separated list of tag IDs.","required":false,"schema":{"type":"string"}},{"name":"tags_operator","in":"query","description":"How the `tags` ids combine: `any` (at least one tag), `all` (every tag, the default), `none` (no selected tag).","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdMembersPaginatedGetParametersTagsOperator"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"with_deleted","in":"query","description":"Include deleted members in the results","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPaginatedProjectMemberList"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/reimports/":{"get":{"operationId":"reimports_list","summary":"List project reimports","description":"List asynchronous reimport jobs for a project (paginated). Optionally filter by `status`. Use `page` / `page_size` query params.","tags":["reimports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","description":"Page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results per page (max 100).","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","description":"Filter by reimport status (created, in_progress, failed, completed).","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProjectReimportListList"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/reimports/{reimport_pk}/":{"get":{"operationId":"reimports_get","summary":"Get project reimport status","description":"\n            Poll the status of an asynchronous project reimport operation.\n            \n            **Usage:**\n            1. When you POST to reimport tasks, you'll receive a response with a reimport ID\n            2. Use that `reimport_id` with this GET endpoint to check the reimport status\n            3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed\n            4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request\n            \n            This endpoint returns detailed information about the reimport including task counts, status, and any error messages.\n            While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.\n            Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.\n        ","tags":["reimports"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"reimport_pk","in":"path","description":"A unique integer value identifying this project reimport.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectReimport"}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/review-routing-rules/":{"get":{"operationId":"reviewRoutingRules_list","summary":"✨ List review routing rules","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList ordered review routing rules for a project.","tags":["reviewRoutingRules"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReviewRoutingRule"}}}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/review-routing-rules/bulk/":{"post":{"operationId":"reviewRoutingRules_bulk_replace","summary":"✨ Bulk replace review routing rules","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAtomically replace the ordered review routing rules for a project. Rules with an `id` update the existing project rule. Rules without an `id` are created. Existing project rules omitted from the request are deleted, and request order becomes rule order.","tags":["reviewRoutingRules"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReviewRoutingRule"}}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRoutingRulesReplaceRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/tasks/assignees":{"post":{"operationId":"assignments_bulk_assign","summary":"✨ Bulk assign users to tasks","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAssign multiple users to a collection of tasks within a specific project.","tags":["assignments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/projects_assignments_bulk_assign_Response_201"}}}},"400":{"description":"Can't assign tasks","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTaskAssigneesRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/tasks/{task_pk}/assignees":{"get":{"operationId":"assignments_list","summary":"✨ Get assigned tasks and assignees","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a list of tasks and assignees for those tasks for a specific project.","tags":["assignments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"task_pk","in":"path","description":"A unique integer value identifying this task.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"List of assignments for the task","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskAssignment"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"assignments_assign","summary":"✨ Create task assignee","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAssign a user to a task in a specific project.","tags":["assignments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"task_pk","in":"path","description":"A unique integer value identifying this task.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAssignment"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAssigneesMutationRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"assignments_delete","summary":"✨ Delete task assignments","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRemove assignees for a task within a specific project.","tags":["assignments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"task_pk","in":"path","description":"A unique integer value identifying this task.","required":true,"schema":{"type":"integer"}},{"name":"type","in":"query","description":"Assignment type to delete (optional). If omitted, deletes all assignments for the task.","required":false,"schema":{"$ref":"#/components/schemas/ApiProjectsIdTasksTaskPkAssigneesDeleteParametersType"}},{"name":"users","in":"query","description":"Comma separated list of user IDs to delete, as a string. If omitted, deletes all assignees for the given type.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"assignments_update","summary":"✨ Update task assignee","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate the assignee for a task in a specific project.","tags":["assignments"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}},{"name":"task_pk","in":"path","description":"A unique integer value identifying this task.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAssignment"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedTaskAssigneesMutationRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/members/{user_pk}/pauses/":{"get":{"operationId":"pauses_list","summary":"✨ List pauses","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a list of all pauses.","tags":["Pauses"],"parameters":[{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"include_deleted","in":"query","description":"Include deleted pauses.","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pause"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"pauses_create","summary":"✨ Create pause","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new pause entry.","tags":["Pauses"],"parameters":[{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pause"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/members/{user_pk}/pauses/{id}/":{"get":{"operationId":"pauses_get","summary":"✨ Get pause","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific pause by ID.","tags":["Pauses"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this pause.","required":true,"schema":{"type":"integer"}},{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pause"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"pauses_delete","summary":"✨ Delete pause","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific pause by ID.","tags":["Pauses"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this pause.","required":true,"schema":{"type":"integer"}},{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"pauses_update","summary":"✨ Update pause","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nPartially update a pause entry by ID.","tags":["Pauses"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this pause.","required":true,"schema":{"type":"integer"}},{"name":"project_pk","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_pk","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pause"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedPauseRequest"}}}},"security":[{"Token":[]}]}},"/api/ml/":{"get":{"operationId":"ml_list","summary":"List ML backends","description":"\n    List all configured ML backends for a specific project by ID.\n    Use the following cURL command:\n    ```bash\n    curl http://localhost:8000/api/ml?project={project_id} -H 'Authorization: Token abc123'\n    ","tags":["ml"],"parameters":[{"name":"is_interactive","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"project","in":"query","description":"Project ID","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MLBackend"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"ml_create","summary":"Add ML Backend","description":"\n    Add an ML backend to a project using the Label Studio UI or by sending a POST request using the following cURL \n    command:\n    ```bash\n    curl -X POST -H 'Content-type: application/json' http://localhost:8000/api/ml -H 'Authorization: Token abc123'\\\n    --data '{\"url\": \"http://localhost:9090\", \"project\": {project_id}}' \n    ","tags":["ml"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLBackend"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLBackendRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/ml/{id}":{"get":{"operationId":"ml_get","summary":"Get ML Backend","description":"\n    Get details about a specific ML backend connection by ID. For example, make a GET request using the\n    following cURL command:\n    ```bash\n    curl http://localhost:8000/api/ml/{ml_backend_ID} -H 'Authorization: Token abc123'\n    ","tags":["ml"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLBackend"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"ml_delete","summary":"Remove ML Backend","description":"\n    Remove an existing ML backend connection by ID. For example, use the\n    following cURL command:\n    ```bash\n    curl -X DELETE http://localhost:8000/api/ml/{ml_backend_ID} -H 'Authorization: Token abc123'\n    ","tags":["ml"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"ml_update","summary":"Update ML Backend","description":"\n    Update ML backend parameters using the Label Studio UI or by sending a PATCH request using the following cURL command:\n    ```bash\n    curl -X PATCH -H 'Content-type: application/json' http://localhost:8000/api/ml/{ml_backend_ID} -H 'Authorization: Token abc123'\\\n    --data '{\"url\": \"http://localhost:9091\"}' \n    ","tags":["ml"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLBackend"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedMLBackendRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/ml/{id}/interactive-annotating":{"post":{"operationId":"ml_predict_interactive","summary":"Request Interactive Annotation","description":"\n        Send a request to the machine learning backend set up to be used for interactive preannotations to retrieve a\n        predicted region based on annotator input. \n        See [set up machine learning](https://labelstud.io/guide/ml.html#Get-interactive-preannotations) for more.\n        ","tags":["ml"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this ML backend.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Interactive annotation has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ml_predict_interactive_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLInteractiveAnnotatingRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/ml/{id}/predict":{"post":{"operationId":"ml_predict_all_tasks","summary":"✨ Create predictions for all tasks","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\n\n\nCreate predictions for all tasks using a specific ML backend so that you can set up an active learning strategy based on the confidence or uncertainty scores associated with the predictions. Creating predictions requires a Label Studio ML backend set up and configured for your project. \n\nSee [Set up machine learning](https://labelstud.io/guide/ml.html) for more details about a Label Studio ML backend. \n\nReference the ML backend ID in the path of this API call. Get the ML backend ID by [listing the ML backends for a project](api:GET/api/ml/).","tags":["ml"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this ML backend.","required":true,"schema":{"type":"integer"}},{"name":"batch_size","in":"query","description":"Computed number of tasks without predictions that the ML backend needs to predict.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Predictions have successfully started.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ml_predict_all_tasks_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/ml/{id}/train":{"post":{"operationId":"ml_train","summary":"Train","description":"\n        After you add an ML backend, call this API with the ML backend ID to start training with \n        already-labeled tasks. \n        \n        Get the ML backend ID by [listing the ML backends for a project](api:GET/api/ml/).\n        ","tags":["ml"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this ML backend.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Training has successfully started.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ml_train_Response_200"}}}},"500":{"description":"Training error","content":{"application/json":{"schema":{"type":"string"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLBackendTrainRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/ml/{id}/versions":{"get":{"operationId":"ml_list_model_versions","summary":"Get model versions","description":"Get available versions of the model.","tags":["ml"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"List of available versions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ml_list_model_versions_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/model-provider-connections/":{"get":{"operationId":"modelProviders_list","summary":"✨ List model provider connections","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all model provider connections.","tags":["modelProviders"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ModelProviderConnection"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"modelProviders_create","summary":"✨ Create model provider connection","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new model provider connection.","tags":["modelProviders"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelProviderConnection"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelProviderConnectionRequest"}}}},"security":[{"Token":[]}]}},"/api/model-provider-connections/provider-choices":{"get":{"operationId":"modelProviders_list_model_provider_choices","summary":"✨ List model provider choices","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all possible model provider choices","tags":["modelProviders"],"responses":{"200":{"description":"List of model provider choices","content":{"application/json":{"schema":{"$ref":"#/components/schemas/model_providers_list_model_provider_choices_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/model-provider-connections/{id}/":{"get":{"operationId":"modelProviders_get","summary":"✨ Get model provider connection","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a specific model provider connection.","tags":["modelProviders"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model provider connection.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelProviderConnection"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"modelProviders_delete","summary":"✨ Delete model provider connection","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a model provider connection by ID","tags":["modelProviders"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model provider connection.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"modelProviders_update","summary":"✨ Update model provider connection","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific model provider connection by ID.","tags":["modelProviders"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this model provider connection.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelProviderConnection"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedModelProviderConnectionRequest"}}}},"security":[{"Token":[]}]}},"/api/predictions/":{"get":{"operationId":"predictions_list","summary":"List predictions","description":"List all predictions and their IDs.","tags":["Predictions"],"parameters":[{"name":"project","in":"query","description":"Filter predictions by project ID","required":false,"schema":{"type":"integer"}},{"name":"task","in":"query","description":"Filter predictions by task ID","required":false,"schema":{"type":"integer"}},{"name":"task__project","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Predictions list","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Prediction"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"predictions_create","summary":"Create prediction","description":"Create a prediction for a specific task.","tags":["Predictions"],"responses":{"201":{"description":"Created prediction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Prediction"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionRequest"}}}},"security":[{"Token":[]}]}},"/api/predictions/{id}/":{"get":{"operationId":"predictions_get","summary":"Get prediction details","description":"Get details about a specific prediction by its ID.","tags":["Predictions"],"parameters":[{"name":"id","in":"path","description":"Prediction ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Prediction details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Prediction"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"predictions_delete","summary":"Delete prediction","description":"Delete a prediction by prediction ID.","tags":["Predictions"],"parameters":[{"name":"id","in":"path","description":"Prediction ID","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"predictions_update","summary":"Update prediction","description":"Update prediction data by prediction ID.","tags":["Predictions"],"parameters":[{"name":"id","in":"path","description":"Prediction ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Updated prediction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Prediction"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedPredictionRequest"}}}},"security":[{"Token":[]}]}},"/api/project-templates/":{"get":{"operationId":"projectTemplates_list","summary":"✨ Get project templates","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all project templates for an organization.","tags":["projectTemplates"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectTemplate"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"projectTemplates_create","summary":"✨ Create project template","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a project template for an organization.","tags":["projectTemplates"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTemplate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTemplateRequest"}}}},"security":[{"Token":[]}]}},"/api/project-templates/{id}":{"get":{"operationId":"projectTemplates_get","summary":"✨ Get a project template","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific project template by ID for an organization.","tags":["projectTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTemplate"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"projectTemplates_delete","summary":"✨ Delete a project template","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific project template by ID for an organization.","tags":["projectTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"projectTemplates_update","summary":"✨ Update a project template","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate the details of a specific project template by ID for an organization.","tags":["projectTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTemplate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedProjectTemplateRequest"}}}},"security":[{"Token":[]}]}},"/api/project-templates/{id}/create-project":{"post":{"operationId":"projectTemplates_create_project_from_template","summary":"✨ Create project from template","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a project from a specific project template by ID for an organization.","tags":["projectTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Project created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseProject"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectFromTemplateRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{id}/tasks/":{"delete":{"operationId":"tasks_delete_all_tasks","summary":"Delete all tasks","description":"Delete all tasks from a specific project.","tags":["tasks"],"parameters":[{"name":"id","in":"path","description":"A unique integer value identifying this project.","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/tasks/":{"get":{"operationId":"tasks_list","summary":"List tasks","description":"Retrieve a paginated list of tasks. The response format varies based on the user's role in the organization:\n- **Admin/Owner**: Full task details with all annotations, reviews, and metadata\n- **Reviewer**: Task details optimized for review workflow\n- **Annotator**: Task details filtered to show only user's own annotations and assignments","tags":["tasks"],"parameters":[{"name":"fields","in":"query","description":"Set to \"all\" if you want to include annotations and predictions in the response. Defaults to task_only","required":false,"schema":{"$ref":"#/components/schemas/ApiTasksGetParametersFields"}},{"name":"include","in":"query","description":"Specify which fields to include in the response","required":false,"schema":{"type":"string"}},{"name":"only_annotated","in":"query","description":"Filter to show only tasks that have annotations","required":false,"schema":{"type":"boolean"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"project","in":"query","description":"Project ID","required":false,"schema":{"type":"integer"}},{"name":"query","in":"query","description":"Additional query to filter tasks. It must be JSON encoded string of dict containing one of the following parameters: {\"filters\": ..., \"selectedItems\": ..., \"ordering\": ...}. Check Data Manager > Create View > see data field for more details about filters, selectedItems and ordering.\n\nfilters: dict with \"conjunction\" string (\"or\" or \"and\") and list of filters in \"items\" array. Each filter is a dictionary with keys: \"filter\", \"operator\", \"type\", \"value\". Read more about available filters\nExample: {\"conjunction\": \"or\", \"items\": [{\"filter\": \"filter:tasks:completed_at\", \"operator\": \"greater\", \"type\": \"Datetime\", \"value\": \"2021-01-01T00:00:00.000Z\"}]}\nselectedItems: dictionary with keys: \"all\", \"included\", \"excluded\". If \"all\" is false, \"included\" must be used. If \"all\" is true, \"excluded\" must be used.\nExamples: {\"all\": false, \"included\": [1, 2, 3]} or {\"all\": true, \"excluded\": [4, 5]}\nordering: list of fields to order by. Currently, ordering is supported by only one parameter.\nExample: [\"completed_at\"]","required":false,"schema":{"type":"string"}},{"name":"resolve_uri","in":"query","description":"Resolve task data URIs using Cloud Storage","required":false,"schema":{"type":"boolean"}},{"name":"review","in":"query","description":"Get tasks for review","required":false,"schema":{"type":"boolean"}},{"name":"selectedItems","in":"query","description":"JSON string of selected task IDs for review workflow","required":false,"schema":{"type":"string"}},{"name":"view","in":"query","description":"View ID","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRoleBasedTaskList"}}}},"400":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"description":"Any type"}}}},"401":{"description":"Unauthorized - authentication required","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Forbidden - insufficient permissions","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"tasks_create","summary":"Create a new task","description":"Create a new task","tags":["tasks"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseTask"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseTaskRequest"}}}},"security":[{"Token":[]}]}},"/api/tasks/{id}/":{"get":{"operationId":"tasks_get","summary":"Get task","description":"Get task data, metadata, annotations and other attributes for a specific labeling task by task ID.","tags":["tasks"],"parameters":[{"name":"id","in":"path","description":"Task ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBasedTask"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"tasks_delete","summary":"Delete task","description":"Delete a task in Label Studio. This action cannot be undone!","tags":["tasks"],"parameters":[{"name":"id","in":"path","description":"Task ID","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Task deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"tasks_update","summary":"Update task","description":"Update the attributes of an existing labeling task.","tags":["tasks"],"parameters":[{"name":"id","in":"path","description":"Task ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBasedTask"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseTaskRequest"}}}},"security":[{"Token":[]}]}},"/api/tasks/{id}/events/":{"post":{"operationId":"tasks_create_event","summary":"Create task event","description":"\n    Create a new task event to track user interactions and system events during annotation.\n\n    This endpoint is designed to receive events from the frontend labeling interface to enable\n    accurate lead time calculation and detailed annotation analytics.\n\n    ## Event Types\n\n    **Core Annotation Events:**\n    - `annotation_loaded` - When annotation interface is loaded\n    - `annotation_created` - When annotation is submitted\n    - `annotation_updated` - When annotation is modified\n    - `annotation_reviewed` - When annotation is reviewed\n\n    **User Activity Events:**\n    - `visibility_change` - When page visibility changes (tab switch, minimize)\n    - `idle_detected` - When user goes idle\n    - `idle_resumed` - When user returns from idle\n\n    **Interaction Events:**\n    - `region_finished_drawing` - When annotation region is completed\n    - `region_deleted` - When annotation regions are removed\n    - `hotkey_pressed` - When keyboard shortcuts are used\n\n    **Media Events:**\n    - `video_playback_start/end` - Video playback control\n    - `audio_playback_start/end` - Audio playback control\n    - `video_scrub` - Video timeline scrubbing\n\n    ## Usage\n\n    Events are automatically associated with the task specified in the URL path.\n    The current user is automatically set as the actor. Project and organization\n    are derived from the task context.\n\n    ## Example Request\n\n    ```json\n    {\n        \"event_key\": \"annotation_loaded\",\n        \"event_time\": \"2024-01-15T10:30:00Z\",\n        \"annotation\": 123,\n        \"meta\": {\n            \"annotation_count\": 5,\n            \"estimated_time\": 300\n        }\n    }\n    ```\n    ","tags":["tasks"],"parameters":[{"name":"id","in":"path","description":"Task ID to associate the event with","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskEvent"}}}},"400":{"description":"Bad request - validation errors","content":{"application/json":{"schema":{"description":"Any type"}}}},"401":{"description":"Unauthorized - authentication required","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Forbidden - insufficient permissions","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"Not found - task does not exist","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskEventRequest"}}}},"security":[{"Token":[]}]}},"/api/projects/{project_pk}/tasks/{task_pk}/agreement-matrix":{"get":{"operationId":"agreementMatrix_get","summary":"✨ Get task agreement matrix","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReturns a pairwise agreement matrix between selected participants for a single task, averaged across all active dimensions or a single specified dimension.","tags":["agreementMatrix"],"parameters":[{"name":"project_pk","in":"path","description":"Project ID","required":true,"schema":{"type":"integer"}},{"name":"task_pk","in":"path","description":"Task ID","required":true,"schema":{"type":"integer"}},{"name":"dimension","in":"query","description":"Dimension ID to compute agreement for. If not provided, averages across all active dimensions.","required":false,"schema":{"type":"integer"}},{"name":"selection","in":"query","description":"JSON object specifying which participants to include in the agreement matrix","required":true,"schema":{"$ref":"#/components/schemas/AgreementSelectionRequest"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAgreementMatrixResponse"}}}}},"security":[{"Token":[]}]}},"/api/saml/settings":{"get":{"operationId":"saml_get","summary":"✨ Retrieve SAML2 Settings","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve SAML2 settings for the currently active organization.","tags":["saml"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SamlSettings"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"saml_update","summary":"✨ Update SAML2 Settings","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate SAML2 settings for the currently active organization.","tags":["saml"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SamlSettingsUpdate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SamlSettingsUpdateRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"saml_reset","summary":"✨ Reset SAML2 Settings","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nReset SAML2 settings for the currently active organization. This clears all configured fields (domain, metadata, attribute mappings, group mappings) back to their defaults without deleting the underlying settings record.","tags":["saml"],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/saml/settings/validate-metadata-url":{"post":{"operationId":"saml_validate_metadata_url","summary":"✨ Validate SAML Metadata URL","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a SAML metadata URL by fetching it and checking for valid XML, without saving.","tags":["saml"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSamlMetadataUrlResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSamlMetadataUrlRequestRequest"}}}},"security":[{"Token":[]}]}},"/api/scim/settings":{"get":{"operationId":"scim_get","summary":"✨ Retrieve SCIM Settings","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve SCIM settings for the currently active organization.","tags":["scim"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScimSettings"}}}}},"security":[{"Token":[]}]},"post":{"operationId":"scim_update","summary":"✨ Update SCIM Settings","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate SCIM settings for the currently active organization.","tags":["scim"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScimSettingsUpdate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScimSettingsUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/session-policy/":{"get":{"operationId":"sessionPolicy_get","summary":"Retrieve Session Policy","description":"Retrieve session timeout policy for the currently active organization.","tags":["sessionPolicy"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionTimeoutPolicy"}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"sessionPolicy_update","summary":"Update Session Policy","description":"Update session timeout policy for the currently active organization.","tags":["sessionPolicy"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionTimeoutPolicy"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedSessionTimeoutPolicyRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/types":{"get":{"operationId":"importStorage_list_types","summary":"List all import storages types","description":"Retrieve a list of the import storages types.","tags":["importStorage"],"responses":{"200":{"description":"List of import storage types","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems"}}}}}},"security":[{"Token":[]}]}},"/api/storages/azure/":{"get":{"operationId":"azure_list","summary":"Get all import storage","description":"Get list of all Azure import storage connections.","tags":["azure"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AzureBlobImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"azure_create","summary":"Create new storage","description":"Create new Azure import storage","tags":["azure"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure/validate":{"post":{"operationId":"azure_validate","summary":"Validate import storage","description":"Validate a specific Azure import storage connection.","tags":["azure"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_azure_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure/{id}":{"get":{"operationId":"azure_get","summary":"Get import storage","description":"Get a specific Azure import storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"azure_delete","summary":"Delete import storage","description":"Delete a specific Azure import storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"azure_update","summary":"Update import storage","description":"Update a specific Azure import storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAzureBlobImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure/{id}/sync":{"post":{"operationId":"azure_sync","summary":"Sync import storage","description":"Sync tasks from an Azure import storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","description":"Storage ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/azure_spi/":{"get":{"operationId":"azureSpi_list","summary":"✨ Get Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet list of all Azure import storage connections set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"azureSpi_create","summary":"✨ Create Azure import storage with SPI","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate Azure import storage with Service Principal or workload-identity authentication. Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure_spi/validate":{"post":{"operationId":"azureSpi_validate","summary":"✨ Validate Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific Azure import storage connection (Service Principal or workload-identity). Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_azure_spi_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure_spi/{id}":{"get":{"operationId":"azureSpi_get","summary":"✨ Get Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific Azure import storage connection that was set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"azureSpi_delete","summary":"✨ Delete Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific Azure import storage connection that was set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"azureSpi_update","summary":"✨ Update Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific Azure import storage connection (Service Principal or workload-identity). Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAzureServicePrincipalImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/azure_spi/{id}/sync":{"post":{"operationId":"azureSpi_sync","summary":"✨ Sync Azure SPI import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an Azure import storage connection that was set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/databricks/":{"get":{"operationId":"databricks_list","summary":"✨ List Databricks import storages","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet list of all Databricks Files import storage connections.","tags":["databricks"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatabricksImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"databricks_create","summary":"✨ Create Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a Databricks Files import storage connection.","tags":["databricks"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/databricks/validate":{"post":{"operationId":"databricks_validate","summary":"✨ Validate Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific Databricks Files import storage connection.","tags":["databricks"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_databricks_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/databricks/{id}":{"get":{"operationId":"databricks_get","summary":"✨ Get Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific Databricks Files import storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"databricks_delete","summary":"✨ Delete Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific Databricks Files import storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"databricks_update","summary":"✨ Update Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific Databricks Files import storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDatabricksImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/databricks/{id}/sync":{"post":{"operationId":"databricks_sync","summary":"✨ Sync Databricks import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from a Databricks Files import storage.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/gcs/":{"get":{"operationId":"gcs_list","summary":"Get all import storage","description":"Get a list of all GCS import storage connections.","tags":["gcs"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcs_create","summary":"Create import storage","description":"Create a new GCS import storage connection.","tags":["gcs"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs/validate":{"post":{"operationId":"gcs_validate","summary":"Validate import storage","description":"Validate a specific GCS import storage connection.","tags":["gcs"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_gcs_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs/{id}":{"get":{"operationId":"gcs_get","summary":"Get import storage","description":"Get a specific GCS import storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcs_delete","summary":"Delete import storage","description":"Delete a specific GCS import storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcs_update","summary":"Update import storage","description":"Update a specific GCS import storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs/{id}/sync":{"post":{"operationId":"gcs_sync","summary":"Sync import storage","description":"Sync tasks from a GCS import storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","description":"Storage ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/gcs_sa/":{"get":{"operationId":"gcsSa_list","summary":"✨ Get all GCS SA import storages","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet list of all GCS import storage connections set up with Service Account Impersonation.","tags":["gcsSa"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSSAImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcsSa_create","summary":"✨ Create GCS import storage with SA Impersonation","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate GCS import storage with Service Account Impersonation.","tags":["gcsSa"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs_sa/validate":{"post":{"operationId":"gcsSa_validate","summary":"✨ Validate GCS SA import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific GCS import storage connection set up with SA Impersonation.","tags":["gcsSa"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_gcs_sa_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs_sa/{id}":{"get":{"operationId":"gcsSa_get","summary":"✨ Get GCS SA import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific GCS import storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcsSa_delete","summary":"✨ Delete GCS SA import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific GCS import storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcsSa_update","summary":"✨ Update GCS SA import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific GCS import storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSSAImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcs_sa/{id}/sync":{"post":{"operationId":"gcsSa_sync","summary":"✨ Sync GCS SA import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from a GCS import storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/gcswif/":{"get":{"operationId":"gcswif_list","summary":"✨ Get GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet list of all GCS import storage connections set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSWIFImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcswif_create","summary":"✨ Create GCS import storage with WIF","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate GCS import storage with WIF.","tags":["gcswif"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcswif/validate":{"post":{"operationId":"gcswif_validate","summary":"✨ Validate GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific GCS import storage connection that was set up with WIF authentication.","tags":["gcswif"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_gcswif_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcswif/{id}":{"get":{"operationId":"gcswif_get","summary":"✨ Get GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific GCS import storage connection that was set up with WIF.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcswif_delete","summary":"✨ Delete GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific GCS import storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcswif_update","summary":"✨ Update GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific GCS import storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSWIFImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/gcswif/{id}/sync":{"post":{"operationId":"gcswif_sync","summary":"✨ Sync GCS WIF import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an GCS import storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/localfiles/":{"get":{"operationId":"local_list","summary":"Get all import storage","description":"Get a list of all local file import storage connections.","tags":["local"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LocalFilesImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"local_create","summary":"Create import storage","description":"Create a new local file import storage connection.","tags":["local"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/localfiles/validate":{"post":{"operationId":"local_validate","summary":"Validate import storage","description":"Validate a specific local file import storage connection.","tags":["local"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_local_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/localfiles/{id}":{"get":{"operationId":"local_get","summary":"Get import storage","description":"Get a specific local file import storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"local_delete","summary":"Delete import storage","description":"Delete a specific local file import storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"local_update","summary":"Update import storage","description":"Update a specific local file import storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLocalFilesImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/localfiles/{id}/sync":{"post":{"operationId":"local_sync","summary":"Sync import storage","description":"Sync tasks from a local file import storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","description":"Storage ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/redis/":{"get":{"operationId":"redis_list","summary":"Get all import storage","description":"Get a list of all Redis import storage connections.","tags":["redis"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedisImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"redis_create","summary":"Create import storage","description":"Create a new Redis import storage connection.","tags":["redis"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/redis/validate":{"post":{"operationId":"redis_validate","summary":"Validate import storage","description":"Validate a specific Redis import storage connection.","tags":["redis"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_redis_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/redis/{id}":{"get":{"operationId":"redis_get","summary":"Get import storage","description":"Get a specific Redis import storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"redis_delete","summary":"Delete import storage","description":"Delete a specific Redis import storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"redis_update","summary":"Update import storage","description":"Update a specific Redis import storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedRedisImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/redis/{id}/sync":{"post":{"operationId":"redis_sync","summary":"Sync import storage","description":"Sync tasks from a Redis import storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","description":"Storage ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/s3/":{"get":{"operationId":"s3_list","summary":"List S3 import storage","description":"Get a list of all S3 import storage connections.","tags":["s3"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/S3ImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"s3_create","summary":"Create new S3 storage","description":"Create new S3 import storage","tags":["s3"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3/validate":{"post":{"operationId":"s3_validate","summary":"Validate import storage","description":"Validate a specific S3 import storage connection.","tags":["s3"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_s3_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3/{id}":{"get":{"operationId":"s3_get","summary":"Get import storage","description":"Get a specific S3 import storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"s3_delete","summary":"Delete import storage","description":"Delete a specific S3 import storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"s3_update","summary":"Update import storage","description":"Update a specific S3 import storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedS3ImportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3/{id}/sync":{"post":{"operationId":"s3_sync","summary":"Sync import storage","description":"Sync tasks from an S3 import storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","description":"Storage ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/s3s/":{"get":{"operationId":"s3S_list","summary":"✨ List S3s import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet list of all S3 import storage connections set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LseS3ImportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"s3S_create","summary":"✨ Create import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate S3 import storage with IAM role access.","tags":["s3S"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3s/validate":{"post":{"operationId":"s3S_validate","summary":"✨ Validate import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific S3 import storage connection that was set up with IAM role access.","tags":["s3S"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/import_storage_s3s_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3s/{id}":{"get":{"operationId":"s3S_get","summary":"✨ Get import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific S3 import storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"s3S_delete","summary":"✨ Delete import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific S3 import storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"s3S_update","summary":"✨ Update import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific S3 import storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseS3ImportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/s3s/{id}/sync":{"post":{"operationId":"s3S_sync","summary":"✨ Sync import storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an S3 import storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ImportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/types":{"get":{"operationId":"exportStorage_list_types","summary":"List all export storages types","description":"Retrieve a list of the export storages types.","tags":["exportStorage"],"responses":{"200":{"description":"List of export storage types","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiStoragesExportTypesGetResponsesContentApplicationJsonSchemaItems"}}}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure":{"get":{"operationId":"azure_list_2","summary":"Get all export storage","description":"Get a list of all Azure export storage connections.","tags":["azure"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AzureBlobExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"azure_create_2","summary":"Create export storage","description":"Create a new Azure export storage connection to store annotations.","tags":["azure"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure/validate":{"post":{"operationId":"azure_validate_2","summary":"Validate export storage","description":"Validate a specific Azure export storage connection.","tags":["azure"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_azure_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure/{id}":{"get":{"operationId":"azure_get_2","summary":"Get export storage","description":"Get a specific Azure export storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"azure_delete_2","summary":"Delete export storage","description":"Delete a specific Azure export storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"azure_update_2","summary":"Update export storage","description":"Update a specific Azure export storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAzureBlobExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure/{id}/sync":{"post":{"operationId":"azure_sync_2","summary":"Sync export storage","description":"Sync tasks from an Azure export storage connection.","tags":["azure"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureBlobExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure_spi":{"get":{"operationId":"azureSpi_list_2","summary":"✨ Get all Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all Azure export storage connections that were set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"azureSpi_create_2","summary":"✨ Create Azure export storage with SPI authentication","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate an Azure export storage connection with Service Principal or workload-identity authentication to store annotations. Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure_spi/validate":{"post":{"operationId":"azureSpi_validate_2","summary":"✨ Validate Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific Azure export storage connection (Service Principal or workload-identity). Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_azure_spi_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure_spi/{id}":{"get":{"operationId":"azureSpi_get_2","summary":"✨ Get Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific Azure export storage connection that was set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"azureSpi_delete_2","summary":"✨ Delete Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific Azure export storage connection that was set up with Service Principal authentication.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"azureSpi_update_2","summary":"✨ Update Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific Azure export storage connection (Service Principal or workload-identity). Supports auth_mode=service_principal (default; requires tenant_id, client_id, and client_secret) and auth_mode=workload_identity (secretless; client_secret must be omitted, tenant_id is not required, optional client_id selects a user-assigned managed identity). GET responses never include client_secret.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAzureServicePrincipalExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/azure_spi/{id}/sync":{"post":{"operationId":"azureSpi_sync_2","summary":"✨ Sync Azure SPI export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an Azure SPI export storage.","tags":["azureSpi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureServicePrincipalExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/databricks":{"get":{"operationId":"databricks_list_2","summary":"✨ List Databricks export storages","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all Databricks Files export storage connections.","tags":["databricks"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatabricksExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"databricks_create_2","summary":"✨ Create Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a Databricks Files export storage connection.","tags":["databricks"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/databricks/validate":{"post":{"operationId":"databricks_validate_2","summary":"✨ Validate Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific Databricks Files export storage connection.","tags":["databricks"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_databricks_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/databricks/{id}":{"get":{"operationId":"databricks_get_2","summary":"✨ Get Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific Databricks Files export storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"databricks_delete_2","summary":"✨ Delete Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific Databricks Files export storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"databricks_update_2","summary":"✨ Update Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific Databricks Files export storage connection.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDatabricksExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/databricks/{id}/sync":{"post":{"operationId":"databricks_sync_2","summary":"✨ Sync Databricks export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nExport annotations to a Databricks Files storage.","tags":["databricks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs":{"get":{"operationId":"gcs_list_2","summary":"Get all export storage","description":"Get a list of all GCS export storage connections.","tags":["gcs"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcs_create_2","summary":"Create export storage","description":"Create a new GCS export storage connection to store annotations.","tags":["gcs"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs/validate":{"post":{"operationId":"gcs_validate_2","summary":"Validate export storage","description":"Validate a specific GCS export storage connection.","tags":["gcs"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_gcs_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs/{id}":{"get":{"operationId":"gcs_get_2","summary":"Get export storage","description":"Get a specific GCS export storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcs_delete_2","summary":"Delete export storage","description":"Delete a specific GCS export storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcs_update_2","summary":"Update export storage","description":"Update a specific GCS export storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs/{id}/sync":{"post":{"operationId":"gcs_sync_2","summary":"Sync export storage","description":"Sync tasks from an GCS export storage connection.","tags":["gcs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs_sa":{"get":{"operationId":"gcsSa_list_2","summary":"✨ Get all GCS SA export storages","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all GCS export storage connections set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSSAExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcsSa_create_2","summary":"✨ Create GCS export storage with SA Impersonation","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a GCS export storage connection with SA Impersonation to store annotations.","tags":["gcsSa"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs_sa/validate":{"post":{"operationId":"gcsSa_validate_2","summary":"✨ Validate GCS SA export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific GCS export storage connection set up with SA Impersonation.","tags":["gcsSa"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_gcs_sa_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs_sa/{id}":{"get":{"operationId":"gcsSa_get_2","summary":"✨ Get GCS SA export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific GCS export storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcsSa_delete_2","summary":"✨ Delete GCS SA export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific GCS export storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcsSa_update_2","summary":"✨ Update GCS SA export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific GCS export storage connection set up with SA Impersonation.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSSAExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcs_sa/{id}/sync":{"post":{"operationId":"gcsSa_sync_2","summary":"✨ Sync GCS SA export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync annotations to a GCS SA export storage.","tags":["gcsSa"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSSAExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcswif":{"get":{"operationId":"gcswif_list_2","summary":"✨ Get all GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all GCS export storage connections that were set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GCSWIFExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"gcswif_create_2","summary":"✨ Create GCS export storage with WIF authentication","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate an GCS export storage connection with WIF authentication to store annotations.","tags":["gcswif"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcswif/validate":{"post":{"operationId":"gcswif_validate_2","summary":"✨ Validate GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific GCS export storage connection that was set up with WIF authentication.","tags":["gcswif"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_gcswif_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcswif/{id}":{"get":{"operationId":"gcswif_get_2","summary":"✨ Get GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific GCS export storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"gcswif_delete_2","summary":"✨ Delete GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific GCS export storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"gcswif_update_2","summary":"✨ Update GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific GCS export storage connection that was set up with WIF authentication.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedGCSWIFExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/gcswif/{id}/sync":{"post":{"operationId":"gcswif_sync_2","summary":"✨ Sync GCS WIF export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an GCS WIF export storage.","tags":["gcswif"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCSWIFExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/localfiles":{"get":{"operationId":"local_list_2","summary":"Get all export storage","description":"Get a list of all local file export storage connections.","tags":["local"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LocalFilesExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"local_create_2","summary":"Create export storage","description":"Create a new local file export storage connection to store annotations.","tags":["local"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/localfiles/validate":{"post":{"operationId":"local_validate_2","summary":"Validate export storage","description":"Validate a specific local file export storage connection.","tags":["local"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_local_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/localfiles/{id}":{"get":{"operationId":"local_get_2","summary":"Get export storage","description":"Get a specific local file export storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"local_delete_2","summary":"Delete export storage","description":"Delete a specific local file export storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"local_update_2","summary":"Update export storage","description":"Update a specific local file export storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLocalFilesExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/localfiles/{id}/sync":{"post":{"operationId":"local_sync_2","summary":"Sync export storage","description":"Sync tasks from a local file export storage connection.","tags":["local"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalFilesExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/redis":{"get":{"operationId":"redis_list_2","summary":"Get all export storage","description":"Get a list of all Redis export storage connections.","tags":["redis"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedisExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"redis_create_2","summary":"Create export storage","description":"Create a new Redis export storage connection to store annotations.","tags":["redis"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/redis/validate":{"post":{"operationId":"redis_validate_2","summary":"Validate export storage","description":"Validate a specific Redis export storage connection.","tags":["redis"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_redis_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/redis/{id}":{"get":{"operationId":"redis_get_2","summary":"Get export storage","description":"Get a specific Redis export storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"redis_delete_2","summary":"Delete export storage","description":"Delete a specific Redis export storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"redis_update_2","summary":"Update export storage","description":"Update a specific Redis export storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedRedisExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/redis/{id}/sync":{"post":{"operationId":"redis_sync_2","summary":"Sync export storage","description":"Sync tasks from a Redis export storage connection.","tags":["redis"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedisExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3":{"get":{"operationId":"s3_list_2","summary":"Get all export storage","description":"Get a list of all S3 export storage connections.","tags":["s3"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/S3ExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"s3_create_2","summary":"Create export storage","description":"Create a new S3 export storage connection to store annotations.","tags":["s3"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3/validate":{"post":{"operationId":"s3_validate_2","summary":"Validate export storage","description":"Validate a specific S3 export storage connection.","tags":["s3"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_s3_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorageValidateRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3/{id}":{"get":{"operationId":"s3_get_2","summary":"Get export storage","description":"Get a specific S3 export storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"s3_delete_2","summary":"Delete export storage","description":"Delete a specific S3 export storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"s3_update_2","summary":"Update export storage","description":"Update a specific S3 export storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedS3ExportStorageWriteRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3/{id}/sync":{"post":{"operationId":"s3_sync_2","summary":"Sync export storage","description":"Sync tasks from an S3 export storage connection.","tags":["s3"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3ExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3s":{"get":{"operationId":"s3S_list_2","summary":"✨ List S3s export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all S3 export storage connections that were set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Project ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LseS3ExportStorage"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"s3S_create_2","summary":"✨ Create export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate an S3 export storage connection with IAM role access to store annotations.","tags":["s3S"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3s/validate":{"post":{"operationId":"s3S_validate_2","summary":"✨ Validate export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nValidate a specific S3 export storage connection that was set up with IAM role access.","tags":["s3S"],"responses":{"200":{"description":"Validation successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_storage_s3s_validate_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3s/{id}":{"get":{"operationId":"s3S_get_2","summary":"✨ Get export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a specific S3 export storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorage"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"s3S_delete_2","summary":"✨ Delete export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific S3 export storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"s3S_update_2","summary":"✨ Update export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate a specific S3 export storage connection that was set up with IAM role access.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorage"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLseS3ExportStorageRequest"}}}},"security":[{"Token":[]}]}},"/api/storages/export/s3s/{id}/sync":{"post":{"operationId":"s3S_sync_2","summary":"✨ Sync export storage","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nSync tasks from an S3 export storage.","tags":["s3S"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LseS3ExportStorage"}}}}},"security":[{"Token":[]}]}},"/api/token/":{"get":{"operationId":"tokens_list","summary":"List API tokens","description":"List all API tokens for the current user.","tags":["tokens"],"parameters":[{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LSEAPITokenList"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"tokens_create","summary":"Create API token","description":"Create a new API token for the current user.","tags":["tokens"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSEAPITokenCreate"}}}}},"security":[{"Token":[]}]}},"/api/token/blacklist/":{"post":{"operationId":"tokens_blacklist","summary":"Blacklist a JWT refresh token","description":"Adds a JWT refresh token to the blacklist, preventing it from being used to obtain new access tokens.","tags":["tokens"],"responses":{"204":{"description":"Token was successfully blacklisted","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"404":{"description":"Token is already blacklisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenDetailError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSAPITokenBlacklistRequest"}}}},"security":[{"Token":[]}]}},"/api/token/refresh/":{"post":{"operationId":"tokens_refresh","summary":"Refresh JWT token","description":"Get a new access token, using a refresh token.","tags":["tokens"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRefreshResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRefreshRequest"}}}}}},"/api/token/rotate/":{"post":{"operationId":"tokens_rotate","summary":"Rotate JWT refresh token","description":"Creates a new JWT refresh token and blacklists the current one.","tags":["tokens"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRotateResponse"}}}},"400":{"description":"Invalid token or token already blacklisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenDetailError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LSAPITokenRotateRequest"}}}},"security":[{"Token":[]}]}},"/api/version/":{"get":{"operationId":"versions_get_2","summary":"Get version information","description":"Get version information about the Label Studio instance.","tags":["Versions"],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionResponse"}}}}},"security":[{"Token":[]}]}},"/api/webhooks/":{"get":{"operationId":"webhooks_list","summary":"List all webhooks","description":"List all webhooks set up for your organization.","tags":["Webhooks"],"parameters":[{"name":"project","in":"query","description":"Project ID","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"webhooks_create","summary":"Create a webhook","description":"Create a webhook for your organization.","tags":["Webhooks"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"security":[{"Token":[]}]}},"/api/webhooks/info/":{"get":{"operationId":"webhooks_info","summary":"Get all webhook actions","description":"Get descriptions of all available webhook actions to set up webhooks.","tags":["Webhooks"],"parameters":[{"name":"organization-only","in":"query","description":"organization-only or not","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Object with webhook action descriptions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/webhooks_info_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/webhooks/{id}/":{"get":{"operationId":"webhooks_get","summary":"Get webhook info","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"webhooks_delete","summary":"Delete webhook info","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"webhooks_update","summary":"Update webhook info","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSerializerForUpdate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedWebhookSerializerForUpdateRequest"}}}},"security":[{"Token":[]}]}},"/api/workspaces/":{"get":{"operationId":"workspaces_list","summary":"✨ List workspaces","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nList all workspaces for your organization. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces).","tags":["Workspaces"],"parameters":[{"name":"include_all_workspaces","in":"query","description":"Include all workspaces in the organization, including other users' personal workspaces. Only effective for users with Administrator or Owner role. When enabled, the response includes created_by_user info for personal workspaces.","required":false,"schema":{"type":"boolean"}},{"name":"interface_targets","in":"query","description":"Only workspaces you can save an interface into: the workspaces you may manage, plus your Personal Sandbox if interfaces are allowed there.","required":false,"schema":{"type":"boolean"}},{"name":"is_archived","in":"query","description":"Filter by archived status. Set to false to exclude archived workspaces.","required":false,"schema":{"type":"boolean"}},{"name":"is_personal","in":"query","description":"Workspace is a personal user workspace.","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"Which field to use when ordering the results.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Workspace"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"workspaces_create","summary":"✨ Create workspace","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nCreate a new workspace. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces).","tags":["Workspaces"],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceRequest"}}}},"security":[{"Token":[]}]}},"/api/workspaces/{id}/":{"get":{"operationId":"workspaces_get","summary":"✨ Get workspace","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve details for a specific workspace by ID.","tags":["Workspaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}}},"security":[{"Token":[]}]},"delete":{"operationId":"workspaces_delete","summary":"✨ Delete workspace","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nDelete a specific workspace by ID.","tags":["Workspaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]},"patch":{"operationId":"workspaces_update","summary":"✨ Update workspace","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUpdate settings for a specific workspace by ID.","tags":["Workspaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedWorkspaceRequest"}}}},"security":[{"Token":[]}]}},"/api/workspaces/{id}/memberships/":{"get":{"operationId":"members_list_2","summary":"✨ List workspace memberships","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nGet a list of all members in a specific workspace.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"A list of workspace memberships","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceMemberList"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"members_create","summary":"✨ Create workspace membership","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAdd a new workspace member by user ID.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberCreate"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberCreateRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"members_delete_2","summary":"✨ Delete workspace membership","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRemove a specific member by ID from a workspace. Pass the member ID via the `user_id` query parameter. For backward compatibility, a JSON body with `user_id` (or `user`) is still accepted.","tags":["members"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"user_id","in":"query","description":"User ID to remove from the workspace.","required":false,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}},"/api/workspaces/{id}/memberships/bulk/":{"post":{"operationId":"bulk_post_3","summary":"✨ Bulk assign workspace members","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAssign workspace members in bulk.","tags":["bulk"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"filters","in":"query","description":"Versioned JSON member-filter payload, the same one the organization members list accepts. Only when all=True. When advanced member filtering is enabled, do not also supply role, user_type, tags, or last-activity legacy filter parameters.","required":false,"schema":{"type":"string"}},{"name":"role","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search members by first name, last name, email, or an enabled optional member-list column. Only when all=True.","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__gte","in":"query","description":"Filter user__last_activity by greater than or equal to","required":false,"schema":{"type":"string"}},{"name":"user__last_activity__lte","in":"query","description":"Filter user__last_activity by less than or equal to","required":false,"schema":{"type":"string"}},{"name":"user_type","in":"query","description":"Multiple values may be separated by commas. (comma-separated values)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/workspaces_members_bulk_post_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberBulkAssignRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"bulk_delete_3","summary":"✨ Bulk unassign workspace members","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nUnassign workspace members in bulk. Pass selector fields via query parameters (`all`, `included`, `excluded`) and optional paginated-list filters (`search`, `ids`). For backward compatibility, a JSON body with bulk fields is still accepted.","tags":["bulk"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"all","in":"query","description":"Apply unassignment to all currently matched workspace members.","required":false,"schema":{"type":"boolean"}},{"name":"excluded","in":"query","description":"Comma-separated list of user IDs to keep assigned when `all=true`.","required":false,"schema":{"type":"string"}},{"name":"ids","in":"query","description":"Comma-separated list of user IDs to filter matched members.","required":false,"schema":{"type":"string"}},{"name":"included","in":"query","description":"Comma-separated list of user IDs to unassign when `all=false`.","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","description":"Search term for filtering matched members by name or email.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/workspaces_members_bulk_delete_Response_200"}}}}},"security":[{"Token":[]}]}},"/api/workspaces/{id}/memberships/paginated/":{"get":{"operationId":"paginated_list_2","summary":"✨ Get workspace members paginated","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve the members for a specific workspace.","tags":["paginated"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"ids","in":"query","description":"Comma-separated list of user IDs to filter by","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"A page number within the paginated result set.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Number of results to return per page.","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","description":"A search term.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLseUserList"}}}}},"security":[{"Token":[]}]}},"/api/workspaces/{id}/projects/":{"get":{"operationId":"projects_list_2","summary":"✨ List workspace projects","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRetrieve a list of all projects in a specific workspace.","tags":["projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Projects list","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Project"}}}}}},"security":[{"Token":[]}]},"post":{"operationId":"projects_add","summary":"✨ Add workspace project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nAdd a project to a specific workspace.","tags":["projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Project added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/workspaces_projects_add_Response_201"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceProjectsRequest"}}}},"security":[{"Token":[]}]},"delete":{"operationId":"projects_remove","summary":"✨ Remove workspace project","description":"<Card href=\"https://humansignal.com/goenterprise\">\n        <img style=\"pointer-events: none; margin-left: 0px; margin-right: 0px;\" src=\"https://docs.humansignal.com/images/badge.svg\" alt=\"Label Studio Enterprise badge\"/>\n        <p style=\"margin-top: 10px; font-size: 14px;\">\n            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n        </p>\n    </Card>\nRemove a project from a specific workspace. Pass the project ID via the `project` query parameter. For backward compatibility, a JSON body with `project` is still accepted.","tags":["projects"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"project","in":"query","description":"Project ID to remove from the workspace.","required":false,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Project removed","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"Token":[]}]}}},"tags":[{"name":"activityLogs"},{"name":"kpis"},{"name":"annotationHistory"},{"name":"annotationReviews"},{"name":"Annotations"},{"name":"Billing"},{"name":"Comments"},{"name":"Users"},{"name":"Dimensions"},{"name":"actions"},{"name":"views"},{"name":"States"},{"name":"files"},{"name":"prompts"},{"name":"indicators"},{"name":"versions"},{"name":"runs"},{"name":"Interfaces"},{"name":"organizations"},{"name":"invites"},{"name":"memberTags"},{"name":"bulk"},{"name":"members"},{"name":"permissions"},{"name":"jwtSettings"},{"name":"Projects"},{"name":"roles"},{"name":"Stats"},{"name":"metrics"},{"name":"custom"},{"name":"exports"},{"name":"imports"},{"name":"paginated"},{"name":"reimports"},{"name":"reviewRoutingRules"},{"name":"assignments"},{"name":"Pauses"},{"name":"ml"},{"name":"modelProviders"},{"name":"Predictions"},{"name":"projectTemplates"},{"name":"tasks"},{"name":"agreementMatrix"},{"name":"saml"},{"name":"scim"},{"name":"sessionPolicy"},{"name":"importStorage"},{"name":"azure"},{"name":"azureSpi"},{"name":"databricks"},{"name":"gcs"},{"name":"gcsSa"},{"name":"gcswif"},{"name":"local"},{"name":"redis"},{"name":"s3"},{"name":"s3S"},{"name":"exportStorage"},{"name":"tokens"},{"name":"Versions"},{"name":"Webhooks"},{"name":"Workspaces"},{"name":"projects"}],"servers":[{"url":"http://localhost:8000","description":"Label Studio"}],"components":{"schemas":{"ApiActivityLogsGetParametersMethod":{"type":"string","enum":["DELETE","GET","PATCH","POST","PUT","all"],"default":"all","title":"ApiActivityLogsGetParametersMethod"},"ActivityLog":{"type":"object","properties":{"datetime":{"type":"string","format":"date-time"},"duration":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Duration of response generation in ms"},"email":{"type":"string","maxLength":256},"extra_data":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"http_referer":{"type":"string","maxLength":1024},"id":{"type":"integer"},"ip_address":{"type":["string","null"]},"organization_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Organization id"},"project_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Project id if request has it"},"request_method":{"type":"string","maxLength":10},"request_url":{"type":"string","maxLength":256},"response_code":{"type":"string","maxLength":3},"user_agent":{"type":"string","maxLength":1024},"user_id":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"user_session":{"type":["string","null"],"maxLength":8},"workspace_owner_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Owner id of workspace where action performed"}},"required":["datetime","email","id","request_method","request_url","response_code","user_id"],"title":"ActivityLog"},"ActivityLogResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLog"}},"recordsFiltered":{"type":"integer"},"recordsTotal":{"type":"integer"}},"required":["data","recordsFiltered","recordsTotal"],"description":"Serializer for ActivityLogAPI response.","title":"ActivityLogResponse"},"KPIMetadata":{"type":"object","properties":{"aggregation_method":{"type":["string","null"],"description":"Aggregation method for the KPI: count, sum, avg, max, min, or snapshot. Snapshot KPIs show point-in-time counts rather than event totals."},"base_class":{"type":"string","description":"Base class name that the KPI inherits from"},"calculation_formula":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Formula for calculated KPIs defining how to derive the value from component KPIs. Structure: {\"type\": \"ratio|sum|difference|product\", \"numerator\": \"kpi_key\", \"denominator\": \"kpi_key\"}"},"date_column":{"type":["string","null"],"description":"Database column used for date filtering and aggregation"},"depends_on_kpis":{"type":"array","items":{"type":"string"},"description":"List of other KPI keys that this KPI depends on"},"is_calculated":{"type":"boolean","description":"Whether this KPI is calculated from other KPIs (has dependencies)"},"is_label_type":{"type":"boolean","description":"Whether this KPI is a label/filter type that does not show a value per se"},"key":{"type":"string","description":"Unique identifier for the KPI"},"label":{"type":["string","null"],"description":"Human-readable label for the KPI"},"percentage":{"type":"boolean","description":"Whether the KPI value is a percentage (DEPRECATED: use unit)"},"unit":{"type":"string","description":"Unit of measurement: seconds, minutes, hours, count, or ratio"}},"required":["base_class","date_column","depends_on_kpis","is_calculated","is_label_type","key","label","percentage","unit"],"description":"Serializer for KPI metadata information.\nProvides information about available KPIs including their keys, labels,\ndependencies, and configuration.","title":"KPIMetadata"},"ApiAnalyticsKpisKpiKeyGetParametersSegmentByTime":{"type":"string","enum":["daily","hourly","monthly","weekly","yearly"],"title":"ApiAnalyticsKpisKpiKeyGetParametersSegmentByTime"},"KPIProjectInfo":{"type":"object","properties":{"project_id":{"type":"integer","description":"Project ID"},"project_name":{"type":"string","description":"Project name"},"workspace_id":{"type":"integer","description":"Workspace ID"},"workspace_name":{"type":"string","description":"Workspace name"}},"required":["project_id","project_name","workspace_id","workspace_name"],"description":"Serializer for project information (compact format).","title":"KPIProjectInfo"},"KpiProjectSegmentValuesItems":{"oneOf":[{"type":"number","format":"double"},{"type":"string"}],"title":"KpiProjectSegmentValuesItems"},"KPIProjectSegment":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/KPIProjectInfo"},"description":"Array of project information"},"values":{"type":"array","items":{"$ref":"#/components/schemas/KpiProjectSegmentValuesItems"},"description":"Array of KPI values, one per project (parallel to projects array). Can be numbers or strings depending on KPI type."}},"required":["projects","values"],"description":"Serializer for project-segmented KPI data (compact format).\nReturns parallel arrays: projects and values.\n\nNote: Values can be numbers (for count/time/ratio KPIs) or strings\n(for category KPIs like project_state).","title":"KPIProjectSegment"},"KPIUserInfo":{"type":"object","properties":{"user_email":{"type":"string","format":"email","description":"User email"},"user_id":{"type":"integer","description":"User ID"},"username":{"type":"string","description":"Username"}},"required":["user_email","user_id","username"],"description":"Serializer for user information (compact format).","title":"KPIUserInfo"},"KPIUserSegment":{"type":"object","properties":{"total":{"type":"integer","description":"When all=true, total members with performance data before the breakdown cap."},"users":{"type":"array","items":{"$ref":"#/components/schemas/KPIUserInfo"},"description":"Array of user information"},"values":{"type":"array","items":{"type":"number","format":"double"},"description":"Array of KPI values, one per user (parallel to users array)"}},"required":["users","values"],"description":"Serializer for user-segmented KPI data (compact format).\nReturns parallel arrays: users and values.","title":"KPIUserSegment"},"KPIUserProjectInfo":{"type":"object","properties":{"project_color":{"type":["string","null"],"description":"Project color (hex)"},"project_id":{"type":"integer","description":"Project ID"},"project_name":{"type":"string","description":"Project name"},"workspace_color":{"type":["string","null"],"description":"Workspace color (hex)"},"workspace_id":{"type":["integer","null"],"description":"Shared workspace ID, if any"},"workspace_name":{"type":["string","null"],"description":"Shared workspace name, if any"}},"required":["project_color","project_id","project_name","workspace_color","workspace_id","workspace_name"],"description":"Project information for user × project segmentation, with display colors.","title":"KPIUserProjectInfo"},"KPIUserProjectSegment":{"type":"object","properties":{"project_ids":{"type":"array","items":{"type":"integer"},"description":"Project ID of each cell"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/KPIUserProjectInfo"},"description":"Projects that appear in at least one cell"},"user_ids":{"type":"array","items":{"type":"integer"},"description":"User ID of each cell"},"users":{"type":"array","items":{"$ref":"#/components/schemas/KPIUserInfo"},"description":"Users that appear in at least one cell"},"values":{"type":"array","items":{"type":"number","format":"double"},"description":"KPI value of each cell (parallel to user_ids and project_ids)"}},"required":["project_ids","projects","user_ids","users","values"],"description":"Serializer for 2D segmentation (user × project) in sparse compact format.\nOnly non-empty cells are returned: user_ids[i], project_ids[i] and values[i] describe one cell.","title":"KPIUserProjectSegment"},"KPIMatrixSegment":{"type":"object","properties":{"interval_start":{"type":"array","items":{"type":"string","format":"date-time"},"description":"Array of time period start timestamps"},"users":{"type":"array","items":{"$ref":"#/components/schemas/KPIUserInfo"},"description":"Array of user information"},"values":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}},"description":"2D array of values: values[user_index][time_index]"}},"required":["interval_start","users","values"],"description":"Serializer for 2D matrix segmentation (time × user) in compact format.\nReturns a 2D array where values[user_index][time_index] corresponds to\nusers[user_index] at interval_start[time_index].","title":"KPIMatrixSegment"},"KPIProjectMatrixSegment":{"type":"object","properties":{"interval_start":{"type":"array","items":{"type":"string","format":"date-time"},"description":"Array of time period start timestamps"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/KPIProjectInfo"},"description":"Array of project information"},"values":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}},"description":"2D array of values: values[project_index][time_index]"}},"required":["interval_start","projects","values"],"description":"Serializer for 2D matrix segmentation (time × project) in compact format.\nReturns a 2D array where values[project_index][time_index] corresponds to\nprojects[project_index] at interval_start[time_index].","title":"KPIProjectMatrixSegment"},"SegmentationEnum":{"type":"string","enum":["none","time","user","project","matrix","project_matrix","user_project"],"description":"* `none` - none\n* `time` - time\n* `user` - user\n* `project` - project\n* `matrix` - matrix\n* `project_matrix` - project_matrix\n* `user_project` - user_project","title":"SegmentationEnum"},"KPITimeSegment":{"type":"object","properties":{"interval_start":{"type":"array","items":{"type":"string","format":"date-time"},"description":"Array of time period start timestamps"},"values":{"type":"array","items":{"type":"number","format":"double"},"description":"Array of KPI values, one per time period (parallel to interval_start)"}},"required":["interval_start","values"],"description":"Serializer for time-segmented KPI data (compact format).\nReturns parallel arrays: interval_start and values.","title":"KPITimeSegment"},"KPIValue":{"type":"object","properties":{"unit":{"type":"string","description":"Unit of measurement: seconds, minutes, hours, count, or ratio"},"value":{"type":["number","null"],"format":"double","description":"The KPI value in its native unit"}},"required":["unit","value"],"description":"Serializer for a single KPI value (no segmentation).","title":"KPIValue"},"KPIDetailResponse":{"type":"object","properties":{"by_project":{"oneOf":[{"$ref":"#/components/schemas/KPIProjectSegment"},{"type":"null"}],"description":"Project-segmented data (compact format with parallel arrays)"},"by_user":{"oneOf":[{"$ref":"#/components/schemas/KPIUserSegment"},{"type":"null"}],"description":"User-segmented data (compact format with parallel arrays)"},"by_user_project":{"oneOf":[{"$ref":"#/components/schemas/KPIUserProjectSegment"},{"type":"null"}],"description":"Sparse 2D segmentation (user × project)"},"kpi_key":{"type":"string","description":"KPI identifier"},"kpi_label":{"type":["string","null"],"description":"Human-readable KPI label"},"matrix":{"oneOf":[{"$ref":"#/components/schemas/KPIMatrixSegment"},{"type":"null"}],"description":"2D matrix (time × user) in compact format"},"project_matrix":{"oneOf":[{"$ref":"#/components/schemas/KPIProjectMatrixSegment"},{"type":"null"}],"description":"2D matrix (time × project) in compact format"},"segmentation":{"$ref":"#/components/schemas/SegmentationEnum","description":"Type of segmentation applied\n\n* `none` - none\n* `time` - time\n* `user` - user\n* `project` - project\n* `matrix` - matrix\n* `project_matrix` - project_matrix\n* `user_project` - user_project"},"time_series":{"oneOf":[{"$ref":"#/components/schemas/KPITimeSegment"},{"type":"null"}],"description":"Time-segmented data (compact format with parallel arrays)"},"total":{"oneOf":[{"$ref":"#/components/schemas/KPIValue"},{"type":"null"}],"description":"Total value (no segmentation)"},"unit":{"type":"string","description":"Unit of measurement: seconds, minutes, hours, count, or ratio"}},"required":["kpi_key","kpi_label","segmentation","unit"],"description":"Response serializer for KPI detail endpoint.\nStructure varies based on segmentation parameters.","title":"KPIDetailResponse"},"AnnotationHistoryActionEnum":{"type":"string","enum":["prediction","propagated_annotation","imported","submitted","updated","skipped","accepted","rejected","fixed_and_accepted","deleted_review"],"description":"* `prediction` - Created from prediction\n* `propagated_annotation` - Created from another annotation\n* `imported` - Imported\n* `submitted` - Submitted\n* `updated` - Updated\n* `skipped` - Skipped\n* `accepted` - Accepted\n* `rejected` - Rejected\n* `fixed_and_accepted` - Fixed and accepted\n* `deleted_review` - Deleted review","title":"AnnotationHistoryActionEnum"},"AnnotationHistory":{"type":"object","properties":{"action":{"oneOf":[{"$ref":"#/components/schemas/AnnotationHistoryActionEnum"},{"type":"null"}]},"annotation_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Corresponding annotation for this historical annotation"},"comment":{"type":["string","null"]},"comment_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Comment id sent with result"},"created_at":{"type":"string","format":"date-time"},"created_by":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Created by user id"},"draft_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Corresponding draft for this historical annotation"},"id":{"type":"integer"},"lead_time":{"type":["number","null"],"format":"double","description":"How much time it took to annotate the task"},"organization_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Organization for this annotation history"},"project_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Project for this annotation history"},"result":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Labeling result"},"review_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"AnnotationReview ID, using with review field"},"started_at":{"type":["string","null"],"format":"date-time","description":"The time that a user started working on this revision of the annotation"},"task_id":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Task id"}},"required":["comment","created_at","id"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"AnnotationHistory"},"annotation_history_delete_Response_200":{"type":"object","properties":{"removed":{"type":"integer","description":"Number of removed items"}},"title":"annotation_history_delete_Response_200"},"PaginatedAnnotationHistoryList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationHistory"}}},"required":["count","results"],"title":"PaginatedAnnotationHistoryList"},"RejectActionEnum":{"type":"string","enum":["remove","requeue","redistribute"],"description":"* `remove` - Remove\n* `requeue` - Requeue\n* `redistribute` - Redistribute","title":"RejectActionEnum"},"AnnotationReview":{"type":"object","properties":{"accepted":{"type":"boolean","description":"Accepted or rejected (if false) flag"},"annotation":{"type":"integer","description":"Corresponding annotation"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_by":{"type":"integer","description":"User who made this review"},"fixed_annotation_history":{"type":["integer","null"],"description":"Fixed annotation history item by the reviewer"},"id":{"type":"integer"},"last_annotation_history":{"type":["integer","null"]},"previous_annotation_history":{"type":["integer","null"],"description":"Previous annotation history item by the annotator"},"reject_action":{"oneOf":[{"$ref":"#/components/schemas/RejectActionEnum"},{"type":"null"}]},"remove_from_queue":{"type":["boolean","null"]},"result":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"started_at":{"type":["string","null"],"format":"date-time"},"state":{"type":"string"}},"required":["annotation","created_at","created_by","fixed_annotation_history","id","previous_annotation_history","state"],"description":"AnnotationReview Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"AnnotationReview"},"AnnotationReviewRequest":{"type":"object","properties":{"accepted":{"type":"boolean","description":"Accepted or rejected (if false) flag"},"annotation":{"type":"integer","description":"Corresponding annotation"},"comment":{"type":["string","null"],"minLength":1},"last_annotation_history":{"type":["integer","null"]},"reject_action":{"oneOf":[{"$ref":"#/components/schemas/RejectActionEnum"},{"type":"null"}]},"remove_from_queue":{"type":["boolean","null"]},"result":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"started_at":{"type":["string","null"],"format":"date-time"}},"required":["annotation"],"description":"AnnotationReview Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"AnnotationReviewRequest"},"PatchedAnnotationReviewRequest":{"type":"object","properties":{"accepted":{"type":"boolean","description":"Accepted or rejected (if false) flag"},"annotation":{"type":"integer","description":"Corresponding annotation"},"comment":{"type":["string","null"],"minLength":1},"last_annotation_history":{"type":["integer","null"]},"reject_action":{"oneOf":[{"$ref":"#/components/schemas/RejectActionEnum"},{"type":"null"}]},"remove_from_queue":{"type":["boolean","null"]},"result":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"started_at":{"type":["string","null"],"format":"date-time"}},"description":"AnnotationReview Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"PatchedAnnotationReviewRequest"},"AnnotationBulkDeleteRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer","minimum":1},"description":"List of annotation IDs to delete. Maximum 100 IDs per request."},"project":{"type":"integer"}},"required":["ids","project"],"description":"Serializer for bulk annotation deletion by IDs.","title":"AnnotationBulkDeleteRequest"},"annotations_delete_bulk_Response_200":{"type":"object","properties":{"deleted_count":{"type":"integer","description":"Number of annotations deleted"}},"title":"annotations_delete_bulk_Response_200"},"AnnotationBulkSerializerWithSelectedItemsRequestResultItems":{"type":"object","properties":{},"description":"List of annotated regions for the task","title":"AnnotationBulkSerializerWithSelectedItemsRequestResultItems"},"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems0":{"type":"object","properties":{"all":{"type":"boolean","description":"No tasks are selected"},"included":{"type":"array","items":{"type":"integer"},"description":"List of included task IDs"}},"required":["all"],"title":"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems0"},"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems1":{"type":"object","properties":{"all":{"type":"boolean","description":"All tasks are selected"},"excluded":{"type":"array","items":{"type":"integer"},"description":"List of excluded task IDs"}},"required":["all"],"title":"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems1"},"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems":{"oneOf":[{"$ref":"#/components/schemas/AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems0"},{"$ref":"#/components/schemas/AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems1"}],"description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`","title":"AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems"},"AnnotationBulkSerializerWithSelectedItemsRequest":{"type":"object","properties":{"bulk_created":{"type":["boolean","null"],"description":"Annotation was created in bulk mode"},"completed_by":{"type":"integer"},"draft_created_at":{"type":["string","null"],"format":"date-time","description":"Draft creation time"},"ground_truth":{"type":"boolean","description":"This annotation is a Ground Truth (ground_truth)"},"import_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Original annotation ID that was at the import step or NULL if this annotation wasn't imported"},"last_action":{"oneOf":[{"$ref":"#/components/schemas/AnnotationHistoryActionEnum"},{"type":"null"}],"description":"Action which was performed in the last annotation history item\n\n* `prediction` - Created from prediction\n* `propagated_annotation` - Created from another annotation\n* `imported` - Imported\n* `submitted` - Submitted\n* `updated` - Updated\n* `skipped` - Skipped\n* `accepted` - Accepted\n* `rejected` - Rejected\n* `fixed_and_accepted` - Fixed and accepted\n* `deleted_review` - Deleted review"},"last_created_by":{"type":["integer","null"],"description":"User who created the last annotation history item"},"lead_time":{"type":["number","null"],"format":"double","description":"How much time it took to annotate the task"},"parent_annotation":{"type":["integer","null"],"description":"Points to the parent annotation from which this annotation was created"},"parent_prediction":{"type":["integer","null"],"description":"Points to the prediction from which this annotation was created"},"project":{"type":["integer","null"],"description":"Project ID for this annotation"},"result":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationBulkSerializerWithSelectedItemsRequestResultItems"},"description":"List of annotation results for the task"},"selected_items":{"oneOf":[{"$ref":"#/components/schemas/AnnotationBulkSerializerWithSelectedItemsRequestSelectedItems"},{"type":"null"}],"description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`"},"task":{"type":["integer","null"],"description":"Corresponding task for this annotation"},"tasks":{"type":"array","items":{"type":"integer"}},"unique_id":{"type":"string","minLength":1},"updated_by":{"type":["integer","null"],"description":"Last user who updated this annotation"},"was_cancelled":{"type":"boolean","description":"User skipped the task"}},"description":"Annotation Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"AnnotationBulkSerializerWithSelectedItemsRequest"},"ApiAnnotationsBulkPostResponsesContentApplicationJsonSchemaItems":{"type":"object","properties":{"id":{"type":"integer","description":"Annotation ID"}},"required":["id"],"title":"ApiAnnotationsBulkPostResponsesContentApplicationJsonSchemaItems"},"AnnotationResultItems":{"type":"object","properties":{},"description":"List of annotated regions for the task","title":"AnnotationResultItems"},"Annotation":{"type":"object","properties":{"bulk_created":{"type":["boolean","null"],"description":"Annotation was created in bulk mode"},"completed_by":{"type":"integer"},"created_ago":{"type":"string","default":"","description":"Time delta from creation time"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_username":{"type":"string","default":"","description":"Username string"},"draft_created_at":{"type":["string","null"],"format":"date-time","description":"Draft creation time"},"ground_truth":{"type":"boolean","description":"This annotation is a Ground Truth (ground_truth)"},"id":{"type":"integer"},"import_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Original annotation ID that was at the import step or NULL if this annotation wasn't imported"},"last_action":{"oneOf":[{"$ref":"#/components/schemas/AnnotationHistoryActionEnum"},{"type":"null"}],"description":"Action which was performed in the last annotation history item\n\n* `prediction` - Created from prediction\n* `propagated_annotation` - Created from another annotation\n* `imported` - Imported\n* `submitted` - Submitted\n* `updated` - Updated\n* `skipped` - Skipped\n* `accepted` - Accepted\n* `rejected` - Rejected\n* `fixed_and_accepted` - Fixed and accepted\n* `deleted_review` - Deleted review"},"last_created_by":{"type":["integer","null"],"description":"User who created the last annotation history item"},"lead_time":{"type":["number","null"],"format":"double","description":"How much time it took to annotate the task"},"parent_annotation":{"type":["integer","null"],"description":"Points to the parent annotation from which this annotation was created"},"parent_prediction":{"type":["integer","null"],"description":"Points to the prediction from which this annotation was created"},"project":{"type":["integer","null"],"description":"Project ID for this annotation"},"result":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationResultItems"},"description":"List of annotation results for the task"},"state":{"type":"string"},"task":{"type":["integer","null"],"description":"Corresponding task for this annotation"},"updated_at":{"type":"string","format":"date-time","description":"Last updated time"},"updated_by":{"type":["integer","null"],"description":"Last user who updated this annotation"},"was_cancelled":{"type":"boolean","description":"User skipped the task"}},"required":["created_ago","created_at","created_username","id","state","updated_at"],"description":"Annotation Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"Annotation"},"PatchedAnnotationRequestResultItems":{"type":"object","properties":{},"description":"List of annotated regions for the task","title":"PatchedAnnotationRequestResultItems"},"PatchedAnnotationRequest":{"type":"object","properties":{"bulk_created":{"type":["boolean","null"],"description":"Annotation was created in bulk mode"},"completed_by":{"type":"integer"},"draft_created_at":{"type":["string","null"],"format":"date-time","description":"Draft creation time"},"ground_truth":{"type":"boolean","description":"This annotation is a Ground Truth (ground_truth)"},"import_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Original annotation ID that was at the import step or NULL if this annotation wasn't imported"},"last_action":{"oneOf":[{"$ref":"#/components/schemas/AnnotationHistoryActionEnum"},{"type":"null"}],"description":"Action which was performed in the last annotation history item\n\n* `prediction` - Created from prediction\n* `propagated_annotation` - Created from another annotation\n* `imported` - Imported\n* `submitted` - Submitted\n* `updated` - Updated\n* `skipped` - Skipped\n* `accepted` - Accepted\n* `rejected` - Rejected\n* `fixed_and_accepted` - Fixed and accepted\n* `deleted_review` - Deleted review"},"last_created_by":{"type":["integer","null"],"description":"User who created the last annotation history item"},"lead_time":{"type":["number","null"],"format":"double","description":"How much time it took to annotate the task"},"parent_annotation":{"type":["integer","null"],"description":"Points to the parent annotation from which this annotation was created"},"parent_prediction":{"type":["integer","null"],"description":"Points to the prediction from which this annotation was created"},"project":{"type":["integer","null"],"description":"Project ID for this annotation"},"result":{"type":"array","items":{"$ref":"#/components/schemas/PatchedAnnotationRequestResultItems"},"description":"List of annotation results for the task"},"task":{"type":["integer","null"],"description":"Corresponding task for this annotation"},"unique_id":{"type":"string","minLength":1},"updated_by":{"type":["integer","null"],"description":"Last user who updated this annotation"},"was_cancelled":{"type":"boolean","description":"User skipped the task"}},"description":"Annotation Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"PatchedAnnotationRequest"},"AnnotationRequestResultItems":{"type":"object","properties":{},"description":"List of annotated regions for the task","title":"AnnotationRequestResultItems"},"AnnotationRequest":{"type":"object","properties":{"bulk_created":{"type":["boolean","null"],"description":"Annotation was created in bulk mode"},"completed_by":{"type":"integer"},"draft_created_at":{"type":["string","null"],"format":"date-time","description":"Draft creation time"},"ground_truth":{"type":"boolean","description":"This annotation is a Ground Truth (ground_truth)"},"import_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Original annotation ID that was at the import step or NULL if this annotation wasn't imported"},"last_action":{"oneOf":[{"$ref":"#/components/schemas/AnnotationHistoryActionEnum"},{"type":"null"}],"description":"Action which was performed in the last annotation history item\n\n* `prediction` - Created from prediction\n* `propagated_annotation` - Created from another annotation\n* `imported` - Imported\n* `submitted` - Submitted\n* `updated` - Updated\n* `skipped` - Skipped\n* `accepted` - Accepted\n* `rejected` - Rejected\n* `fixed_and_accepted` - Fixed and accepted\n* `deleted_review` - Deleted review"},"last_created_by":{"type":["integer","null"],"description":"User who created the last annotation history item"},"lead_time":{"type":["number","null"],"format":"double","description":"How much time it took to annotate the task"},"parent_annotation":{"type":["integer","null"],"description":"Points to the parent annotation from which this annotation was created"},"parent_prediction":{"type":["integer","null"],"description":"Points to the prediction from which this annotation was created"},"project":{"type":["integer","null"],"description":"Project ID for this annotation"},"result":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationRequestResultItems"},"description":"List of annotation results for the task"},"task":{"type":["integer","null"],"description":"Corresponding task for this annotation"},"unique_id":{"type":"string","minLength":1},"updated_by":{"type":["integer","null"],"description":"Last user who updated this annotation"},"was_cancelled":{"type":"boolean","description":"User skipped the task"}},"description":"Annotation Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"AnnotationRequest"},"CountLimit":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"reached":{"type":"boolean"},"total":{"type":"integer"}},"required":["count","limit","reached"],"title":"CountLimit"},"FlexActiveBlock":{"type":"object","properties":{"claim_mode":{"type":"string"},"ends_at":{"type":"string"},"id":{"type":"string"},"max_concurrent":{"type":"integer"},"starts_at":{"type":"string"},"status":{"type":"string"}},"required":["claim_mode","ends_at","id","max_concurrent","starts_at","status"],"title":"FlexActiveBlock"},"FlexChecks":{"type":"object","properties":{"active_blocks":{"type":"array","items":{"$ref":"#/components/schemas/FlexActiveBlock"}},"capacity":{"type":"integer"},"claim_mode":{"type":["string","null"]},"enabled":{"type":"boolean"},"ends_at":{"type":["string","null"]},"live_claims":{"type":"integer"},"peak_concurrent":{"type":"integer"},"roster_count":{"type":"integer"},"starts_at":{"type":["string","null"]}},"required":["active_blocks","capacity","claim_mode","enabled","ends_at","live_claims","peak_concurrent","roster_count","starts_at"],"description":"Flex entitlement snapshot for License & Usage (FIT-2340).\n\n``enabled`` is False for Starter/non-Enterprise, flag-off, or absent/expired\nwindows so the UI can hide Flex licensing lines.","title":"FlexChecks"},"PromptsStatusEnum":{"type":"string","enum":["Enabled","Cloud license per organization disabled","On-premise global license disabled","Expired","Adala not connected","Disabled for this organization [FF]","unknown"],"description":"* `Enabled` - Enabled\n* `Cloud license per organization disabled` - Cloud license per organization disabled\n* `On-premise global license disabled` - On-premise global license disabled\n* `Expired` - Expired\n* `Adala not connected` - Adala not connected\n* `Disabled for this organization [FF]` - Disabled for this organization [FF]\n* `unknown` - unknown","title":"PromptsStatusEnum"},"BillingChecks":{"type":"object","properties":{"export_storages":{"$ref":"#/components/schemas/CountLimit"},"flex":{"$ref":"#/components/schemas/FlexChecks"},"import_storages":{"$ref":"#/components/schemas/CountLimit"},"is_license_expired":{"type":"boolean"},"is_license_warning":{"type":"boolean"},"is_prompts_expire":{"type":"boolean"},"is_prompts_warning":{"type":"boolean"},"license_expires":{"type":["string","null"],"format":"date"},"license_issued":{"type":["string","null"],"format":"date"},"license_warning":{"type":["string","null"],"format":"date"},"organization_is_active":{"type":"boolean"},"projects":{"$ref":"#/components/schemas/CountLimit"},"prompts_api_keys_enabled":{"type":"boolean"},"prompts_enabled":{"type":"boolean"},"prompts_expire":{"type":["string","null"]},"prompts_status":{"$ref":"#/components/schemas/PromptsStatusEnum"},"prompts_warning":{"type":["string","null"]},"results":{"$ref":"#/components/schemas/CountLimit"},"trial_days":{"type":"integer"},"users":{"$ref":"#/components/schemas/CountLimit"}},"required":["export_storages","import_storages","is_license_expired","is_license_warning","is_prompts_expire","is_prompts_warning","license_expires","license_issued","license_warning","organization_is_active","projects","prompts_api_keys_enabled","prompts_enabled","prompts_expire","prompts_status","prompts_warning","results","trial_days","users"],"title":"BillingChecks"},"BillingFlags":{"type":"object","properties":{"activated_at":{"type":["string","null"],"format":"date-time"},"allow_activity_log":{"type":"boolean"},"allow_ai":{"type":"boolean"},"allow_ask_ai":{"type":"boolean"},"allow_ask_ai_screenshots":{"type":["boolean","null"]},"allow_data_credentials":{"type":"boolean"},"allow_invite_people":{"type":"boolean"},"allow_invite_project_experts":{"type":"boolean"},"allow_nda":{"type":"boolean"},"allow_organization_webhooks":{"type":"boolean"},"allow_reviewing":{"type":"boolean"},"allow_sso":{"type":"boolean"},"allow_storage_proxy":{"type":"boolean"},"ask_ai_screenshots":{"type":"boolean"},"automax_enabled":{"type":"boolean"},"automax_token_exists":{"type":"boolean"},"cloud_instance":{"type":"boolean"},"disable_members_page":{"type":"boolean"},"disable_project_imports":{"type":"boolean"},"early_adopter":{"type":"boolean"},"email_configured":{"type":"boolean"},"embed_domains":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"embed_enabled":{"type":"boolean"},"embed_settings":{"type":"object","additionalProperties":{"description":"Any type"}},"manual_role_management":{"type":"boolean"},"manual_workspace_management":{"type":"boolean"},"secure_mode":{"type":"boolean"},"storage_persistence":{"type":"boolean"},"white_label_id":{"type":["string","null"]}},"required":["activated_at","allow_activity_log","allow_ai","allow_ask_ai","allow_ask_ai_screenshots","allow_data_credentials","allow_invite_people","allow_invite_project_experts","allow_nda","allow_organization_webhooks","allow_reviewing","allow_sso","allow_storage_proxy","ask_ai_screenshots","automax_enabled","automax_token_exists","cloud_instance","disable_members_page","disable_project_imports","early_adopter","email_configured","embed_enabled","manual_role_management","manual_workspace_management","secure_mode","storage_persistence","white_label_id"],"title":"BillingFlags"},"BillingInfoResponse":{"type":"object","properties":{"billing_checks":{"$ref":"#/components/schemas/BillingChecks"},"billing_flags":{"$ref":"#/components/schemas/BillingFlags"}},"required":["billing_checks","billing_flags"],"title":"BillingInfoResponse"},"Comment":{"type":"object","properties":{"annotation":{"type":["integer","null"]},"classifications":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Classifications applied by a reviewer or annotator"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_by":{"type":"integer","description":"User who made this comment"},"draft":{"type":["integer","null"]},"id":{"type":"integer"},"is_resolved":{"type":"boolean","description":"True if the comment is resolved"},"project":{"type":["integer","null"]},"region_ref":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Set if this comment is related to a specific part of the annotation. Normally contains region ID and control name."},"resolved_at":{"type":["string","null"],"format":"date-time","description":"Resolving time"},"state":{"type":"string"},"task":{"type":["integer","null"]},"text":{"type":["string","null"],"description":"Reviewer or annotator comment"},"updated_at":{"type":"string","format":"date-time","description":"Last updated time"}},"required":["created_at","created_by","id","project","resolved_at","state","task","updated_at"],"description":"Comment Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"Comment"},"OnboardingStateEnum":{"type":"string","enum":["not_started","signup","trial_signup","first_tutorial","in_app_guidance","complete"],"description":"* `not_started` - Not Started\n* `signup` - Signup\n* `trial_signup` - Trial Signup\n* `first_tutorial` - First Tutorial\n* `in_app_guidance` - In App Guidance\n* `complete` - Complete","title":"OnboardingStateEnum"},"TrialRoleEnum":{"type":"string","enum":["annotator","annotator_team_manager","business_analyst","business_or_data_team_leadership","data_engineer_platform_engineer","data_scientist","other"],"description":"* `annotator` - Annotator\n* `annotator_team_manager` - Annotator Team Manager\n* `business_analyst` - Business Analyst\n* `business_or_data_team_leadership` - Business Or Data Team Leadership\n* `data_engineer_platform_engineer` - Data Engineer Platform Engineer\n* `data_scientist` - Data Scientist\n* `other` - Other","title":"TrialRoleEnum"},"LseFields":{"type":"object","properties":{"email_notification_settings":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Get email notification settings with organization-level filtering.\n\nUse the model's getter method to ensure all notification types are included\nwith proper defaults for any missing types. Transform the output to include\nboth value and label for each notification type.\n\nFilter notifications based on organization's allowed notifications if user\nbelongs to exactly one organization.\n\nRole-based filtering: not_activated_user_login is only available to users\nwho are admins or owners in at least one organization."},"invite_activated":{"type":["boolean","null"]},"invite_expired":{"type":["boolean","null"]},"invite_expired_at":{"type":["string","null"],"format":"date-time"},"invited_at":{"type":["string","null"],"format":"date-time"},"invited_by":{"type":["integer","null"]},"onboarding_state":{"oneOf":[{"$ref":"#/components/schemas/OnboardingStateEnum"},{"type":"null"}],"description":"The current stage of user onboarding\n\n* `not_started` - Not Started\n* `signup` - Signup\n* `trial_signup` - Trial Signup\n* `first_tutorial` - First Tutorial\n* `in_app_guidance` - In App Guidance\n* `complete` - Complete"},"social_auth_finished":{"type":["boolean","null"],"description":"Is user finished social authentication"},"trial_company":{"type":["string","null"],"maxLength":1000},"trial_experience_labeling":{"type":["string","null"],"maxLength":1000},"trial_license_enterprise":{"type":["boolean","null"]},"trial_models_in_production":{"type":["string","null"],"maxLength":1000},"trial_role":{"oneOf":[{"$ref":"#/components/schemas/TrialRoleEnum"},{"type":"null"}]}},"required":["email_notification_settings","invite_expired","invite_expired_at"],"title":"LseFields"},"OrganizationMembership":{"type":"object","properties":{"active":{"type":"boolean"},"flex":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Flex claim/window state for FE expired-seat UX (FIT-2339). Non-Flex → null."},"organization_id":{"type":"integer","description":"Organization ID"},"role":{"type":"string"},"user_type":{"type":["string","null"]}},"required":["active","flex","organization_id","role","user_type"],"title":"OrganizationMembership"},"LseUser":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"active_organization_meta":{"type":"object","additionalProperties":{"type":"string"}},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"avatar":{"type":["string","null"]},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"initials":{"type":"string","default":"?"},"last_activity":{"type":["string","null"],"format":"date-time"},"last_name":{"type":"string","maxLength":256},"lse_fields":{"$ref":"#/components/schemas/LseFields"},"org_membership":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMembership"},"deprecated":true},"organization_membership":{"$ref":"#/components/schemas/OrganizationMembership"},"pause":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"phone":{"type":"string","maxLength":256},"username":{"type":"string","maxLength":256}},"required":["active_organization_meta","avatar","id","initials","last_activity","lse_fields","org_membership","organization_membership","pause","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"LseUser"},"CommentSerializerWithExpandedUser":{"type":"object","properties":{"annotation":{"type":["integer","null"]},"classifications":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Classifications applied by a reviewer or annotator"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_by":{"$ref":"#/components/schemas/LseUser"},"draft":{"type":["integer","null"]},"id":{"type":"integer"},"is_resolved":{"type":"boolean","description":"True if the comment is resolved"},"project":{"type":["integer","null"]},"region_ref":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Set if this comment is related to a specific part of the annotation. Normally contains region ID and control name."},"resolved_at":{"type":["string","null"],"format":"date-time","description":"Resolving time"},"state":{"type":"string"},"task":{"type":["integer","null"]},"text":{"type":["string","null"],"description":"Reviewer or annotator comment"},"updated_at":{"type":"string","format":"date-time","description":"Last updated time"}},"required":["created_at","created_by","id","project","resolved_at","state","task","updated_at"],"description":"Comment Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"CommentSerializerWithExpandedUser"},"MaybeExpandedComment":{"oneOf":[{"$ref":"#/components/schemas/Comment"},{"$ref":"#/components/schemas/CommentSerializerWithExpandedUser"}],"title":"MaybeExpandedComment"},"CommentRequest":{"type":"object","properties":{"annotation":{"type":["integer","null"]},"classifications":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Classifications applied by a reviewer or annotator"},"draft":{"type":["integer","null"]},"is_resolved":{"type":"boolean","description":"True if the comment is resolved"},"region_ref":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Set if this comment is related to a specific part of the annotation. Normally contains region ID and control name."},"text":{"type":["string","null"],"description":"Reviewer or annotator comment"}},"description":"Comment Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"CommentRequest"},"PatchedCommentRequest":{"type":"object","properties":{"annotation":{"type":["integer","null"]},"classifications":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Classifications applied by a reviewer or annotator"},"draft":{"type":["integer","null"]},"is_resolved":{"type":"boolean","description":"True if the comment is resolved"},"region_ref":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Set if this comment is related to a specific part of the annotation. Normally contains region ID and control name."},"text":{"type":["string","null"],"description":"Reviewer or annotator comment"}},"description":"Comment Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"PatchedCommentRequest"},"LseUserAPI":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"active_organization_meta":{"type":"object","additionalProperties":{"type":"string"}},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"avatar":{"type":["string","null"]},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"initials":{"type":"string","default":"?"},"last_activity":{"type":["string","null"],"format":"date-time"},"last_name":{"type":"string","maxLength":256},"org_membership":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMembership"},"deprecated":true},"organization_membership":{"$ref":"#/components/schemas/OrganizationMembership"},"phone":{"type":"string","maxLength":256},"username":{"type":"string","maxLength":256}},"required":["active_organization_meta","avatar","id","initials","last_activity","org_membership","organization_membership","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"LseUserAPI"},"PatchedLseUserSerializerUpdateRequest":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"current_password":{"type":"string","minLength":1,"description":"Your current password. Required when you change your own password."},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email_notification_settings":{"description":"Any type"},"first_name":{"type":"string","maxLength":256},"is_email_verified":{"type":["boolean","null"]},"last_name":{"type":"string","maxLength":256},"onboarding_state":{"type":["string","null"],"minLength":1},"password":{"type":"string","minLength":1},"phone":{"type":"string","maxLength":256}},"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"PatchedLseUserSerializerUpdateRequest"},"Hotkeys":{"type":"object","properties":{"custom_hotkeys":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["custom_hotkeys"],"title":"Hotkeys"},"PatchedHotkeysRequest":{"type":"object","properties":{"custom_hotkeys":{"type":"object","additionalProperties":{"description":"Any type"}}},"title":"PatchedHotkeysRequest"},"users_reset_token_Response_201":{"type":"object","properties":{"token":{"type":"string"}},"title":"users_reset_token_Response_201"},"users_get_token_Response_200":{"type":"object","properties":{"detail":{"type":"string"}},"title":"users_get_token_Response_200"},"WhoAmILseFields":{"type":"object","properties":{"active_organization_external_id":{"type":["string","null"]},"email_notification_settings":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Get email notification settings with organization-level filtering.\n\nUse the model's getter method to ensure all notification types are included\nwith proper defaults for any missing types. Transform the output to include\nboth value and label for each notification type.\n\nFilter notifications based on organization's allowed notifications if user\nbelongs to exactly one organization.\n\nRole-based filtering: not_activated_user_login is only available to users\nwho are admins or owners in at least one organization."},"invite_activated":{"type":["boolean","null"]},"invite_expired":{"type":["boolean","null"]},"invite_expired_at":{"type":["string","null"],"format":"date-time"},"invited_at":{"type":["string","null"],"format":"date-time"},"invited_by":{"type":["integer","null"]},"onboarding_state":{"oneOf":[{"$ref":"#/components/schemas/OnboardingStateEnum"},{"type":"null"}],"description":"The current stage of user onboarding\n\n* `not_started` - Not Started\n* `signup` - Signup\n* `trial_signup` - Trial Signup\n* `first_tutorial` - First Tutorial\n* `in_app_guidance` - In App Guidance\n* `complete` - Complete"},"social_auth_finished":{"type":["boolean","null"],"description":"Is user finished social authentication"},"trial_company":{"type":["string","null"],"maxLength":1000},"trial_experience_labeling":{"type":["string","null"],"maxLength":1000},"trial_license_enterprise":{"type":["boolean","null"]},"trial_models_in_production":{"type":["string","null"],"maxLength":1000},"trial_role":{"oneOf":[{"$ref":"#/components/schemas/TrialRoleEnum"},{"type":"null"}]}},"required":["active_organization_external_id","email_notification_settings","invite_expired","invite_expired_at"],"title":"WhoAmILseFields"},"WhoAmIUser":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"active_organization_meta":{"type":"object","additionalProperties":{"type":"string"}},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"avatar":{"type":["string","null"]},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"initials":{"type":"string","default":"?"},"last_activity":{"type":["string","null"],"format":"date-time"},"last_name":{"type":"string","maxLength":256},"lse_fields":{"$ref":"#/components/schemas/WhoAmILseFields"},"org_membership":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMembership"},"deprecated":true},"organization_membership":{"$ref":"#/components/schemas/OrganizationMembership"},"pause":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"permissions":{"type":"array","items":{"type":"string"}},"phone":{"type":"string","maxLength":256},"social_accounts":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"username":{"type":"string","maxLength":256}},"required":["active_organization_meta","avatar","id","initials","last_activity","lse_fields","org_membership","organization_membership","pause","permissions","social_accounts","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"WhoAmIUser"},"LseUserRequest":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"last_name":{"type":"string","maxLength":256},"password":{"type":"string","minLength":1},"phone":{"type":"string","maxLength":256},"username":{"type":"string","minLength":1,"maxLength":256}},"required":["username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"LseUserRequest"},"AgreementV2BackfillTriggerRequestRequest":{"type":"object","properties":{"all_projects":{"type":["boolean","null"],"description":"Set to true to trigger a full org backfill (cancels in-flight jobs and queues all remaining projects)."},"num_projects":{"type":["integer","null"],"minimum":1,"description":"Queue at most this many projects per call (batched mode)."},"project_id":{"type":["integer","null"],"description":"Backfill a single specific project."}},"description":"Request body for POST /api/dimensions/backfill/\n\nExactly one of the three mode fields must be provided:\n\n- project_id:   backfill a single specific project.\n- num_projects: batched org backfill — queue the next N not-yet-started projects\n                (ascending project ID order), leaving in-flight jobs untouched.\n                Check `projects_remaining` in the response and repeat until it reaches 0.\n- all_projects: full org backfill — cancel all in-flight jobs and queue every\n                remaining non-completed project at once.","title":"AgreementV2BackfillTriggerRequestRequest"},"AgreementV2BackfillTriggerResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Queued jobs: [{job_id, rq_job_id, project_id}]"},"jobs_queued":{"type":"integer","description":"Number of jobs queued in this request"},"message":{"type":"string"},"organization_id":{"type":"integer"},"projects_remaining":{"type":"integer","description":"Projects not yet started and not currently in-flight. Relevant when num_projects is used — call POST again until this reaches 0."},"projects_skipped":{"type":"integer","description":"Projects skipped because they already have a completed backfill"}},"required":["jobs","jobs_queued","message","organization_id","projects_remaining","projects_skipped"],"description":"Response from POST /api/dimensions/backfill/","title":"AgreementV2BackfillTriggerResponse"},"AgreementV2BackfillCancelResponse":{"type":"object","properties":{"cancelled_count":{"type":"integer","description":"Number of jobs successfully cancelled"},"message":{"type":"string"}},"required":["cancelled_count","message"],"description":"Response from DELETE /api/dimensions/backfill/","title":"AgreementV2BackfillCancelResponse"},"FsmBackfillJobStatusEnum":{"type":"string","enum":["PENDING","QUEUED","RUNNING","COMPLETED","FAILED"],"description":"* `PENDING` - Pending\n* `QUEUED` - Queued\n* `RUNNING` - Running\n* `COMPLETED` - Completed\n* `FAILED` - Failed","title":"FsmBackfillJobStatusEnum"},"AgreementV2BackfillJobTriggeredBy":{"oneOf":[{"type":"integer"},{"type":"string"}],"title":"AgreementV2BackfillJobTriggeredBy"},"AgreementV2BackfillJob":{"type":"object","properties":{"completed_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"error_message":{"type":"string","description":"Error message if job failed"},"job_id":{"type":"integer","description":"Database ID of the backfill job"},"progress_data":{"description":"JSON data tracking job progress (matrices_created, errors, etc.)"},"project_id":{"type":["integer","null"],"description":"Optional specific project to backfill (if null, backfills entire organization)"},"rq_job_id":{"type":["string","null"],"description":"Redis queue job ID"},"started_at":{"type":["string","null"],"format":"date-time"},"status":{"$ref":"#/components/schemas/FsmBackfillJobStatusEnum","description":"Current status of the backfill job\n\n* `PENDING` - Pending\n* `QUEUED` - Queued\n* `RUNNING` - Running\n* `COMPLETED` - Completed\n* `FAILED` - Failed"},"triggered_by":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/AgreementV2BackfillJobTriggeredBy"},"description":"User who triggered the backfill"}},"required":["created_at","job_id","project_id","rq_job_id","triggered_by"],"description":"Serializes a DimensionsBackfillJob model instance.\nUsed by the list endpoint and as the base for the status endpoint.","title":"AgreementV2BackfillJob"},"ValueCountsBackfillJobTriggeredBy":{"oneOf":[{"type":"integer"},{"type":"string"}],"title":"ValueCountsBackfillJobTriggeredBy"},"ValueCountsBackfillJob":{"type":"object","properties":{"completed_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"error_message":{"type":"string","description":"Error message if job failed"},"job_id":{"type":"integer","description":"Database ID of the backfill job"},"progress_data":{"description":"JSON data tracking job progress (rows_written, etc.)"},"project_id":{"type":["integer","null"],"description":"Optional specific project to backfill (if null, backfills entire organization)"},"rq_job_id":{"type":["string","null"],"description":"Redis queue job ID"},"started_at":{"type":["string","null"],"format":"date-time"},"status":{"$ref":"#/components/schemas/FsmBackfillJobStatusEnum","description":"Current status of the backfill job\n\n* `PENDING` - Pending\n* `QUEUED` - Queued\n* `RUNNING` - Running\n* `COMPLETED` - Completed\n* `FAILED` - Failed"},"triggered_by":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ValueCountsBackfillJobTriggeredBy"},"description":"User who triggered the backfill"}},"required":["created_at","job_id","project_id","rq_job_id","triggered_by"],"description":"Serializes a DimensionValueCountsBackfillJob model instance.\nUsed by the value-counts backfill list endpoint and as the base for the status endpoint.","title":"ValueCountsBackfillJob"},"DimensionList":{"type":"object","properties":{"allowed_metrics_with_params":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Dictionary mapping metric type names to their parameter schemas."},"control_tag":{"type":["string","null"],"description":"Name of the control tag this dimension is extracted from. Set automatically for system dimensions."},"created_at":{"type":"string","format":"date-time"},"description":{"type":"string","description":"Human-readable description of what this dimension represents"},"extraction_method":{"type":"string","description":"Method used to extract values from annotation JSON"},"extraction_method_params":{"description":"Parameters specific to the extraction method. See metrics.py for available extraction methods and their parameters."},"id":{"type":"integer"},"is_active":{"type":"boolean","description":"Whether this dimension is used in agreement calculations."},"is_categorical":{"type":"boolean","description":"Whether this dimension produces categorical (primitive/scalar) values."},"is_user_defined":{"type":"boolean","description":"Whether this dimension was manually created by a user. System-generated dimensions have this set to False."},"metric_params":{"description":"Parameters for the metric. See metrics.py for available metrics and their parameters."},"metric_type":{"type":"string","description":"Strategy for comparing dimension values across annotators"},"name":{"type":"string","description":"Unique identifier for this dimension within the project"},"order":{"type":"integer","description":"Display order within the project"},"project":{"type":"integer","description":"Project this dimension belongs to"},"updated_at":{"type":"string","format":"date-time"},"values_enum":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Schema-defined enum values for indexed value_counts. Refreshed only with label config changes."}},"required":["allowed_metrics_with_params","control_tag","created_at","description","extraction_method","extraction_method_params","id","is_active","is_categorical","is_user_defined","metric_params","metric_type","name","order","project","updated_at","values_enum"],"description":"Lightweight serializer for listing dimensions.\n\nExcludes detailed parameters for performance in list views.","title":"DimensionList"},"Dimension":{"type":"object","properties":{"allowed_metrics_with_params":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Dictionary mapping metric type names to their parameter schemas."},"control_tag":{"type":["string","null"],"description":"Name of the control tag this dimension is extracted from. Set automatically for system dimensions."},"created_at":{"type":"string","format":"date-time"},"created_by":{"type":["integer","null"],"description":"User who created this dimension"},"description":{"type":"string","description":"Human-readable description of what this dimension represents"},"extraction_method":{"type":"string","maxLength":32,"description":"Method used to extract values from annotation JSON"},"extraction_method_params":{"description":"Parameters specific to the extraction method. See metrics.py for available extraction methods and their parameters."},"id":{"type":"integer"},"is_active":{"type":"boolean","description":"Whether this dimension is used in agreement calculations."},"is_categorical":{"type":"boolean","description":"Whether this dimension produces categorical (primitive/scalar) values."},"is_user_defined":{"type":"boolean","description":"Whether this dimension was manually created by a user. System-generated dimensions have this set to False."},"metric_params":{"description":"Parameters for the metric. See metrics.py for available metrics and their parameters."},"metric_type":{"type":"string","maxLength":32,"description":"Strategy for comparing dimension values across annotators"},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Unique identifier for this dimension within the project"},"order":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Display order within the project"},"project":{"type":"integer","description":"Project this dimension belongs to"},"updated_at":{"type":"string","format":"date-time"},"values_enum":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Schema-defined enum values for indexed value_counts. Refreshed only with label config changes."}},"required":["allowed_metrics_with_params","control_tag","created_at","created_by","id","is_categorical","name","project","updated_at","values_enum"],"description":"Serializer for Dimension model.\n\nHandles serialization and validation for CRUD operations on dimensions.\nThe project and created_by fields are set automatically from the request context.","title":"Dimension"},"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialogFormItems":{"type":"object","properties":{},"title":"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialogFormItems"},"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialog":{"type":"object","properties":{"form":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialogFormItems"}},"text":{"type":["string","null"]},"title":{"type":["string","null"]},"type":{"type":["string","null"]}},"title":"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialog"},"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsPermission":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"title":"ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsPermission"},"ApiDmActionsGetResponsesContentApplicationJsonSchemaItems":{"type":"object","properties":{"dialog":{"$ref":"#/components/schemas/ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsDialog"},"experimental":{"type":"boolean"},"id":{"type":"string"},"order":{"type":"integer"},"permission":{"$ref":"#/components/schemas/ApiDmActionsGetResponsesContentApplicationJsonSchemaItemsPermission"},"title":{"type":"string"}},"title":"ApiDmActionsGetResponsesContentApplicationJsonSchemaItems"},"ApiDmActionsPostParametersId":{"type":"string","enum":["delete_annotators","delete_ground_truths","delete_reviewers","delete_tasks","delete_tasks_annotations","delete_tasks_predictions","delete_tasks_reviews","predictions_to_annotations","remove_duplicates","retrieve_tasks_predictions"],"title":"ApiDmActionsPostParametersId"},"ConjunctionEnum":{"type":"string","enum":["or","and"],"title":"ConjunctionEnum"},"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsFilter":{"type":"string","enum":["filter:tasks:agreement","filter:tasks:annotations_results","filter:tasks:annotators","filter:tasks:cancelled_annotations","filter:tasks:comments","filter:tasks:completed_at","filter:tasks:created_at","filter:tasks:file_upload","filter:tasks:ground_truth","filter:tasks:id","filter:tasks:inner_id","filter:tasks:predictions_model_versions","filter:tasks:predictions_results","filter:tasks:predictions_score","filter:tasks:reviewed","filter:tasks:reviewers","filter:tasks:reviews_accepted","filter:tasks:reviews_rejected","filter:tasks:total_annotations","filter:tasks:total_predictions","filter:tasks:unresolved_comment_count","filter:tasks:updated_at"],"description":"Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<br><li>`filter:tasks:agreement`<br> (Number) Agreement for annotation results for a specific task (Enterprise only)</li><br><li>`filter:tasks:annotations_results`<br> (String) Annotation results for the tasks</li><br><li>`filter:tasks:annotators`<br> (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:cancelled_annotations`<br> (Number) Number of cancelled or skipped annotations for the task</li><br><li>`filter:tasks:comments`<br> (Number) Number of comments in a task</li><br><li>`filter:tasks:completed_at`<br> (Datetime) Latest annotation time, set once the task has all required annotations</li><br><li>`filter:tasks:created_at`<br> (Datetime) Time the task was created at</li><br><li>`filter:tasks:file_upload`<br> (String) Name of the file uploaded to create the tasks</li><br><li>`filter:tasks:ground_truth`<br> (Boolean) Ground truth status of the tasks</li><br><li>`filter:tasks:id`<br> (Number) Task ID</li><br><li>`filter:tasks:inner_id`<br> (Number) Task Inner ID, it starts from 1 for all projects</li><br><li>`filter:tasks:predictions_model_versions`<br> (String) Model version used for the predictions</li><br><li>`filter:tasks:predictions_results`<br> (String) Prediction results for the tasks</li><br><li>`filter:tasks:predictions_score`<br> (Number) Prediction score for the task</li><br><li>`filter:tasks:reviewed`<br> (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><br><li>`filter:tasks:reviewers`<br> (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:reviews_accepted`<br> (Number) Number of annotations accepted for a task in review (Enterprise only)</li><br><li>`filter:tasks:reviews_rejected`<br> (Number) Number of annotations rejected for a task in review (Enterprise only)</li><br><li>`filter:tasks:total_annotations`<br> (Number) Total number of annotations on a task</li><br><li>`filter:tasks:total_predictions`<br> (Number) Total number of predictions for the task</li><br><li>`filter:tasks:unresolved_comment_count`<br> (Number) Number of unresolved comments in a task</li><br><li>`filter:tasks:updated_at`<br> (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li>","title":"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsFilter"},"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsOperator":{"type":"string","enum":["contains","ends_with","equal","exists","greater","greater_or_equal","in","in_list","less","less_or_equal","not_contains","not_equal","not_exists","not_in","not_in_list","starts_with"],"description":"Filter operator. Possible values:<br><li>`contains`<br> Contains</li><br><li>`ends_with`<br> Ends with</li><br><li>`equal`<br> Equal to</li><br><li>`exists`<br> Exists</li><br><li>`greater`<br> Greater than</li><br><li>`greater_or_equal`<br> Greater than or equal to</li><br><li>`in`<br> Is between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`in_list`<br> Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `[\"a\", \"b\"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`less`<br> Less than</li><br><li>`less_or_equal`<br> Less than or equal to</li><br><li>`not_contains`<br> Does not contain</li><br><li>`not_equal`<br> Not equal to</li><br><li>`not_exists`<br> Does not exist</li><br><li>`not_in`<br> Is not between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`not_in_list`<br> Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`starts_with`<br> Starts with</li>","title":"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsOperator"},"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsValue":{"oneOf":[{"type":"string"},{"type":"integer"},{"type":"string","title":"float"},{"type":"boolean"},{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"object","additionalProperties":{"description":"Any type"}}],"description":"Value to filter by","title":"PrepareParamsFiltersRequestItemsItemsChildFiltersItemsValue"},"PrepareParamsFiltersRequestItemsItemsChildFiltersItems":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsChildFiltersItemsFilter","description":"Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<br><li>`filter:tasks:agreement`<br> (Number) Agreement for annotation results for a specific task (Enterprise only)</li><br><li>`filter:tasks:annotations_results`<br> (String) Annotation results for the tasks</li><br><li>`filter:tasks:annotators`<br> (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:cancelled_annotations`<br> (Number) Number of cancelled or skipped annotations for the task</li><br><li>`filter:tasks:comments`<br> (Number) Number of comments in a task</li><br><li>`filter:tasks:completed_at`<br> (Datetime) Latest annotation time, set once the task has all required annotations</li><br><li>`filter:tasks:created_at`<br> (Datetime) Time the task was created at</li><br><li>`filter:tasks:file_upload`<br> (String) Name of the file uploaded to create the tasks</li><br><li>`filter:tasks:ground_truth`<br> (Boolean) Ground truth status of the tasks</li><br><li>`filter:tasks:id`<br> (Number) Task ID</li><br><li>`filter:tasks:inner_id`<br> (Number) Task Inner ID, it starts from 1 for all projects</li><br><li>`filter:tasks:predictions_model_versions`<br> (String) Model version used for the predictions</li><br><li>`filter:tasks:predictions_results`<br> (String) Prediction results for the tasks</li><br><li>`filter:tasks:predictions_score`<br> (Number) Prediction score for the task</li><br><li>`filter:tasks:reviewed`<br> (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><br><li>`filter:tasks:reviewers`<br> (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:reviews_accepted`<br> (Number) Number of annotations accepted for a task in review (Enterprise only)</li><br><li>`filter:tasks:reviews_rejected`<br> (Number) Number of annotations rejected for a task in review (Enterprise only)</li><br><li>`filter:tasks:total_annotations`<br> (Number) Total number of annotations on a task</li><br><li>`filter:tasks:total_predictions`<br> (Number) Total number of predictions for the task</li><br><li>`filter:tasks:unresolved_comment_count`<br> (Number) Number of unresolved comments in a task</li><br><li>`filter:tasks:updated_at`<br> (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li>"},"operator":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsChildFiltersItemsOperator","description":"Filter operator. Possible values:<br><li>`contains`<br> Contains</li><br><li>`ends_with`<br> Ends with</li><br><li>`equal`<br> Equal to</li><br><li>`exists`<br> Exists</li><br><li>`greater`<br> Greater than</li><br><li>`greater_or_equal`<br> Greater than or equal to</li><br><li>`in`<br> Is between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`in_list`<br> Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `[\"a\", \"b\"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`less`<br> Less than</li><br><li>`less_or_equal`<br> Less than or equal to</li><br><li>`not_contains`<br> Does not contain</li><br><li>`not_equal`<br> Not equal to</li><br><li>`not_exists`<br> Does not exist</li><br><li>`not_in`<br> Is not between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`not_in_list`<br> Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`starts_with`<br> Starts with</li>"},"type":{"type":"string","description":"Type of the filter value. Possible values:<br><li>`Boolean`<br> Boolean</li><br><li>`Datetime`<br> Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><br><li>`List`<br> List of items</li><br><li>`Number`<br> Float or Integer</li><br><li>`String`<br> String</li><br><li>`Unknown`<br> Unknown is explicitly converted to string format</li>"},"value":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsChildFiltersItemsValue","description":"Value to filter by"}},"required":["filter","operator","type","value"],"title":"PrepareParamsFiltersRequestItemsItemsChildFiltersItems"},"PrepareParamsFiltersRequestItemsItemsFilter":{"type":"string","enum":["filter:tasks:agreement","filter:tasks:annotations_results","filter:tasks:annotators","filter:tasks:cancelled_annotations","filter:tasks:comments","filter:tasks:completed_at","filter:tasks:created_at","filter:tasks:file_upload","filter:tasks:ground_truth","filter:tasks:id","filter:tasks:inner_id","filter:tasks:predictions_model_versions","filter:tasks:predictions_results","filter:tasks:predictions_score","filter:tasks:reviewed","filter:tasks:reviewers","filter:tasks:reviews_accepted","filter:tasks:reviews_rejected","filter:tasks:total_annotations","filter:tasks:total_predictions","filter:tasks:unresolved_comment_count","filter:tasks:updated_at"],"description":"Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<br><li>`filter:tasks:agreement`<br> (Number) Agreement for annotation results for a specific task (Enterprise only)</li><br><li>`filter:tasks:annotations_results`<br> (String) Annotation results for the tasks</li><br><li>`filter:tasks:annotators`<br> (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:cancelled_annotations`<br> (Number) Number of cancelled or skipped annotations for the task</li><br><li>`filter:tasks:comments`<br> (Number) Number of comments in a task</li><br><li>`filter:tasks:completed_at`<br> (Datetime) Latest annotation time, set once the task has all required annotations</li><br><li>`filter:tasks:created_at`<br> (Datetime) Time the task was created at</li><br><li>`filter:tasks:file_upload`<br> (String) Name of the file uploaded to create the tasks</li><br><li>`filter:tasks:ground_truth`<br> (Boolean) Ground truth status of the tasks</li><br><li>`filter:tasks:id`<br> (Number) Task ID</li><br><li>`filter:tasks:inner_id`<br> (Number) Task Inner ID, it starts from 1 for all projects</li><br><li>`filter:tasks:predictions_model_versions`<br> (String) Model version used for the predictions</li><br><li>`filter:tasks:predictions_results`<br> (String) Prediction results for the tasks</li><br><li>`filter:tasks:predictions_score`<br> (Number) Prediction score for the task</li><br><li>`filter:tasks:reviewed`<br> (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><br><li>`filter:tasks:reviewers`<br> (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:reviews_accepted`<br> (Number) Number of annotations accepted for a task in review (Enterprise only)</li><br><li>`filter:tasks:reviews_rejected`<br> (Number) Number of annotations rejected for a task in review (Enterprise only)</li><br><li>`filter:tasks:total_annotations`<br> (Number) Total number of annotations on a task</li><br><li>`filter:tasks:total_predictions`<br> (Number) Total number of predictions for the task</li><br><li>`filter:tasks:unresolved_comment_count`<br> (Number) Number of unresolved comments in a task</li><br><li>`filter:tasks:updated_at`<br> (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li>","title":"PrepareParamsFiltersRequestItemsItemsFilter"},"PrepareParamsFiltersRequestItemsItemsOperator":{"type":"string","enum":["contains","ends_with","equal","exists","greater","greater_or_equal","in","in_list","less","less_or_equal","not_contains","not_equal","not_exists","not_in","not_in_list","starts_with"],"description":"Filter operator. Possible values:<br><li>`contains`<br> Contains</li><br><li>`ends_with`<br> Ends with</li><br><li>`equal`<br> Equal to</li><br><li>`exists`<br> Exists</li><br><li>`greater`<br> Greater than</li><br><li>`greater_or_equal`<br> Greater than or equal to</li><br><li>`in`<br> Is between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`in_list`<br> Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `[\"a\", \"b\"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`less`<br> Less than</li><br><li>`less_or_equal`<br> Less than or equal to</li><br><li>`not_contains`<br> Does not contain</li><br><li>`not_equal`<br> Not equal to</li><br><li>`not_exists`<br> Does not exist</li><br><li>`not_in`<br> Is not between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`not_in_list`<br> Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`starts_with`<br> Starts with</li>","title":"PrepareParamsFiltersRequestItemsItemsOperator"},"PrepareParamsFiltersRequestItemsItemsValue":{"oneOf":[{"type":"string"},{"type":"integer"},{"type":"string","title":"float"},{"type":"boolean"},{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"object","additionalProperties":{"description":"Any type"}}],"description":"Value to filter by","title":"PrepareParamsFiltersRequestItemsItemsValue"},"PrepareParamsFiltersRequestItemsItems":{"type":"object","properties":{"child_filters":{"type":"array","items":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsChildFiltersItems"},"description":"Ordered child filters AND-merged with their parent. Child filters cannot be nested."},"filter":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsFilter","description":"Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<br><li>`filter:tasks:agreement`<br> (Number) Agreement for annotation results for a specific task (Enterprise only)</li><br><li>`filter:tasks:annotations_results`<br> (String) Annotation results for the tasks</li><br><li>`filter:tasks:annotators`<br> (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:cancelled_annotations`<br> (Number) Number of cancelled or skipped annotations for the task</li><br><li>`filter:tasks:comments`<br> (Number) Number of comments in a task</li><br><li>`filter:tasks:completed_at`<br> (Datetime) Latest annotation time, set once the task has all required annotations</li><br><li>`filter:tasks:created_at`<br> (Datetime) Time the task was created at</li><br><li>`filter:tasks:file_upload`<br> (String) Name of the file uploaded to create the tasks</li><br><li>`filter:tasks:ground_truth`<br> (Boolean) Ground truth status of the tasks</li><br><li>`filter:tasks:id`<br> (Number) Task ID</li><br><li>`filter:tasks:inner_id`<br> (Number) Task Inner ID, it starts from 1 for all projects</li><br><li>`filter:tasks:predictions_model_versions`<br> (String) Model version used for the predictions</li><br><li>`filter:tasks:predictions_results`<br> (String) Prediction results for the tasks</li><br><li>`filter:tasks:predictions_score`<br> (Number) Prediction score for the task</li><br><li>`filter:tasks:reviewed`<br> (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><br><li>`filter:tasks:reviewers`<br> (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><br><li>`filter:tasks:reviews_accepted`<br> (Number) Number of annotations accepted for a task in review (Enterprise only)</li><br><li>`filter:tasks:reviews_rejected`<br> (Number) Number of annotations rejected for a task in review (Enterprise only)</li><br><li>`filter:tasks:total_annotations`<br> (Number) Total number of annotations on a task</li><br><li>`filter:tasks:total_predictions`<br> (Number) Total number of predictions for the task</li><br><li>`filter:tasks:unresolved_comment_count`<br> (Number) Number of unresolved comments in a task</li><br><li>`filter:tasks:updated_at`<br> (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li>"},"operator":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsOperator","description":"Filter operator. Possible values:<br><li>`contains`<br> Contains</li><br><li>`ends_with`<br> Ends with</li><br><li>`equal`<br> Equal to</li><br><li>`exists`<br> Exists</li><br><li>`greater`<br> Greater than</li><br><li>`greater_or_equal`<br> Greater than or equal to</li><br><li>`in`<br> Is between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`in_list`<br> Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `[\"a\", \"b\"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`less`<br> Less than</li><br><li>`less_or_equal`<br> Less than or equal to</li><br><li>`not_contains`<br> Does not contain</li><br><li>`not_equal`<br> Not equal to</li><br><li>`not_exists`<br> Does not exist</li><br><li>`not_in`<br> Is not between min and max values, so the filter `value` should be e.g. `{\"min\": 1, \"max\": 7}`</li><br><li>`not_in_list`<br> Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><br><li>`starts_with`<br> Starts with</li>"},"type":{"type":"string","description":"Type of the filter value. Possible values:<br><li>`Boolean`<br> Boolean</li><br><li>`Datetime`<br> Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><br><li>`List`<br> List of items</li><br><li>`Number`<br> Float or Integer</li><br><li>`String`<br> String</li><br><li>`Unknown`<br> Unknown is explicitly converted to string format</li>"},"value":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItemsValue","description":"Value to filter by"}},"required":["filter","operator","type","value"],"title":"PrepareParamsFiltersRequestItemsItems"},"PrepareParamsFiltersRequest":{"type":"object","properties":{"conjunction":{"$ref":"#/components/schemas/ConjunctionEnum","description":"Logical conjunction for the filters. This conjunction (either \"or\" or \"and\") will be applied to all items in the filters list. It is not possible to combine \"or\" and \"and\" within one list of filters. All filters will be either combined with \"or\" or with \"and\", but not a mix of both."},"items":{"type":"array","items":{"$ref":"#/components/schemas/PrepareParamsFiltersRequestItemsItems"},"description":"List of filter items"}},"required":["conjunction","items"],"description":"Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.<br>Example: `{\"conjunction\": \"or\", \"items\": [{\"filter\": \"filter:tasks:completed_at\", \"operator\": \"greater\", \"type\": \"Datetime\", \"value\": \"2021-01-01T00:00:00.000Z\"}]}`","title":"PrepareParamsFiltersRequest"},"PrepareParamsOrderingRequestItems":{"type":"string","enum":["tasks:agreement","tasks:annotations_results","tasks:annotators","tasks:cancelled_annotations","tasks:comments","tasks:completed_at","tasks:created_at","tasks:file_upload","tasks:ground_truth","tasks:id","tasks:inner_id","tasks:predictions_model_versions","tasks:predictions_results","tasks:predictions_score","tasks:reviewed","tasks:reviewers","tasks:reviews_accepted","tasks:reviews_rejected","tasks:total_annotations","tasks:total_predictions","tasks:unresolved_comment_count","tasks:updated_at"],"title":"PrepareParamsOrderingRequestItems"},"PrepareParamsOrderingRequest":{"type":"array","items":{"$ref":"#/components/schemas/PrepareParamsOrderingRequestItems"},"description":"List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`.","title":"PrepareParamsOrderingRequest"},"PrepareParamsRequestRequestSelectedItems0":{"type":"object","properties":{"all":{"type":"boolean","description":"No tasks are selected"},"included":{"type":"array","items":{"type":"integer"},"description":"List of included task IDs"}},"required":["all"],"title":"PrepareParamsRequestRequestSelectedItems0"},"PrepareParamsRequestRequestSelectedItems1":{"type":"object","properties":{"all":{"type":"boolean","description":"All tasks are selected"},"excluded":{"type":"array","items":{"type":"integer"},"description":"List of excluded task IDs"}},"required":["all"],"title":"PrepareParamsRequestRequestSelectedItems1"},"PrepareParamsRequestRequestSelectedItems":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsRequestRequestSelectedItems0"},{"$ref":"#/components/schemas/PrepareParamsRequestRequestSelectedItems1"}],"description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`","title":"PrepareParamsRequestRequestSelectedItems"},"PrepareParamsRequestRequest":{"type":"object","properties":{"filters":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsFiltersRequest"},{"type":"null"}]},"ordering":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsOrderingRequest"},{"type":"null"}]},"selectedItems":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsRequestRequestSelectedItems"},{"type":"null"}],"description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`"}},"title":"PrepareParamsRequestRequest"},"actions_create_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"actions_create_Response_200"},"ChildFilter":{"type":"object","properties":{"column":{"type":"string","maxLength":1024,"description":"Field name"},"id":{"type":"integer"},"index":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Display order among root filters only"},"operator":{"type":"string","maxLength":1024,"description":"Filter operator"},"parent":{"type":["integer","null"],"description":"Optional parent filter to create one-level hierarchy (child filters are AND-merged with parent)"},"type":{"type":"string","maxLength":1024,"description":"Field type"},"value":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Filter value"}},"required":["column","id","operator","type"],"title":"ChildFilter"},"Filter":{"type":"object","properties":{"child_filters":{"type":"array","items":{"$ref":"#/components/schemas/ChildFilter"}},"column":{"type":"string","maxLength":1024,"description":"Field name"},"id":{"type":"integer"},"index":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Display order among root filters only"},"operator":{"type":"string","maxLength":1024,"description":"Filter operator"},"parent":{"type":["integer","null"],"description":"Optional parent filter to create one-level hierarchy (child filters are AND-merged with parent)"},"type":{"type":"string","maxLength":1024,"description":"Field type"},"value":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Filter value"}},"required":["column","id","operator","type"],"title":"Filter"},"FilterGroup":{"type":"object","properties":{"conjunction":{"type":"string","maxLength":1024,"description":"Type of conjunction"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Filter"}},"id":{"type":"integer"}},"required":["conjunction","filters","id"],"title":"FilterGroup"},"ViewLockedBy":{"type":"object","properties":{"email":{"type":"string","format":"email"},"id":{"type":"integer"},"name":{"type":"string"}},"title":"ViewLockedBy"},"View":{"type":"object","properties":{"data":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom view data"},"filter_group":{"$ref":"#/components/schemas/FilterGroup"},"id":{"type":"integer"},"is_locked":{"type":["boolean","null"],"description":"Whether this data manager tab is locked against configuration changes"},"locked_at":{"type":["string","null"],"format":"date-time","description":"Time when this view was locked"},"locked_by":{"oneOf":[{"$ref":"#/components/schemas/ViewLockedBy"},{"type":"null"}]},"order":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Position of the tab, starting at the left in data manager and increasing as the tabs go left to right"},"ordering":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Ordering parameters"},"project":{"type":"integer","description":"Project ID"},"selected_items":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Selected items"},"user":{"type":["integer","null"],"description":"User who made this view"}},"required":["id","locked_by","project"],"title":"View"},"ViewDataRequestRequest":{"type":"object","properties":{"filters":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsFiltersRequest"},{"type":"null"}]},"ordering":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsOrderingRequest"},{"type":"null"}]}},"description":"Established public view payload nested under ``data``.","title":"ViewDataRequestRequest"},"ViewRequestRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ViewDataRequestRequest"},"project":{"type":"integer","description":"Project ID"}},"description":"Public view write contract; runtime conversion remains in ``ViewSerializer``.","title":"ViewRequestRequest"},"ViewOrderRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"A list of view IDs in the desired order."},"project":{"type":"integer"}},"required":["ids","project"],"title":"ViewOrderRequest"},"views_update_order_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"views_update_order_Response_200"},"PatchedViewRequestRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ViewDataRequestRequest"},"project":{"type":"integer","description":"Project ID"}},"description":"Public view write contract; runtime conversion remains in ``ViewSerializer``.","title":"PatchedViewRequestRequest"},"StateBackfillJobItem":{"type":"object","properties":{"job_id":{"type":"integer","description":"Database ID of the backfill job"},"project_id":{"type":"integer","description":"Project ID being backfilled"},"rq_job_id":{"type":["string","null"],"description":"Redis queue job ID"}},"required":["job_id","project_id"],"title":"StateBackfillJobItem"},"StateBackfillResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/StateBackfillJobItem"}},"jobs_queued":{"type":"integer","description":"Number of jobs queued"},"message":{"type":"string","description":"Status message"},"organization_id":{"type":"integer","description":"Organization ID"},"projects_skipped":{"type":"integer","description":"Number of projects skipped because they are already completed"}},"required":["jobs","jobs_queued","message","organization_id","projects_skipped"],"title":"StateBackfillResponse"},"StateBackfillErrorResponse":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"title":"StateBackfillErrorResponse"},"StateBackfillCancelResponse":{"type":"object","properties":{"cancelled_count":{"type":"integer","description":"Number of jobs successfully cancelled"},"message":{"type":"string","description":"Cancellation status message"}},"required":["cancelled_count","message"],"title":"StateBackfillCancelResponse"},"StateBackfillProgress":{"type":"object","properties":{"failed_projects":{"type":"integer","description":"Projects that failed"},"successful_projects":{"type":"integer","description":"Projects completed successfully"},"total_entities_processed":{"type":"integer","description":"Total entities processed so far"},"total_projects":{"type":"integer","description":"Total projects involved"}},"title":"StateBackfillProgress"},"StateTriggeredBy":{"type":"object","properties":{"email":{"type":"string"},"first_name":{"type":["string","null"]},"id":{"type":"integer"},"last_name":{"type":["string","null"]}},"required":["email","id"],"title":"StateTriggeredBy"},"StateBackfillJobItemResponse":{"type":"object","properties":{"completed_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"error_message":{"type":["string","null"]},"job_id":{"type":"integer"},"progress_data":{"oneOf":[{"$ref":"#/components/schemas/StateBackfillProgress"},{"type":"null"}]},"rq_job_id":{"type":["string","null"]},"started_at":{"type":["string","null"],"format":"date-time"},"status":{"type":"string"},"triggered_by":{"oneOf":[{"$ref":"#/components/schemas/StateTriggeredBy"},{"type":"null"}]}},"required":["created_at","job_id","status"],"title":"StateBackfillJobItemResponse"},"StateBackfillJobListResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/StateBackfillJobItemResponse"}}},"required":["jobs"],"title":"StateBackfillJobListResponse"},"StateBackfillOrgStatus":{"type":"object","properties":{"completed_projects":{"type":"integer"},"failed_projects":{"type":"integer"},"pending_projects":{"type":"integer"},"running_projects":{"type":"integer"},"total_entities_processed":{"type":"integer"},"total_projects":{"type":"integer","description":"Total projects in organization"}},"required":["completed_projects","failed_projects","pending_projects","running_projects","total_entities_processed","total_projects"],"title":"StateBackfillOrgStatus"},"StateBackfillStatusResponse":{"type":"object","properties":{"completed_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":["string","null"],"format":"date-time"},"error_message":{"type":["string","null"]},"job_id":{"type":"integer","description":"Job ID (if fetching a specific job)"},"org_status":{"$ref":"#/components/schemas/StateBackfillOrgStatus","description":"Aggregated organization status"},"progress":{"$ref":"#/components/schemas/StateBackfillProgress"},"rq_job_id":{"type":["string","null"]},"rq_job_info":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"started_at":{"type":["string","null"],"format":"date-time"},"status":{"type":"string"},"triggered_by":{"$ref":"#/components/schemas/StateTriggeredBy"}},"title":"StateBackfillStatusResponse"},"TriggeredBy":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":254},"id":{"type":"integer"}},"required":["id"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"TriggeredBy"},"StateModel":{"type":"object","properties":{"context_data":{"description":"Any type"},"created_at":{"type":"string","format":"date-time"},"id":{"type":"string","format":"uuid"},"previous_state":{"type":["string","null"]},"reason":{"type":["string","null"]},"state":{"type":"string"},"transition_name":{"type":["string","null"]},"triggered_by":{"oneOf":[{"$ref":"#/components/schemas/TriggeredBy"},{"type":"null"}]}},"required":["context_data","created_at","id","previous_state","reason","state","transition_name","triggered_by"],"description":"Serializer for FSM state models.\n\nUses Serializer instead of ModelSerializer because BaseState is abstract.\nWorks with any concrete state model that inherits from BaseState.","title":"StateModel"},"PaginatedStateModelList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/StateModel"}}},"required":["count","results"],"title":"PaginatedStateModelList"},"FSMTransitionExecuteRequestRequest":{"type":"object","properties":{"transition_data":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"transition_name":{"type":"string","minLength":1}},"required":["transition_name"],"description":"Request body serializer for executing a manual FSM transition.","title":"FSMTransitionExecuteRequestRequest"},"FSMTransitionExecuteResponse":{"type":"object","properties":{"new_state":{"type":["string","null"]},"state_record":{"oneOf":[{"$ref":"#/components/schemas/StateModel"},{"type":"null"}]},"success":{"type":"boolean"}},"required":["new_state","state_record","success"],"description":"Response serializer for manual FSM transition execution.","title":"FSMTransitionExecuteResponse"},"FileUpload":{"type":"object","properties":{"file":{"type":"string"},"id":{"type":"integer"},"size":{"type":["integer","null"]}},"required":["file","id","size"],"title":"FileUpload"},"PatchedFileUploadRequest":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"title":"PatchedFileUploadRequest"},"files_download_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"files_download_Response_200"},"BatchFailedPredictionsRequestRequest":{"type":"object","properties":{"failed_predictions":{"type":"array","items":{"description":"Any type"}},"job_id":{"type":"string","minLength":1,"maxLength":255},"modelrun_id":{"type":"integer"}},"required":["failed_predictions","modelrun_id"],"title":"BatchFailedPredictionsRequestRequest"},"BatchFailedPredictions":{"type":"object","properties":{"failed_predictions":{"type":"array","items":{"description":"Any type"}},"job_id":{"type":"string","maxLength":255}},"required":["failed_predictions","job_id"],"title":"BatchFailedPredictions"},"BatchPredictionsRequestRequest":{"type":"object","properties":{"job_id":{"type":"string","minLength":1,"maxLength":255},"modelrun_id":{"type":"integer"},"results":{"type":"array","items":{"description":"Any type"}}},"required":["modelrun_id","results"],"title":"BatchPredictionsRequestRequest"},"BatchPredictions":{"type":"object","properties":{"job_id":{"type":"string","maxLength":255},"results":{"type":"array","items":{"description":"Any type"}}},"required":["job_id","results"],"title":"BatchPredictions"},"ApiProjectsProjectPkSubsetTasksGetParametersAlignmentOutcome":{"type":"string","enum":["all","false_negative","false_positive","true_positive"],"title":"ApiProjectsProjectPkSubsetTasksGetParametersAlignmentOutcome"},"ProjectSubsetTaskItem":{"type":"object","properties":{"data":{"type":"object","additionalProperties":{"description":"Any type"}},"error":{"type":"object","additionalProperties":{"description":"Any type"}},"ground_truth":{"type":"object","additionalProperties":{"description":"Any type"}},"id":{"type":"integer"},"prediction":{"type":"object","additionalProperties":{"description":"Any type"}},"score":{"type":["number","null"],"format":"double"}},"required":["data"],"title":"ProjectSubsetTaskItem"},"ProjectSubsetTasksResponse":{"type":"object","properties":{"next_cursor":{"type":["string","null"]},"previous_cursor":{"type":["string","null"]},"task_count":{"type":"integer","description":"Present only when include_total=true"},"task_result_list":{"type":"array","items":{"$ref":"#/components/schemas/ProjectSubsetTaskItem"}}},"required":["task_result_list"],"title":"ProjectSubsetTasksResponse"},"PaginatedProjectSubsetTasksResponseList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ProjectSubsetTasksResponse"}}},"required":["count","results"],"title":"PaginatedProjectSubsetTasksResponseList"},"ProjectSubsetItem":{"type":"object","properties":{"columns_schema":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"count":{"type":"integer"},"subset":{"type":"string"}},"required":["count","subset"],"title":"ProjectSubsetItem"},"AssociatedProject":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project name. Must be between 3 and 50 characters long."}},"required":["id"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"AssociatedProject"},"UserSimple":{"type":"object","properties":{"avatar":{"type":["string","null"]},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"last_name":{"type":"string","maxLength":256},"username":{"type":"string","maxLength":256}},"required":["avatar","id","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"UserSimple"},"SkillNameEnum":{"type":"string","enum":["TextClassification","NamedEntityRecognition"],"description":"* `TextClassification` - TextClassification\n* `NamedEntityRecognition` - NamedEntityRecognition","title":"SkillNameEnum"},"ModelInterfaceSerializerGET":{"type":"object","properties":{"associated_projects":{"type":"array","items":{"$ref":"#/components/schemas/AssociatedProject"},"default":[]},"best_score":{"type":["number","null"],"format":"double"},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"User who created Dataset"},"description":{"type":["string","null"],"description":"Model description"},"id":{"type":"integer"},"input_fields":{"description":"Any type"},"organization":{"type":["integer","null"]},"output_classes":{"description":"Any type"},"runs_count":{"type":"integer","default":0},"skill_name":{"$ref":"#/components/schemas/SkillNameEnum","default":"TextClassification"},"title":{"type":"string","maxLength":500,"description":"Model name"},"updated_at":{"type":"string","format":"date-time"},"versions_count":{"type":"integer","default":0}},"required":["best_score","created_at","id","runs_count","title","updated_at","versions_count"],"title":"ModelInterfaceSerializerGET"},"PaginatedModelInterfaceSerializerGETList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ModelInterfaceSerializerGET"}}},"required":["count","results"],"title":"PaginatedModelInterfaceSerializerGETList"},"UserSimpleRequest":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"last_name":{"type":"string","maxLength":256},"username":{"type":"string","minLength":1,"maxLength":256}},"required":["username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"UserSimpleRequest"},"ModelInterfaceRequest":{"type":"object","properties":{"associated_projects":{"type":"array","items":{"type":"integer"}},"created_by":{"$ref":"#/components/schemas/UserSimpleRequest","description":"User who created Dataset"},"description":{"type":["string","null"],"description":"Model description"},"input_fields":{"description":"Any type"},"organization":{"type":["integer","null"]},"output_classes":{"description":"Any type"},"skill_name":{"$ref":"#/components/schemas/SkillNameEnum","default":"TextClassification"},"title":{"type":"string","minLength":1,"maxLength":500,"description":"Model name"}},"required":["title"],"title":"ModelInterfaceRequest"},"ModelInterface":{"type":"object","properties":{"associated_projects":{"type":"array","items":{"type":"integer"}},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"User who created Dataset"},"description":{"type":["string","null"],"description":"Model description"},"id":{"type":"integer"},"input_fields":{"description":"Any type"},"organization":{"type":["integer","null"]},"output_classes":{"description":"Any type"},"skill_name":{"$ref":"#/components/schemas/SkillNameEnum","default":"TextClassification"},"title":{"type":"string","maxLength":500,"description":"Model name"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","id","title","updated_at"],"title":"ModelInterface"},"ApiPromptsCompatibleProjectsGetParametersProjectType":{"type":"string","enum":["NamedEntityRecognition","TextClassification"],"default":"TextClassification","title":"ApiPromptsCompatibleProjectsGetParametersProjectType"},"AgreementMethodologyEnum":{"type":"string","enum":["consensus","pairwise"],"description":"* `consensus` - Consensus\n* `pairwise` - Pairwise Averaging","title":"AgreementMethodologyEnum"},"AnnotatorEvaluationMetricEnum":{"type":"string","enum":["gt_agreement","acceptance_score","rejection_rate"],"description":"* `gt_agreement` - Ground truth agreement\n* `acceptance_score` - Acceptance score\n* `rejection_rate` - Rejection rate","title":"AnnotatorEvaluationMetricEnum"},"LabelStreamTaskDistributionEnum":{"type":"string","enum":["auto_distribution","assigned_only"],"description":"* `auto_distribution` - Label Stream distributes tasks automatically to annotators\n* `assigned_only` - Label Stream shows tasks only to assigned users","title":"LabelStreamTaskDistributionEnum"},"AssignmentSettings":{"type":"object","properties":{"id":{"type":"integer"},"label_stream_task_distribution":{"oneOf":[{"$ref":"#/components/schemas/LabelStreamTaskDistributionEnum"},{"type":"null"}],"description":"Automatic / Manual\n\n* `auto_distribution` - Label Stream distributes tasks automatically to annotators\n* `assigned_only` - Label Stream shows tasks only to assigned users"},"project":{"type":["integer","null"]}},"required":["id"],"title":"AssignmentSettings"},"BlueprintList":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"description":{"type":["string","null"],"description":"Project description"},"id":{"type":"integer"},"share_id":{"type":"string","description":"Public identifier used in share links (the random share token)."},"short_url":{"type":"string"},"task_count":{"type":"integer"},"title":{"type":["string","null"],"maxLength":50,"description":"Blueprint name. Must be between 3 and 50 characters long."}},"required":["created_at","id","share_id","short_url","task_count"],"title":"BlueprintList"},"ControlTagWeight":{"type":"object","properties":{"labels":{"type":"object","additionalProperties":{"type":"number","format":"double","minimum":0,"maximum":1},"description":"Per-label weights (0.0 to 1.0). Zero excludes the label from agreement."},"overall":{"type":"number","format":"double","minimum":0,"maximum":1,"description":"Overall weight for this control tag (0.0 to 1.0). Zero excludes the tag from agreement."},"type":{"type":"string","description":"Control tag type from the labeling config (e.g. Choices, Labels, TextArea)."}},"required":["overall","type"],"description":"Weights configuration for a single control tag.\n\nStructure: {\"overall\": 0.5, \"type\": \"Choices\", \"labels\": {\"cat\": 1.0, \"dog\": 0.0}}","title":"ControlTagWeight"},"AllRolesProjectListDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"AllRolesProjectListDmColumnDefaultsExplore"},"AllRolesProjectListDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"AllRolesProjectListDmColumnDefaultsLabeling"},"AllRolesProjectListDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/AllRolesProjectListDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/AllRolesProjectListDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"AllRolesProjectListDmColumnDefaults"},"RequeueRejectedTasksModeEnum":{"type":"string","enum":["requeue","remove","flexible"],"description":"* `requeue` - Requeue\n* `remove` - Remove\n* `flexible` - Flexible","title":"RequeueRejectedTasksModeEnum"},"ReviewCriteriaEnum":{"type":"string","enum":["all","one"],"description":"* `all` - Task is reviewed if all annotations are reviewed\n* `one` - Task is reviewed if at least one annotation is reviewed","title":"ReviewCriteriaEnum"},"ReviewSettingsSamplingEnum":{"type":"string","enum":["task_id","random","by_annotator"],"description":"* `task_id` - By Task ID\n* `random` - Random\n* `by_annotator` - By Annotator","title":"ReviewSettingsSamplingEnum"},"ReviewSettings":{"type":"object","properties":{"allowed_reject_actions":{"type":"array","items":{"$ref":"#/components/schemas/RejectActionEnum"}},"annotator_batch_percent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Percent of an annotator’s work to review before moving to another annotator"},"anonymize_annotations":{"type":"boolean","description":"Hide annotator names from annotations while review"},"default_reject_action":{"$ref":"#/components/schemas/RejectActionEnum","description":"Reject action a reviewer triggers in one click, without opening the reject options menu\n\n* `remove` - Remove\n* `requeue` - Requeue\n* `redistribute` - Redistribute"},"id":{"type":"integer"},"instruction":{"type":["string","null"],"description":"Instructions"},"only_finished_tasks":{"type":"boolean","description":"Show only finished tasks in the review stream"},"project":{"type":["integer","null"]},"requeue_rejected_tasks_mode":{"oneOf":[{"$ref":"#/components/schemas/RequeueRejectedTasksModeEnum"},{"type":"null"}],"description":"Deprecated. Prefer allowed_reject_actions. Remove rejected annotations from labeling queue / Requeue rejected annotations back to annotators / Allow reviewer to decide: Remove or Requeue\n\n* `requeue` - Requeue\n* `remove` - Remove\n* `flexible` - Flexible"},"requeue_rejected_tasks_to_annotator":{"type":"boolean","description":"Deprecated. Prefer allowed_reject_actions. If set, the rejected task is requeued to the annotator"},"require_comment_on_reject":{"type":"boolean","description":"Reviewers must leave a comment on reject"},"review_criteria":{"oneOf":[{"$ref":"#/components/schemas/ReviewCriteriaEnum"},{"type":"null"}],"description":"Task is reviewed after at least one accepted annotation / Task is reviewed when all annotations are reviewed\n\n* `all` - Task is reviewed if all annotations are reviewed\n* `one` - Task is reviewed if at least one annotation is reviewed"},"review_only_manual_assignments":{"type":"boolean","description":"Show only manually assigned tasks in the review stream"},"review_task_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Task limit (%)"},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ReviewSettingsSamplingEnum"},{"type":"null"}],"description":"By Task ID / Random / By Annotator\n\n* `task_id` - By Task ID\n* `random` - Random\n* `by_annotator` - By Annotator"},"show_agreement_to_reviewers":{"type":"boolean","description":"Show agreement to reviewers in the Data Manager"},"show_data_manager_to_reviewers":{"type":"boolean","description":"Show the Data Manager to reviewers"},"show_instruction":{"type":"boolean","description":"Show before reviewing"},"show_unused_data_columns_to_reviewers":{"type":["boolean","null"],"description":"Show unused task data columns to reviewers in the Data Manager"}},"required":["id","requeue_rejected_tasks_to_annotator"],"title":"ReviewSettings"},"ProjectSamplingEnum":{"type":"string","enum":["Sequential sampling","Uniform sampling","Uncertainty sampling"],"description":"* `Sequential sampling` - Tasks are ordered by Data manager ordering\n* `Uniform sampling` - Tasks are chosen randomly\n* `Uncertainty sampling` - Tasks are chosen according to model uncertainty scores (active learning mode)","title":"ProjectSamplingEnum"},"SkipQueueEnum":{"type":"string","enum":["REQUEUE_FOR_ME","REQUEUE_FOR_OTHERS","IGNORE_SKIPPED"],"description":"* `REQUEUE_FOR_ME` - Requeue for me\n* `REQUEUE_FOR_OTHERS` - Requeue for others\n* `IGNORE_SKIPPED` - Ignore skipped","title":"SkipQueueEnum"},"StateSourceEnum":{"type":"string","enum":["manual","auto"],"title":"StateSourceEnum"},"AllRolesProjectList":{"type":"object","properties":{"agreement_methodology":{"$ref":"#/components/schemas/AgreementMethodologyEnum","default":"pairwise","description":"Methodology (Consensus / Pairwise Averaging)\n\n* `consensus` - Consensus\n* `pairwise` - Pairwise Averaging"},"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,2})?$","description":"Agreement threshold"},"allow_stream":{"type":"boolean"},"annotation_limit_count":{"type":["integer","null"],"minimum":1,"description":"Limit by number of tasks"},"annotation_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Limit by percentage of tasks"},"annotator_evaluation_continuous_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Continuous Evaluation: Required tasks"},"annotator_evaluation_enabled":{"type":"boolean","description":"Evaluate all annotators against ground truth"},"annotator_evaluation_metric":{"oneOf":[{"$ref":"#/components/schemas/AnnotatorEvaluationMetricEnum"},{"type":"null"}],"default":"gt_agreement","description":"Metric used to evaluate annotators. Defaults to gt_agreement.\n\n* `gt_agreement` - Ground truth agreement\n* `acceptance_score` - Acceptance score\n* `rejection_rate` - Rejection rate"},"annotator_evaluation_minimum_score":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","default":"95.00","description":"Score required to pass evaluation"},"annotator_evaluation_minimum_tasks":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"default":10,"description":"Number of tasks for evaluation"},"annotator_evaluation_onboarding_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Onboarding Evaluation: Required tasks"},"assignment_settings":{"$ref":"#/components/schemas/AssignmentSettings"},"blueprints":{"type":"array","items":{"$ref":"#/components/schemas/BlueprintList"}},"collection_mode":{"type":["string","null"],"description":"Data Collection project mode (assigned/open); null for non-collection projects. Set at creation only."},"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"comment_classification_config":{"type":"string"},"config_has_control_tags":{"type":"boolean","description":"Flag to detect is project ready for labeling"},"config_suitable_for_bulk_annotation":{"type":"boolean","description":"Flag to detect is project ready for bulk annotation"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeight"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"custom_script":{"type":"string","description":"Plugins"},"custom_task_lock_ttl":{"type":["integer","null"],"minimum":1,"maximum":86400,"description":"Task reservation time. TTL in seconds (UI displays and edits this value in minutes)."},"data_types":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"description":{"type":["string","null"],"description":"Description (Public)"},"description_short":{"type":"string"},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/AllRolesProjectListDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"duplication_done":{"type":"boolean","default":false},"duplication_status":{"type":"string"},"enable_empty_annotation":{"type":"boolean","description":"Allow empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Instructions"},"finished_task_number":{"type":"integer","description":"Project-wide count of tasks considered finished under project completion rules (agreement threshold, overlap, or FSM states such as needs-review and completed). Not a per-user queue counter. Analytics KPIs such as `annotated_tasks`, `done_tasks`, and `total_tasks` measure related but not identical project-wide totals."},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"type":["array","null"],"items":{"description":"Any type"},"description":"Description (Internal)"},"internal_description_short":{"type":["string","null"]},"is_dimensions_enabled":{"type":"boolean"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_onboarding_project":{"type":"boolean","description":"Onboarding project: contributors must pass it before identity verification"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"is_skill_assessment":{"type":"boolean","description":"Skill assessment: tests contributors instead of producing work"},"label_config":{"type":["string","null"],"description":"Labeling Configuration"},"max_additional_annotators_assignable":{"type":["integer","null"],"description":"Maximum additional annotators"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task"},"members":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"members_count":{"type":"integer"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"num_tasks_with_annotations":{"type":["integer","null"],"description":"Tasks with at least one annotation. For annotators, counts only tasks this user annotated; for other roles, counts project-wide. For analytics, use annotated_tasks or related KPIs with explicit project/member filters."},"organization":{"type":"integer"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task coverage"},"parsed_label_config":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON-formatted labeling configuration"},"pause_on_failed_annotator_evaluation":{"type":["boolean","null"],"default":false,"description":"Pause annotator on failed evaluation"},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"prompts":{"type":["array","null"],"items":{"type":"object","additionalProperties":{"description":"Any type"}}},"queue_done":{"type":"integer","description":"Annotator-only: tasks this user has completed in the labeling queue for the project."},"queue_left":{"type":["integer","null"],"description":"Reviewer-only: remaining tasks in this user's manually assigned review queue. Returns 0 when no manual assignments apply; the project card then uses `review_total_tasks` and `reviewed_number` for auto-review progress. Not the same as the project-wide `tasks_pending_review` KPI."},"queue_total":{"type":"integer","description":"Role-dependent queue size. Annotators: total tasks in the labeling queue. Reviewers (list/counts): total manually assigned review tasks (same pool as `reviewer_queue_total`). Not the same as `task_number` (all project tasks) or `review_total_tasks` (auto-review stream pool)."},"ready":{"type":"boolean"},"rejected":{"type":"integer","description":"Annotator-only: this user's annotations rejected by reviewers."},"require_comment_on_skip":{"type":"boolean","default":false,"description":"Require comment to skip"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"review_settings":{"$ref":"#/components/schemas/ReviewSettings"},"review_total_tasks":{"type":["integer","null"],"description":"Total tasks in this user's reviewer queue for the project (denominator for personal review progress). Respects review sampling limits when configured. Null for annotators. This is not the project-wide reviewed or pending count; see Analytics KPIs tasks_reviewed and tasks_pending_review for org-level totals."},"reviewed_number":{"type":["integer","null"],"description":"Tasks this user has reviewed in the project (personal reviewer progress shown on the project card). Includes only reviews created by the authenticated user, so the value can be lower than the project-wide reviewed total when multiple reviewers participate. Null for annotators. For all reviewed tasks in the project, use the Analytics KPI tasks_reviewed: GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC."},"reviewer_queue_total":{"type":["integer","null"],"description":"Tasks manually assigned to this user for review (`reviewer_queue_total_count`). Null for annotators."},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show Data Manager to Annotators"},"show_collab_predictions":{"type":"boolean","description":"Use predictions to pre-label Tasks"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions before labeling"},"show_overlap_first":{"type":"boolean","description":"Show tasks with overlap first"},"show_skip_button":{"type":"boolean","description":"Allow skipping tasks"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"],"description":"Show only columns used in labeling configuration to Annotators. API uses inverse field semantics here: set false to show only used columns, set true to show all task.data columns."},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"skipped_annotations_number":{"type":["integer","null"]},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface snapshot used by this project."},"start_training_on_annotation_update":{"type":"boolean","description":"Start model training after any annotations are submitted or updated"},"state":{"type":"string"},"state_marked_done_at":{"type":["string","null"],"format":"date-time","description":"When the project was marked as Done. Null unless state_source is \"manual\". Managers+ only."},"state_marked_done_by":{"oneOf":[{"$ref":"#/components/schemas/UserSimple"},{"type":"null"}],"description":"User who marked the project as Done. Null unless state_source is \"manual\". Managers+ only."},"state_source":{"oneOf":[{"$ref":"#/components/schemas/StateSourceEnum"},{"type":"null"}],"description":"\"manual\" while a Manager+ has marked the project as Done, \"auto\" while the state is calculated from tasks. Null when project states are not available."},"strict_task_overlap":{"type":"boolean","default":true,"description":"Enforce strict overlap limit"},"task_number":{"type":"integer","description":"Total task number in project"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Name"},"total_annotations_number":{"type":"integer"},"total_predictions_number":{"type":"integer"},"use_custom_interface":{"type":"boolean","default":false},"useful_annotation_number":{"type":["integer","null"]},"workspace":{"type":"integer"},"workspace_title":{"type":["string","null"]}},"required":["allow_stream","assignment_settings","blueprints","collection_mode","config_has_control_tags","config_suitable_for_bulk_annotation","created_at","data_types","description_short","finished_task_number","ground_truth_number","id","internal_description","internal_description_short","is_dimensions_enabled","is_onboarding_project","members","members_count","num_tasks_with_annotations","organization","parsed_label_config","prompts","queue_done","queue_left","queue_total","ready","rejected","review_settings","review_total_tasks","reviewed_number","reviewer_queue_total","skipped_annotations_number","start_training_on_annotation_update","state","state_marked_done_at","state_marked_done_by","state_source","task_number","total_annotations_number","total_predictions_number","useful_annotation_number","workspace","workspace_title"],"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"AllRolesProjectList"},"PaginatedAllRolesProjectListList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AllRolesProjectList"}}},"required":["count","results"],"title":"PaginatedAllRolesProjectListList"},"PatchedModelInterfaceRequest":{"type":"object","properties":{"associated_projects":{"type":"array","items":{"type":"integer"}},"created_by":{"$ref":"#/components/schemas/UserSimpleRequest","description":"User who created Dataset"},"description":{"type":["string","null"],"description":"Model description"},"input_fields":{"description":"Any type"},"organization":{"type":["integer","null"]},"output_classes":{"description":"Any type"},"skill_name":{"$ref":"#/components/schemas/SkillNameEnum","default":"TextClassification"},"title":{"type":"string","minLength":1,"maxLength":500,"description":"Model name"}},"title":"PatchedModelInterfaceRequest"},"ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues":{"type":"object","properties":{},"title":"ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues"},"ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems":{"type":"object","properties":{"title":{"type":"string"},"values":{"$ref":"#/components/schemas/ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues"}},"title":"ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems"},"LSEKeyIndicatorValue":{"type":"object","properties":{"title":{"type":"string","description":"The title for this metric, to be displayed to the user"},"values":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Dictionary of key-value pairs for the indicator values"}},"required":["title","values"],"description":"Key indicator value for Label Studio Enterprise.\n\nAttributes:\n    title: The title for this metric, to be displayed to the user\n    values: Dictionary of key-value pairs for the indicator values","title":"LSEKeyIndicatorValue"},"DefaultModelVersionNameResponse":{"type":"object","properties":{"default_model_version_name":{"type":"string"},"message":{"type":"string"}},"title":"DefaultModelVersionNameResponse"},"ProviderEnum":{"type":"string","enum":["OpenAI","AzureOpenAI","AzureAIFoundry","VertexAI","Gemini","Anthropic","Custom"],"description":"* `OpenAI` - OpenAI\n* `AzureOpenAI` - AzureOpenAI\n* `AzureAIFoundry` - AzureAIFoundry\n* `VertexAI` - VertexAI\n* `Gemini` - Gemini\n* `Anthropic` - Anthropic\n* `Custom` - Custom","title":"ProviderEnum"},"ThirdPartyModelVersion":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"User who created Dataset"},"id":{"type":"integer"},"max_few_shot_examples":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Max number of few-shot examples to include in prompts. 0 = disabled."},"model_display_name":{"type":"string","description":"Human-readable model name derived from provider_model_id."},"model_provider_connection":{"type":["integer","null"]},"organization":{"type":["integer","null"]},"parent_model":{"type":"integer","description":"Parent model interface ID"},"prompt":{"type":"string","description":"Prompt to execute"},"provider":{"$ref":"#/components/schemas/ProviderEnum","description":"The model provider to use e.g. OpenAI\n\n* `OpenAI` - OpenAI\n* `AzureOpenAI` - AzureOpenAI\n* `AzureAIFoundry` - AzureAIFoundry\n* `VertexAI` - VertexAI\n* `Gemini` - Gemini\n* `Anthropic` - Anthropic\n* `Custom` - Custom"},"provider_model_id":{"type":"string","maxLength":255,"description":"The model ID to use within the given provider, e.g. gpt-3.5"},"score":{"type":["number","null"],"format":"double"},"title":{"type":"string","maxLength":500,"description":"Model name"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","created_by","id","model_display_name","organization","prompt","provider_model_id","score","title","updated_at"],"title":"ThirdPartyModelVersion"},"ThirdPartyModelVersionRequest":{"type":"object","properties":{"max_few_shot_examples":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Max number of few-shot examples to include in prompts. 0 = disabled."},"model_provider_connection":{"type":["integer","null"]},"parent_model":{"type":"integer","description":"Parent model interface ID"},"prompt":{"type":"string","minLength":1,"description":"Prompt to execute"},"provider":{"$ref":"#/components/schemas/ProviderEnum","description":"The model provider to use e.g. OpenAI\n\n* `OpenAI` - OpenAI\n* `AzureOpenAI` - AzureOpenAI\n* `AzureAIFoundry` - AzureAIFoundry\n* `VertexAI` - VertexAI\n* `Gemini` - Gemini\n* `Anthropic` - Anthropic\n* `Custom` - Custom"},"provider_model_id":{"type":"string","minLength":1,"maxLength":255,"description":"The model ID to use within the given provider, e.g. gpt-3.5"},"title":{"type":"string","minLength":1,"maxLength":500,"description":"Model name"}},"required":["prompt","provider_model_id","title"],"title":"ThirdPartyModelVersionRequest"},"PatchedThirdPartyModelVersionRequest":{"type":"object","properties":{"max_few_shot_examples":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Max number of few-shot examples to include in prompts. 0 = disabled."},"model_provider_connection":{"type":["integer","null"]},"parent_model":{"type":"integer","description":"Parent model interface ID"},"prompt":{"type":"string","minLength":1,"description":"Prompt to execute"},"provider":{"$ref":"#/components/schemas/ProviderEnum","description":"The model provider to use e.g. OpenAI\n\n* `OpenAI` - OpenAI\n* `AzureOpenAI` - AzureOpenAI\n* `AzureAIFoundry` - AzureAIFoundry\n* `VertexAI` - VertexAI\n* `Gemini` - Gemini\n* `Anthropic` - Anthropic\n* `Custom` - Custom"},"provider_model_id":{"type":"string","minLength":1,"maxLength":255,"description":"The model ID to use within the given provider, e.g. gpt-3.5"},"title":{"type":"string","minLength":1,"maxLength":500,"description":"Model name"}},"title":"PatchedThirdPartyModelVersionRequest"},"InferenceRunCostEstimate":{"type":"object","properties":{"completion_cost_usd":{"type":["string","null"],"description":"Cost of the completion (in USD)"},"error_message":{"type":["string","null"],"description":"Error message details"},"error_type":{"type":["string","null"],"description":"Type of error (e.g. \"Timeout\", \"Rate Limit\", etc)"},"is_error":{"type":["boolean","null"],"description":"Whether an error occurred or not"},"prompt_cost_usd":{"type":["string","null"],"description":"Cost of the prompt (in USD)"},"total_cost_usd":{"type":["string","null"],"description":"Total cost of the inference (in USD)"}},"title":"InferenceRunCostEstimate"},"RefinedPromptResponse":{"type":"object","properties":{"previous_version":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartyModelVersion"},{"type":"null"}],"description":"Previous version of the prompt"},"prompt":{"type":"string","description":"The refined prompt text"},"reasoning":{"type":["string","null"],"description":"Reasoning behind the refinement"},"refinement_job_id":{"type":["string","null"],"description":"Unique identifier for the refinement job"},"refinement_status":{"type":["string","null"],"description":"Status of the refinement job"},"title":{"type":["string","null"],"description":"Title of the refined prompt"},"total_cost":{"type":["string","null"],"description":"Total cost of the refinement job (in USD)"}},"required":["previous_version","prompt","reasoning","refinement_job_id","refinement_status","title","total_cost"],"title":"RefinedPromptResponse"},"RefinePromptRequestRequest":{"type":"object","properties":{"project_id":{"type":"integer","description":"Project ID to target the refined prompt for"},"teacher_model_name":{"type":"string","minLength":1,"description":"Name of the model to use to refine the prompt"},"teacher_model_provider_connection_id":{"type":"integer","description":"Model Provider Connection ID to use to refine the prompt"}},"required":["project_id","teacher_model_name","teacher_model_provider_connection_id"],"title":"RefinePromptRequestRequest"},"ApiPromptsPromptIdVersionsVersionIdInferenceRunsGetParametersProjectSubset":{"type":"string","enum":["All","HasGT","Sample"],"title":"ApiPromptsPromptIdVersionsVersionIdInferenceRunsGetParametersProjectSubset"},"ProjectSubsetEnum":{"type":"string","enum":["All","HasGT","Sample","Custom"],"description":"* `All` - All\n* `HasGT` - HasGT\n* `Sample` - Sample\n* `Custom` - Custom","title":"ProjectSubsetEnum"},"ModelRunStatusEnum":{"type":"string","enum":["Pending","InProgress","Completed","Failed","Canceled"],"description":"* `Pending` - Pending\n* `InProgress` - InProgress\n* `Completed` - Completed\n* `Failed` - Failed\n* `Canceled` - Canceled","title":"ModelRunStatusEnum"},"ModelRun":{"type":"object","properties":{"completed_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"filters_json":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"DM filter group for Filtered subset. Stored for display/re-run purposes."},"id":{"type":"integer"},"job_id":{"type":["string","null"],"maxLength":255,"description":"Job ID for inference job for a ModelRun e.g. Adala job ID"},"model_version":{"type":"integer"},"organization":{"type":["integer","null"]},"parent_model":{"type":"integer"},"predictions_updated_at":{"type":["string","null"],"format":"date-time"},"project":{"type":"integer"},"project_subset":{"$ref":"#/components/schemas/ProjectSubsetEnum"},"sample_subset_size":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Custom sample size for Sample subset. Uses PROMPTER_SAMPLE_SUBSET_SIZE if not set."},"source_model_run":{"type":["integer","null"]},"status":{"$ref":"#/components/schemas/ModelRunStatusEnum"},"task_ids":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"List of task IDs for Custom subset re-evaluation."},"total_correct_predictions":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"total_predictions":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"total_tasks":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"triggered_at":{"type":["string","null"],"format":"date-time"}},"required":["completed_at","created_at","created_by","id","model_version","parent_model","project","source_model_run","status","task_ids","triggered_at"],"title":"ModelRun"},"ModelRunRequestRequest":{"type":"object","properties":{"filters_json":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"DM filter group for Filtered subset. Stored for display/re-run purposes."},"job_id":{"type":["string","null"],"maxLength":255,"description":"Job ID for inference job for a ModelRun e.g. Adala job ID"},"only_missing_predictions":{"type":"boolean","default":false,"description":"When true, only tasks without successful predictions for this prompt version are submitted for inference."},"organization":{"type":["integer","null"]},"predictions_updated_at":{"type":["string","null"],"format":"date-time"},"project":{"type":"integer"},"project_subset":{"$ref":"#/components/schemas/ProjectSubsetEnum"},"sample_subset_size":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Custom sample size for Sample subset. Uses PROMPTER_SAMPLE_SUBSET_SIZE if not set."},"total_correct_predictions":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"total_predictions":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"total_tasks":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647}},"required":["project"],"description":"OpenAPI-only request shape; ``model_version`` comes from the URL path.","title":"ModelRunRequestRequest"},"CancelModelRunResponse":{"type":"object","properties":{"detail":{"type":"string"}},"required":["detail"],"title":"CancelModelRunResponse"},"LseInterfaceList":{"type":"object","properties":{"accepts_submissions":{"type":"boolean","description":"Whether this interface can receive an uploaded file as a submission."},"can_edit":{"type":"boolean","description":"Whether the current user can change this interface: edit, delete, publish versions or move it."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"description":{"type":"string"},"has_scenarios":{"type":"boolean","description":"Whether this interface has browser scenarios available to run."},"id":{"type":"integer"},"is_system":{"type":"boolean","description":"HumanSignal-provided system template visible to all organizations"},"metadata":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Arbitrary metadata for this interface"},"projects_count":{"type":"integer","default":0},"published_versions_count":{"type":["integer","null"],"minimum":0,"maximum":32767,"description":"Number of published versions for list cards (derived from versions JSON)"},"title":{"type":"string","maxLength":500},"type_name":{"type":["string","null"],"maxLength":200,"description":"CamelCase screen component name for list cards (derived from code)"},"updated_at":{"type":"string","format":"date-time"},"versions":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"workspace":{"type":["integer","null"]}},"required":["accepts_submissions","can_edit","created_at","created_by","has_scenarios","id","is_system","projects_count","title","updated_at","versions"],"title":"LseInterfaceList"},"PaginatedLseInterfaceListList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/LseInterfaceList"}}},"required":["count","results"],"title":"PaginatedLseInterfaceListList"},"LseInterfaceRequest":{"type":"object","properties":{"artifacts":{"description":"AI-produced code snapshots for session continuity"},"code":{"type":"string","minLength":1,"description":"JSX source code for the interface screen module"},"compiled":{"type":"string","minLength":1},"data_sample":{"description":"Sample task data for preview"},"description":{"type":"string"},"input_schema":{"description":"JSON Schema declaring expected task data field types for import validation"},"messages":{"description":"Chat conversation history"},"metadata":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Arbitrary metadata for this interface"},"output_schema":{"description":"JSON Schema declaring the annotation output fields this interface produces (for Prompter/auto-labeling)"},"scenarios":{"type":["string","null"]},"title":{"type":"string","minLength":1,"maxLength":500},"versions":{"description":"Code version history"},"workspace":{"type":["integer","null"]}},"required":["code","compiled","title"],"title":"LseInterfaceRequest"},"LseInterface":{"type":"object","properties":{"artifacts":{"description":"AI-produced code snapshots for session continuity"},"can_edit":{"type":"boolean","description":"Whether the current user can change this interface: edit, delete, publish versions or move it."},"code":{"type":"string","description":"JSX source code for the interface screen module"},"compiled":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"data_sample":{"description":"Sample task data for preview"},"description":{"type":"string"},"id":{"type":"integer"},"input_schema":{"description":"JSON Schema declaring expected task data field types for import validation"},"is_system":{"type":"boolean","description":"HumanSignal-provided system template visible to all organizations"},"messages":{"description":"Chat conversation history"},"metadata":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Arbitrary metadata for this interface"},"output_schema":{"description":"JSON Schema declaring the annotation output fields this interface produces (for Prompter/auto-labeling)"},"projects_count":{"type":"integer","default":0},"scenarios":{"type":["string","null"]},"title":{"type":"string","maxLength":500},"updated_at":{"type":"string","format":"date-time"},"versions":{"description":"Code version history"},"workspace":{"type":["integer","null"]}},"required":["can_edit","code","compiled","created_at","created_by","id","is_system","projects_count","title","updated_at"],"title":"LseInterface"},"PatchedLseInterfaceRequest":{"type":"object","properties":{"artifacts":{"description":"AI-produced code snapshots for session continuity"},"code":{"type":"string","minLength":1,"description":"JSX source code for the interface screen module"},"compiled":{"type":"string","minLength":1},"data_sample":{"description":"Sample task data for preview"},"description":{"type":"string"},"input_schema":{"description":"JSON Schema declaring expected task data field types for import validation"},"messages":{"description":"Chat conversation history"},"metadata":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Arbitrary metadata for this interface"},"output_schema":{"description":"JSON Schema declaring the annotation output fields this interface produces (for Prompter/auto-labeling)"},"scenarios":{"type":["string","null"]},"title":{"type":"string","minLength":1,"maxLength":500},"versions":{"description":"Code version history"},"workspace":{"type":["integer","null"]}},"title":"PatchedLseInterfaceRequest"},"LseInterfaceAppendVersionRequest":{"type":"object","properties":{"artifactId":{"type":"string"},"changeRanges":{"description":"Any type"},"code":{"type":"string","minLength":1},"compiled":{"type":"string","minLength":1},"description":{"type":"string"},"inputSchema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"messageId":{"type":"string"},"op":{"type":"string"},"outputSchema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"paramsSchema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"scenarios":{"type":["string","null"]},"screenParams":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"unpublished":{"type":"boolean"}},"required":["code","compiled"],"title":"LseInterfaceAppendVersionRequest"},"LseInterfaceAppendVersionsRequest":{"type":"object","properties":{"artifacts":{"description":"Any type"},"code":{"type":"string","minLength":1},"compiled":{"type":"string","minLength":1},"data_sample":{"description":"Any type"},"input_schema":{"description":"Any type"},"messages":{"description":"Any type"},"metadata":{"description":"Any type"},"output_schema":{"description":"Any type"},"scenarios":{"type":["string","null"]},"title":{"type":"string","minLength":1},"versions":{"type":"array","items":{"$ref":"#/components/schemas/LseInterfaceAppendVersionRequest"}}},"required":["versions"],"title":"LseInterfaceAppendVersionsRequest"},"LseInterfaceDuplicateRequestModeEnum":{"type":"string","enum":["last","all"],"description":"* `last` - last\n* `all` - all","title":"LseInterfaceDuplicateRequestModeEnum"},"LseInterfaceDuplicateRequestRequest":{"type":"object","properties":{"compiled":{"type":["string","null"],"description":"Client-compiled bundle, accepted only when the source has none stored (system templates)."},"description":{"type":["string","null"],"description":"Description for the copy. Defaults to the source interface's description."},"mode":{"$ref":"#/components/schemas/LseInterfaceDuplicateRequestModeEnum","description":"'last' (default) copies only the current state; 'all' carries the full version history.\n\n* `last` - last\n* `all` - all"},"params":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Initial screen params (an object) seeded on the copy. Can't be combined with mode='all'."},"title":{"type":"string","description":"Title for the copy. Defaults to \"<source title> (Copy)\" when omitted or blank."},"workspace":{"type":["integer","null"],"description":"Workspace ID to duplicate into. Omit or null for no workspace."}},"description":"Request body for ``POST /api/interfaces/{id}/duplicate/`` (OpenAPI/SDK only — the view reads raw data).\n\nEvery field is optional; an empty body duplicates the latest state into the shared (no workspace) scope.","title":"LseInterfaceDuplicateRequestRequest"},"LseInterfaceMoveRequestRequest":{"type":"object","properties":{"dry_run":{"type":"boolean","default":false,"description":"Return the move plan without changing anything."},"expected_project_ids":{"type":"array","items":{"type":"integer"},"description":"Required when dry_run is false: IDs of the projects in workspace groups with outcome \"move\" from the dry run you confirmed. If the server computes a different set, it responds with 409 \"interface_move_plan_changed\" and the fresh plan."},"workspace":{"type":["integer","null"],"description":"Target workspace ID, or null to make the interface Shared."}},"required":["workspace"],"title":"LseInterfaceMoveRequestRequest"},"InterfaceMoveBlockerEnum":{"type":"string","enum":["published_projects","projects_cannot_move","inaccessible_projects","project_limit"],"description":"* `published_projects` - Published projects\n* `projects_cannot_move` - Projects cannot move\n* `inaccessible_projects` - Inaccessible projects\n* `project_limit` - Project limit","title":"InterfaceMoveBlockerEnum"},"InterfaceMoveCodeEnum":{"type":"string","enum":["interface_move_blocked","interface_move_plan_changed","interface_move_requires_confirmation"],"description":"* `interface_move_blocked` - Interface move blocked\n* `interface_move_plan_changed` - Interface move plan changed\n* `interface_move_requires_confirmation` - Interface move requires confirmation","title":"InterfaceMoveCodeEnum"},"InterfaceMoveNoticeEnum":{"type":"string","enum":["target_shared","projects_stay_private","target_private","target_workspace_visible","restricted_to_target"],"description":"* `target_shared` - Target shared\n* `projects_stay_private` - Projects stay private\n* `target_private` - Target private\n* `target_workspace_visible` - Target workspace visible\n* `restricted_to_target` - Restricted to target","title":"InterfaceMoveNoticeEnum"},"LseInterfaceMoveWorkspace":{"type":"object","properties":{"color":{"type":["string","null"]},"id":{"type":"integer"},"is_personal":{"type":"boolean"},"title":{"type":"string"}},"required":["color","id","is_personal","title"],"title":"LseInterfaceMoveWorkspace"},"InterfaceMoveOutcomeEnum":{"type":"string","enum":["move","already_in_target","stay","cannot_move"],"description":"* `move` - Move\n* `already_in_target` - Already in target\n* `stay` - Stay\n* `cannot_move` - Cannot move","title":"InterfaceMoveOutcomeEnum"},"InterfaceMoveBlockingReasonEnum":{"type":"string","enum":["cannot_move","published"],"description":"* `cannot_move` - Cannot move\n* `published` - Published","title":"InterfaceMoveBlockingReasonEnum"},"LseInterfaceMoveProject":{"type":"object","properties":{"blocking_reasons":{"type":"array","items":{"$ref":"#/components/schemas/InterfaceMoveBlockingReasonEnum"},"description":"Why this project stops the move. Empty when it does not."},"id":{"type":"integer"},"is_published":{"type":"boolean"},"title":{"type":["string","null"]}},"required":["blocking_reasons","id","is_published","title"],"title":"LseInterfaceMoveProject"},"LseInterfaceMoveWorkspaceGroup":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/InterfaceMoveOutcomeEnum"},"outside_interface_workspace":{"type":"boolean","description":"The projects sit in a different workspace from the interface's workspace."},"projects":{"type":"array","items":{"$ref":"#/components/schemas/LseInterfaceMoveProject"}},"published_projects_count":{"type":"integer","description":"Published projects in this workspace group that stop a move into a Personal Sandbox."},"workspace":{"oneOf":[{"$ref":"#/components/schemas/LseInterfaceMoveWorkspace"},{"type":"null"}]}},"required":["outcome","outside_interface_workspace","projects","published_projects_count","workspace"],"title":"LseInterfaceMoveWorkspaceGroup"},"LseInterfaceMovePlan":{"type":"object","properties":{"allowed":{"type":"boolean"},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/InterfaceMoveBlockerEnum"}},"cannot_move_projects_count":{"type":"integer"},"code":{"$ref":"#/components/schemas/InterfaceMoveCodeEnum","description":"Present on 409 responses.\n\n* `interface_move_blocked` - Interface move blocked\n* `interface_move_plan_changed` - Interface move plan changed\n* `interface_move_requires_confirmation` - Interface move requires confirmation"},"connected_projects_count":{"type":"integer","description":"All connected projects, inaccessible ones included."},"detail":{"type":"string","description":"Present on 409 responses."},"inaccessible_projects_count":{"type":"integer"},"moving_projects_count":{"type":"integer"},"notices":{"type":"array","items":{"$ref":"#/components/schemas/InterfaceMoveNoticeEnum"}},"published_projects_count":{"type":"integer"},"target":{"oneOf":[{"$ref":"#/components/schemas/LseInterfaceMoveWorkspace"},{"type":"null"}],"description":"Target workspace, or null for Shared."},"workspaces":{"type":"array","items":{"$ref":"#/components/schemas/LseInterfaceMoveWorkspaceGroup"},"description":"Accessible connected projects grouped by workspace."}},"required":["allowed","blockers","cannot_move_projects_count","connected_projects_count","inaccessible_projects_count","moving_projects_count","notices","published_projects_count","target","workspaces"],"description":"Move plan returned by dry runs, executed moves and move-related 409 responses.\n\nInaccessible connected projects only ever appear as ``inaccessible_projects_count``.","title":"LseInterfaceMovePlan"},"LseInterfaceVersionIdRequest":{"type":"object","properties":{"version_id":{"type":"integer","minimum":0,"description":"Stable interface version ID."}},"required":["version_id"],"title":"LseInterfaceVersionIdRequest"},"LseInterfaceVersionDescriptionRequest":{"type":"object","properties":{"description":{"type":"string","description":"Description to store on the saved interface version."},"version_id":{"type":"integer","minimum":0,"description":"Stable interface version ID."}},"required":["description","version_id"],"title":"LseInterfaceVersionDescriptionRequest"},"OrganizationInvite":{"type":"object","properties":{"expired":{"type":"boolean","description":"True once the invite link has expired; reset the token to issue a new link"},"expires_at":{"type":["string","null"],"format":"date-time","description":"When the invite link expires; null if no expiry was recorded"},"invite_url":{"type":"string"},"token":{"type":"string"}},"title":"OrganizationInvite"},"OrganizationId":{"type":"object","properties":{"contact_info":{"type":["string","null"],"format":"email","maxLength":254},"created_at":{"type":"string","format":"date-time"},"id":{"type":"integer"},"title":{"type":"string","maxLength":1000}},"required":["created_at","id","title"],"description":"A serializer mixin that takes an additional `fields` argument that controls\nwhich fields should be displayed.","title":"OrganizationId"},"OrganizationBilling":{"type":"object","properties":{"enforce_session_concurrency":{"type":"boolean"},"manual_role_management":{"type":"boolean"},"manual_workspace_management":{"type":"boolean"},"max_parallel_sessions":{"type":"integer"},"session_concurrency_window_seconds":{"type":"integer"}},"required":["enforce_session_concurrency","manual_role_management","manual_workspace_management","max_parallel_sessions","session_concurrency_window_seconds"],"title":"OrganizationBilling"},"OrganizationRoleEnum":{"type":"string","enum":["OW","AD","MA","RE","AN","DI","NO","VO"],"description":"* `OW` - Owner\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `DI` - Deactivated\n* `NO` - Not Activated\n* `VO` - View Only","title":"OrganizationRoleEnum"},"LseOrganization":{"type":"object","properties":{"allow_unsafe_instruction_tags":{"type":"boolean"},"billing":{"$ref":"#/components/schemas/OrganizationBilling"},"created_at":{"type":"string","format":"date-time"},"custom_interfaces_enabled":{"type":["boolean","null"],"description":"Enable custom interfaces for this organization. When disabled, projects with use_custom_interface=True will not render custom interfaces anywhere in the product (label stream, embed, data manager, interfaces dashboard)."},"custom_scripts_enabled":{"type":"boolean"},"default_role":{"$ref":"#/components/schemas/OrganizationRoleEnum","description":"Default membership role for invited users\n\n* `OW` - Owner\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `DI` - Deactivated\n* `NO` - Not Activated\n* `VO` - View Only"},"email_notification_settings":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Get email notification settings with default values for all notification types.\n\nReturns a dictionary with the following structure:\n{\n    'notifications_allowed': {\n        'notification_type': bool\n    },\n    'notification_types': [\n        {'value': str, 'label': str}\n    ]\n}\n\nExcludes blocklisted notification types and ensures all valid types are included\nwith proper defaults for any missing types.\n\nWhen organization's email_notification_settings is null or empty, all notifications\nare shown as enabled (True) by default. When organization has some settings,\nunconfigured notifications default to False."},"embed_domains":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"List of objects: {\"domain\": \"example.com\"}. Used for CSP header on /embed routes."},"embed_enabled":{"type":["boolean","null"],"description":"Enable embed functionality for this organization"},"embed_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Embed settings for this organization"},"external_id":{"type":["string","null"],"description":"External ID to uniquely identify this organization"},"id":{"type":"integer"},"interface_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Security settings for custom interfaces: CSP allowlists, script origins, iframe permissions."},"react_code_settings":{"type":"object","additionalProperties":{"description":"Any type"}},"title":{"type":"string"},"token":{"type":"string"}},"required":["allow_unsafe_instruction_tags","billing","created_at","custom_scripts_enabled","email_notification_settings","id","react_code_settings","title","token"],"title":"LseOrganization"},"PatchedLseOrganizationSerializerUpdateRequest":{"type":"object","properties":{"allow_unsafe_instruction_tags":{"type":"boolean","description":"Keep script, iframe, style and other active tags in project instructions"},"contact_info":{"type":["string","null"],"format":"email","maxLength":254},"custom_interfaces_enabled":{"type":"boolean","description":"Enable or disable custom interfaces for this organization"},"custom_scripts_enabled":{"type":["boolean","null"],"description":"Plugins"},"email_notification_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Email Notification Settings"},"embed_domains":{"type":["array","null"],"items":{"type":"object","additionalProperties":{"type":"string","minLength":1}},"description":"Supported domains"},"embed_enabled":{"type":"boolean","description":"Enable or disable embed functionality for this organization"},"embed_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Public Verification Key and Public Verification Algorithms configuration"},"interface_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Security settings for custom interfaces: CSP allowlists, script origins, iframe permissions"},"react_code_settings":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"ReactCode settings"},"title":{"type":["string","null"],"minLength":1,"description":"Organization name"},"token":{"type":["string","null"],"maxLength":256},"token_expires_at":{"type":["string","null"],"format":"date-time","description":"When the current invite link stops working; null works only while expiration is disabled"}},"description":"A serializer mixin that takes an additional `fields` argument that controls\nwhich fields should be displayed.","title":"PatchedLseOrganizationSerializerUpdateRequest"},"OrganizationMemberMembershipOptionKindEnum":{"type":"string","enum":["project","workspace"],"description":"* `project` - project\n* `workspace` - workspace","title":"OrganizationMemberMembershipOptionKindEnum"},"OrganizationMemberMembershipProjectOptionKindEnum":{"type":"string","enum":["project"],"description":"* `project` - project","title":"OrganizationMemberMembershipProjectOptionKindEnum"},"OrganizationMemberMembershipProjectOption":{"type":"object","properties":{"id":{"type":"integer"},"kind":{"$ref":"#/components/schemas/OrganizationMemberMembershipProjectOptionKindEnum"},"label":{"type":"string"}},"required":["id","kind","label"],"description":"A project nested under one of the actor's accessible workspaces.","title":"OrganizationMemberMembershipProjectOption"},"OrganizationMemberMembershipOption":{"type":"object","properties":{"id":{"type":"integer"},"kind":{"$ref":"#/components/schemas/OrganizationMemberMembershipOptionKindEnum"},"label":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMemberMembershipProjectOption"}}},"required":["id","kind","label"],"description":"A membership target available to the current actor.\n\nWorkspaces carry their accessible projects; a project with no accessible parent\nworkspace is returned as a top-level node without ``projects``.","title":"OrganizationMemberMembershipOption"},"OrganizationMemberSkillsOption":{"type":"object","properties":{"code":{"type":"string"},"field_key":{"type":"string"},"field_label":{"type":"string"},"label":{"type":"string"},"levels":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"parent_code":{"type":["string","null"]},"section_key":{"type":"string"},"section_title":{"type":"string"}},"required":["code","field_key","field_label","label","parent_code","section_key","section_title"],"description":"An enumerable Contributor Setup answer available to the Skills filter.\n\n``section_key`` / ``field_key`` / ``code`` are the filter identity. Titles are live\nContributor Setup names. ``parent_code`` is set only when that ancestor is also an\noption on the same question, matching ``OrganizationTaxonomyNodeSerializer``.","title":"OrganizationMemberSkillsOption"},"DefaultRoleDefaultRoleEnum":{"type":"string","enum":["AD","MA","RE","AN","NO"],"description":"* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `NO` - Not Activated","title":"DefaultRoleDefaultRoleEnum"},"PatchedDefaultRoleRequest":{"type":"object","properties":{"default_role":{"$ref":"#/components/schemas/DefaultRoleDefaultRoleEnum","description":"Default membership role for invited users\n\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `NO` - Not Activated"}},"title":"PatchedDefaultRoleRequest"},"DefaultRole":{"type":"object","properties":{"default_role":{"$ref":"#/components/schemas/DefaultRoleDefaultRoleEnum","description":"Default membership role for invited users\n\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `NO` - Not Activated"}},"required":["default_role"],"title":"DefaultRole"},"RevokeInviteRequest":{"type":"object","properties":{"email":{"type":"string","minLength":1,"description":"Email address"}},"required":["email"],"title":"RevokeInviteRequest"},"organizations_invites_revoke_invite_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"organizations_invites_revoke_invite_Response_200"},"AssignableOrganizationRoleEnum":{"type":"string","enum":["OW","AD","MA","RE","AN","DI","NO"],"description":"* `OW` - Owner\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `DI` - Deactivated\n* `NO` - Not Activated","title":"AssignableOrganizationRoleEnum"},"AssignableUserTypeEnum":{"type":"string","enum":["standard","flex","viewonly"],"description":"* `standard` - Standard\n* `flex` - Flex\n* `viewonly` - View Only","title":"AssignableUserTypeEnum"},"SendInviteRequest":{"type":"object","properties":{"emails":{"type":"array","items":{"type":"string","minLength":1},"description":"Email addresses"},"projects":{"type":"array","items":{"type":"integer"},"description":"Project IDs to grant access to"},"role":{"oneOf":[{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum"},{"type":"null"}],"description":"Organization role. Required unless user_type is viewonly.\n\n* `OW` - Owner\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `DI` - Deactivated\n* `NO` - Not Activated"},"user_type":{"$ref":"#/components/schemas/AssignableUserTypeEnum","default":"standard","description":"Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role. Flex members keep a normal working role and consume Flex capacity in assigned claim mode.\n\n* `standard` - Standard\n* `flex` - Flex\n* `viewonly` - View Only"},"workspaces":{"type":"array","items":{"type":"integer"},"description":"Workspace IDs to grant access to"}},"required":["emails"],"title":"SendInviteRequest"},"organizations_invites_send_email_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"organizations_invites_send_email_Response_200"},"OrganizationMemberTag":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"id":{"type":"integer"},"label":{"type":"string","maxLength":255,"description":"Label"},"member_count":{"type":"integer"},"organization":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","created_by","id","label","member_count","organization","updated_at"],"title":"OrganizationMemberTag"},"PaginatedOrganizationMemberTagList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMemberTag"}}},"required":["count","results"],"title":"PaginatedOrganizationMemberTagList"},"OrganizationMemberTagRequest":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":255,"description":"Label"}},"required":["label"],"title":"OrganizationMemberTagRequest"},"BulkOrganizationMemberTagAssignmentRequest":{"type":"object","properties":{"all":{"type":"boolean","description":"If true, assign tags to all organization members. If false, assign tags to the provided users."},"excluded":{"type":"array","items":{"type":"integer","minimum":1},"description":"List of user IDs to exclude from the assignment."},"included":{"type":"array","items":{"type":"integer","minimum":1},"description":"List of user IDs to include in the assignment."},"overwrite":{"type":"boolean","default":false,"description":"If true, replace all existing tag assignments for each user with the provided ones. If false, only add new assignments."},"tags":{"type":"array","items":{"type":"integer","minimum":1},"description":"List of tag IDs to assign."}},"required":["all"],"title":"BulkOrganizationMemberTagAssignmentRequest"},"organizations_member_tags_assign_Response_200":{"type":"object","properties":{"assigned":{"type":"integer"}},"title":"organizations_member_tags_assign_Response_200"},"OrganizationMemberTagImportCreateRequest":{"type":"object","properties":{"bulk_tags":{"type":"string"},"file":{"type":"string","format":"binary"}},"required":["bulk_tags","file"],"title":"OrganizationMemberTagImportCreateRequest"},"organizations_member_tags_import_Response_201":{"type":"object","properties":{"import":{"type":"integer","description":"The ID of the created import job"}},"title":"organizations_member_tags_import_Response_201"},"OrganizationMemberTagImportStatusStatusEnum":{"type":"string","enum":["created","in_progress","completed","failed"],"description":"* `created` - Created\n* `in_progress` - In Progress\n* `completed` - Completed\n* `failed` - Failed","title":"OrganizationMemberTagImportStatusStatusEnum"},"OrganizationMemberTagImportStatus":{"type":"object","properties":{"assignments_created":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"created_at":{"type":"string","format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"},"id":{"type":"integer"},"status":{"$ref":"#/components/schemas/OrganizationMemberTagImportStatusStatusEnum"},"tags_created":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"users_skipped":{"description":"Any type"}},"required":["created_at","id"],"description":"Serializer for the status of a member tag import job.","title":"OrganizationMemberTagImportStatus"},"PatchedOrganizationMemberTagRequest":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":255,"description":"Label"}},"title":"PatchedOrganizationMemberTagRequest"},"OrganizationMemberTagBulkCreateRequest":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"description":"List of tag labels to create."}},"required":["labels"],"description":"Serializer for bulk create of organization member tags.","title":"OrganizationMemberTagBulkCreateRequest"},"organizations_member_tags_bulk_post_Response_201":{"type":"object","properties":{"created":{"type":"integer"}},"title":"organizations_member_tags_bulk_post_Response_201"},"organizations_member_tags_bulk_delete_Response_200":{"type":"object","properties":{"deleted":{"type":"integer"}},"title":"organizations_member_tags_bulk_delete_Response_200"},"LseOrganizationMemberListContributedToProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"LseOrganizationMemberListContributedToProjectsItems"},"LseOrganizationMemberListCreatedProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"LseOrganizationMemberListCreatedProjectsItems"},"RoleSourceEnum":{"type":"string","enum":["manual","saml","scim","ldap","api","billing"],"description":"* `manual` - Manual\n* `saml` - SAML\n* `scim` - SCIM\n* `ldap` - LDAP\n* `api` - API\n* `billing` - Billing","title":"RoleSourceEnum"},"MemberSkillStatusEnum":{"type":"string","enum":["verified","self_reported","failed"],"description":"* `verified` - verified\n* `self_reported` - self_reported\n* `failed` - failed","title":"MemberSkillStatusEnum"},"MemberSkill":{"type":"object","properties":{"claimed_level":{"type":"string"},"code":{"type":"string"},"failed_level":{"type":"string"},"label":{"type":"string"},"levels":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"status":{"$ref":"#/components/schemas/MemberSkillStatusEnum"},"verified_level":{"type":"string"}},"required":["code","label","status"],"title":"MemberSkill"},"SimpleOrganizationMemberTag":{"type":"object","properties":{"id":{"type":"integer"},"label":{"type":"string","maxLength":255}},"required":["id","label"],"title":"SimpleOrganizationMemberTag"},"LseUserOrganizationMemberListContributedToProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"LseUserOrganizationMemberListContributedToProjectsItems"},"LseUserOrganizationMemberListCreatedProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"LseUserOrganizationMemberListCreatedProjectsItems"},"LseUserOrganizationMemberList":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"avatar":{"type":["string","null"]},"contributed_to_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/LseUserOrganizationMemberListContributedToProjectsItems"},"deprecated":true},"created_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/LseUserOrganizationMemberListCreatedProjectsItems"},"deprecated":true},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"initials":{"type":"string","default":"?"},"last_activity":{"type":["string","null"],"format":"date-time"},"last_name":{"type":"string","maxLength":256},"lse_fields":{"$ref":"#/components/schemas/LseFields"},"pause":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"phone":{"type":"string","maxLength":256},"username":{"type":"string","maxLength":256}},"required":["avatar","contributed_to_projects","created_projects","id","initials","last_activity","lse_fields","pause","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"LseUserOrganizationMemberList"},"LseOrganizationMemberList":{"type":"object","properties":{"concurrency":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"contributed_to_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/LseOrganizationMemberListContributedToProjectsItems"}},"created_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/LseOrganizationMemberListCreatedProjectsItems"}},"flex":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Per-member Flex claim/window state for Members UI (FIT-2339)."},"id":{"type":"integer"},"organization":{"type":"integer","description":"Organization ID"},"role":{"$ref":"#/components/schemas/OrganizationRoleEnum"},"role_source":{"oneOf":[{"$ref":"#/components/schemas/RoleSourceEnum"},{"type":"null"}]},"skills":{"type":"array","items":{"$ref":"#/components/schemas/MemberSkill"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/SimpleOrganizationMemberTag"}},"user":{"$ref":"#/components/schemas/LseUserOrganizationMemberList"},"user_type":{"type":["string","null"]}},"required":["concurrency","contributed_to_projects","created_projects","flex","id","organization","role","role_source","tags","user","user_type"],"description":"A serializer mixin that takes an additional `fields` argument that controls\nwhich fields should be displayed.","title":"LseOrganizationMemberList"},"PaginatedLseOrganizationMemberListList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/LseOrganizationMemberList"}}},"required":["count","results"],"title":"PaginatedLseOrganizationMemberListList"},"StandardUserTypeEnum":{"type":"string","enum":["standard","flex"],"description":"* `standard` - Standard\n* `flex` - Flex","title":"StandardUserTypeEnum"},"PatchedOrganizationMemberCreateUpdateRequest":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum","description":"Organization role\n\n* `OW` - Owner\n* `AD` - Administrator\n* `MA` - Manager\n* `RE` - Reviewer\n* `AN` - Annotator\n* `DI` - Deactivated\n* `NO` - Not Activated"},"user_id":{"type":"integer","description":"Member"},"user_type":{"$ref":"#/components/schemas/StandardUserTypeEnum","description":"Membership seat type. Assigning a working role to a View-Only member upgrades them to a paid Standard seat. Flex seats keep the working role and consume Flex capacity in assigned claim mode. View-Only is not accepted because paid-to-View-Only downgrade is not supported.\n\n* `standard` - Standard\n* `flex` - Flex"}},"title":"PatchedOrganizationMemberCreateUpdateRequest"},"OrganizationMemberFilterSchema":{"type":"object","properties":{"filters":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"version":{"type":"integer"}},"required":["filters","version"],"description":"Backend capabilities for the organization-member filter UI.","title":"OrganizationMemberFilterSchema"},"OrganizationMemberFilterRequestRequest":{"type":"object","properties":{"filters":{"description":"Any type"}},"required":["filters"],"description":"Versioned, transport-neutral reusable organization-member filter payload.","title":"OrganizationMemberFilterRequestRequest"},"OrganizationMemberContributedToProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"OrganizationMemberContributedToProjectsItems"},"OrganizationMemberCreatedProjectsItems":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"],"title":"OrganizationMemberCreatedProjectsItems"},"OrganizationMember":{"type":"object","properties":{"annotations_count":{"type":"integer"},"contributed_projects_count":{"type":"integer"},"contributed_to_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/OrganizationMemberContributedToProjectsItems"}},"created_at":{"type":"string","format":"date-time"},"created_projects":{"type":["array","null"],"items":{"$ref":"#/components/schemas/OrganizationMemberCreatedProjectsItems"}},"organization":{"type":"integer","description":"Organization ID"},"user":{"type":"integer","description":"User ID"}},"required":["annotations_count","contributed_projects_count","contributed_to_projects","created_at","created_projects","organization","user"],"description":"A serializer mixin that takes an additional `fields` argument that controls\nwhich fields should be displayed.","title":"OrganizationMember"},"OrganizationPermissionRoleEnum":{"type":"string","enum":["OW","AD","MA","RE","AN","DI","NO","VO"],"title":"OrganizationPermissionRoleEnum"},"OrganizationPermission":{"type":"object","properties":{"default":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationPermissionRoleEnum"}},"group":{"type":["string","null"]},"id":{"type":"integer"},"label":{"type":["string","null"]},"options":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationPermissionRoleEnum"}},"organization":{"type":"integer"},"permission":{"type":"string","maxLength":255},"roles":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationRoleEnum"},"description":"Organization roles"},"tooltip":{"type":["string","null"]}},"required":["default","group","id","label","options","organization","permission","tooltip"],"title":"OrganizationPermission"},"OrganizationPermissionRequest":{"type":"object","properties":{"permission":{"type":"string","minLength":1,"maxLength":255},"roles":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationRoleEnum"},"description":"Organization roles"}},"required":["permission"],"title":"OrganizationPermissionRequest"},"ConfigurablePermissionOption":{"type":"object","properties":{"default":{"type":"array","items":{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum"}},"excluded_by":{"type":"string","description":"Broader permission that supersedes this one; it only takes effect for roles without it."},"group":{"type":"string"},"label":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum"}},"permission":{"type":"string"},"requires":{"type":"string","description":"Permission a role must also hold for this permission to take effect."},"tooltip":{"type":"string"}},"required":["default","options","permission"],"title":"ConfigurablePermissionOption"},"PatchedOrganizationPermissionRequest":{"type":"object","properties":{"permission":{"type":"string","minLength":1,"maxLength":255},"roles":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationRoleEnum"},"description":"Organization roles"}},"title":"PatchedOrganizationPermissionRequest"},"LSEJWTSettings":{"type":"object","properties":{"api_token_ttl_days":{"type":"integer","minimum":1,"maximum":73000},"api_tokens_enabled":{"type":"boolean","description":"Enable JWT API token authentication for this organization"},"legacy_api_tokens_enabled":{"type":"boolean","description":"Enable legacy API token authentication for this organization"}},"required":["api_token_ttl_days"],"title":"LSEJWTSettings"},"LSEJWTSettingsRequest":{"type":"object","properties":{"api_token_ttl_days":{"type":"integer","minimum":1,"maximum":73000},"api_tokens_enabled":{"type":"boolean","description":"Enable JWT API token authentication for this organization"},"legacy_api_tokens_enabled":{"type":"boolean","description":"Enable legacy API token authentication for this organization"}},"required":["api_token_ttl_days"],"title":"LSEJWTSettingsRequest"},"CollectionModeEnum":{"type":"string","enum":["assigned","open"],"description":"* `assigned` - Assigned\n* `open` - Open","title":"CollectionModeEnum"},"ControlTagWeightRequest":{"type":"object","properties":{"labels":{"type":"object","additionalProperties":{"type":"number","format":"double","minimum":0,"maximum":1},"description":"Per-label weights (0.0 to 1.0). Zero excludes the label from agreement."},"overall":{"type":"number","format":"double","minimum":0,"maximum":1,"description":"Overall weight for this control tag (0.0 to 1.0). Zero excludes the tag from agreement."},"type":{"type":"string","minLength":1,"description":"Control tag type from the labeling config (e.g. Choices, Labels, TextArea)."}},"required":["overall","type"],"description":"Weights configuration for a single control tag.\n\nStructure: {\"overall\": 0.5, \"type\": \"Choices\", \"labels\": {\"cat\": 1.0, \"dog\": 0.0}}","title":"ControlTagWeightRequest"},"LseProjectCreateRequestDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"LseProjectCreateRequestDmColumnDefaultsExplore"},"LseProjectCreateRequestDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"LseProjectCreateRequestDmColumnDefaultsLabeling"},"LseProjectCreateRequestDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/LseProjectCreateRequestDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/LseProjectCreateRequestDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"LseProjectCreateRequestDmColumnDefaults"},"LseProjectCreateRequest":{"type":"object","properties":{"annotator_column_access_grant":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"annotator_column_access_revoke":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"annotator_evaluation_enabled":{"type":"boolean","description":"Enable annotator evaluation for the project"},"collection_mode":{"oneOf":[{"$ref":"#/components/schemas/CollectionModeEnum"},{"type":"null"}],"description":"Data Collection project mode (assigned or open). Set only at creation; immutable afterwards. Requires use_custom_interface.\n\n* `assigned` - Assigned\n* `open` - Open"},"color":{"type":["string","null"],"maxLength":16},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeightRequest"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_by":{"$ref":"#/components/schemas/UserSimpleRequest","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"description":{"type":["string","null"],"description":"Description (Public)"},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/LseProjectCreateRequestDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"enable_empty_annotation":{"type":"boolean","description":"Allow annotators to submit empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Labeling instructions in HTML format"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Description (Internal)"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"label_config":{"type":["string","null"],"description":"Label config in XML format. See more about it in documentation"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"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)"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"reviewer_column_access_grant":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"reviewer_column_access_revoke":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show annotation history to annotator"},"show_collab_predictions":{"type":"boolean","description":"If set, the annotator can view model predictions"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions to the annotator before they start"},"show_overlap_first":{"type":"boolean"},"show_skip_button":{"type":"boolean","description":"Show a skip button in interface and allow annotators to skip the task"},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface used to create this project."},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: password"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Title"},"use_custom_interface":{"type":"boolean","default":false},"workspace":{"type":"integer","description":"In Workspace"}},"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"LseProjectCreateRequest"},"LseProjectCreateDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"LseProjectCreateDmColumnDefaultsExplore"},"LseProjectCreateDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"LseProjectCreateDmColumnDefaultsLabeling"},"LseProjectCreateDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/LseProjectCreateDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/LseProjectCreateDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"LseProjectCreateDmColumnDefaults"},"LseProjectCreate":{"type":"object","properties":{"annotator_evaluation_enabled":{"type":"boolean","description":"Enable annotator evaluation for the project"},"collection_mode":{"oneOf":[{"$ref":"#/components/schemas/CollectionModeEnum"},{"type":"null"}],"description":"Data Collection project mode (assigned or open). Set only at creation; immutable afterwards. Requires use_custom_interface.\n\n* `assigned` - Assigned\n* `open` - Open"},"color":{"type":["string","null"],"maxLength":16},"config_has_control_tags":{"type":"boolean","description":"Flag to detect is project ready for labeling"},"config_suitable_for_bulk_annotation":{"type":"boolean","description":"Flag to detect is project ready for bulk annotation"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeight"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"description":{"type":["string","null"],"description":"Description (Public)"},"dm_column_access":{"description":"Effective Annotator/Reviewer column deny lists. Managers+ see both roles."},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/LseProjectCreateDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"enable_empty_annotation":{"type":"boolean","description":"Allow annotators to submit empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Labeling instructions in HTML format"},"finished_task_number":{"type":"integer","description":"Finished tasks"},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Description (Internal)"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"label_config":{"type":["string","null"],"description":"Label config in XML format. See more about it in documentation"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"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)"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"num_tasks_with_annotations":{"type":"integer","description":"Tasks with annotations count"},"organization":{"type":"integer"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"parsed_label_config":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON-formatted labeling configuration"},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"queue_done":{"type":"integer"},"queue_total":{"type":"integer"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show annotation history to annotator"},"show_collab_predictions":{"type":"boolean","description":"If set, the annotator can view model predictions"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions to the annotator before they start"},"show_overlap_first":{"type":"boolean"},"show_skip_button":{"type":"boolean","description":"Show a skip button in interface and allow annotators to skip the task"},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"skipped_annotations_number":{"type":"integer","description":"Skipped by collaborators annotation number in project"},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface used to create this project."},"start_training_on_annotation_update":{"type":"boolean","description":"Start model training after any annotations are submitted or updated"},"state":{"type":"string"},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: password"},"task_number":{"type":"integer","description":"Total task number in project"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Title"},"total_annotations_number":{"type":"integer","description":"Total annotations number in project including skipped_annotations_number and ground_truth_number."},"total_predictions_number":{"type":"integer","description":"Total predictions number in project including skipped_annotations_number, ground_truth_number, and useful_annotation_number."},"use_custom_interface":{"type":"boolean","default":false},"useful_annotation_number":{"type":"integer","description":"Useful annotation number in project not including skipped_annotations_number and ground_truth_number. Total annotations = annotation_number + skipped_annotations_number + ground_truth_number"},"workspace":{"type":"integer","description":"In Workspace"}},"required":["config_has_control_tags","config_suitable_for_bulk_annotation","created_at","dm_column_access","finished_task_number","ground_truth_number","id","num_tasks_with_annotations","organization","parsed_label_config","queue_done","queue_total","skipped_annotations_number","start_training_on_annotation_update","state","task_number","total_annotations_number","total_predictions_number","useful_annotation_number"],"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"LseProjectCreate"},"LseProjectCounts":{"type":"object","properties":{"duplication_status":{"type":"string"},"finished_task_number":{"type":"integer","description":"Project-wide count of tasks considered finished under project completion rules (agreement threshold, overlap, or FSM states such as needs-review and completed). Not a per-user queue counter. Analytics KPIs such as `annotated_tasks`, `done_tasks`, and `total_tasks` measure related but not identical project-wide totals."},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"num_tasks_with_annotations":{"type":["integer","null"],"description":"Tasks with at least one annotation. For annotators, counts only tasks this user annotated; for other roles, counts project-wide. For analytics, use annotated_tasks or related KPIs with explicit project/member filters."},"queue_done":{"type":"integer","description":"Annotator-only: tasks this user has completed in the labeling queue for the project."},"queue_left":{"type":["integer","null"],"description":"Reviewer-only: remaining tasks in this user's manually assigned review queue. Returns 0 when no manual assignments apply; the project card then uses `review_total_tasks` and `reviewed_number` for auto-review progress. Not the same as the project-wide `tasks_pending_review` KPI."},"queue_total":{"type":"integer","description":"Role-dependent queue size. Annotators: total tasks in the labeling queue. Reviewers (list/counts): total manually assigned review tasks (same pool as `reviewer_queue_total`). Not the same as `task_number` (all project tasks) or `review_total_tasks` (auto-review stream pool)."},"rejected":{"type":"integer","description":"Annotator-only: this user's annotations rejected by reviewers."},"review_total_tasks":{"type":["integer","null"],"description":"Total tasks in this user's reviewer queue for the project (denominator for personal review progress). Respects review sampling limits when configured. Null for annotators. This is not the project-wide reviewed or pending count; see Analytics KPIs tasks_reviewed and tasks_pending_review for org-level totals."},"reviewed_number":{"type":["integer","null"],"description":"Tasks this user has reviewed in the project (personal reviewer progress shown on the project card). Includes only reviews created by the authenticated user, so the value can be lower than the project-wide reviewed total when multiple reviewers participate. Null for annotators. For all reviewed tasks in the project, use the Analytics KPI tasks_reviewed: GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC."},"skipped_annotations_number":{"type":["integer","null"]},"task_number":{"type":"integer","description":"Total task number in project"},"total_annotations_number":{"type":"integer"},"total_predictions_number":{"type":"integer"},"useful_annotation_number":{"type":["integer","null"]}},"required":["finished_task_number","ground_truth_number","id","num_tasks_with_annotations","queue_done","queue_left","queue_total","rejected","review_total_tasks","reviewed_number","skipped_annotations_number","task_number","total_annotations_number","total_predictions_number","useful_annotation_number"],"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"LseProjectCounts"},"PaginatedLseProjectCountsList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/LseProjectCounts"}}},"required":["count","results"],"title":"PaginatedLseProjectCountsList"},"LseProjectResponseDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"LseProjectResponseDmColumnDefaultsExplore"},"LseProjectResponseDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"LseProjectResponseDmColumnDefaultsLabeling"},"LseProjectResponseDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/LseProjectResponseDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/LseProjectResponseDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"LseProjectResponseDmColumnDefaults"},"LseProjectResponse":{"type":"object","properties":{"agreement_methodology":{"$ref":"#/components/schemas/AgreementMethodologyEnum","default":"pairwise","description":"Methodology (Consensus / Pairwise Averaging)\n\n* `consensus` - Consensus\n* `pairwise` - Pairwise Averaging"},"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,2})?$","description":"Agreement threshold"},"allow_stream":{"type":"boolean"},"annotation_limit_count":{"type":["integer","null"],"minimum":1,"description":"Limit by number of tasks"},"annotation_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Limit by percentage of tasks"},"annotator_evaluation_continuous_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Continuous Evaluation: Required tasks"},"annotator_evaluation_enabled":{"type":"boolean","description":"Evaluate all annotators against ground truth"},"annotator_evaluation_metric":{"oneOf":[{"$ref":"#/components/schemas/AnnotatorEvaluationMetricEnum"},{"type":"null"}],"default":"gt_agreement","description":"Metric used to evaluate annotators. Defaults to gt_agreement.\n\n* `gt_agreement` - Ground truth agreement\n* `acceptance_score` - Acceptance score\n* `rejection_rate` - Rejection rate"},"annotator_evaluation_minimum_score":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","default":"95.00","description":"Score required to pass evaluation"},"annotator_evaluation_minimum_tasks":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"default":10,"description":"Number of tasks for evaluation"},"annotator_evaluation_onboarding_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Onboarding Evaluation: Required tasks"},"assignment_settings":{"$ref":"#/components/schemas/AssignmentSettings"},"collection_mode":{"type":["string","null"],"description":"Data Collection project mode (assigned/open); null for non-collection projects. Set at creation only."},"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"comment_classification_config":{"type":"string"},"config_has_control_tags":{"type":"boolean","description":"Flag to detect is project ready for labeling"},"config_suitable_for_bulk_annotation":{"type":"boolean","description":"Flag to detect is project ready for bulk annotation"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeight"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"custom_script":{"type":"string","description":"Plugins"},"custom_task_lock_ttl":{"type":["integer","null"],"minimum":1,"maximum":86400,"description":"Task reservation time. TTL in seconds (UI displays and edits this value in minutes)."},"data_types":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"description":{"type":["string","null"],"description":"Description (Public)"},"dm_column_access":{"description":"Effective Annotator/Reviewer column deny lists. Managers+ see both roles."},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/LseProjectResponseDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"duplication_done":{"type":"boolean","default":false},"duplication_status":{"type":"string"},"enable_empty_annotation":{"type":"boolean","description":"Allow empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Instructions"},"finished_task_number":{"type":"integer","description":"Finished tasks"},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"type":["array","null"],"items":{"description":"Any type"},"description":"Description (Internal)"},"is_dimensions_enabled":{"type":"boolean"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"is_skill_assessment":{"type":"boolean","description":"Skill assessment: tests contributors instead of producing work"},"label_config":{"type":["string","null"],"description":"Labeling Configuration"},"max_additional_annotators_assignable":{"type":["integer","null"],"description":"Maximum additional annotators"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task"},"members":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"members_count":{"type":"integer"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"num_tasks_with_annotations":{"type":"integer","description":"Tasks with at least one annotation. For annotators, counts only tasks this user annotated; for other roles, counts project-wide. For analytics, use annotated_tasks or related KPIs with explicit project/member filters."},"organization":{"type":"integer"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task coverage"},"parsed_label_config":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON-formatted labeling configuration"},"pause_on_failed_annotator_evaluation":{"type":["boolean","null"],"default":false,"description":"Pause annotator on failed evaluation"},"permissions":{"type":"array","items":{"type":"string"}},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"prompts":{"type":["array","null"],"items":{"type":"object","additionalProperties":{"description":"Any type"}}},"queue_done":{"type":"integer","description":"Annotator-only: tasks this user has completed in the labeling queue for the project."},"queue_left":{"type":["integer","null"],"description":"Reviewer-only: remaining tasks in this user's manually assigned review queue. Returns 0 when no manual assignments apply; the project card then uses `review_total_tasks` and `reviewed_number` for auto-review progress. Not the same as the project-wide `tasks_pending_review` KPI."},"queue_total":{"type":"integer","description":"Role-dependent queue size. Annotators: total tasks in the labeling queue. Reviewers (list/counts): total manually assigned review tasks (same pool as `reviewer_queue_total`). Not the same as `task_number` (all project tasks) or `review_total_tasks` (auto-review stream pool)."},"ready":{"type":"boolean"},"rejected":{"type":"integer","description":"Annotator-only: this user's annotations rejected by reviewers."},"require_comment_on_skip":{"type":"boolean","default":false,"description":"Require comment to skip"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"review_settings":{"$ref":"#/components/schemas/ReviewSettings"},"review_total_tasks":{"type":["integer","null"],"description":"Total tasks in this user's reviewer queue for the project (denominator for personal review progress). Respects review sampling limits when configured. Null for annotators. This is not the project-wide reviewed or pending count; see Analytics KPIs tasks_reviewed and tasks_pending_review for org-level totals."},"reviewed_number":{"type":["integer","null"],"description":"Tasks this user has reviewed in the project (personal reviewer progress shown on the project card). Includes only reviews created by the authenticated user, so the value can be lower than the project-wide reviewed total when multiple reviewers participate. Null for annotators. For all reviewed tasks in the project, use the Analytics KPI tasks_reviewed: GET /api/analytics/kpis/tasks_reviewed?projects={id}&tz=UTC."},"reviewer_queue_total":{"type":["integer","null"],"description":"Tasks manually assigned to this user for review (`reviewer_queue_total_count`). Null for annotators."},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show Data Manager to Annotators"},"show_collab_predictions":{"type":"boolean","description":"Use predictions to pre-label Tasks"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions before labeling"},"show_overlap_first":{"type":"boolean","description":"Show tasks with overlap first"},"show_skip_button":{"type":"boolean","description":"Allow skipping tasks"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"],"description":"Show only columns used in labeling configuration to Annotators. API uses inverse field semantics here: set false to show only used columns, set true to show all task.data columns."},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"skipped_annotations_number":{"type":"integer"},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface snapshot used by this project."},"start_training_on_annotation_update":{"type":"boolean","description":"Start model training after any annotations are submitted or updated"},"state":{"type":"string"},"state_marked_done_at":{"type":["string","null"],"format":"date-time","description":"When the project was marked as Done. Null unless state_source is \"manual\". Managers+ only."},"state_marked_done_by":{"oneOf":[{"$ref":"#/components/schemas/UserSimple"},{"type":"null"}],"description":"User who marked the project as Done. Null unless state_source is \"manual\". Managers+ only."},"state_source":{"oneOf":[{"$ref":"#/components/schemas/StateSourceEnum"},{"type":"null"}],"description":"\"manual\" while a Manager+ has marked the project as Done, \"auto\" while the state is calculated from tasks. Null when project states are not available."},"strict_task_overlap":{"type":"boolean","default":true,"description":"Enforce strict overlap limit"},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Password"},"task_number":{"type":"integer","description":"Total task number in project"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Name"},"total_annotations_number":{"type":"integer"},"total_predictions_number":{"type":["integer","null"]},"use_custom_interface":{"type":"boolean","default":false},"useful_annotation_number":{"type":["integer","null"]},"workspace":{"type":"integer"},"workspace_title":{"type":["string","null"]}},"required":["allow_stream","assignment_settings","collection_mode","config_has_control_tags","config_suitable_for_bulk_annotation","created_at","data_types","dm_column_access","finished_task_number","ground_truth_number","id","internal_description","is_dimensions_enabled","members","members_count","num_tasks_with_annotations","organization","parsed_label_config","permissions","prompts","queue_done","queue_left","queue_total","ready","rejected","review_settings","review_total_tasks","reviewed_number","reviewer_queue_total","skipped_annotations_number","start_training_on_annotation_update","state","state_marked_done_at","state_marked_done_by","state_source","task_number","total_annotations_number","total_predictions_number","useful_annotation_number","workspace","workspace_title"],"description":"Serializer for project response, combining all the serializers for different roles. Don't use it except for Spectacular/Fern definitions.","title":"LseProjectResponse"},"AssignmentSettingsRequest":{"type":"object","properties":{"label_stream_task_distribution":{"oneOf":[{"$ref":"#/components/schemas/LabelStreamTaskDistributionEnum"},{"type":"null"}],"description":"Automatic / Manual\n\n* `auto_distribution` - Label Stream distributes tasks automatically to annotators\n* `assigned_only` - Label Stream shows tasks only to assigned users"},"project":{"type":["integer","null"]}},"title":"AssignmentSettingsRequest"},"PatchedLseProjectUpdateRequestDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"PatchedLseProjectUpdateRequestDmColumnDefaultsExplore"},"PatchedLseProjectUpdateRequestDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"PatchedLseProjectUpdateRequestDmColumnDefaultsLabeling"},"PatchedLseProjectUpdateRequestDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/PatchedLseProjectUpdateRequestDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/PatchedLseProjectUpdateRequestDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"PatchedLseProjectUpdateRequestDmColumnDefaults"},"ReviewSettingsRequest":{"type":"object","properties":{"allowed_reject_actions":{"type":"array","items":{"$ref":"#/components/schemas/RejectActionEnum"}},"annotator_batch_percent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Percent of an annotator’s work to review before moving to another annotator"},"anonymize_annotations":{"type":"boolean","description":"Hide annotator names from annotations while review"},"default_reject_action":{"$ref":"#/components/schemas/RejectActionEnum","description":"Reject action a reviewer triggers in one click, without opening the reject options menu\n\n* `remove` - Remove\n* `requeue` - Requeue\n* `redistribute` - Redistribute"},"instruction":{"type":["string","null"],"description":"Instructions"},"only_finished_tasks":{"type":"boolean","description":"Show only finished tasks in the review stream"},"project":{"type":["integer","null"]},"requeue_rejected_tasks_mode":{"oneOf":[{"$ref":"#/components/schemas/RequeueRejectedTasksModeEnum"},{"type":"null"}],"description":"Deprecated. Prefer allowed_reject_actions. Remove rejected annotations from labeling queue / Requeue rejected annotations back to annotators / Allow reviewer to decide: Remove or Requeue\n\n* `requeue` - Requeue\n* `remove` - Remove\n* `flexible` - Flexible"},"require_comment_on_reject":{"type":"boolean","description":"Reviewers must leave a comment on reject"},"review_criteria":{"oneOf":[{"$ref":"#/components/schemas/ReviewCriteriaEnum"},{"type":"null"}],"description":"Task is reviewed after at least one accepted annotation / Task is reviewed when all annotations are reviewed\n\n* `all` - Task is reviewed if all annotations are reviewed\n* `one` - Task is reviewed if at least one annotation is reviewed"},"review_only_manual_assignments":{"type":"boolean","description":"Show only manually assigned tasks in the review stream"},"review_task_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Task limit (%)"},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ReviewSettingsSamplingEnum"},{"type":"null"}],"description":"By Task ID / Random / By Annotator\n\n* `task_id` - By Task ID\n* `random` - Random\n* `by_annotator` - By Annotator"},"show_agreement_to_reviewers":{"type":"boolean","description":"Show agreement to reviewers in the Data Manager"},"show_data_manager_to_reviewers":{"type":"boolean","description":"Show the Data Manager to reviewers"},"show_instruction":{"type":"boolean","description":"Show before reviewing"},"show_unused_data_columns_to_reviewers":{"type":["boolean","null"],"description":"Show unused task data columns to reviewers in the Data Manager"}},"title":"ReviewSettingsRequest"},"PatchedLseProjectUpdateRequest":{"type":"object","properties":{"agreement_methodology":{"$ref":"#/components/schemas/AgreementMethodologyEnum","default":"pairwise","description":"Methodology (Consensus / Pairwise Averaging)\n\n* `consensus` - Consensus\n* `pairwise` - Pairwise Averaging"},"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,2})?$","description":"Agreement threshold"},"annotation_limit_count":{"type":["integer","null"],"minimum":1,"description":"Limit by number of tasks"},"annotation_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Limit by percentage of tasks"},"annotator_column_access_grant":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"annotator_column_access_revoke":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"annotator_evaluation_continuous_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Continuous Evaluation: Required tasks"},"annotator_evaluation_enabled":{"type":"boolean","description":"Evaluate all annotators against ground truth"},"annotator_evaluation_metric":{"oneOf":[{"$ref":"#/components/schemas/AnnotatorEvaluationMetricEnum"},{"type":"null"}],"default":"gt_agreement","description":"Metric used to evaluate annotators. Defaults to gt_agreement.\n\n* `gt_agreement` - Ground truth agreement\n* `acceptance_score` - Acceptance score\n* `rejection_rate` - Rejection rate"},"annotator_evaluation_minimum_score":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","default":"95.00","description":"Score required to pass evaluation"},"annotator_evaluation_minimum_tasks":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"default":10,"description":"Number of tasks for evaluation"},"annotator_evaluation_onboarding_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Onboarding Evaluation: Required tasks"},"assignment_settings":{"$ref":"#/components/schemas/AssignmentSettingsRequest"},"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"comment_classification_config":{"type":"string"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeightRequest"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_by":{"$ref":"#/components/schemas/UserSimpleRequest","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"custom_script":{"type":"string","description":"Plugins"},"custom_task_lock_ttl":{"type":["integer","null"],"minimum":1,"maximum":86400,"description":"Task reservation time. TTL in seconds (UI displays and edits this value in minutes)."},"description":{"type":["string","null"],"description":"Description (Public)"},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/PatchedLseProjectUpdateRequestDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"enable_empty_annotation":{"type":"boolean","description":"Allow empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Instructions"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Description (Internal)"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"is_skill_assessment":{"type":"boolean","description":"Skill assessment: tests contributors instead of producing work"},"label_config":{"type":["string","null"],"description":"Labeling Configuration"},"max_additional_annotators_assignable":{"type":["integer","null"],"description":"Maximum additional annotators"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task coverage"},"pause_on_failed_annotator_evaluation":{"type":["boolean","null"],"default":false,"description":"Pause annotator on failed evaluation"},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"require_comment_on_skip":{"type":"boolean","default":false,"description":"Require comment to skip"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"review_settings":{"$ref":"#/components/schemas/ReviewSettingsRequest"},"reviewer_column_access_grant":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"reviewer_column_access_revoke":{"type":"array","items":{"type":"string","minLength":1},"description":"Bulk column ids to grant or revoke Annotator/Reviewer Data Manager access in one request. Omitted or empty arrays are no-ops. Unknown ids are ignored. Managers+ only."},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show Data Manager to Annotators"},"show_collab_predictions":{"type":"boolean","description":"Use predictions to pre-label Tasks"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions before labeling"},"show_overlap_first":{"type":"boolean","description":"Show tasks with overlap first"},"show_skip_button":{"type":"boolean","description":"Allow skipping tasks"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"],"description":"Show only columns used in labeling configuration to Annotators. API uses inverse field semantics here: set false to show only used columns, set true to show all task.data columns."},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface snapshot used by this project."},"strict_task_overlap":{"type":"boolean","default":true,"description":"Enforce strict overlap limit"},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Password"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Name"},"use_custom_interface":{"type":"boolean","default":false},"workspace":{"type":"integer","description":"Workspace"}},"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"PatchedLseProjectUpdateRequest"},"ProjectDuplicateModeEnum":{"type":"string","enum":["settings","settings,data"],"description":"* `settings` - Only settings\n* `settings,data` - Settings and tasks","title":"ProjectDuplicateModeEnum"},"ProjectDuplicateRequest":{"type":"object","properties":{"description":{"type":"string","default":"","description":"Project Description"},"include_members":{"type":"boolean","default":true,"description":"Whether to include explicit project members and project role overrides in the duplicated project."},"mode":{"$ref":"#/components/schemas/ProjectDuplicateModeEnum","description":"What to Duplicate (Project configuration only / Project configuration and tasks)\n\n* `settings` - Only settings\n* `settings,data` - Settings and tasks"},"title":{"type":"string","minLength":3,"maxLength":50,"description":"Project Name"},"workspace":{"type":"integer","description":"Destination Workspace"}},"required":["mode","title","workspace"],"title":"ProjectDuplicateRequest"},"projects_duplicate_Response_201":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the duplicated project."}},"required":["id"],"title":"projects_duplicate_Response_201"},"PredictionRequestResultItems":{"type":"object","properties":{},"description":"List of predicted regions for the task","title":"PredictionRequestResultItems"},"PredictionRequest":{"type":"object","properties":{"cluster":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Cluster for the current prediction"},"mislabeling":{"type":"number","format":"double","description":"Related task mislabeling score"},"model":{"type":["integer","null"],"description":"An ML Backend instance that created the prediction."},"model_run":{"type":["integer","null"],"description":"A run of a ModelVersion that created the prediction."},"model_version":{"type":"string","description":"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"},"neighbors":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Array of task IDs of the closest neighbors"},"project":{"type":["integer","null"]},"result":{"type":"array","items":{"$ref":"#/components/schemas/PredictionRequestResultItems"},"description":"List of prediction results for the task"},"score":{"type":["number","null"],"format":"double","description":"Prediction score"},"task":{"type":"integer"}},"required":["result","task"],"title":"PredictionRequest"},"ImportApiRequest":{"type":"object","properties":{"allow_skip":{"type":["boolean","null"],"description":"Whether this task can be skipped. Set to False to make task unskippable."},"annotations":{"type":"array","items":{"$ref":"#/components/schemas/AnnotationRequest"},"default":[]},"cancelled_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total cancelled annotations for the current task"},"comment_authors":{"type":"array","items":{"type":"integer"},"description":"Users who wrote comments"},"comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of comments in the task including all annotations"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"file_upload":{"type":["integer","null"],"description":"Uploaded file used as data source for this task"},"inner_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Internal task ID in the project, starts with 1"},"last_comment_updated_at":{"type":["string","null"],"format":"date-time","description":"When the last comment was updated"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps."},"overlap":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of distinct annotators that processed the current task"},"precomputed_agreement":{"type":["number","null"],"format":"double","description":"Average agreement score for the task"},"predictions":{"type":"array","items":{"$ref":"#/components/schemas/PredictionRequest"},"default":[]},"total_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total annotations for the current task except cancelled annotations"},"total_predictions":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total predictions for the current task"},"unresolved_comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of unresolved comments in the task including all annotations"},"updated_by":{"type":["integer","null"],"description":"Last annotator or reviewer who updated this task"}},"required":["data"],"description":"Tasks serializer for Import API (TaskBulkCreateAPI)","title":"ImportApiRequest"},"projects_import_tasks_Response_201":{"type":"object","properties":{"annotation_count":{"type":"integer","description":"Number of annotations added (Community edition sync import only)"},"could_be_tasks_list":{"type":"boolean","description":"Whether uploaded files can contain lists of tasks, like CSV/TSV files (Community edition sync import only)"},"data_columns":{"type":"array","items":{"type":"string"},"description":"The list of found data columns (Community edition sync import only)"},"duration":{"type":"number","format":"double","description":"Time in seconds to create (Community edition sync import only)"},"file_upload_ids":{"type":"array","items":{"type":"integer"},"description":"Database IDs of uploaded files (Community edition sync import only)"},"found_formats":{"type":"array","items":{"type":"string"},"description":"The list of found file formats (Community edition sync import only)"},"import":{"type":"integer","description":"Import ID for async operations (non-Community editions only). Use this ID to poll `/api/projects/{project_id}/imports/{import_id}` for status."},"predictions_count":{"type":"integer","description":"Number of predictions added (Community edition sync import only)"},"task_count":{"type":"integer","description":"Number of tasks added (Community edition sync import only)"}},"description":"Response format varies by edition. Non-Community editions return `{\"import\": <import_id>}` for async processing. Community edition returns the detailed response below with task counts.","title":"projects_import_tasks_Response_201"},"projects_import_predictions_Response_201":{"type":"object","properties":{"created":{"type":"integer","description":"Number of predictions created"}},"description":"Import result","title":"projects_import_predictions_Response_201"},"ProjectLabelConfigRequest":{"type":"object","properties":{"label_config":{"type":"string","minLength":1,"description":"Label config in XML format. See more about it in documentation"}},"required":["label_config"],"title":"ProjectLabelConfigRequest"},"ProjectLabelConfig":{"type":"object","properties":{"label_config":{"type":"string","description":"Label config in XML format. See more about it in documentation"}},"required":["label_config"],"title":"ProjectLabelConfig"},"ProjectRole":{"type":"object","properties":{"id":{"type":"integer"},"project":{"type":"integer"},"role":{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum"},"role_source":{"oneOf":[{"$ref":"#/components/schemas/RoleSourceEnum"},{"type":"null"}]},"user":{"type":"integer"}},"required":["id","project","role","role_source","user"],"title":"ProjectRole"},"ProjectRoleRequest":{"type":"object","properties":{"project":{"type":"integer"},"role":{"$ref":"#/components/schemas/AssignableOrganizationRoleEnum"},"user":{"type":"integer"}},"required":["project","role","user"],"title":"ProjectRoleRequest"},"ApiProjectsIdAnalyticsDataQualityAgreementAnalysisConfusionMatrixGetParametersMode":{"type":"string","enum":["accepted","all","ground_truth"],"default":"all","title":"ApiProjectsIdAnalyticsDataQualityAgreementAnalysisConfusionMatrixGetParametersMode"},"DataQualityConfusionPair":{"type":"object","properties":{"actual":{"type":"string"},"count":{"type":"integer"},"from_name":{"type":"string","default":""},"label":{"type":"string"},"rate":{"type":"number","format":"double"}},"required":["actual","count","label","rate"],"title":"DataQualityConfusionPair"},"DataQualityAgreementConfusionMatrix":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"}},"matrix":{"type":"array","items":{"type":"array","items":{"type":"integer"}}},"precision":{"type":"array","items":{"type":"number","format":"double"}},"recall":{"type":"array","items":{"type":"number","format":"double"}},"top_confusion_pairs":{"type":"array","items":{"$ref":"#/components/schemas/DataQualityConfusionPair"}}},"required":["labels","matrix","precision","recall","top_confusion_pairs"],"title":"DataQualityAgreementConfusionMatrix"},"DataQualityAgreementDimensions":{"type":"object","properties":{"agreement":{"type":["number","null"],"format":"double"},"control_tag":{"type":["string","null"]},"from_name":{"type":"string"},"name":{"type":"string"}},"required":["agreement","from_name","name"],"title":"DataQualityAgreementDimensions"},"DataQualityAgreementDistribution":{"type":"object","properties":{"average_agreement":{"type":["number","null"],"format":"double"},"histogram":{"type":"array","items":{"type":"integer"}},"low_agreement_count":{"type":"integer"},"total_tasks":{"type":"integer"}},"required":["average_agreement","histogram","low_agreement_count","total_tasks"],"title":"DataQualityAgreementDistribution"},"projects_stats_model_version_annotator_agreement_Response_200":{"type":"object","properties":{"agreement":{"type":["number","null"],"format":"double"}},"title":"projects_stats_model_version_annotator_agreement_Response_200"},"projects_stats_model_version_ground_truth_agreement_Response_200":{"type":"object","properties":{"agreement":{"type":["number","null"],"format":"double"}},"title":"projects_stats_model_version_ground_truth_agreement_Response_200"},"projects_stats_model_version_prediction_agreement_Response_200":{"type":"object","properties":{"average_prediction_agreement_per_model":{"type":["number","null"],"format":"double"}},"title":"projects_stats_model_version_prediction_agreement_Response_200"},"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaIaa":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"type":"object","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}}}],"description":"Inter-Annotator Agreement matrix - 2D array when per_label=false, object with label keys when per_label=true","title":"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaIaa"},"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaCommonTasks":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"type":"object","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}}}],"description":"Common tasks matrix - 2D array when per_label=false, object with label keys when per_label=true","title":"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaCommonTasks"},"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaStd":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"description":"Standard deviation - number when per_label=false, object with label keys when per_label=true","title":"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaStd"},"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaUsersItems":{"type":"object","properties":{},"title":"ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaUsersItems"},"projects_stats_iaa_Response_200":{"type":"object","properties":{"IAA":{"$ref":"#/components/schemas/ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaIaa","description":"Inter-Annotator Agreement matrix - 2D array when per_label=false, object with label keys when per_label=true"},"common_tasks":{"$ref":"#/components/schemas/ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaCommonTasks","description":"Common tasks matrix - 2D array when per_label=false, object with label keys when per_label=true"},"std":{"$ref":"#/components/schemas/ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaStd","description":"Standard deviation - number when per_label=false, object with label keys when per_label=true"},"users":{"type":"array","items":{"$ref":"#/components/schemas/ApiProjectsIdStatsIaaGetResponsesContentApplicationJsonSchemaUsersItems"},"description":"List of users in the matrix"}},"title":"projects_stats_iaa_Response_200"},"ApiProjectsIdStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement"},"projects_stats_users_ground_truth_agreement_Response_200":{"type":"object","properties":{"agreement":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ApiProjectsIdStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement"},"description":"Dictionary mapping user IDs to their ground truth agreement scores"}},"title":"projects_stats_users_ground_truth_agreement_Response_200"},"projects_stats_agreement_annotator_Response_200":{"type":"object","properties":{"Agreement_per_annotator":{"type":"number","format":"double","description":"Agreement score for the annotator (0-1)"}},"title":"projects_stats_agreement_annotator_Response_200"},"projects_stats_agreement_annotators_Response_200":{"type":"object","properties":{"agreement":{"type":"object","additionalProperties":{"type":"number","format":"double"},"description":"Mapping of annotator ID to their agreement score (0-1) or null if no data"}},"required":["agreement"],"title":"projects_stats_agreement_annotators_Response_200"},"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersStatsItems":{"type":"object","properties":{"id":{"type":"string","description":"User ID or model version identifier (e.g., \"model:1.0\")"}},"title":"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersStatsItems"},"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersTasksWithAnnotations":{"type":"object","properties":{},"description":"Default filter tab for tasks with annotations","title":"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersTasksWithAnnotations"},"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFilters":{"type":"object","properties":{"stats":{"type":"array","items":{"$ref":"#/components/schemas/ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersStatsItems"},"description":"List of filter configurations for users and models"},"tasks_with_annotations":{"$ref":"#/components/schemas/ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFiltersTasksWithAnnotations","description":"Default filter tab for tasks with annotations"}},"description":"Data filter statistics by user and model","title":"ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFilters"},"projects_stats_data_filters_Response_200":{"type":"object","properties":{"user_filters":{"$ref":"#/components/schemas/ApiProjectsIdStatsDataFilterGetResponsesContentApplicationJsonSchemaUserFilters","description":"Data filter statistics by user and model"}},"title":"projects_stats_data_filters_Response_200"},"projects_stats_finished_tasks_Response_200":{"type":"object","properties":{"finished":{"type":"integer","description":"Number of finished tasks"},"id":{"type":"integer","description":"User ID"},"progress":{"type":"integer","description":"Progress percentage (0-100)"}},"title":"projects_stats_finished_tasks_Response_200"},"LabelDistributionCountsRow":{"type":"object","properties":{"choice":{"type":"string"},"choice_key":{"type":"string"},"dimension_name":{"type":"string"},"from_annotations_count":{"type":"integer"},"from_annotations_percent":{"type":"number","format":"double"},"from_predictions_count":{"type":"integer"},"from_predictions_percent":{"type":"number","format":"double"}},"required":["choice","choice_key","dimension_name","from_annotations_count","from_annotations_percent","from_predictions_count","from_predictions_percent"],"title":"LabelDistributionCountsRow"},"LabelDistributionCountsTotals":{"type":"object","properties":{"annotation_totals_by_dimension":{"type":"object","additionalProperties":{"type":"integer"},"description":"Total annotation counts keyed by dimension name."},"prediction_totals_by_dimension":{"type":"object","additionalProperties":{"type":"integer"},"description":"Total prediction counts keyed by dimension name."}},"title":"LabelDistributionCountsTotals"},"LabelDistributionCountsResponse":{"type":"object","properties":{"next_offset":{"type":["integer","null"],"description":"Next offset for pagination when using limit/offset mode; null when there are no more results, when filtering by explicit `choice_keys`, or for filtered (aggregation-complete / non-paginated) responses."},"results":{"type":"array","items":{"$ref":"#/components/schemas/LabelDistributionCountsRow"}},"totals":{"$ref":"#/components/schemas/LabelDistributionCountsTotals"}},"required":["next_offset","results","totals"],"title":"LabelDistributionCountsResponse"},"LabelDistributionValidationErrorsFilters":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Filter-plan parsing or validation messages.","title":"LabelDistributionValidationErrorsFilters"},"LabelDistributionValidationErrors":{"type":"object","properties":{"filters":{"$ref":"#/components/schemas/LabelDistributionValidationErrorsFilters","description":"Filter-plan parsing or validation messages."}},"required":["filters"],"title":"LabelDistributionValidationErrors"},"LabelDistributionValidationError":{"type":"object","properties":{"detail":{"type":"string","description":"Human-readable error summary."},"exc_info":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Debug exception information when enabled; otherwise null."},"id":{"type":"string","format":"uuid","description":"Unique error identifier."},"status_code":{"type":"integer","description":"HTTP status code."},"validation_errors":{"$ref":"#/components/schemas/LabelDistributionValidationErrors"},"version":{"type":"string","description":"Label Studio backend version."}},"required":["detail","id","status_code","validation_errors","version"],"title":"LabelDistributionValidationError"},"FilteredLabelDistributionUnavailable":{"type":"object","properties":{"detail":{"type":"string","description":"Human-readable error summary."},"exc_info":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Debug exception information when enabled; otherwise null."},"id":{"type":"string","format":"uuid","description":"Unique error identifier."},"status_code":{"type":"integer","description":"HTTP status code."},"version":{"type":"string","description":"Label Studio backend version."}},"required":["detail","id","status_code","version"],"title":"FilteredLabelDistributionUnavailable"},"LabelDistributionStructureDimension":{"type":"object","properties":{"choice_keys":{"type":"array","items":{"type":"string"},"description":"Flat keys in \"<from_name>___SEP___<choice>\" format for this dimension."},"choices":{"type":"array","items":{"type":"string"},"description":"Sorted list of choices observed from config and/or created labels."},"dimension_id":{"type":"integer","description":"Dimension primary key used by Dimension-backed Data Manager result filters."},"name":{"type":"string","description":"Original from_name from labeling config or observed annotation results."},"type":{"type":"string","description":"Result item type for this dimension when available."},"unsupported_reason":{"type":"string","description":"Reason this dimension cannot render label distribution rows, when unavailable."}},"required":["choice_keys","choices","name"],"title":"LabelDistributionStructureDimension"},"LabelDistributionStructureResponse":{"type":"object","properties":{"choice_keys":{"type":"array","items":{"type":"string"},"description":"All project choice keys in stable order, joined with \"___PIPE___\" when passed as query param."},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/LabelDistributionStructureDimension"}},"has_predictions":{"type":"boolean","description":"True when the project has at least one Prediction row."},"prediction_filters_supported":{"type":"boolean","description":"True when the UI may offer prediction-scoped filters (prediction identity ready and the project has predictions)."},"prediction_identity_ready":{"type":"boolean","description":"True when dimension value-counts cache is at prediction-identity version 2. Prediction-scoped Label Distribution filters require this."}},"required":["choice_keys","dimensions"],"title":"LabelDistributionStructureResponse"},"ApiProjectsIdStatsLeadTimeGetResponsesContentApplicationJsonSchemaLeadTimeStatsItems":{"type":"object","properties":{"mean_time":{"type":"number","format":"double","description":"Average lead time for the user"},"median_time":{"type":"number","format":"double","description":"Median lead time for the user"},"sum_lead_time":{"type":"number","format":"double","description":"Total lead time for the user"},"user_id":{"type":"integer","description":"User ID"}},"title":"ApiProjectsIdStatsLeadTimeGetResponsesContentApplicationJsonSchemaLeadTimeStatsItems"},"projects_stats_lead_time_Response_200":{"type":"object","properties":{"lead_time_stats":{"type":"array","items":{"$ref":"#/components/schemas/ApiProjectsIdStatsLeadTimeGetResponsesContentApplicationJsonSchemaLeadTimeStatsItems"},"description":"Lead time statistics including mean, median, and distribution"}},"title":"projects_stats_lead_time_Response_200"},"ApiProjectsIdStatsMemberPerformanceParticipantsGetParametersTable":{"type":"string","enum":["annotations","reviews"],"title":"ApiProjectsIdStatsMemberPerformanceParticipantsGetParametersTable"},"ApiProjectsIdStatsMemberPerformanceRowsGetParametersTable":{"type":"string","enum":["annotations","reviews"],"title":"ApiProjectsIdStatsMemberPerformanceRowsGetParametersTable"},"projects_stats_member_performance_rows_Response_200":{"type":"object","properties":{"count":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"},"results":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}},"title":"projects_stats_member_performance_rows_Response_200"},"ApiProjectsIdStatsMemberPerformanceSummaryGetParametersTable":{"type":"string","enum":["annotations","reviews"],"title":"ApiProjectsIdStatsMemberPerformanceSummaryGetParametersTable"},"projects_stats_member_performance_summary_Response_200":{"type":"object","properties":{"summary":{"type":"object","additionalProperties":{"description":"Any type"}}},"title":"projects_stats_member_performance_summary_Response_200"},"ProjectsStatsTotalAgreementResponse2000":{"type":"object","properties":{"total_agreement":{"type":"number","format":"double"}},"title":"ProjectsStatsTotalAgreementResponse2000"},"ProjectsStatsTotalAgreementResponse2001":{"type":"object","properties":{"total_agreement":{"type":"object","additionalProperties":{"type":"number","format":"double"}}},"title":"ProjectsStatsTotalAgreementResponse2001"},"projects_stats_total_agreement_Response_200":{"oneOf":[{"$ref":"#/components/schemas/ProjectsStatsTotalAgreementResponse2000"},{"$ref":"#/components/schemas/ProjectsStatsTotalAgreementResponse2001"}],"title":"projects_stats_total_agreement_Response_200"},"projects_stats_update_stats_Response_200":{"type":"object","properties":{},"description":"Stat recalculation job","title":"projects_stats_update_stats_Response_200"},"ApiProjectsIdUserStatsPredictionGetResponsesContentApplicationJsonSchemaAgreement":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsPredictionGetResponsesContentApplicationJsonSchemaAgreement"},"projects_stats_users_prediction_agreement_Response_200":{"type":"object","properties":{"agreement":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsPredictionGetResponsesContentApplicationJsonSchemaAgreement"},"description":"Dictionary mapping user IDs to their prediction agreement scores"}},"title":"projects_stats_users_prediction_agreement_Response_200"},"ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore"},"ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore"},"projects_stats_users_review_score_Response_200":{"type":"object","properties":{"performance_score":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore"},"description":"Performance scores mapped by annotator ID"},"review_score":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore"},"description":"Review scores mapped by annotator ID"}},"title":"projects_stats_users_review_score_Response_200"},"ApiProjectsIdUserStatsUserPkPredictionGetResponsesContentApplicationJsonSchemaAveragePredictionAgreementPerUser":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsUserPkPredictionGetResponsesContentApplicationJsonSchemaAveragePredictionAgreementPerUser"},"projects_stats_user_prediction_agreement_Response_200":{"type":"object","properties":{"average_prediction_agreement_per_user":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsUserPkPredictionGetResponsesContentApplicationJsonSchemaAveragePredictionAgreementPerUser"}},"title":"projects_stats_user_prediction_agreement_Response_200"},"ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore"},"ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore"},"projects_stats_user_review_score_Response_200":{"type":"object","properties":{"performance_score":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaPerformanceScore"},"review_score":{"$ref":"#/components/schemas/ApiProjectsIdUserStatsUserPkReviewScoreGetResponsesContentApplicationJsonSchemaReviewScore"}},"title":"projects_stats_user_review_score_Response_200"},"ApiProjectsIdUsersUserPkStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement":{"oneOf":[{"type":"number","format":"double"},{"type":"object","additionalProperties":{"type":"number","format":"double"}}],"title":"ApiProjectsIdUsersUserPkStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement"},"projects_stats_user_ground_truth_agreement_Response_200":{"type":"object","properties":{"agreement":{"$ref":"#/components/schemas/ApiProjectsIdUsersUserPkStatsAgreementGroundtruthGetResponsesContentApplicationJsonSchemaAgreement"}},"title":"projects_stats_user_ground_truth_agreement_Response_200"},"MetricParam":{"type":"object","properties":{"agreement_threshold":{"type":["integer","null"],"deprecated":true},"allowed":{"type":"boolean"},"max_additional_annotators_assignable":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Maximum number of additional annotators that can be assigned to a low agreement task","deprecated":true},"metric_name":{"type":["string","null"],"description":"Evaluation metric chosen for this project"},"metric_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]}},"required":["agreement_threshold","allowed"],"title":"MetricParam"},"MetricParamUpdateRequest":{"type":"object","properties":{"additional_params":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Agreement metric parameters"},"agreement_threshold":{"type":"integer","minimum":0,"maximum":100,"deprecated":true},"max_additional_annotators_assignable":{"type":"integer","minimum":0,"deprecated":true},"metric_name":{"type":"string","minLength":1,"description":"Agreement metric"}},"title":"MetricParamUpdateRequest"},"ApiProjectsIdAwsCustomFunctionGetResponsesContentApplicationJsonSchemaStatus":{"type":"string","enum":["NotDeployed","Active","Pending","Inactive","Failed","NotFound","Error"],"description":"Deployment status of the Lambda function.","title":"ApiProjectsIdAwsCustomFunctionGetResponsesContentApplicationJsonSchemaStatus"},"projects_metrics_custom_get_lambda_Response_200":{"type":"object","properties":{"code":{"type":"string"},"status":{"$ref":"#/components/schemas/ApiProjectsIdAwsCustomFunctionGetResponsesContentApplicationJsonSchemaStatus","description":"Deployment status of the Lambda function."}},"required":["code","status"],"title":"projects_metrics_custom_get_lambda_Response_200"},"AWSCustomFunctionUpdateRequest":{"type":"object","properties":{"code":{"type":"string","minLength":1,"description":"The Python code for the custom metric function."},"region":{"type":["string","null"],"description":"The AWS region for the Lambda function. Uses default if not provided."},"role":{"type":["string","null"],"description":"The AWS IAM role ARN for the Lambda function. Uses default if not provided."}},"required":["code"],"description":"Serializer for updating AWS Lambda custom metric function.","title":"AWSCustomFunctionUpdateRequest"},"projects_metrics_custom_update_lambda_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"projects_metrics_custom_update_lambda_Response_200"},"projects_metrics_custom_logs_Response_200":{"type":"object","properties":{},"description":"List of AWS lambda logs","title":"projects_metrics_custom_logs_Response_200"},"CheckMatchingFunctionRequestRequest":{"type":"object","properties":{"code":{"type":"string","minLength":1}},"required":["code"],"title":"CheckMatchingFunctionRequestRequest"},"projects_metrics_custom_check_function_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"projects_metrics_custom_check_function_Response_200"},"ApiProjectsIdCustomFunctionGetResponsesContentApplicationJsonSchemaStatus":{"type":"string","enum":["NotDeployed","Active","Pending","Failed","NotFound","Error"],"title":"ApiProjectsIdCustomFunctionGetResponsesContentApplicationJsonSchemaStatus"},"projects_metrics_custom_get_function_Response_200":{"type":"object","properties":{"code":{"type":"string"},"status":{"$ref":"#/components/schemas/ApiProjectsIdCustomFunctionGetResponsesContentApplicationJsonSchemaStatus"}},"required":["code","status"],"title":"projects_metrics_custom_get_function_Response_200"},"CustomFunctionCodeRequestRequest":{"type":"object","properties":{"code":{"type":"string","minLength":1}},"required":["code"],"title":"CustomFunctionCodeRequestRequest"},"projects_metrics_custom_deploy_function_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"projects_metrics_custom_deploy_function_Response_200"},"projects_metrics_custom_get_function_logs_Response_200":{"type":"object","properties":{},"title":"projects_metrics_custom_get_function_logs_Response_200"},"ApiProjectsIdGcpCustomFunctionGetResponsesContentApplicationJsonSchemaStatus":{"type":"string","enum":["NotDeployed","Active","Pending","Failed","NotFound","Error"],"title":"ApiProjectsIdGcpCustomFunctionGetResponsesContentApplicationJsonSchemaStatus"},"projects_metrics_custom_get_gcp_function_Response_200":{"type":"object","properties":{"code":{"type":"string"},"status":{"$ref":"#/components/schemas/ApiProjectsIdGcpCustomFunctionGetResponsesContentApplicationJsonSchemaStatus"}},"required":["code","status"],"title":"projects_metrics_custom_get_gcp_function_Response_200"},"GCPCustomFunctionUpdateRequest":{"type":"object","properties":{"code":{"type":"string","minLength":1,"description":"The Python code for the custom metric function."},"project":{"type":["string","null"],"description":"The GCP project ID. Uses default if not provided."},"region":{"type":["string","null"],"description":"The GCP region for the Cloud Function. Uses default if not provided."}},"required":["code"],"description":"Serializer for updating GCP Cloud Function custom metric.","title":"GCPCustomFunctionUpdateRequest"},"projects_metrics_custom_update_gcp_function_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"projects_metrics_custom_update_gcp_function_Response_200"},"ProjectImportStatusEnum":{"type":"string","enum":["created","in_progress","failed","completed"],"description":"* `created` - Created\n* `in_progress` - In progress\n* `failed` - Failed\n* `completed` - Completed","title":"ProjectImportStatusEnum"},"ConvertedFormat":{"type":"object","properties":{"export_type":{"type":"string","maxLength":64},"id":{"type":"integer"},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"traceback":{"type":["string","null"],"description":"Traceback report in case of errors"}},"required":["export_type","id"],"title":"ConvertedFormat"},"Export":{"type":"object","properties":{"converted_formats":{"type":"array","items":{"$ref":"#/components/schemas/ConvertedFormat"}},"counters":{"description":"Any type"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"ephemeral":{"type":"boolean","default":false,"description":"When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly."},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"id":{"type":"integer"},"md5":{"type":"string","maxLength":128},"since":{"type":["string","null"],"format":"date-time","description":"Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until)."},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"title":{"type":"string","maxLength":2048},"until":{"type":["string","null"],"format":"date-time","description":"Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create."}},"required":["created_at","id"],"title":"Export"},"DataManagerFilterModeEnum":{"type":"string","enum":["only","exclude"],"description":"* `only` - only\n* `exclude` - exclude\n* `None` - None","title":"DataManagerFilterModeEnum"},"LseAnnotationFilterOptionsRequest":{"type":"object","properties":{"ground_truth":{"type":["boolean","null"],"description":"Include ground truth annotations"},"reviewed":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with at least one not reviewed annotation<br>`exclude` - exclude with at least one not reviewed annotation\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"skipped":{"type":["boolean","null"],"description":"Include skipped annotations"},"usual":{"type":["boolean","null"],"default":true,"description":"Include not skipped and not ground truth annotations"}},"title":"LseAnnotationFilterOptionsRequest"},"ConvertedFormatRequest":{"type":"object","properties":{"export_type":{"type":"string","minLength":1,"maxLength":64},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"traceback":{"type":["string","null"],"description":"Traceback report in case of errors"}},"required":["export_type"],"title":"ConvertedFormatRequest"},"SerializationOptionRequest":{"type":"object","properties":{"only_id":{"type":"boolean","default":false,"description":"Include a full json body or IDs only"}},"title":"SerializationOptionRequest"},"SerializationOptionsRequest":{"type":"object","properties":{"annotations__completed_by":{"$ref":"#/components/schemas/SerializationOptionRequest","description":"JSON dict with parameters"},"drafts":{"$ref":"#/components/schemas/SerializationOptionRequest","description":"JSON dict with parameters"},"include_annotation_history":{"type":"boolean","default":false,"description":"Include annotation history"},"interpolate_key_frames":{"type":"boolean","default":false,"description":"Interpolate video key frames"},"predictions":{"$ref":"#/components/schemas/SerializationOptionRequest","description":"JSON dict with parameters"}},"title":"SerializationOptionsRequest"},"LseTaskFilterOptionsRequest":{"type":"object","properties":{"annotated":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with at least one not skipped annotation<br>`exclude` - exclude all tasks with at least one not skipped annotation\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"finished":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all finished tasks (is_labeled = true)<br>`exclude` - exclude all finished tasks\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"only_with_annotations":{"type":"boolean","default":false},"reviewed":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all reviewed tasks<br>`exclude` - exclude all reviewed tasks\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"skipped":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with skipped annotations<br>`exclude` - exclude all tasks with skipped annotations\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"view":{"type":"integer","description":"Apply filters from the view ID (a tab from the Data Manager)"}},"title":"LseTaskFilterOptionsRequest"},"LseExportCreateRequest":{"type":"object","properties":{"annotation_filter_options":{"$ref":"#/components/schemas/LseAnnotationFilterOptionsRequest"},"converted_formats":{"type":"array","items":{"$ref":"#/components/schemas/ConvertedFormatRequest"}},"counters":{"description":"Any type"},"created_by":{"$ref":"#/components/schemas/UserSimpleRequest"},"ephemeral":{"type":"boolean","default":false,"description":"When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly."},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"md5":{"type":"string","minLength":1,"maxLength":128},"serialization_options":{"$ref":"#/components/schemas/SerializationOptionsRequest"},"since":{"type":["string","null"],"format":"date-time","description":"Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until)."},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_filter_options":{"$ref":"#/components/schemas/LseTaskFilterOptionsRequest"},"title":{"type":"string","maxLength":2048},"until":{"type":["string","null"],"format":"date-time","description":"Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create."}},"title":"LseExportCreateRequest"},"LseAnnotationFilterOptions":{"type":"object","properties":{"ground_truth":{"type":["boolean","null"],"description":"Include ground truth annotations"},"reviewed":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with at least one not reviewed annotation<br>`exclude` - exclude with at least one not reviewed annotation\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"skipped":{"type":["boolean","null"],"description":"Include skipped annotations"},"usual":{"type":["boolean","null"],"default":true,"description":"Include not skipped and not ground truth annotations"}},"title":"LseAnnotationFilterOptions"},"SerializationOption":{"type":"object","properties":{"only_id":{"type":"boolean","default":false,"description":"Include a full json body or IDs only"}},"title":"SerializationOption"},"SerializationOptions":{"type":"object","properties":{"annotations__completed_by":{"$ref":"#/components/schemas/SerializationOption","description":"JSON dict with parameters"},"drafts":{"$ref":"#/components/schemas/SerializationOption","description":"JSON dict with parameters"},"include_annotation_history":{"type":"boolean","default":false,"description":"Include annotation history"},"interpolate_key_frames":{"type":"boolean","default":false,"description":"Interpolate video key frames"},"predictions":{"$ref":"#/components/schemas/SerializationOption","description":"JSON dict with parameters"}},"title":"SerializationOptions"},"LseTaskFilterOptions":{"type":"object","properties":{"annotated":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with at least one not skipped annotation<br>`exclude` - exclude all tasks with at least one not skipped annotation\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"finished":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all finished tasks (is_labeled = true)<br>`exclude` - exclude all finished tasks\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"only_with_annotations":{"type":"boolean","default":false},"reviewed":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all reviewed tasks<br>`exclude` - exclude all reviewed tasks\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"skipped":{"oneOf":[{"$ref":"#/components/schemas/DataManagerFilterModeEnum"},{"type":"null"}],"description":"`only` - include all tasks with skipped annotations<br>`exclude` - exclude all tasks with skipped annotations\n\n* `only` - only\n* `exclude` - exclude\n* `None` - None"},"view":{"type":"integer","description":"Apply filters from the view ID (a tab from the Data Manager)"}},"title":"LseTaskFilterOptions"},"LseExportCreate":{"type":"object","properties":{"annotation_filter_options":{"$ref":"#/components/schemas/LseAnnotationFilterOptions"},"converted_formats":{"type":"array","items":{"$ref":"#/components/schemas/ConvertedFormat"}},"counters":{"description":"Any type"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"ephemeral":{"type":"boolean","default":false,"description":"When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly."},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"id":{"type":"integer"},"md5":{"type":"string","maxLength":128},"serialization_options":{"$ref":"#/components/schemas/SerializationOptions"},"since":{"type":["string","null"],"format":"date-time","description":"Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until)."},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_filter_options":{"$ref":"#/components/schemas/LseTaskFilterOptions"},"title":{"type":"string","maxLength":2048},"until":{"type":["string","null"],"format":"date-time","description":"Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create."}},"required":["created_at","id"],"title":"LseExportCreate"},"ExportConvertRequest":{"type":"object","properties":{"download_resources":{"type":"boolean","description":"Download resources in converter."},"export_type":{"type":"string","minLength":1,"description":"Export file format."}},"required":["export_type"],"title":"ExportConvertRequest"},"projects_exports_convert_Response_200":{"type":"object","properties":{"converted_format":{"type":"integer"},"export_type":{"type":"string"}},"title":"projects_exports_convert_Response_200"},"ProjectImportList":{"type":"object","properties":{"annotation_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"commit_to_project":{"type":"boolean"},"created_at":{"type":["string","null"],"format":"date-time","description":"Creation time"},"duration":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"error":{"type":["string","null"]},"file_upload_ids":{"description":"Any type"},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"id":{"type":"integer"},"prediction_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"project":{"type":["integer","null"]},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"updated_at":{"type":["string","null"],"format":"date-time","description":"Last time import progress or terminal status was updated"}},"required":["created_at","id"],"description":"Slim list serializer — excludes large fields like task_ids.","title":"ProjectImportList"},"PaginatedProjectImportListList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ProjectImportList"}}},"required":["count","results"],"title":"PaginatedProjectImportListList"},"ProjectImport":{"type":"object","properties":{"annotation_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"commit_to_project":{"type":"boolean"},"could_be_tasks_list":{"type":"boolean"},"created_at":{"type":["string","null"],"format":"date-time","description":"Creation time"},"data_columns":{"description":"Any type"},"duration":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"error":{"type":["string","null"]},"file_upload_ids":{"description":"Any type"},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"found_formats":{"description":"Any type"},"id":{"type":"integer"},"preannotated_from_fields":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"prediction_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"project":{"type":["integer","null"]},"return_task_ids":{"type":"boolean"},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"task_ids":{"description":"Any type"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Last time import progress or terminal status was updated"},"url":{"type":["string","null"],"maxLength":2048}},"required":["created_at","id"],"description":"Detail serializer for async project imports.\n\nNote: ``tasks`` (raw request payload) is intentionally omitted from the public\nAPI for payload size and data-exposure safety. Use ``task_ids`` when\n``return_task_ids`` was requested on create.","title":"ProjectImport"},"ProjectMemberRequest":{"type":"object","properties":{"user":{"type":"integer"}},"required":["user"],"title":"ProjectMemberRequest"},"ProjectMember":{"type":"object","properties":{"user":{"type":"integer"}},"required":["user"],"title":"ProjectMember"},"ProjectMemberIdentityVerificationError":{"type":"object","properties":{"skipped_user_ids":{"type":"array","items":{"type":"integer"}}},"required":["skipped_user_ids"],"title":"ProjectMemberIdentityVerificationError"},"ProjectMemberBulkAssignRolesRoleEnum":{"type":"string","enum":["RE","AN"],"description":"* `RE` - Reviewer\n* `AN` - Annotator","title":"ProjectMemberBulkAssignRolesRoleEnum"},"ProjectMemberBulkAssignRolesRequest":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/ProjectMemberBulkAssignRolesRoleEnum","description":"Role\n\n* `RE` - Reviewer\n* `AN` - Annotator"},"user_id":{"type":"integer","minimum":1,"description":"User ID"}},"required":["role","user_id"],"title":"ProjectMemberBulkAssignRolesRequest"},"ProjectMemberBulkAssignRequest":{"type":"object","properties":{"all":{"type":"boolean","description":"Apply to all project members"},"excluded":{"type":"array","items":{"type":"integer","minimum":1},"description":"Excluded user IDs"},"included":{"type":"array","items":{"type":"integer","minimum":1},"description":"Included user IDs"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/ProjectMemberBulkAssignRolesRequest"},"description":"Member roles"}},"required":["all"],"title":"ProjectMemberBulkAssignRequest"},"ProjectMemberBulkAssignResponse":{"type":"object","properties":{"assignments":{"type":"integer"},"skipped_user_ids":{"type":"array","items":{"type":"integer"}}},"required":["assignments","skipped_user_ids"],"title":"ProjectMemberBulkAssignResponse"},"projects_members_bulk_delete_Response_200":{"type":"object","properties":{"unassignments":{"type":"integer"}},"title":"projects_members_bulk_delete_Response_200"},"ApiProjectsIdMembersPaginatedGetParametersTagsOperator":{"type":"string","enum":["all","any","none"],"title":"ApiProjectsIdMembersPaginatedGetParametersTagsOperator"},"PaginatedProjectMember":{"type":"object","properties":{"active_organization":{"type":["integer","null"]},"active_organization_meta":{"type":"object","additionalProperties":{"type":"string"}},"allow_newsletters":{"type":["boolean","null"],"description":"Allow sending newsletters to user"},"avatar":{"type":["string","null"]},"custom_hotkeys":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Custom keyboard shortcuts configuration for the user interface"},"date_joined":{"type":"string","format":"date-time"},"email":{"type":"string","format":"email","maxLength":254},"first_name":{"type":"string","maxLength":256},"id":{"type":"integer"},"implicit_member":{"type":"boolean"},"initials":{"type":"string","default":"?"},"last_activity":{"type":["string","null"],"format":"date-time"},"last_name":{"type":"string","maxLength":256},"lse_fields":{"$ref":"#/components/schemas/LseFields"},"org_membership":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMembership"},"deprecated":true},"organization_membership":{"$ref":"#/components/schemas/OrganizationMembership"},"pause":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"phone":{"type":"string","maxLength":256},"project_role":{"type":["string","null"]},"project_role_source":{"type":["string","null"]},"skills":{"type":"array","items":{"$ref":"#/components/schemas/MemberSkill"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/SimpleOrganizationMemberTag"}},"user_type":{"type":["string","null"]},"username":{"type":"string","maxLength":256}},"required":["active_organization_meta","avatar","id","implicit_member","initials","last_activity","lse_fields","org_membership","organization_membership","pause","project_role","project_role_source","tags","user_type","username"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"PaginatedProjectMember"},"PaginatedPaginatedProjectMemberList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PaginatedProjectMember"}}},"required":["count","results"],"title":"PaginatedPaginatedProjectMemberList"},"ProjectReimportList":{"type":"object","properties":{"annotation_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"created_at":{"type":["string","null"],"format":"date-time","description":"Creation time"},"duration":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"error":{"type":["string","null"]},"file_upload_ids":{"description":"Any type"},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"id":{"type":"integer"},"prediction_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"project":{"type":["integer","null"]},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"updated_at":{"type":["string","null"],"format":"date-time","description":"Last time reimport progress or terminal status was updated"}},"required":["created_at","id"],"title":"ProjectReimportList"},"PaginatedProjectReimportListList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ProjectReimportList"}}},"required":["count","results"],"title":"PaginatedProjectReimportListList"},"ProjectReimport":{"type":"object","properties":{"annotation_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"created_at":{"type":["string","null"],"format":"date-time","description":"Creation time"},"data_columns":{"description":"Any type"},"duration":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"error":{"type":["string","null"]},"file_upload_ids":{"description":"Any type"},"files_as_tasks_list":{"type":"boolean"},"finished_at":{"type":["string","null"],"format":"date-time","description":"Complete or fail time"},"found_formats":{"description":"Any type"},"id":{"type":"integer"},"prediction_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"project":{"type":["integer","null"]},"status":{"$ref":"#/components/schemas/ProjectImportStatusEnum"},"task_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"updated_at":{"type":["string","null"],"format":"date-time","description":"Last time reimport progress or terminal status was updated"}},"required":["created_at","id"],"title":"ProjectReimport"},"OperatorEnum":{"type":"string","enum":["lt","lte","gt","gte","eq"],"description":"* `lt` - <\n* `lte` - <=\n* `gt` - >\n* `gte` - >=\n* `eq` - =","title":"OperatorEnum"},"ReviewRoutingRule":{"type":"object","properties":{"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,4})?$","description":"Agreement threshold (0..1) compared against the rule operator. Required when operator is set."},"created_at":{"type":"string","format":"date-time","description":"Time this rule was created"},"dimension":{"type":["integer","null"],"description":"Dimension whose agreement is compared. Null => compare overall task agreement. Deleting the dimension cascades to the rule (a dimension-scoped rule has no meaning without its dimension; falling back to overall agreement would silently change the cohort)."},"id":{"type":"integer"},"operator":{"oneOf":[{"$ref":"#/components/schemas/OperatorEnum"},{"type":"null"}],"description":"Comparison operator applied to the agreement value. Null => catch-all rule.\n\n* `lt` - <\n* `lte` - <=\n* `gt` - >\n* `gte` - >=\n* `eq` - ="},"order":{"type":"integer","description":"Position in the rule list (rules are evaluated in ascending order)"},"sample_rate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,4})?$","description":"Sample rate (0..1) of matching tasks routed for review. 1 always routes, 0 never routes."},"updated_at":{"type":"string","format":"date-time","description":"Last time this rule was updated"}},"required":["created_at","order","updated_at"],"title":"ReviewRoutingRule"},"ReviewRoutingRuleRequestRequest":{"type":"object","properties":{"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,4})?$"},"dimension":{"type":["integer","null"]},"id":{"type":"integer"},"operator":{"oneOf":[{"$ref":"#/components/schemas/OperatorEnum"},{"type":"null"}]},"sample_rate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,4})?$"}},"required":["agreement_threshold","dimension","operator","sample_rate"],"title":"ReviewRoutingRuleRequestRequest"},"ReviewRoutingRulesReplaceRequest":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/ReviewRoutingRuleRequestRequest"}}},"required":["rules"],"title":"ReviewRoutingRulesReplaceRequest"},"BulkTaskAssigneesRequestRequestSelectedItems0":{"type":"object","properties":{"all":{"type":"boolean","description":"No tasks are selected"},"included":{"type":"array","items":{"type":"integer"},"description":"List of included task IDs"}},"required":["all"],"title":"BulkTaskAssigneesRequestRequestSelectedItems0"},"BulkTaskAssigneesRequestRequestSelectedItems1":{"type":"object","properties":{"all":{"type":"boolean","description":"All tasks are selected"},"excluded":{"type":"array","items":{"type":"integer"},"description":"List of excluded task IDs"}},"required":["all"],"title":"BulkTaskAssigneesRequestRequestSelectedItems1"},"BulkTaskAssigneesRequestRequestSelectedItems":{"oneOf":[{"$ref":"#/components/schemas/BulkTaskAssigneesRequestRequestSelectedItems0"},{"$ref":"#/components/schemas/BulkTaskAssigneesRequestRequestSelectedItems1"}],"description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`","title":"BulkTaskAssigneesRequestRequestSelectedItems"},"AssignmentTypeEnum":{"type":"string","enum":["AN","RE"],"description":"* `AN` - Annotate\n* `RE` - Review","title":"AssignmentTypeEnum"},"BulkTaskAssigneesRequestRequest":{"type":"object","properties":{"filters":{"oneOf":[{"$ref":"#/components/schemas/PrepareParamsFiltersRequest"},{"type":"null"}]},"selectedItems":{"$ref":"#/components/schemas/BulkTaskAssigneesRequestRequestSelectedItems","description":"Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If \"all\" is `false`, `\"included\"` must be used. If \"all\" is `true`, `\"excluded\"` must be used.<br>Examples: `{\"all\": false, \"included\": [1, 2, 3]}` or `{\"all\": true, \"excluded\": [4, 5]}`"},"type":{"$ref":"#/components/schemas/AssignmentTypeEnum"},"users":{"type":"array","items":{"type":"integer"}}},"required":["selectedItems","type","users"],"title":"BulkTaskAssigneesRequestRequest"},"projects_assignments_bulk_assign_Response_201":{"type":"object","properties":{"assignments":{"type":"integer"},"async":{"type":"boolean"},"task_ids":{"type":"array","items":{"type":"integer"},"description":"Task IDs included in this assignment request."}},"title":"projects_assignments_bulk_assign_Response_201"},"TaskAssignment":{"type":"object","properties":{"assignee":{"type":"integer","description":"Assigned user"},"created_at":{"type":"string","format":"date-time","description":"Time of assignment"},"id":{"type":"integer"},"state":{"type":"string"},"task":{"type":"integer","description":"Assigned task"},"type":{"$ref":"#/components/schemas/AssignmentTypeEnum","description":"Type of assignment: Annotate|Review\n\n* `AN` - Annotate\n* `RE` - Review"}},"required":["assignee","created_at","id","state","task"],"description":"TaskAssignment Serializer with FSM state support.\n\nNote: The 'state' field will be populated from the queryset annotation\nif present, preventing N+1 queries. Use .with_state() on your queryset.","title":"TaskAssignment"},"TaskAssigneesMutationRequest":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/AssignmentTypeEnum"},"users":{"type":"array","items":{"type":"integer"}}},"required":["type","users"],"title":"TaskAssigneesMutationRequest"},"ApiProjectsIdTasksTaskPkAssigneesDeleteParametersType":{"type":"string","enum":["AN","RE"],"title":"ApiProjectsIdTasksTaskPkAssigneesDeleteParametersType"},"PatchedTaskAssigneesMutationRequest":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/AssignmentTypeEnum"},"users":{"type":"array","items":{"type":"integer"}}},"title":"PatchedTaskAssigneesMutationRequest"},"ReasonEnum":{"type":"string","enum":["MANUAL","BEHAVIOR_BASED","ANNOTATOR_EVALUATION","ANNOTATION_LIMIT","CUSTOM_SCRIPT"],"description":"* `MANUAL` - Manual\n* `BEHAVIOR_BASED` - Behavior-based\n* `ANNOTATOR_EVALUATION` - Annotator evaluation\n* `ANNOTATION_LIMIT` - Annotation limit\n* `CUSTOM_SCRIPT` - Custom script","title":"ReasonEnum"},"Pause":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time","description":"Timestamp when this pause record was created"},"deleted_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when this pause record was soft-deleted"},"deleted_by":{"type":["integer","null"],"description":"User who soft-deleted this pause record"},"id":{"type":"integer"},"paused_by":{"$ref":"#/components/schemas/UserSimple"},"project":{"type":["integer","null"],"description":"Related project for which the pause is set"},"reason":{"$ref":"#/components/schemas/ReasonEnum","description":"Reason for pausing\n\n* `MANUAL` - Manual\n* `BEHAVIOR_BASED` - Behavior-based\n* `ANNOTATOR_EVALUATION` - Annotator evaluation\n* `ANNOTATION_LIMIT` - Annotation limit\n* `CUSTOM_SCRIPT` - Custom script"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when this pause record was last updated"},"user":{"type":["integer","null"],"description":"User who is paused"},"verbose_reason":{"type":["string","null"],"description":"Detailed description of why the project is paused, will be readable by paused annotators"}},"required":["created_at","deleted_at","deleted_by","id","paused_by","project","reason","updated_at","user"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"Pause"},"PauseRequest":{"type":"object","properties":{"reason":{"$ref":"#/components/schemas/ReasonEnum","description":"Reason for pausing\n\n* `MANUAL` - Manual\n* `BEHAVIOR_BASED` - Behavior-based\n* `ANNOTATOR_EVALUATION` - Annotator evaluation\n* `ANNOTATION_LIMIT` - Annotation limit\n* `CUSTOM_SCRIPT` - Custom script"},"verbose_reason":{"type":["string","null"],"description":"Detailed description of why the project is paused, will be readable by paused annotators"}},"required":["reason"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"PauseRequest"},"PatchedPauseRequest":{"type":"object","properties":{"reason":{"$ref":"#/components/schemas/ReasonEnum","description":"Reason for pausing\n\n* `MANUAL` - Manual\n* `BEHAVIOR_BASED` - Behavior-based\n* `ANNOTATOR_EVALUATION` - Annotator evaluation\n* `ANNOTATION_LIMIT` - Annotation limit\n* `CUSTOM_SCRIPT` - Custom script"},"verbose_reason":{"type":["string","null"],"description":"Detailed description of why the project is paused, will be readable by paused annotators"}},"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"PatchedPauseRequest"},"AuthMethodEnum":{"type":"string","enum":["NONE","BASIC_AUTH"],"description":"* `NONE` - None\n* `BASIC_AUTH` - Basic Auth","title":"AuthMethodEnum"},"StateEnum":{"type":"string","enum":["CO","DI","ER","TR","PR"],"description":"* `CO` - Connected\n* `DI` - Disconnected\n* `ER` - Error\n* `TR` - Training\n* `PR` - Predicting","title":"StateEnum"},"MLBackend":{"type":"object","properties":{"auth_method":{"$ref":"#/components/schemas/AuthMethodEnum"},"auto_update":{"type":"boolean","description":"If false, model version is set by the user, if true - getting latest version from backend."},"basic_auth_pass_is_set":{"type":"boolean"},"basic_auth_user":{"type":["string","null"],"description":"HTTP Basic Auth user"},"created_at":{"type":"string","format":"date-time"},"description":{"type":["string","null"],"description":"Description for the machine learning backend"},"error_message":{"type":["string","null"],"description":"Error message in error state"},"extra_params":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Any extra parameters passed to the ML Backend during the setup"},"id":{"type":"integer"},"is_interactive":{"type":"boolean","description":"Used to interactively annotate tasks. If true, model returns one list with results"},"model_version":{"type":["string","null"],"description":"Current model version associated with this machine learning backend"},"project":{"type":"integer"},"readable_state":{"type":"string"},"state":{"$ref":"#/components/schemas/StateEnum"},"timeout":{"type":"number","format":"double","description":"Response model timeout"},"title":{"type":["string","null"],"description":"Name of the machine learning backend"},"updated_at":{"type":"string","format":"date-time"},"url":{"type":"string","description":"URL for the machine learning model server"}},"required":["basic_auth_pass_is_set","created_at","id","project","readable_state","updated_at","url"],"description":"Serializer for MLBackend model.","title":"MLBackend"},"MLBackendRequestRequest":{"type":"object","properties":{"auth_method":{"$ref":"#/components/schemas/AuthMethodEnum"},"auto_update":{"type":"boolean","description":"If false, model version is set by the user, if true - getting latest version from backend."},"basic_auth_pass":{"type":["string","null"]},"basic_auth_user":{"type":["string","null"],"description":"HTTP Basic Auth user"},"description":{"type":["string","null"],"description":"Description for the machine learning backend"},"extra_params":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Any extra parameters passed to the ML Backend during the setup"},"is_interactive":{"type":"boolean","description":"Used to interactively annotate tasks. If true, model returns one list with results"},"model_version":{"type":["string","null"],"description":"Current model version associated with this machine learning backend"},"project":{"type":"integer"},"timeout":{"type":"number","format":"double","description":"Response model timeout"},"title":{"type":["string","null"],"description":"Name of the machine learning backend"},"url":{"type":"string","minLength":1,"description":"URL for the machine learning model server"}},"required":["project","url"],"description":"OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer.","title":"MLBackendRequestRequest"},"PatchedMLBackendRequestRequest":{"type":"object","properties":{"auth_method":{"$ref":"#/components/schemas/AuthMethodEnum"},"auto_update":{"type":"boolean","description":"If false, model version is set by the user, if true - getting latest version from backend."},"basic_auth_pass":{"type":["string","null"]},"basic_auth_user":{"type":["string","null"],"description":"HTTP Basic Auth user"},"description":{"type":["string","null"],"description":"Description for the machine learning backend"},"extra_params":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Any extra parameters passed to the ML Backend during the setup"},"is_interactive":{"type":"boolean","description":"Used to interactively annotate tasks. If true, model returns one list with results"},"model_version":{"type":["string","null"],"description":"Current model version associated with this machine learning backend"},"project":{"type":"integer"},"timeout":{"type":"number","format":"double","description":"Response model timeout"},"title":{"type":["string","null"],"description":"Name of the machine learning backend"},"url":{"type":"string","minLength":1,"description":"URL for the machine learning model server"}},"description":"OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer.","title":"PatchedMLBackendRequestRequest"},"MLInteractiveAnnotatingRequestRequest":{"type":"object","properties":{"context":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Context for ML model"},"task":{"type":"integer","description":"ID of task to annotate"}},"required":["task"],"description":"Serializer for ML interactive annotating request.","title":"MLInteractiveAnnotatingRequestRequest"},"ml_predict_interactive_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"ml_predict_interactive_Response_200"},"ml_predict_all_tasks_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"ml_predict_all_tasks_Response_200"},"MLBackendTrainRequestRequest":{"type":"object","properties":{"use_ground_truth":{"type":"boolean","default":false,"description":"Whether to include ground truth annotations in training"}},"title":"MLBackendTrainRequestRequest"},"ml_train_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"ml_train_Response_200"},"ml_list_model_versions_Response_200":{"type":"object","properties":{"message":{"type":"string"},"versions":{"type":"array","items":{"type":"string"}}},"title":"ml_list_model_versions_Response_200"},"BudgetResetPeriodEnum":{"type":"string","enum":["Monthly","Yearly"],"description":"* `Monthly` - Monthly\n* `Yearly` - Yearly","title":"BudgetResetPeriodEnum"},"ScopeEnum":{"type":"string","enum":["Organization","User","Model"],"description":"* `Organization` - Organization\n* `User` - User\n* `Model` - Model","title":"ScopeEnum"},"ModelProviderConnection":{"type":"object","properties":{"budget_alert_threshold":{"type":["number","null"],"format":"double","description":"Budget alert threshold for the given provider connection"},"budget_last_reset_date":{"type":["string","null"],"format":"date-time","description":"Date and time the budget was last reset"},"budget_limit":{"type":["number","null"],"format":"double","description":"Budget limit for the model provider connection (null if unlimited)"},"budget_reset_period":{"oneOf":[{"$ref":"#/components/schemas/BudgetResetPeriodEnum"},{"type":"null"}],"description":"Budget reset period for the model provider connection (null if not reset)\n\n* `Monthly` - Monthly\n* `Yearly` - Yearly"},"budget_total_spent":{"type":["number","null"],"format":"double","description":"Tracked total budget spent for the given provider connection within the current budget period"},"cached_available_models":{"type":["string","null"],"maxLength":4096,"description":"List of available models from the provider"},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple"},"deployment_name":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI deployment name"},"endpoint":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI endpoint"},"google_location":{"type":["string","null"],"maxLength":255,"description":"Google project location"},"google_project_id":{"type":["string","null"],"maxLength":255,"description":"Google project ID"},"id":{"type":"integer"},"is_internal":{"type":["boolean","null"],"description":"Whether the model provider connection is internal, not visible to the user"},"model_params":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON schema for the model parameters available for the provider"},"organization":{"type":["integer","null"]},"provider":{"$ref":"#/components/schemas/ProviderEnum"},"scope":{"$ref":"#/components/schemas/ScopeEnum"},"updated_at":{"type":"string","format":"date-time"}},"required":["budget_last_reset_date","budget_limit","budget_reset_period","budget_total_spent","created_at","created_by","id","model_params","organization","updated_at"],"title":"ModelProviderConnection"},"ModelProviderConnectionRequest":{"type":"object","properties":{"api_key":{"type":["string","null"],"description":"Model provider API key"},"auth_token":{"type":["string","null"],"description":"Model provider Auth token"},"budget_alert_threshold":{"type":["number","null"],"format":"double","description":"Budget alert threshold for the given provider connection"},"cached_available_models":{"type":["string","null"],"maxLength":4096,"description":"List of available models from the provider"},"deployment_name":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI deployment name"},"endpoint":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI endpoint"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_location":{"type":["string","null"],"maxLength":255,"description":"Google project location"},"google_project_id":{"type":["string","null"],"maxLength":255,"description":"Google project ID"},"is_internal":{"type":["boolean","null"],"description":"Whether the model provider connection is internal, not visible to the user"},"provider":{"$ref":"#/components/schemas/ProviderEnum"},"scope":{"$ref":"#/components/schemas/ScopeEnum"}},"title":"ModelProviderConnectionRequest"},"model_providers_list_model_provider_choices_Response_200":{"type":"object","properties":{"provider_choices":{"type":"array","items":{"type":"string"}}},"title":"model_providers_list_model_provider_choices_Response_200"},"PatchedModelProviderConnectionRequest":{"type":"object","properties":{"api_key":{"type":["string","null"],"description":"Model provider API key"},"auth_token":{"type":["string","null"],"description":"Model provider Auth token"},"budget_alert_threshold":{"type":["number","null"],"format":"double","description":"Budget alert threshold for the given provider connection"},"cached_available_models":{"type":["string","null"],"maxLength":4096,"description":"List of available models from the provider"},"deployment_name":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI deployment name"},"endpoint":{"type":["string","null"],"maxLength":512,"description":"Azure OpenAI endpoint"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_location":{"type":["string","null"],"maxLength":255,"description":"Google project location"},"google_project_id":{"type":["string","null"],"maxLength":255,"description":"Google project ID"},"is_internal":{"type":["boolean","null"],"description":"Whether the model provider connection is internal, not visible to the user"},"provider":{"$ref":"#/components/schemas/ProviderEnum"},"scope":{"$ref":"#/components/schemas/ScopeEnum"}},"title":"PatchedModelProviderConnectionRequest"},"PredictionResultItems":{"type":"object","properties":{},"description":"List of predicted regions for the task","title":"PredictionResultItems"},"Prediction":{"type":"object","properties":{"cluster":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Cluster for the current prediction"},"created_ago":{"type":"string","default":"","description":"Delta time from creation time"},"created_at":{"type":"string","format":"date-time"},"id":{"type":"integer"},"mislabeling":{"type":"number","format":"double","description":"Related task mislabeling score"},"model":{"type":["integer","null"],"description":"An ML Backend instance that created the prediction."},"model_run":{"type":["integer","null"],"description":"A run of a ModelVersion that created the prediction."},"model_version":{"type":"string","description":"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"},"neighbors":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Array of task IDs of the closest neighbors"},"project":{"type":["integer","null"]},"result":{"type":"array","items":{"$ref":"#/components/schemas/PredictionResultItems"},"description":"List of prediction results for the task"},"score":{"type":["number","null"],"format":"double","description":"Prediction score"},"task":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_ago","created_at","id","result","task","updated_at"],"title":"Prediction"},"PatchedPredictionRequestResultItems":{"type":"object","properties":{},"description":"List of predicted regions for the task","title":"PatchedPredictionRequestResultItems"},"PatchedPredictionRequest":{"type":"object","properties":{"cluster":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647,"description":"Cluster for the current prediction"},"mislabeling":{"type":"number","format":"double","description":"Related task mislabeling score"},"model":{"type":["integer","null"],"description":"An ML Backend instance that created the prediction."},"model_run":{"type":["integer","null"],"description":"A run of a ModelVersion that created the prediction."},"model_version":{"type":"string","description":"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"},"neighbors":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Array of task IDs of the closest neighbors"},"project":{"type":["integer","null"]},"result":{"type":"array","items":{"$ref":"#/components/schemas/PatchedPredictionRequestResultItems"},"description":"List of prediction results for the task"},"score":{"type":["number","null"],"format":"double","description":"Prediction score"},"task":{"type":"integer"}},"title":"PatchedPredictionRequest"},"ProjectTemplate":{"type":"object","properties":{"assignment_settings":{"description":"general dict serialized assignment settings"},"created_at":{"type":"string","format":"date-time"},"created_by":{"type":["integer","null"]},"custom_script":{"type":["string","null"],"description":"custom script (Plugin) for projects created from this template"},"description":{"type":["string","null"]},"id":{"type":"integer"},"name":{"type":"string","maxLength":1000},"organization":{"type":["integer","null"]},"project_settings":{"description":"general dict serialized project settings"},"require_comment_on_skip":{"type":"boolean","description":"flag to require comment on skip"},"review_settings":{"description":"general dict serialized review settings"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"]},"tags":{"description":"Any type"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","created_by","id","name","organization","updated_at"],"title":"ProjectTemplate"},"ProjectTemplateRequest":{"type":"object","properties":{"assignment_settings":{"description":"general dict serialized assignment settings"},"custom_script":{"type":["string","null"],"minLength":1,"description":"custom script (Plugin) for projects created from this template"},"description":{"type":["string","null"],"minLength":1},"name":{"type":"string","minLength":1,"maxLength":1000},"project_id":{"type":"integer"},"project_settings":{"description":"general dict serialized project settings"},"require_comment_on_skip":{"type":"boolean","description":"flag to require comment on skip"},"review_settings":{"description":"general dict serialized review settings"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"]},"tags":{"description":"Any type"}},"required":["name","project_id"],"title":"ProjectTemplateRequest"},"PatchedProjectTemplateRequest":{"type":"object","properties":{"assignment_settings":{"description":"general dict serialized assignment settings"},"custom_script":{"type":["string","null"],"minLength":1,"description":"custom script (Plugin) for projects created from this template"},"description":{"type":["string","null"],"minLength":1},"name":{"type":"string","minLength":1,"maxLength":1000},"project_id":{"type":"integer"},"project_settings":{"description":"general dict serialized project settings"},"require_comment_on_skip":{"type":"boolean","description":"flag to require comment on skip"},"review_settings":{"description":"general dict serialized review settings"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"]},"tags":{"description":"Any type"}},"title":"PatchedProjectTemplateRequest"},"CreateProjectFromTemplateRequestRequest":{"type":"object","properties":{"description":{"type":["string","null"],"description":"A description for the project."},"title":{"type":"string","minLength":1,"description":"The title of the project to be created from the template."},"workspace_id":{"type":"integer","description":"A unique integer value identifying the workspace in which to create the project."}},"required":["title"],"title":"CreateProjectFromTemplateRequestRequest"},"LseProjectDmColumnDefaultsExplore":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Main Data Manager grid.","title":"LseProjectDmColumnDefaultsExplore"},"LseProjectDmColumnDefaultsLabeling":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Shared column id order for this surface."},"visible":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Public organization role to visible column ids."}},"description":"Quick View (reserved).","title":"LseProjectDmColumnDefaultsLabeling"},"LseProjectDmColumnDefaults":{"type":"object","properties":{"explore":{"$ref":"#/components/schemas/LseProjectDmColumnDefaultsExplore","description":"Main Data Manager grid."},"labeling":{"$ref":"#/components/schemas/LseProjectDmColumnDefaultsLabeling","description":"Quick View (reserved)."}},"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces.","title":"LseProjectDmColumnDefaults"},"LseProject":{"type":"object","properties":{"agreement_methodology":{"$ref":"#/components/schemas/AgreementMethodologyEnum","default":"pairwise","description":"Methodology (Consensus / Pairwise Averaging)\n\n* `consensus` - Consensus\n* `pairwise` - Pairwise Averaging"},"agreement_threshold":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,2})?$","description":"Agreement threshold"},"annotation_limit_count":{"type":["integer","null"],"minimum":1,"description":"Limit by number of tasks"},"annotation_limit_percent":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"Limit by percentage of tasks"},"annotator_evaluation_continuous_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Continuous Evaluation: Required tasks"},"annotator_evaluation_enabled":{"type":"boolean","description":"Evaluate all annotators against ground truth"},"annotator_evaluation_metric":{"oneOf":[{"$ref":"#/components/schemas/AnnotatorEvaluationMetricEnum"},{"type":"null"}],"default":"gt_agreement","description":"Metric used to evaluate annotators. Defaults to gt_agreement.\n\n* `gt_agreement` - Ground truth agreement\n* `acceptance_score` - Acceptance score\n* `rejection_rate` - Rejection rate"},"annotator_evaluation_minimum_score":{"type":["string","null"],"format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","default":"95.00","description":"Score required to pass evaluation"},"annotator_evaluation_minimum_tasks":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"default":10,"description":"Number of tasks for evaluation"},"annotator_evaluation_onboarding_tasks":{"type":"integer","minimum":0,"maximum":2147483647,"default":0,"description":"Onboarding Evaluation: Required tasks"},"assignment_settings":{"$ref":"#/components/schemas/AssignmentSettings"},"collection_mode":{"type":["string","null"],"description":"Data Collection project mode (assigned/open); null for non-collection projects. Set at creation only."},"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"comment_classification_config":{"type":"string"},"config_has_control_tags":{"type":"boolean","description":"Flag to detect is project ready for labeling"},"config_suitable_for_bulk_annotation":{"type":"boolean","description":"Flag to detect is project ready for bulk annotation"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeight"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"Project owner"},"custom_interface_code":{"type":["string","null"]},"custom_interface_compiled":{"type":["string","null"]},"custom_interface_params":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"custom_script":{"type":"string","description":"Plugins"},"custom_task_lock_ttl":{"type":["integer","null"],"minimum":1,"maximum":86400,"description":"Task reservation time. TTL in seconds (UI displays and edits this value in minutes)."},"data_types":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"description":{"type":["string","null"],"description":"Description (Public)"},"dm_column_access":{"description":"Effective Annotator/Reviewer column deny lists. Managers+ see both roles."},"dm_column_defaults":{"oneOf":[{"$ref":"#/components/schemas/LseProjectDmColumnDefaults"},{"type":"null"}],"description":"Soft Data Manager column visibility and order defaults. Returned on project reads for every role so Data Manager can apply them at runtime; Managers and above may set this. explore is the main grid (shared order, role-keyed visible lists). labeling is reserved for independent Quick View defaults. On update, omitted surfaces keep their stored values; send null to clear both surfaces."},"duplication_done":{"type":"boolean","default":false},"duplication_status":{"type":"string"},"enable_empty_annotation":{"type":"boolean","description":"Allow empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Instructions"},"finished_task_number":{"type":"integer","description":"Finished tasks"},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"input_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"internal_description":{"type":["array","null"],"items":{"description":"Any type"},"description":"Description (Internal)"},"is_dimensions_enabled":{"type":"boolean"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"is_skill_assessment":{"type":"boolean","description":"Skill assessment: tests contributors instead of producing work"},"label_config":{"type":["string","null"],"description":"Labeling Configuration"},"max_additional_annotators_assignable":{"type":["integer","null"],"description":"Maximum additional annotators"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task"},"members":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"members_count":{"type":"integer"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"num_tasks_with_annotations":{"type":["integer","null"]},"organization":{"type":"integer"},"output_schema":{"oneOf":[{"description":"Any type"},{"type":"null"}]},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Annotations per task coverage"},"parsed_label_config":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON-formatted labeling configuration"},"pause_on_failed_annotator_evaluation":{"type":["boolean","null"],"default":false,"description":"Pause annotator on failed evaluation"},"permissions":{"type":"array","items":{"type":"string"}},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"prompts":{"type":["array","null"],"items":{"type":"object","additionalProperties":{"description":"Any type"}}},"queue_done":{"type":"integer","description":"Annotator-only: tasks this user has completed in the labeling queue for the project."},"queue_left":{"type":"integer","description":"Reviewer-only: remaining tasks in this user's manually assigned review queue. Returns 0 when no manual assignments apply; the project card then uses `review_total_tasks` and `reviewed_number` for auto-review progress. Not the same as the project-wide `tasks_pending_review` KPI."},"queue_total":{"type":"integer","description":"Role-dependent queue size. Annotators: total tasks in the labeling queue. Reviewers (list/counts): total manually assigned review tasks (same pool as `reviewer_queue_total`). Not the same as `task_number` (all project tasks) or `review_total_tasks` (auto-review stream pool)."},"require_comment_on_skip":{"type":"boolean","default":false,"description":"Require comment to skip"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"review_settings":{"$ref":"#/components/schemas/ReviewSettings"},"reviewer_queue_total":{"type":"integer","description":"Tasks manually assigned to this user for review (`reviewer_queue_total_count`). Null for annotators."},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show Data Manager to Annotators"},"show_collab_predictions":{"type":"boolean","description":"Use predictions to pre-label Tasks"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions before labeling"},"show_overlap_first":{"type":"boolean","description":"Show tasks with overlap first"},"show_skip_button":{"type":"boolean","description":"Allow skipping tasks"},"show_unused_data_columns_to_annotators":{"type":["boolean","null"],"description":"Show only columns used in labeling configuration to Annotators. API uses inverse field semantics here: set false to show only used columns, set true to show all task.data columns."},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"skipped_annotations_number":{"type":"integer","description":"Skipped by collaborators annotation number in project"},"source_interface_id":{"type":["integer","null"]},"source_interface_version":{"type":["integer","null"],"description":"Stable version ID of the saved interface snapshot used by this project."},"start_training_on_annotation_update":{"type":"boolean","description":"Start model training after any annotations are submitted or updated"},"state":{"type":"string"},"state_marked_done_at":{"type":["string","null"],"format":"date-time","description":"When the project was marked as Done. Null unless state_source is \"manual\". Managers+ only."},"state_marked_done_by":{"oneOf":[{"$ref":"#/components/schemas/UserSimple"},{"type":"null"}],"description":"User who marked the project as Done. Null unless state_source is \"manual\". Managers+ only."},"state_source":{"oneOf":[{"$ref":"#/components/schemas/StateSourceEnum"},{"type":"null"}],"description":"\"manual\" while a Manager+ has marked the project as Done, \"auto\" while the state is calculated from tasks. Null when project states are not available."},"strict_task_overlap":{"type":"boolean","default":true,"description":"Enforce strict overlap limit"},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Password"},"task_number":{"type":"integer","description":"Total task number in project"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project Name"},"total_annotations_number":{"type":"integer","description":"Total annotations number in project including skipped_annotations_number and ground_truth_number."},"total_predictions_number":{"type":"integer","description":"Total predictions number in project including skipped_annotations_number, ground_truth_number, and useful_annotation_number."},"use_custom_interface":{"type":"boolean","default":false},"useful_annotation_number":{"type":"integer","description":"Useful annotation number in project not including skipped_annotations_number and ground_truth_number. Total annotations = annotation_number + skipped_annotations_number + ground_truth_number"},"workspace":{"type":"integer"},"workspace_title":{"type":["string","null"]}},"required":["assignment_settings","collection_mode","config_has_control_tags","config_suitable_for_bulk_annotation","created_at","data_types","dm_column_access","finished_task_number","ground_truth_number","id","internal_description","is_dimensions_enabled","members","members_count","num_tasks_with_annotations","organization","parsed_label_config","permissions","prompts","queue_done","queue_left","queue_total","review_settings","reviewer_queue_total","skipped_annotations_number","start_training_on_annotation_update","state","state_marked_done_at","state_marked_done_by","state_source","task_number","total_annotations_number","total_predictions_number","useful_annotation_number","workspace","workspace_title"],"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"LseProject"},"ApiTasksGetParametersFields":{"type":"string","enum":["all","task_only"],"title":"ApiTasksGetParametersFields"},"LseTaskAnnotatorsItems":{"type":"object","properties":{},"title":"LseTaskAnnotatorsItems"},"LseTaskDraftsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskDraftsItemsResultItems"},"LseTaskDraftsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskDraftsItemsResultItems"}},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskDraftsItems"},"LseTaskPredictionsItemsModel":{"type":"object","properties":{},"title":"LseTaskPredictionsItemsModel"},"LseTaskPredictionsItemsModelRun":{"type":"object","properties":{},"title":"LseTaskPredictionsItemsModelRun"},"LseTaskPredictionsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskPredictionsItemsResultItems"},"LseTaskPredictionsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"model":{"$ref":"#/components/schemas/LseTaskPredictionsItemsModel"},"model_run":{"$ref":"#/components/schemas/LseTaskPredictionsItemsModelRun"},"model_version":{"type":"string"},"project":{"type":"integer"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskPredictionsItemsResultItems"}},"score":{"type":"number","format":"double"},"task":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskPredictionsItems"},"LseTaskUpdatedByItems":{"type":"object","properties":{},"title":"LseTaskUpdatedByItems"},"LseTask":{"type":"object","properties":{"agreement":{"type":"number","format":"double"},"agreement_selected":{"type":"number","format":"double"},"allow_skip":{"type":["boolean","null"],"description":"Whether this task can be skipped. Set to False to make task unskippable."},"annotation_time":{"type":["integer","null"]},"annotations":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Return annotations for the task.\n\nIf annotations_stub=True is in context, returns lightweight\nannotation stubs without result data for improved performance."},"annotations_ids":{"type":"string"},"annotations_results":{"type":"string"},"annotators":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskAnnotatorsItems"},"description":"Who annotated this task; each item includes user_id plus minimal profile fields for Data Manager display."},"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."},"avg_lead_time":{"type":"number","format":"double"},"cancelled_annotations":{"type":"integer"},"comment_authors":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"comment_authors_count":{"type":"integer"},"comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of comments in the task including all annotations"},"comments":{"type":"string"},"completed_at":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time","description":"Time a task was created"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"draft_exists":{"type":"boolean"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskDraftsItems"},"description":"Drafts for this task"},"file_upload":{"type":["string","null"]},"ground_truth":{"type":"boolean"},"id":{"type":"integer"},"inner_id":{"type":"integer"},"is_labeled":{"type":"boolean","description":"True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project"},"last_comment_updated_at":{"type":["string","null"],"format":"date-time","description":"When the last comment was updated"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps."},"overlap":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of distinct annotators that processed the current task"},"precomputed_agreement":{"type":["number","null"],"format":"double","description":"Average agreement score for the task"},"predictions":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskPredictionsItems"},"description":"Predictions for this task"},"predictions_model_versions":{"type":"string"},"predictions_results":{"type":"string"},"predictions_score":{"type":"number","format":"double"},"project":{"type":["integer","null"],"description":"Project ID for this task"},"review_time":{"type":["integer","null"]},"reviewed":{"type":"boolean"},"reviewed_at":{"type":["string","null"],"format":"date-time"},"reviewers":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"reviewers_count":{"type":"integer"},"reviews_accepted":{"type":"integer"},"reviews_rejected":{"type":"integer"},"state":{"type":"string"},"storage_filename":{"type":["string","null"]},"submission":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"The contributor's own submitted file, for the collection grid.\n\nRead from the annotation (the submission's source of truth); the task\nitself is untouched input.\n\nScoped to the requester, exactly as ``get_annotations`` scopes the\nannotation list: a contributor sees the file they submitted and never\nanother contributor's media. The column is only offered to annotators,\nso this is also the only case that renders."},"total_annotations":{"type":"integer"},"total_predictions":{"type":"integer"},"unresolved_comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of unresolved comments in the task including all annotations"},"updated_at":{"type":"string","format":"date-time","description":"Last time a task was updated"},"updated_by":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskUpdatedByItems"},"description":"User IDs who updated this task"}},"required":["agreement","agreement_selected","annotation_time","annotations","annotations_ids","annotations_results","annotators","annotators_count","comment_authors","comment_authors_count","comments","created_at","data","drafts","file_upload","id","predictions","predictions_model_versions","predictions_results","review_time","reviewers","reviewers_count","state","storage_filename","submission","updated_at","updated_by"],"description":"Data Manager Task Serializer with FSM state support.","title":"LseTask"},"LseTaskSerializerForReviewersAnnotatorsItems":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersAnnotatorsItems"},"LseTaskSerializerForReviewersDraftsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersDraftsItemsResultItems"},"LseTaskSerializerForReviewersDraftsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersDraftsItemsResultItems"}},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskSerializerForReviewersDraftsItems"},"LseTaskSerializerForReviewersPredictionsItemsModel":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersPredictionsItemsModel"},"LseTaskSerializerForReviewersPredictionsItemsModelRun":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersPredictionsItemsModelRun"},"LseTaskSerializerForReviewersPredictionsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersPredictionsItemsResultItems"},"LseTaskSerializerForReviewersPredictionsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"model":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersPredictionsItemsModel"},"model_run":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersPredictionsItemsModelRun"},"model_version":{"type":"string"},"project":{"type":"integer"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersPredictionsItemsResultItems"}},"score":{"type":"number","format":"double"},"task":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskSerializerForReviewersPredictionsItems"},"LseTaskSerializerForReviewersUpdatedByItems":{"type":"object","properties":{},"title":"LseTaskSerializerForReviewersUpdatedByItems"},"LseTaskSerializerForReviewers":{"type":"object","properties":{"agreement":{"type":"number","format":"double"},"agreement_selected":{"type":"number","format":"double"},"allow_skip":{"type":["boolean","null"],"description":"Whether this task can be skipped. Set to False to make task unskippable."},"annotation_time":{"type":["integer","null"]},"annotations":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Return annotations for the task.\n\nIf annotations_stub=True is in context, returns lightweight\nannotation stubs without result data for improved performance."},"annotations_ids":{"type":"string"},"annotations_results":{"type":"string"},"annotators":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersAnnotatorsItems"},"description":"Who annotated this task; each item includes user_id plus minimal profile fields for Data Manager display."},"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."},"avg_lead_time":{"type":"number","format":"double"},"cancelled_annotations":{"type":"integer"},"comment_authors":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"comment_authors_count":{"type":"integer"},"comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of comments in the task including all annotations"},"comments":{"type":"string"},"completed_at":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time","description":"Time a task was created"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"draft_exists":{"type":"boolean"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersDraftsItems"},"description":"Drafts for this task"},"file_upload":{"type":["string","null"]},"ground_truth":{"type":"boolean"},"id":{"type":"integer"},"inner_id":{"type":"integer"},"is_labeled":{"type":"boolean","description":"True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project"},"last_comment_updated_at":{"type":["string","null"],"format":"date-time","description":"When the last comment was updated"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps."},"overlap":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of distinct annotators that processed the current task"},"precomputed_agreement":{"type":["number","null"],"format":"double","description":"Average agreement score for the task"},"predictions":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersPredictionsItems"},"description":"Predictions for this task"},"predictions_model_versions":{"type":"string"},"predictions_results":{"type":"string"},"predictions_score":{"type":"number","format":"double"},"project":{"type":["integer","null"],"description":"Project ID for this task"},"review_time":{"type":["integer","null"]},"reviewed":{"type":"boolean"},"reviewed_at":{"type":["string","null"],"format":"date-time"},"reviewers":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"reviewers_count":{"type":"integer"},"reviews_accepted":{"type":"integer"},"reviews_rejected":{"type":"integer"},"state":{"type":"string"},"storage_filename":{"type":["string","null"]},"submission":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"The contributor's own submitted file, for the collection grid.\n\nRead from the annotation (the submission's source of truth); the task\nitself is untouched input.\n\nScoped to the requester, exactly as ``get_annotations`` scopes the\nannotation list: a contributor sees the file they submitted and never\nanother contributor's media. The column is only offered to annotators,\nso this is also the only case that renders."},"total_annotations":{"type":"integer"},"total_predictions":{"type":"integer"},"unresolved_comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of unresolved comments in the task including all annotations"},"updated_at":{"type":"string","format":"date-time","description":"Last time a task was updated"},"updated_by":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForReviewersUpdatedByItems"},"description":"User IDs who updated this task"}},"required":["agreement","agreement_selected","annotation_time","annotations","annotations_ids","annotations_results","annotators","annotators_count","comment_authors","comment_authors_count","comments","created_at","data","drafts","file_upload","id","predictions","predictions_model_versions","predictions_results","review_time","reviewers","reviewers_count","state","storage_filename","submission","updated_at","updated_by"],"description":"Data Manager Task Serializer with FSM state support.","title":"LseTaskSerializerForReviewers"},"LseTaskSerializerForAnnotatorsDraftsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskSerializerForAnnotatorsDraftsItemsResultItems"},"LseTaskSerializerForAnnotatorsDraftsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsDraftsItemsResultItems"}},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskSerializerForAnnotatorsDraftsItems"},"LseTaskSerializerForAnnotatorsPredictionsItemsModel":{"type":"object","properties":{},"title":"LseTaskSerializerForAnnotatorsPredictionsItemsModel"},"LseTaskSerializerForAnnotatorsPredictionsItemsModelRun":{"type":"object","properties":{},"title":"LseTaskSerializerForAnnotatorsPredictionsItemsModelRun"},"LseTaskSerializerForAnnotatorsPredictionsItemsResultItems":{"type":"object","properties":{},"title":"LseTaskSerializerForAnnotatorsPredictionsItemsResultItems"},"LseTaskSerializerForAnnotatorsPredictionsItems":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"model":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsPredictionsItemsModel"},"model_run":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsPredictionsItemsModelRun"},"model_version":{"type":"string"},"project":{"type":"integer"},"result":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsPredictionsItemsResultItems"}},"score":{"type":"number","format":"double"},"task":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"}},"title":"LseTaskSerializerForAnnotatorsPredictionsItems"},"LseTaskSerializerForAnnotators":{"type":"object","properties":{"annotations":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Return annotations for the task.\n\nIf annotations_stub=True is in context, returns lightweight\nannotation stubs without result data for improved performance."},"annotations_results":{"type":"string"},"cancelled_annotations":{"type":"integer"},"comment_count":{"type":"integer"},"comments":{"type":"string"},"created_at":{"type":"string","format":"date-time","description":"Time a task was created"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"draft_exists":{"type":"boolean"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsDraftsItems"},"description":"Drafts for this task"},"id":{"type":"integer"},"predictions":{"type":"array","items":{"$ref":"#/components/schemas/LseTaskSerializerForAnnotatorsPredictionsItems"},"description":"Predictions for this task"},"predictions_results":{"type":"string"},"predictions_score":{"type":"number","format":"double"},"reviews_rejected":{"type":"integer"},"state":{"type":"string"},"submission":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"The contributor's own submitted file, for the collection grid.\n\nRead from the annotation (the submission's source of truth); the task\nitself is untouched input.\n\nScoped to the requester, exactly as ``get_annotations`` scopes the\nannotation list: a contributor sees the file they submitted and never\nanother contributor's media. The column is only offered to annotators,\nso this is also the only case that renders."},"total_annotations":{"type":"integer"},"total_predictions":{"type":"integer"},"unresolved_comment_count":{"type":"integer"}},"required":["annotations","annotations_results","comment_count","comments","created_at","data","drafts","id","predictions","predictions_results","state","submission","unresolved_comment_count"],"description":"Data Manager Task Serializer with FSM state support.","title":"LseTaskSerializerForAnnotators"},"RoleBasedTask":{"oneOf":[{"$ref":"#/components/schemas/LseTask"},{"$ref":"#/components/schemas/LseTaskSerializerForReviewers"},{"$ref":"#/components/schemas/LseTaskSerializerForAnnotators"}],"title":"RoleBasedTask"},"PaginatedRoleBasedTaskList":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/RoleBasedTask"}},"total":{"type":"integer","description":"Total number of tasks"},"total_annotations":{"type":"integer","description":"Total number of annotations"},"total_predictions":{"type":"integer","description":"Total number of predictions"}},"required":["tasks","total","total_annotations","total_predictions"],"title":"PaginatedRoleBasedTaskList"},"LseTaskRequest":{"type":"object","properties":{"allow_skip":{"type":["boolean","null"],"description":"Whether this task can be skipped. Set to False to make task unskippable."},"cancelled_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total cancelled annotations for the current task"},"comment_authors":{"type":"array","items":{"type":"integer"},"description":"Users who wrote comments"},"comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of comments in the task including all annotations"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"file_upload":{"type":["integer","null"],"description":"Uploaded file used as data source for this task"},"inner_id":{"type":["integer","null"],"format":"int64","minimum":-9223372036854776000,"maximum":9223372036854776000,"description":"Internal task ID in the project, starts with 1"},"is_labeled":{"type":"boolean","description":"True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project"},"last_comment_updated_at":{"type":["string","null"],"format":"date-time","description":"When the last comment was updated"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps."},"overlap":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of distinct annotators that processed the current task"},"project":{"type":["integer","null"],"description":"Project ID for this task"},"total_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total annotations for the current task except cancelled annotations"},"total_predictions":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of total predictions for the current task"},"unresolved_comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of unresolved comments in the task including all annotations"},"updated_by":{"type":["integer","null"],"description":"Last annotator or reviewer who updated this task"}},"required":["data"],"description":"Task Serializer with project scheme configs validation","title":"LseTaskRequest"},"PatchedLseTaskRequest":{"type":"object","properties":{"allow_skip":{"type":["boolean","null"],"description":"Whether this task can be skipped. Set to False to make task unskippable."},"avg_lead_time":{"type":"number","format":"double"},"cancelled_annotations":{"type":"integer"},"comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of comments in the task including all annotations"},"completed_at":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":{"description":"Any type"},"description":"User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI."},"draft_exists":{"type":"boolean"},"ground_truth":{"type":"boolean"},"inner_id":{"type":"integer"},"is_labeled":{"type":"boolean","description":"True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project"},"last_comment_updated_at":{"type":["string","null"],"format":"date-time","description":"When the last comment was updated"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps."},"overlap":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of distinct annotators that processed the current task"},"precomputed_agreement":{"type":["number","null"],"format":"double","description":"Average agreement score for the task"},"predictions_score":{"type":"number","format":"double"},"project":{"type":["integer","null"],"description":"Project ID for this task"},"reviewed":{"type":"boolean"},"reviewed_at":{"type":["string","null"],"format":"date-time"},"reviews_accepted":{"type":"integer"},"reviews_rejected":{"type":"integer"},"total_annotations":{"type":"integer"},"total_predictions":{"type":"integer"},"unresolved_comment_count":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Number of unresolved comments in the task including all annotations"}},"description":"Data Manager Task Serializer with FSM state support.","title":"PatchedLseTaskRequest"},"TaskEventRequest":{"type":"object","properties":{"annotation":{"type":["integer","null"],"description":"Annotation ID associated with this event"},"annotation_draft":{"type":["integer","null"],"description":"Draft annotation ID associated with this event (alias for annotation_draft_id)"},"annotation_draft_id":{"type":["integer","null"],"description":"Draft annotation ID associated with this event"},"event_key":{"type":"string","minLength":1,"maxLength":255,"description":"Event type identifier (e.g., \"annotation_loaded\", \"region_finished_drawing\")"},"event_time":{"type":"string","format":"date-time","description":"Timestamp when the event occurred (frontend time)"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Additional event metadata (region data, hotkey info, etc.)"},"review":{"type":["integer","null"],"description":"Review ID associated with this event"}},"required":["event_key","event_time"],"description":"Serializer for TaskEvent model to handle event creation from frontend.\n\nThis serializer validates and processes task events sent from the labeling interface,\nensuring proper data format and automatically setting required relationships.","title":"TaskEventRequest"},"TaskEvent":{"type":"object","properties":{"actor":{"type":"integer"},"annotation":{"type":["integer","null"],"description":"Annotation ID associated with this event"},"annotation_draft_id":{"type":["integer","null"],"description":"Draft annotation ID associated with this event"},"created_at":{"type":"string","format":"date-time"},"event_key":{"type":"string","maxLength":255,"description":"Event type identifier (e.g., \"annotation_loaded\", \"region_finished_drawing\")"},"event_time":{"type":"string","format":"date-time","description":"Timestamp when the event occurred (frontend time)"},"id":{"type":"integer"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Additional event metadata (region data, hotkey info, etc.)"},"organization":{"type":"integer"},"project":{"type":"integer"},"review":{"type":["integer","null"],"description":"Review ID associated with this event"},"task":{"type":"integer","description":"Task this event is associated with"}},"required":["actor","created_at","event_key","event_time","id","organization","project","task"],"description":"Serializer for TaskEvent model to handle event creation from frontend.\n\nThis serializer validates and processes task events sent from the labeling interface,\nensuring proper data format and automatically setting required relationships.","title":"TaskEvent"},"AgreementSelectionGroupRequest":{"type":"object","properties":{"all":{"type":"boolean","default":false},"ids":{"type":"array","items":{"type":"string","minLength":1},"default":[]}},"title":"AgreementSelectionGroupRequest"},"AgreementSelectionRequest":{"type":"object","properties":{"annotators":{"$ref":"#/components/schemas/AgreementSelectionGroupRequest"},"ground_truth":{"type":"boolean","default":false},"models":{"$ref":"#/components/schemas/AgreementSelectionGroupRequest"}},"title":"AgreementSelectionRequest"},"TaskAgreementMatrixResponse":{"type":"object","properties":{"matrix":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}},"description":"Pairwise agreement scores matrix where matrix[i][j] is the agreement between users[i] and users[j]"},"users":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Expanded participant details (annotators and/or model versions)"}},"required":["matrix","users"],"title":"TaskAgreementMatrixResponse"},"ProjectGroupRoleEnum":{"type":"string","enum":["Inherit","Annotator","Reviewer"],"description":"* `Inherit` - Inherit\n* `Annotator` - Annotator\n* `Reviewer` - Reviewer","title":"ProjectGroupRoleEnum"},"ProjectGroup":{"type":"object","properties":{"group":{"type":"string","description":"Group name"},"project_id":{"type":"integer","description":"Project ID"},"role":{"$ref":"#/components/schemas/ProjectGroupRoleEnum","description":"Project role (Inherit, Annotator, Reviewer)\n\n* `Inherit` - Inherit\n* `Annotator` - Annotator\n* `Reviewer` - Reviewer"}},"required":["group","project_id","role"],"title":"ProjectGroup"},"SamlSettings":{"type":"object","properties":{"acs_url":{"type":["string","null"]},"domain":{"type":"string","minLength":3,"maxLength":65536,"description":"Organization web domain or domains; use comma separated list with no spaces for multiple. Example:<br><br>labelstud.io,humansignal.com<br><br>IMPORTANT: DO NOT PUT COMMON DOMAINS LIKE GMAIL.COM, YAHOO.COM, ETC. IN THIS FIELD"},"idp_provider":{"type":["string","null"],"maxLength":256,"description":"Identity Provider preset key (e.g. okta, azure, google, custom)"},"login_url":{"type":["string","null"]},"logout_url":{"type":["string","null"]},"manual_role_management":{"type":["boolean","null"],"description":"Allow manually assigning organization roles instead of IdP-managed groups. None = use billing default."},"mapping_email":{"type":["string","null"],"minLength":1,"maxLength":1024,"description":"Mapping attributes: user email from SAML request"},"mapping_first_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user first name from SAML request"},"mapping_groups":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: groups attribute for user mapping to workspaces and roles"},"mapping_last_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user last name from SAML request"},"metadata_url":{"type":"string","maxLength":65536,"description":"URL SAML metadata from IdP"},"metadata_xml":{"type":"string","description":"Metadata XML file"},"metadata_xml_url":{"type":["string","null"]},"nameid_format":{"type":"string"},"projects_groups":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ProjectGroup"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"token":{"type":"string","maxLength":256},"user_type_capacities":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Live seat usage and limits by seat type (Standard, View Only, Flex)."},"user_type_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"required":["acs_url","login_url","logout_url","metadata_xml_url","nameid_format","user_type_capacities"],"description":"Serializer for reading SAML settings (GET requests).\n\nIncludes all model fields plus computed read-only fields for SP URLs\nthat are needed for IdP configuration.","title":"SamlSettings"},"ProjectGroupRequest":{"type":"object","properties":{"group":{"type":"string","minLength":1,"description":"Group name"},"project_id":{"type":"integer","description":"Project ID"},"role":{"$ref":"#/components/schemas/ProjectGroupRoleEnum","description":"Project role (Inherit, Annotator, Reviewer)\n\n* `Inherit` - Inherit\n* `Annotator` - Annotator\n* `Reviewer` - Reviewer"}},"required":["group","project_id","role"],"title":"ProjectGroupRequest"},"SamlSettingsUpdateRequest":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":65536,"description":"Organization web domain or domains; use comma separated list with no spaces for multiple. Example:<br><br>labelstud.io,humansignal.com<br><br>IMPORTANT: DO NOT PUT COMMON DOMAINS LIKE GMAIL.COM, YAHOO.COM, ETC. IN THIS FIELD"},"idp_provider":{"type":["string","null"],"maxLength":256,"description":"Identity Provider preset key (e.g. okta, azure, google, custom)"},"manual_role_management":{"type":["boolean","null"],"description":"Allow manually assigning organization roles instead of IdP-managed groups. None = use billing default."},"mapping_email":{"type":["string","null"],"minLength":1,"maxLength":1024,"description":"Mapping attributes: user email from SAML request"},"mapping_first_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user first name from SAML request"},"mapping_groups":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: groups attribute for user mapping to workspaces and roles"},"mapping_last_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user last name from SAML request"},"metadata_url":{"type":"string","maxLength":65536,"description":"URL SAML metadata from IdP"},"metadata_xml":{"type":"string","description":"Metadata XML file"},"projects_groups":{"type":"array","items":{"$ref":"#/components/schemas/ProjectGroupRequest"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"user_type_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"description":"Serializer for updating SAML settings (POST requests).","title":"SamlSettingsUpdateRequest"},"SamlSettingsUpdate":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":65536,"description":"Organization web domain or domains; use comma separated list with no spaces for multiple. Example:<br><br>labelstud.io,humansignal.com<br><br>IMPORTANT: DO NOT PUT COMMON DOMAINS LIKE GMAIL.COM, YAHOO.COM, ETC. IN THIS FIELD"},"idp_provider":{"type":["string","null"],"maxLength":256,"description":"Identity Provider preset key (e.g. okta, azure, google, custom)"},"manual_role_management":{"type":["boolean","null"],"description":"Allow manually assigning organization roles instead of IdP-managed groups. None = use billing default."},"mapping_email":{"type":["string","null"],"minLength":1,"maxLength":1024,"description":"Mapping attributes: user email from SAML request"},"mapping_first_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user first name from SAML request"},"mapping_groups":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: groups attribute for user mapping to workspaces and roles"},"mapping_last_name":{"type":["string","null"],"maxLength":1024,"description":"Mapping attributes: user last name from SAML request"},"metadata_url":{"type":"string","maxLength":65536,"description":"URL SAML metadata from IdP"},"metadata_xml":{"type":"string","description":"Metadata XML file"},"projects_groups":{"type":"array","items":{"$ref":"#/components/schemas/ProjectGroup"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"user_type_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"description":"Serializer for updating SAML settings (POST requests).","title":"SamlSettingsUpdate"},"ValidateSamlMetadataUrlRequestRequest":{"type":"object","properties":{"metadata_url":{"type":"string","format":"uri","minLength":1}},"required":["metadata_url"],"title":"ValidateSamlMetadataUrlRequestRequest"},"ValidateSamlMetadataUrlResponse":{"type":"object","properties":{"valid":{"type":"boolean"}},"required":["valid"],"title":"ValidateSamlMetadataUrlResponse"},"ScimSettings":{"type":"object","properties":{"projects_groups":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ProjectGroup"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"user_type_capacities":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Live seat usage and limits by seat type (Standard, View Only, Flex)."},"user_type_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"required":["user_type_capacities"],"title":"ScimSettings"},"ScimSettingsUpdateRequest":{"type":"object","properties":{"projects_groups":{"type":"array","items":{"$ref":"#/components/schemas/ProjectGroupRequest"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"user_type_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":"array","items":{"type":"array","items":{"type":"string","minLength":1}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"title":"ScimSettingsUpdateRequest"},"ScimSettingsUpdate":{"type":"object","properties":{"projects_groups":{"type":"array","items":{"$ref":"#/components/schemas/ProjectGroup"},"description":"Projects to Groups Mapping. List of objects with project_id, group, role."},"roles_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Organization Roles to Groups Mapping. List of [role_name, group_name] pairs."},"user_type_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Seat Types to Groups Mapping. List of [seat_type, group_name] pairs."},"workspaces_groups":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"Workspaces to Groups Mapping. List of [workspace_title, group_name] pairs."}},"title":"ScimSettingsUpdate"},"SessionTimeoutPolicy":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"max_session_age":{"type":"integer","minimum":1,"maximum":2147483647,"description":"Number of minutes that a session can be active before needing to re-login"},"max_time_between_activity":{"type":"integer","minimum":1,"maximum":2147483647,"description":"Number of minutes that a session stays active without any activity"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","updated_at"],"title":"SessionTimeoutPolicy"},"PatchedSessionTimeoutPolicyRequest":{"type":"object","properties":{"max_session_age":{"type":"integer","minimum":1,"maximum":2147483647,"description":"Number of minutes that a session can be active before needing to re-login"},"max_time_between_activity":{"type":"integer","minimum":1,"maximum":2147483647,"description":"Number of minutes that a session stays active without any activity"}},"title":"PatchedSessionTimeoutPolicyRequest"},"ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":"string"}},"title":"ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems"},"StorageStatusEnum":{"type":"string","enum":["initialized","queued","in_progress","failed","completed","completed_with_errors"],"description":"* `initialized` - Initialized\n* `queued` - Queued\n* `in_progress` - In progress\n* `failed` - Failed\n* `completed` - Completed\n* `completed_with_errors` - Completed with errors","title":"StorageStatusEnum"},"AzureBlobImportStorage":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"container":{"type":["string","null"],"description":"Azure blob container"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the container content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"azure"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"AzureBlobImportStorage"},"AzureBlobImportStorageWriteRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the container content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"AzureBlobImportStorageWriteRequest"},"AzureBlobImportStorageValidateRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the container content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"AzureBlobImportStorageValidateRequest"},"import_storage_azure_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_azure_validate_Response_200"},"PatchedAzureBlobImportStorageWriteRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the container content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedAzureBlobImportStorageWriteRequest"},"AuthModeEnum":{"type":"string","enum":["service_principal","workload_identity"],"description":"* `service_principal` - Service Principal\n* `workload_identity` - Workload identity","title":"AuthModeEnum"},"AzureServicePrincipalImportStorage":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"azure_spi"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"required":["created_at","id","project","type"],"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"AzureServicePrincipalImportStorage"},"AzureServicePrincipalImportStorageRequest":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"required":["project"],"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"AzureServicePrincipalImportStorageRequest"},"import_storage_azure_spi_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_azure_spi_validate_Response_200"},"PatchedAzureServicePrincipalImportStorageRequest":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"PatchedAzureServicePrincipalImportStorageRequest"},"AuthTypeEnum":{"type":"string","enum":["pat","dbx_sp","azure_ad_sp"],"description":"* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal","title":"AuthTypeEnum"},"DatabricksImportStorage":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"catalog":{"type":"string","description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","description":"Databricks workspace base URL (https://...)"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Path under the volume"},"presign":{"type":"boolean","description":"Presign not supported; always proxied"},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Unused for Databricks; kept for compatibility"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","description":"UC schema name"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"databricks"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","description":"UC volume name"}},"required":["catalog","created_at","host","id","project","schema","type","volume"],"description":"Serializer for Databricks import storage with multi-auth support.","title":"DatabricksImportStorage"},"DatabricksImportStorageWriteRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"prefix":{"type":["string","null"],"description":"Path under the volume"},"presign":{"type":"boolean","description":"Presign not supported; always proxied"},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Unused for Databricks; kept for compatibility"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"required":["catalog","host","project","schema","volume"],"description":"Serializer for Databricks import storage with multi-auth support.","title":"DatabricksImportStorageWriteRequest"},"DatabricksImportStorageValidateRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"Path under the volume"},"presign":{"type":"boolean","description":"Presign not supported; always proxied"},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Unused for Databricks; kept for compatibility"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"required":["catalog","host","project","schema","volume"],"description":"Serializer for Databricks import storage with multi-auth support.","title":"DatabricksImportStorageValidateRequest"},"import_storage_databricks_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_databricks_validate_Response_200"},"PatchedDatabricksImportStorageWriteRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"prefix":{"type":["string","null"],"description":"Path under the volume"},"presign":{"type":"boolean","description":"Presign not supported; always proxied"},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Unused for Databricks; kept for compatibility"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"description":"Serializer for Databricks import storage with multi-auth support.","title":"PatchedDatabricksImportStorageWriteRequest"},"GCSImportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcs"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSImportStorage"},"GCSImportStorageWriteRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSImportStorageWriteRequest"},"GCSImportStorageValidateRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSImportStorageValidateRequest"},"import_storage_gcs_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_gcs_validate_Response_200"},"PatchedGCSImportStorageWriteRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSImportStorageWriteRequest"},"GCSSAImportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcs_sa"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSSAImportStorage"},"GCSSAImportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSSAImportStorageRequest"},"import_storage_gcs_sa_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_gcs_sa_validate_Response_200"},"PatchedGCSSAImportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSSAImportStorageRequest"},"GCSWIFImportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcswif"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSWIFImportStorage"},"GCSWIFImportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSWIFImportStorageRequest"},"import_storage_gcswif_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_gcswif_validate_Response_200"},"PatchedGCSWIFImportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSWIFImportStorageRequest"},"LocalFilesImportStorage":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the directory content"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"localfiles"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"LocalFilesImportStorage"},"LocalFilesImportStorageWriteRequest":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Cloud storage description"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the directory content"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"LocalFilesImportStorageWriteRequest"},"LocalFilesImportStorageValidateRequest":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the directory content"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"LocalFilesImportStorageValidateRequest"},"import_storage_local_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_local_validate_Response_200"},"PatchedLocalFilesImportStorageWriteRequest":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Cloud storage description"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":["boolean","null"],"description":"Perform recursive scan over the directory content"},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedLocalFilesImportStorageWriteRequest"},"RedisImportStorage":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time","description":"Creation time"},"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"redis"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"RedisImportStorage"},"RedisImportStorageWriteRequest":{"type":"object","properties":{"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"RedisImportStorageWriteRequest"},"RedisImportStorageValidateRequest":{"type":"object","properties":{"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"RedisImportStorageValidateRequest"},"import_storage_redis_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_redis_validate_Response_200"},"PatchedRedisImportStorageWriteRequest":{"type":"object","properties":{"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedRedisImportStorageWriteRequest"},"S3ImportStorage":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"s3"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"S3ImportStorage"},"S3ImportStorageWriteRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"S3ImportStorageWriteRequest"},"S3ImportStorageValidateRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"S3ImportStorageValidateRequest"},"import_storage_s3_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_s3_validate_Response_200"},"PatchedS3ImportStorageWriteRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedS3ImportStorageWriteRequest"},"LseS3ImportStorage":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"external_id":{"type":["string","null"],"description":"AWS ExternalId. Set by the server; read-only."},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"s3s"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","external_id","id","project","role_arn","type"],"title":"LseS3ImportStorage"},"LseS3ImportStorageRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","minLength":1,"description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project","role_arn"],"title":"LseS3ImportStorageRequest"},"import_storage_s3s_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"import_storage_s3s_validate_Response_200"},"PatchedLseS3ImportStorageRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"presign":{"type":"boolean","default":true},"presign_ttl":{"type":"integer","minimum":0,"maximum":32767,"description":"Presigned URLs TTL (in minutes)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"recursive_scan":{"type":"boolean","description":"Perform recursive scan over the bucket content"},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","minLength":1,"description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedLseS3ImportStorageRequest"},"ApiStoragesExportTypesGetResponsesContentApplicationJsonSchemaItems":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":"string"}},"title":"ApiStoragesExportTypesGetResponsesContentApplicationJsonSchemaItems"},"AzureBlobExportStorage":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"container":{"type":["string","null"],"description":"Azure blob container"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"azure"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"AzureBlobExportStorage"},"AzureBlobExportStorageWriteRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"AzureBlobExportStorageWriteRequest"},"AzureBlobExportStorageValidateRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"AzureBlobExportStorageValidateRequest"},"export_storage_azure_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_azure_validate_Response_200"},"PatchedAzureBlobExportStorageWriteRequest":{"type":"object","properties":{"account_key":{"type":["string","null"],"description":"Azure Blob account key"},"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedAzureBlobExportStorageWriteRequest"},"AzureServicePrincipalExportStorage":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"azure_spi"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"required":["created_at","id","project","type"],"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"AzureServicePrincipalExportStorage"},"AzureServicePrincipalExportStorageRequest":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"required":["project"],"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"AzureServicePrincipalExportStorageRequest"},"export_storage_azure_spi_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_azure_spi_validate_Response_200"},"PatchedAzureServicePrincipalExportStorageRequest":{"type":"object","properties":{"account_name":{"type":["string","null"],"description":"Azure Blob account name"},"auth_mode":{"oneOf":[{"$ref":"#/components/schemas/AuthModeEnum"},{"type":"null"}],"description":"Authentication mode. service_principal uses a client secret. workload_identity uses constrained DefaultAzureCredential (workload identity + managed identity only). Defaults to service_principal.\n\n* `service_principal` - Service Principal\n* `workload_identity` - Workload identity"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"client_id":{"type":["string","null"],"description":"For service_principal: Azure app registration client ID. For workload_identity: optional user-assigned managed identity client ID."},"client_secret":{"type":["string","null"],"description":"Azure Blob Service Principal client secret. Required when auth_mode is service_principal (or omitted). Must be omitted when auth_mode is workload_identity."},"container":{"type":["string","null"],"description":"Azure blob container"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Azure blob prefix name"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":["string","null"],"description":"Azure Tenant ID. Required for service_principal; not used for workload_identity."},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"},"user_delegation_key":{"type":["string","null"],"description":"User Delegation Key (Backend)"}},"description":"Mode-aware auth validation shared by import and export Azure SPI serializers.","title":"PatchedAzureServicePrincipalExportStorageRequest"},"DatabricksExportStorage":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"catalog":{"type":"string","description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","description":"Databricks workspace base URL (https://...)"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"Export path prefix under the volume"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","description":"UC schema name"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"databricks"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","description":"UC volume name"}},"required":["catalog","created_at","host","id","project","schema","type","volume"],"description":"Serializer for Databricks export storage with multi-auth support.","title":"DatabricksExportStorage"},"DatabricksExportStorageWriteRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"prefix":{"type":["string","null"],"description":"Export path prefix under the volume"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"required":["catalog","host","project","schema","volume"],"description":"Serializer for Databricks export storage with multi-auth support.","title":"DatabricksExportStorageWriteRequest"},"DatabricksExportStorageValidateRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"Export path prefix under the volume"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"required":["catalog","host","project","schema","volume"],"description":"Serializer for Databricks export storage with multi-auth support.","title":"DatabricksExportStorageValidateRequest"},"export_storage_databricks_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_databricks_validate_Response_200"},"PatchedDatabricksExportStorageWriteRequest":{"type":"object","properties":{"auth_type":{"$ref":"#/components/schemas/AuthTypeEnum","default":"pat","description":"Authentication method: PAT, Databricks SP, or Azure AD SP\n\n* `pat` - Personal Access Token\n* `dbx_sp` - Databricks Service Principal\n* `azure_ad_sp` - Azure AD Service Principal"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"catalog":{"type":"string","minLength":1,"description":"UC catalog name"},"client_id":{"type":"string","description":"Service principal client/application ID (required for SP modes)"},"client_secret":{"type":"string","description":"Service principal client secret (required for SP modes)"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":"string","minLength":1,"description":"Databricks workspace base URL (https://...)"},"prefix":{"type":["string","null"],"description":"Export path prefix under the volume"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"request_timeout_s":{"type":"integer","minimum":0,"maximum":2147483647},"schema":{"type":"string","minLength":1,"description":"UC schema name"},"stream_chunk_bytes":{"type":"integer","minimum":0,"maximum":2147483647},"synchronizable":{"type":"boolean","default":true},"tenant_id":{"type":"string","description":"Azure AD tenant ID (required for Azure AD SP mode)"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"token":{"type":"string","description":"Databricks personal access token (required for PAT mode)"},"use_blob_urls":{"type":"boolean","description":"Generate blob URLs in tasks"},"verify_tls":{"type":"boolean","description":"Verify TLS certificates"},"volume":{"type":"string","minLength":1,"description":"UC volume name"}},"description":"Serializer for Databricks export storage with multi-auth support.","title":"PatchedDatabricksExportStorageWriteRequest"},"GCSExportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcs"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSExportStorage"},"GCSExportStorageWriteRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSExportStorageWriteRequest"},"GCSExportStorageValidateRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSExportStorageValidateRequest"},"export_storage_gcs_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_gcs_validate_Response_200"},"PatchedGCSExportStorageWriteRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSExportStorageWriteRequest"},"GCSSAExportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcs_sa"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSSAExportStorage"},"GCSSAExportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSSAExportStorageRequest"},"export_storage_gcs_sa_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_gcs_sa_validate_Response_200"},"PatchedGCSSAExportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"target_service_account_email":{"type":["string","null"],"description":"Service account email to impersonate for GCS access"},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSSAExportStorageRequest"},"GCSWIFExportStorage":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"gcswif"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"GCSWIFExportStorage"},"GCSWIFExportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"GCSWIFExportStorageRequest"},"export_storage_gcswif_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_gcswif_validate_Response_200"},"PatchedGCSWIFExportStorageRequest":{"type":"object","properties":{"bucket":{"type":["string","null"],"description":"GCS bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"google_application_credentials":{"type":["string","null"],"description":"The content of GOOGLE_APPLICATION_CREDENTIALS json file"},"google_project_id":{"type":["string","null"],"description":"Google project ID"},"google_project_number":{"type":["string","null"],"description":"Google project number"},"google_service_account_email":{"type":["string","null"],"description":"Google service account email"},"google_wif_pool_id":{"type":["string","null"],"description":"Google WIF pool ID"},"google_wif_provider_id":{"type":["string","null"],"description":"Google WIF provider ID"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"GCS bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedGCSWIFExportStorageRequest"},"LocalFilesExportStorage":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"localfiles"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"LocalFilesExportStorage"},"LocalFilesExportStorageWriteRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"LocalFilesExportStorageWriteRequest"},"LocalFilesExportStorageValidateRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"LocalFilesExportStorageValidateRequest"},"export_storage_local_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_local_validate_Response_200"},"PatchedLocalFilesExportStorageWriteRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"path":{"type":["string","null"],"description":"Local path"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedLocalFilesExportStorageWriteRequest"},"RedisExportStorage":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"redis"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"RedisExportStorage"},"RedisExportStorageWriteRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"RedisExportStorageWriteRequest"},"RedisExportStorageValidateRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"RedisExportStorageValidateRequest"},"export_storage_redis_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_redis_validate_Response_200"},"PatchedRedisExportStorageWriteRequest":{"type":"object","properties":{"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"db":{"type":"integer","minimum":0,"maximum":32767,"description":"Server Database"},"description":{"type":["string","null"],"description":"Cloud storage description"},"host":{"type":["string","null"],"description":"Server Host IP (optional)"},"password":{"type":["string","null"],"description":"Server Password (optional)"},"path":{"type":["string","null"],"description":"Storage prefix (optional)"},"port":{"type":["string","null"],"description":"Server Port (optional)"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedRedisExportStorageWriteRequest"},"S3ExportStorage":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"s3"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","id","project","type"],"title":"S3ExportStorage"},"S3ExportStorageWriteRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"S3ExportStorageWriteRequest"},"S3ExportStorageValidateRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"id":{"type":"integer","description":"Storage ID. If set, storage with specified ID will be updated"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project"],"title":"S3ExportStorageValidateRequest"},"export_storage_s3_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_s3_validate_Response_200"},"PatchedS3ExportStorageWriteRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedS3ExportStorageWriteRequest"},"LseS3ExportStorage":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"description":{"type":["string","null"],"description":"Cloud storage description"},"external_id":{"type":["string","null"],"description":"AWS ExternalId. Set by the server; read-only."},"id":{"type":"integer"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"type":{"type":"string","default":"s3s"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["created_at","external_id","id","project","role_arn","type"],"title":"LseS3ExportStorage"},"LseS3ExportStorageRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","minLength":1,"description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"required":["project","role_arn"],"title":"LseS3ExportStorageRequest"},"export_storage_s3s_validate_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"export_storage_s3s_validate_Response_200"},"PatchedLseS3ExportStorageRequest":{"type":"object","properties":{"aws_access_key_id":{"type":["string","null"],"description":"AWS_ACCESS_KEY_ID"},"aws_secret_access_key":{"type":["string","null"],"description":"AWS_SECRET_ACCESS_KEY"},"aws_session_token":{"type":["string","null"],"description":"AWS_SESSION_TOKEN"},"aws_sse_kms_key_id":{"type":["string","null"],"description":"AWS SSE KMS Key ID"},"bucket":{"type":["string","null"],"description":"S3 bucket name"},"can_delete_objects":{"type":["boolean","null"],"description":"Deletion from storage enabled"},"description":{"type":["string","null"],"description":"Cloud storage description"},"last_sync":{"type":["string","null"],"format":"date-time","description":"Last sync finished time"},"last_sync_count":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Count of tasks synced last time"},"last_sync_job":{"type":["string","null"],"maxLength":256,"description":"Last sync job ID"},"legacy_auth":{"type":["boolean","null"]},"meta":{"oneOf":[{"description":"Any type"},{"type":"null"}],"description":"Meta and debug information about storage processes"},"prefix":{"type":["string","null"],"description":"S3 bucket prefix"},"project":{"type":"integer","description":"A unique integer value identifying this project."},"regex_filter":{"type":["string","null"],"description":"Cloud storage regex for filtering objects"},"region_name":{"type":["string","null"],"description":"AWS Region"},"role_arn":{"type":"string","minLength":1,"description":"AWS RoleArn"},"s3_endpoint":{"type":["string","null"],"description":"S3 Endpoint"},"status":{"$ref":"#/components/schemas/StorageStatusEnum"},"synchronizable":{"type":"boolean","default":true},"title":{"type":["string","null"],"maxLength":256,"description":"Cloud storage title"},"traceback":{"type":["string","null"],"description":"Traceback report for the last failed sync"},"use_blob_urls":{"type":"boolean","description":"Interpret objects as BLOBs and generate URLs"}},"title":"PatchedLseS3ExportStorageRequest"},"LSEAPITokenList":{"type":"object","properties":{"created_at":{"type":"string"},"expires_at":{"type":"string"},"token":{"type":"string"}},"required":["created_at","expires_at","token"],"title":"LSEAPITokenList"},"LSEAPITokenCreate":{"type":"object","properties":{"created_at":{"type":"string"},"expires_at":{"type":"string"},"token":{"type":"string"}},"required":["created_at","expires_at","token"],"title":"LSEAPITokenCreate"},"LSAPITokenBlacklistRequest":{"type":"object","properties":{"refresh":{"type":"string","minLength":1}},"required":["refresh"],"title":"LSAPITokenBlacklistRequest"},"TokenDetailError":{"type":"object","properties":{"detail":{"type":"string"}},"required":["detail"],"title":"TokenDetailError"},"TokenRefreshRequest":{"type":"object","properties":{"refresh":{"type":"string","minLength":1}},"required":["refresh"],"title":"TokenRefreshRequest"},"TokenRefreshResponse":{"type":"object","properties":{"access":{"type":"string"}},"required":["access"],"title":"TokenRefreshResponse"},"LSAPITokenRotateRequest":{"type":"object","properties":{"refresh":{"type":"string","minLength":1}},"required":["refresh"],"title":"LSAPITokenRotateRequest"},"TokenRotateResponse":{"type":"object","properties":{"refresh":{"type":"string"}},"required":["refresh"],"title":"TokenRotateResponse"},"EditionEnum":{"type":"string","enum":["Community","Enterprise"],"description":"* `Community` - Community\n* `Enterprise` - Enterprise","title":"EditionEnum"},"VersionResponse":{"type":"object","properties":{"backend":{"description":"Additional backend information"},"dm2":{"description":"Information about the Data Manager 2.0 component"},"edition":{"$ref":"#/components/schemas/EditionEnum","description":"Label Studio edition (Community or Enterprise)\n\n* `Community` - Community\n* `Enterprise` - Enterprise"},"label-studio-converter":{"description":"Information about the Label Studio converter component"},"label-studio-frontend":{"description":"Information about the Label Studio frontend"},"label-studio-os-backend":{"description":"Information about the Label Studio backend"},"label-studio-os-package":{"description":"Information about the Label Studio open source package"},"lsf":{"description":"Information about the Label Studio Frontend library"},"release":{"type":"string","description":"Current release version of Label Studio"}},"required":["backend","dm2","edition","label-studio-converter","label-studio-frontend","label-studio-os-backend","label-studio-os-package","lsf","release"],"title":"VersionResponse"},"ActionsEnum":{"type":"string","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"],"description":"* `PROJECT_CREATED` - PROJECT_CREATED\n* `PROJECT_UPDATED` - PROJECT_UPDATED\n* `PROJECT_DELETED` - PROJECT_DELETED\n* `TASKS_CREATED` - TASKS_CREATED\n* `TASKS_DELETED` - TASKS_DELETED\n* `ANNOTATION_CREATED` - ANNOTATION_CREATED\n* `ANNOTATIONS_CREATED` - ANNOTATIONS_CREATED\n* `ANNOTATION_UPDATED` - ANNOTATION_UPDATED\n* `ANNOTATIONS_DELETED` - ANNOTATIONS_DELETED\n* `LABEL_LINK_CREATED` - LABEL_LINK_CREATED\n* `LABEL_LINK_UPDATED` - LABEL_LINK_UPDATED\n* `LABEL_LINK_DELETED` - LABEL_LINK_DELETED\n* `REVIEW_CREATED` - REVIEW_CREATED\n* `REVIEW_UPDATED` - REVIEW_UPDATED\n* `REVIEWS_DELETED` - REVIEWS_DELETED","title":"ActionsEnum"},"Webhook":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionsEnum"},"default":[]},"consecutive_failures":{"type":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"headers":{"description":"Key Value Json of headers"},"id":{"type":"integer"},"is_active":{"type":"boolean","description":"If value is False the webhook is disabled"},"organization":{"type":"integer"},"project":{"type":["integer","null"]},"send_for_all_actions":{"type":"boolean","description":"If value is False - used only for actions from WebhookAction"},"send_payload":{"type":"boolean","description":"If value is False send only action"},"updated_at":{"type":"string","format":"date-time","description":"Last update time"},"url":{"type":"string","format":"uri","maxLength":2048,"description":"URL of webhook"}},"required":["consecutive_failures","created_at","id","organization","updated_at","url"],"title":"Webhook"},"WebhookRequest":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionsEnum"},"default":[]},"headers":{"description":"Key Value Json of headers"},"is_active":{"type":"boolean","description":"If value is False the webhook is disabled"},"project":{"type":["integer","null"]},"send_for_all_actions":{"type":"boolean","description":"If value is False - used only for actions from WebhookAction"},"send_payload":{"type":"boolean","description":"If value is False send only action"},"url":{"type":"string","format":"uri","minLength":1,"maxLength":2048,"description":"URL of webhook"}},"required":["url"],"title":"WebhookRequest"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsDeleted":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsDeleted"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationUpdated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationUpdated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkDeleted":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkDeleted"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkUpdated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkUpdated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectDeleted":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectDeleted"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectUpdated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectUpdated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewsDeleted":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewsDeleted"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewUpdated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewUpdated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksCreated":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksCreated"},"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksDeleted":{"type":"object","properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"organization-only":{"type":"boolean"}},"required":["description","key","name","organization-only"],"title":"ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksDeleted"},"webhooks_info_Response_200":{"type":"object","properties":{"ANNOTATIONS_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsCreated"},"ANNOTATIONS_DELETED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationsDeleted"},"ANNOTATION_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationCreated"},"ANNOTATION_UPDATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaAnnotationUpdated"},"LABEL_LINK_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkCreated"},"LABEL_LINK_DELETED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkDeleted"},"LABEL_LINK_UPDATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaLabelLinkUpdated"},"PROJECT_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectCreated"},"PROJECT_DELETED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectDeleted"},"PROJECT_UPDATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaProjectUpdated"},"REVIEWS_DELETED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewsDeleted"},"REVIEW_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewCreated"},"REVIEW_UPDATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaReviewUpdated"},"TASKS_CREATED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksCreated"},"TASKS_DELETED":{"$ref":"#/components/schemas/ApiWebhooksInfoGetResponsesContentApplicationJsonSchemaTasksDeleted"}},"title":"webhooks_info_Response_200"},"PatchedWebhookSerializerForUpdateRequest":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionsEnum"},"default":[]},"headers":{"description":"Key Value Json of headers"},"is_active":{"type":"boolean","description":"If value is False the webhook is disabled"},"send_for_all_actions":{"type":"boolean","description":"If value is False - used only for actions from WebhookAction"},"send_payload":{"type":"boolean","description":"If value is False send only action"},"url":{"type":"string","format":"uri","minLength":1,"maxLength":2048,"description":"URL of webhook"}},"description":"Serializer class for updating webhooks\n\nUsed to forbid updating project field.","title":"PatchedWebhookSerializerForUpdateRequest"},"WebhookSerializerForUpdate":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionsEnum"},"default":[]},"consecutive_failures":{"type":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation time"},"headers":{"description":"Key Value Json of headers"},"id":{"type":"integer"},"is_active":{"type":"boolean","description":"If value is False the webhook is disabled"},"organization":{"type":"integer"},"project":{"type":["integer","null"]},"send_for_all_actions":{"type":"boolean","description":"If value is False - used only for actions from WebhookAction"},"send_payload":{"type":"boolean","description":"If value is False send only action"},"updated_at":{"type":"string","format":"date-time","description":"Last update time"},"url":{"type":"string","format":"uri","maxLength":2048,"description":"URL of webhook"}},"required":["consecutive_failures","created_at","id","organization","project","updated_at","url"],"description":"Serializer class for updating webhooks\n\nUsed to forbid updating project field.","title":"WebhookSerializerForUpdate"},"Workspace":{"type":"object","properties":{"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"created_by":{"type":"integer"},"created_by_user":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Return created_by user details when include_all_workspaces is enabled."},"description":{"type":["string","null"],"description":"Workspace description"},"id":{"type":"integer"},"interfaces_count":{"type":["integer","null"],"description":"Saved interfaces in the workspace. A workspace with interfaces cannot be deleted."},"is_archived":{"type":"boolean","description":"Workspace is archived"},"is_personal":{"type":"boolean","description":"Workspace is a personal user workspace"},"membership":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"projects_count":{"type":["integer","null"]},"title":{"type":"string","maxLength":1000,"description":"Workspace Name"}},"required":["created_by","created_by_user","id","interfaces_count","membership","projects_count","title"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"Workspace"},"WorkspaceRequest":{"type":"object","properties":{"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"description":{"type":["string","null"],"description":"Workspace description"},"is_archived":{"type":"boolean","description":"Workspace is archived"},"is_personal":{"type":"boolean","description":"Workspace is a personal user workspace"},"title":{"type":"string","minLength":1,"maxLength":1000,"description":"Workspace Name"}},"required":["title"],"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"WorkspaceRequest"},"PatchedWorkspaceRequest":{"type":"object","properties":{"color":{"type":["string","null"],"maxLength":16,"description":"Color"},"description":{"type":["string","null"],"description":"Workspace description"},"is_archived":{"type":"boolean","description":"Workspace is archived"},"is_personal":{"type":"boolean","description":"Workspace is a personal user workspace"},"title":{"type":"string","minLength":1,"maxLength":1000,"description":"Workspace Name"}},"description":"A ModelSerializer that takes additional arguments for\n\"fields\", \"omit\" and \"expand\" in order to\ncontrol which fields are displayed, and whether to replace simple\nvalues with complex, nested serializations","title":"PatchedWorkspaceRequest"},"WorkspaceMemberList":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/LseUser"},"workspace":{"type":"integer","description":"Workspace ID"}},"required":["user"],"title":"WorkspaceMemberList"},"WorkspaceMemberCreateRequest":{"type":"object","properties":{"user":{"type":"integer","description":"User ID"},"workspace":{"type":"integer","description":"Workspace ID"}},"required":["user"],"title":"WorkspaceMemberCreateRequest"},"WorkspaceMemberCreate":{"type":"object","properties":{"user":{"type":"integer","description":"User ID"},"workspace":{"type":"integer","description":"Workspace ID"}},"required":["user"],"title":"WorkspaceMemberCreate"},"WorkspaceMemberBulkAssignRequest":{"type":"object","properties":{"all":{"type":"boolean","description":"Apply to all workspace members"},"excluded":{"type":"array","items":{"type":"integer","minimum":1},"description":"Excluded user IDs"},"included":{"type":"array","items":{"type":"integer","minimum":1},"description":"Included user IDs"}},"required":["all"],"title":"WorkspaceMemberBulkAssignRequest"},"workspaces_members_bulk_post_Response_200":{"type":"object","properties":{"assignments":{"type":"integer"}},"title":"workspaces_members_bulk_post_Response_200"},"workspaces_members_bulk_delete_Response_200":{"type":"object","properties":{"unassignments":{"type":"integer"}},"title":"workspaces_members_bulk_delete_Response_200"},"PaginatedLseUserList":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/LseUser"}}},"required":["count","results"],"title":"PaginatedLseUserList"},"Project":{"type":"object","properties":{"annotator_evaluation_enabled":{"type":"boolean","description":"Enable annotator evaluation for the project"},"color":{"type":["string","null"],"maxLength":16},"config_has_control_tags":{"type":"boolean","description":"Flag to detect is project ready for labeling"},"config_suitable_for_bulk_annotation":{"type":"boolean","description":"Flag to detect is project ready for bulk annotation"},"control_weights":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ControlTagWeight"},"description":"Dict of weights for each control tag in metric calculation. Keys are control tag names from the labeling config. At least one tag must have a non-zero overall weight."},"created_at":{"type":"string","format":"date-time"},"created_by":{"$ref":"#/components/schemas/UserSimple","description":"Project owner"},"description":{"type":["string","null"],"description":"Project description"},"enable_empty_annotation":{"type":"boolean","description":"Allow annotators to submit empty annotations"},"evaluate_predictions_automatically":{"type":"boolean","description":"Retrieve and display predictions when loading a task"},"expert_instruction":{"type":["string","null"],"description":"Labeling instructions in HTML format"},"finished_task_number":{"type":"integer","description":"Finished tasks"},"ground_truth_number":{"type":"integer","description":"Honeypot annotation number in project"},"id":{"type":"integer"},"is_draft":{"type":"boolean","description":"Whether or not the project is in the middle of being created"},"is_published":{"type":"boolean","description":"Whether or not the project is published to annotators"},"label_config":{"type":["string","null"],"description":"Label config in XML format. See more about it in documentation"},"maximum_annotations":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"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)"},"min_annotations_to_start_training":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Minimum number of completed tasks after which model training is started"},"model_version":{"type":["string","null"],"description":"Machine learning model version"},"num_tasks_with_annotations":{"type":"integer","description":"Tasks with annotations count"},"organization":{"type":"integer"},"overlap_cohort_percentage":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"parsed_label_config":{"type":"object","additionalProperties":{"description":"Any type"},"description":"JSON-formatted labeling configuration"},"pinned_at":{"type":["string","null"],"format":"date-time","description":"Pinned date and time"},"queue_done":{"type":"integer"},"queue_total":{"type":"integer"},"reveal_preannotations_interactively":{"type":"boolean","description":"Reveal pre-annotations interactively"},"sampling":{"oneOf":[{"$ref":"#/components/schemas/ProjectSamplingEnum"},{"type":"null"}]},"show_annotation_history":{"type":"boolean","description":"Show annotation history to annotator"},"show_collab_predictions":{"type":"boolean","description":"If set, the annotator can view model predictions"},"show_ground_truth_first":{"type":"boolean","description":"Onboarding mode (true): show ground truth tasks first in the labeling stream","deprecated":true},"show_instruction":{"type":"boolean","description":"Show instructions to the annotator before they start"},"show_overlap_first":{"type":"boolean"},"show_skip_button":{"type":"boolean","description":"Show a skip button in interface and allow annotators to skip the task"},"skip_queue":{"oneOf":[{"$ref":"#/components/schemas/SkipQueueEnum"},{"type":"null"}]},"skipped_annotations_number":{"type":"integer","description":"Skipped by collaborators annotation number in project"},"start_training_on_annotation_update":{"type":"boolean","description":"Start model training after any annotations are submitted or updated"},"state":{"type":"string"},"task_data_login":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: login"},"task_data_password":{"type":["string","null"],"maxLength":256,"description":"Task data credentials: password"},"task_number":{"type":"integer","description":"Total task number in project"},"title":{"type":["string","null"],"minLength":3,"maxLength":50,"description":"Project name. Must be between 3 and 50 characters long."},"total_annotations_number":{"type":"integer","description":"Total annotations number in project including skipped_annotations_number and ground_truth_number."},"total_predictions_number":{"type":"integer","description":"Total predictions number in project including skipped_annotations_number, ground_truth_number, and useful_annotation_number."},"useful_annotation_number":{"type":"integer","description":"Useful annotation number in project not including skipped_annotations_number and ground_truth_number. Total annotations = annotation_number + skipped_annotations_number + ground_truth_number"}},"required":["config_has_control_tags","config_suitable_for_bulk_annotation","created_at","finished_task_number","ground_truth_number","id","num_tasks_with_annotations","organization","parsed_label_config","queue_done","queue_total","skipped_annotations_number","start_training_on_annotation_update","state","task_number","total_annotations_number","total_predictions_number","useful_annotation_number"],"description":"Serializer get numbers from project queryset annotation,\nmake sure, that you use correct one(Project.objects.with_counts())","title":"Project"},"WorkspaceProjectsRequest":{"type":"object","properties":{"project":{"type":"integer","description":"Project ID"}},"required":["project"],"title":"WorkspaceProjectsRequest"},"workspaces_projects_add_Response_201":{"type":"object","properties":{},"description":"Empty response body","title":"workspaces_projects_add_Response_201"}},"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization","description":"The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class=\"language-bash\">curl https://label-studio-host/api/projects -H \"Authorization: Token [your-token]\"</code></pre>"}}}}