LogoLogo
SolutionsResourcesHelp Docs
  • Getting Started
    • Setup Guide
    • Authentication
    • Webhook
    • Oversight Mounting Buckets
    • Rate Limiting
    • Uploading Media Assets
  • CloudFactory Public API
    • API Reference
      • WorkStream Performance
        • Secure Upload
        • Throughput
        • Quality
      • Oversight
        • Upload Media
        • Submit Task
        • Task Status
    • Snowflake Secure Data Sharing
    • Fivetran and Amazon S3 Data Sharing
Powered by GitBook

Contact Us

  • Book a Meeting

Company

  • About Us
  • Partnerships
  • Compliance
  • Data Security
On this page

Was this helpful?

Export as PDF
  1. CloudFactory Public API
  2. API Reference
  3. Oversight

Task Status

PreviousSubmit TaskNextSnowflake Secure Data Sharing

Last updated 1 year ago

Was this helpful?

Get the status of task

get

Get the status of task Beta

Authorizations
Path parameters
idstringRequired

Task id

Header parameters
x-api-keystringRequiredExample: I8109K2EQY2R5RPRWW
Responses
200
Successful response
application/json
401
UnAuthorized
application/json
404
Not found
application/json
get
const response = await fetch('https://api.cloudfactory.app/v1/tasks/{id}', {
  method: 'GET',
  headers: {},
});
const data = await response.json();
{
  "task_id": "123e4567-e89b-12d3-a456-426614174000",
  "state": "text",
  "updated_inferences": {
    "inferences": [
      {
        "external_id": "123e4567-e89b-12d3-a456-426614174000",
        "classes": [
          {
            "confidence_score": 0.5,
            "class": "text"
          }
        ],
        "bbox": [
          [
            1,
            1,
            10,
            10
          ]
        ],
        "mask": [
          [
            10,
            2,
            20,
            4,
            25,
            3
          ]
        ],
        "polygon": [
          [
            [
              [
                [
                  [
                    0,
                    1
                  ],
                  [
                    1,
                    0
                  ]
                ]
              ]
            ]
          ]
        ],
        "keypoints": [
          {
            "x": 0,
            "y": 0,
            "name": "nose"
          }
        ],
        "confidence_score": 0.5,
        "attributes": [
          {
            "confidence_score": 0.5,
            "name": "Color",
            "value": [
              "red",
              "blue"
            ]
          },
          {
            "confidence_score": 0.5,
            "name": "Damaged",
            "value": true
          }
        ],
        "inference": {
          "external_id": "123e4567-e89b-12d3-a456-426614174000",
          "classes": [
            {
              "confidence_score": 0.5,
              "class": "text"
            }
          ],
          "bbox": [
            [
              1,
              1,
              10,
              10
            ]
          ],
          "mask": [
            [
              10,
              2,
              20,
              4,
              25,
              3
            ]
          ],
          "polygon": [
            [
              [
                [
                  [
                    [
                      0,
                      1
                    ],
                    [
                      1,
                      0
                    ]
                  ]
                ]
              ]
            ]
          ],
          "keypoints": [
            {
              "x": 0,
              "y": 0,
              "name": "nose"
            }
          ],
          "confidence_score": 0.5,
          "attributes": [
            {
              "confidence_score": 0.5,
              "name": "Color",
              "value": [
                "red",
                "blue"
              ]
            },
            {
              "confidence_score": 0.5,
              "name": "Damaged",
              "value": true
            }
          ],
          "inference": {
            "external_id": "123e4567-e89b-12d3-a456-426614174000",
            "classes": [
              {
                "confidence_score": 0.5,
                "class": "text"
              }
            ],
            "bbox": [
              [
                1,
                1,
                10,
                10
              ]
            ],
            "mask": [
              [
                10,
                2,
                20,
                4,
                25,
                3
              ]
            ],
            "polygon": [
              [
                [
                  [
                    [
                      [
                        0,
                        1
                      ],
                      [
                        1,
                        0
                      ]
                    ]
                  ]
                ]
              ]
            ],
            "keypoints": [
              {
                "x": 0,
                "y": 0,
                "name": "nose"
              }
            ],
            "confidence_score": 0.5,
            "attributes": [
              {
                "confidence_score": 0.5,
                "name": "Color",
                "value": [
                  "red",
                  "blue"
                ]
              },
              {
                "confidence_score": 0.5,
                "name": "Damaged",
                "value": true
              }
            ],
            "inference": "[Circular Reference]"
          }
        }
      }
    ]
  },
  "updated_tags": [
    {
      "confidence_score": 0.7,
      "value": "Left"
    },
    {
      "confidence_score": 0.8,
      "value": "Pothole"
    }
  ],
  "existing_inferences": {
    "inferences": [
      {
        "external_id": "123e4567-e89b-12d3-a456-426614174000",
        "classes": [
          {
            "confidence_score": 0.5,
            "class": "text"
          }
        ],
        "bbox": [
          [
            1,
            1,
            10,
            10
          ]
        ],
        "mask": [
          [
            10,
            2,
            20,
            4,
            25,
            3
          ]
        ],
        "polygon": [
          [
            [
              [
                [
                  [
                    0,
                    1
                  ],
                  [
                    1,
                    0
                  ]
                ]
              ]
            ]
          ]
        ],
        "keypoints": [
          {
            "x": 0,
            "y": 0,
            "name": "nose"
          }
        ],
        "confidence_score": 0.5,
        "attributes": [
          {
            "confidence_score": 0.5,
            "name": "Color",
            "value": [
              "red",
              "blue"
            ]
          },
          {
            "confidence_score": 0.5,
            "name": "Damaged",
            "value": true
          }
        ],
        "inference": {
          "external_id": "123e4567-e89b-12d3-a456-426614174000",
          "classes": [
            {
              "confidence_score": 0.5,
              "class": "text"
            }
          ],
          "bbox": [
            [
              1,
              1,
              10,
              10
            ]
          ],
          "mask": [
            [
              10,
              2,
              20,
              4,
              25,
              3
            ]
          ],
          "polygon": [
            [
              [
                [
                  [
                    [
                      0,
                      1
                    ],
                    [
                      1,
                      0
                    ]
                  ]
                ]
              ]
            ]
          ],
          "keypoints": [
            {
              "x": 0,
              "y": 0,
              "name": "nose"
            }
          ],
          "confidence_score": 0.5,
          "attributes": [
            {
              "confidence_score": 0.5,
              "name": "Color",
              "value": [
                "red",
                "blue"
              ]
            },
            {
              "confidence_score": 0.5,
              "name": "Damaged",
              "value": true
            }
          ],
          "inference": {
            "external_id": "123e4567-e89b-12d3-a456-426614174000",
            "classes": [
              {
                "confidence_score": 0.5,
                "class": "text"
              }
            ],
            "bbox": [
              [
                1,
                1,
                10,
                10
              ]
            ],
            "mask": [
              [
                10,
                2,
                20,
                4,
                25,
                3
              ]
            ],
            "polygon": [
              [
                [
                  [
                    [
                      [
                        0,
                        1
                      ],
                      [
                        1,
                        0
                      ]
                    ]
                  ]
                ]
              ]
            ],
            "keypoints": [
              {
                "x": 0,
                "y": 0,
                "name": "nose"
              }
            ],
            "confidence_score": 0.5,
            "attributes": [
              {
                "confidence_score": 0.5,
                "name": "Color",
                "value": [
                  "red",
                  "blue"
                ]
              },
              {
                "confidence_score": 0.5,
                "name": "Damaged",
                "value": true
              }
            ],
            "inference": "[Circular Reference]"
          }
        }
      }
    ]
  },
  "existing_tags": [
    {
      "confidence_score": 0.5,
      "value": "Right"
    }
  ]
}