Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oversight

Using the APIs

Oversight API Workflow

This workflow describes the process of uploading a media asset and creating a task request.

NOTE: Skip Step 1 and Step 2 if using Mounted Buckets Mounted buckets currently only support image assets. For video assets, please use Step 1 and Step 2.

Step 1: Upload Media ( Not needed if using Mounted Buckets )

  1. Use the Upload Media API to initiate the upload process.

  2. Provide:

    • configuration_id: This should have been passed to you.

  3. The API returns a response containing:

    • media_upload_url: URL for uploading the actual media content.

    • media_key: Unique identifier associated with the uploaded media.

Step 2: Upload Media Data ( Not needed if using Mounted Buckets )

  1. Prepare the media file for upload.

  2. Use the media_upload_url from the previous step to make a PUT request with the media data.

  3. Choose Binary type in body and upload your media file.

  4. Ensure the proper content-type is set for your media file in the request header. Read More

Step 3: Create Task Request

  1. Use the Create Task API to create a request.

  2. Provide:

    • media_key: The media key obtained in Step 1.

    • (Optional) bucket_id: Provide the bucket credential Id , if using Mounted Buckets.

    • configuration_id: The same ID used for media upload.

    • (Optional) callback_url: URL for receiving notifications about task completion.

  3. The API returns a response containing:

    • task_id: Unique identifier for the created task request.

Success:

  • The media is uploaded to CloudFactory.

  • A task is created and media is available in hasty project ready for annotation.

You can use the task_id to track the progress or retrieve results

Last updated