|
1 | 1 | errors:
|
| 2 | + BadRequestError: |
| 3 | + status-code: 400 |
| 4 | + type: unknown |
| 5 | + NotFoundError: |
| 6 | + status-code: 404 |
| 7 | + type: unknown |
| 8 | + docs: Project not found |
2 | 9 | InternalServerError:
|
3 | 10 | status-code: 500
|
4 | 11 | type: string
|
5 | 12 | docs: Predicting error
|
6 |
| - NotFoundError: |
7 |
| - status-code: 404 |
8 |
| - type: unknown |
9 |
| - docs: Member not found |
10 | 13 | MethodNotAllowedError:
|
11 | 14 | status-code: 405
|
12 | 15 | type: unknown
|
13 | 16 | docs: User cannot soft delete self.
|
14 |
| - BadRequestError: |
15 |
| - status-code: 400 |
16 |
| - type: string |
17 |
| - docs: '' |
18 | 17 | types:
|
19 | 18 | AnnotationLastAction:
|
20 | 19 | enum:
|
@@ -1564,6 +1563,172 @@ types:
|
1564 | 1563 | comment_authors:
|
1565 | 1564 | type: optional<list<integer>>
|
1566 | 1565 | docs: Users who wrote comments
|
| 1566 | + AnnotationsDmFieldLastAction: |
| 1567 | + enum: |
| 1568 | + - prediction |
| 1569 | + - propagated_annotation |
| 1570 | + - imported |
| 1571 | + - submitted |
| 1572 | + - updated |
| 1573 | + - skipped |
| 1574 | + - accepted |
| 1575 | + - rejected |
| 1576 | + - fixed_and_accepted |
| 1577 | + - deleted_review |
| 1578 | + docs: Action which was performed in the last annotation history item |
| 1579 | + AnnotationsDmField: |
| 1580 | + properties: |
| 1581 | + id: optional<integer> |
| 1582 | + result: |
| 1583 | + type: optional<list<map<string, unknown>>> |
| 1584 | + docs: List of annotation results for the task |
| 1585 | + created_username: |
| 1586 | + type: optional<string> |
| 1587 | + docs: Username string |
| 1588 | + created_ago: |
| 1589 | + type: optional<string> |
| 1590 | + docs: Time delta from creation time |
| 1591 | + default: '' |
| 1592 | + validation: |
| 1593 | + minLength: 1 |
| 1594 | + completed_by: |
| 1595 | + type: optional<map<string, unknown>> |
| 1596 | + docs: User details who completed this annotation. |
| 1597 | + unique_id: |
| 1598 | + type: optional<string> |
| 1599 | + validation: |
| 1600 | + minLength: 1 |
| 1601 | + was_cancelled: |
| 1602 | + type: optional<boolean> |
| 1603 | + docs: User skipped the task |
| 1604 | + ground_truth: |
| 1605 | + type: optional<boolean> |
| 1606 | + docs: This annotation is a Ground Truth (ground_truth) |
| 1607 | + created_at: |
| 1608 | + type: optional<datetime> |
| 1609 | + docs: Creation time |
| 1610 | + updated_at: |
| 1611 | + type: optional<datetime> |
| 1612 | + docs: Last updated time |
| 1613 | + draft_created_at: |
| 1614 | + type: optional<datetime> |
| 1615 | + docs: Draft creation time |
| 1616 | + lead_time: |
| 1617 | + type: optional<double> |
| 1618 | + docs: How much time it took to annotate the task |
| 1619 | + import_id: |
| 1620 | + type: optional<integer> |
| 1621 | + docs: >- |
| 1622 | + Original annotation ID that was at the import step or NULL if this |
| 1623 | + annotation wasn't imported |
| 1624 | + last_action: |
| 1625 | + type: optional<AnnotationsDmFieldLastAction> |
| 1626 | + docs: Action which was performed in the last annotation history item |
| 1627 | + task: |
| 1628 | + type: optional<integer> |
| 1629 | + docs: Corresponding task for this annotation |
| 1630 | + project: |
| 1631 | + type: optional<integer> |
| 1632 | + docs: Project ID for this annotation |
| 1633 | + updated_by: |
| 1634 | + type: optional<integer> |
| 1635 | + docs: Last user who updated this annotation |
| 1636 | + parent_prediction: |
| 1637 | + type: optional<integer> |
| 1638 | + docs: Points to the prediction from which this annotation was created |
| 1639 | + parent_annotation: |
| 1640 | + type: optional<integer> |
| 1641 | + docs: Points to the parent annotation from which this annotation was created |
| 1642 | + last_created_by: |
| 1643 | + type: optional<integer> |
| 1644 | + docs: User who created the last annotation history item |
| 1645 | + DataManagerTaskSerializerPredictionsItem: |
| 1646 | + properties: |
| 1647 | + result: optional<list<map<string, unknown>>> |
| 1648 | + score: optional<double> |
| 1649 | + model_version: optional<string> |
| 1650 | + model: optional<map<string, unknown>> |
| 1651 | + model_run: optional<map<string, unknown>> |
| 1652 | + task: optional<integer> |
| 1653 | + project: optional<double> |
| 1654 | + created_at: optional<datetime> |
| 1655 | + updated_at: optional<datetime> |
| 1656 | + DataManagerTaskSerializerDraftsItem: |
| 1657 | + properties: |
| 1658 | + result: optional<list<map<string, unknown>>> |
| 1659 | + created_at: optional<datetime> |
| 1660 | + updated_at: optional<datetime> |
| 1661 | + DataManagerTaskSerializer: |
| 1662 | + properties: |
| 1663 | + id: optional<integer> |
| 1664 | + predictions: |
| 1665 | + type: optional<list<DataManagerTaskSerializerPredictionsItem>> |
| 1666 | + docs: Predictions for this task |
| 1667 | + annotations: optional<list<AnnotationsDmField>> |
| 1668 | + drafts: |
| 1669 | + type: optional<list<DataManagerTaskSerializerDraftsItem>> |
| 1670 | + docs: Drafts for this task |
| 1671 | + annotators: |
| 1672 | + type: optional<list<integer>> |
| 1673 | + docs: Annotators IDs who annotated this task |
| 1674 | + inner_id: optional<integer> |
| 1675 | + cancelled_annotations: optional<integer> |
| 1676 | + total_annotations: optional<integer> |
| 1677 | + total_predictions: optional<integer> |
| 1678 | + completed_at: optional<datetime> |
| 1679 | + annotations_results: optional<string> |
| 1680 | + predictions_results: optional<string> |
| 1681 | + predictions_score: optional<double> |
| 1682 | + file_upload: optional<string> |
| 1683 | + storage_filename: optional<string> |
| 1684 | + annotations_ids: optional<string> |
| 1685 | + predictions_model_versions: optional<string> |
| 1686 | + avg_lead_time: optional<double> |
| 1687 | + draft_exists: optional<boolean> |
| 1688 | + updated_by: |
| 1689 | + type: optional<list<map<string, unknown>>> |
| 1690 | + docs: User IDs who updated this task |
| 1691 | + data: |
| 1692 | + docs: >- |
| 1693 | + User imported or uploaded data for a task. Data is formatted according |
| 1694 | + to the project label config. You can find examples of data for your |
| 1695 | + project on the Import page in the Label Studio Data Manager UI. |
| 1696 | + type: map<string, unknown> |
| 1697 | + meta: |
| 1698 | + type: optional<map<string, unknown>> |
| 1699 | + docs: >- |
| 1700 | + Meta is user imported (uploaded) data and can be useful as input for |
| 1701 | + an ML Backend for embeddings, advanced vectors, and other info. It is |
| 1702 | + passed to ML during training/predicting steps. |
| 1703 | + created_at: |
| 1704 | + type: optional<datetime> |
| 1705 | + docs: Time a task was created |
| 1706 | + updated_at: |
| 1707 | + type: optional<datetime> |
| 1708 | + docs: Last time a task was updated |
| 1709 | + is_labeled: |
| 1710 | + type: optional<boolean> |
| 1711 | + docs: >- |
| 1712 | + True if the number of annotations for this task is greater than or |
| 1713 | + equal to the number of maximum_completions for the project |
| 1714 | + overlap: |
| 1715 | + type: optional<integer> |
| 1716 | + docs: Number of distinct annotators that processed the current task |
| 1717 | + comment_count: |
| 1718 | + type: optional<integer> |
| 1719 | + docs: Number of comments in the task including all annotations |
| 1720 | + unresolved_comment_count: |
| 1721 | + type: optional<integer> |
| 1722 | + docs: Number of unresolved comments in the task including all annotations |
| 1723 | + last_comment_updated_at: |
| 1724 | + type: optional<datetime> |
| 1725 | + docs: When the last comment was updated |
| 1726 | + project: |
| 1727 | + type: optional<integer> |
| 1728 | + docs: Project ID for this task |
| 1729 | + comment_authors: |
| 1730 | + type: optional<list<integer>> |
| 1731 | + docs: Users who wrote comments |
1567 | 1732 | WebhookActionsItem:
|
1568 | 1733 | enum:
|
1569 | 1734 | - PROJECT_CREATED
|
|
0 commit comments