A task object is composed of the following fields:

  • _id: A string representing the unique identifier of the task. It is assigned by the API service when a new task is created.
  • created_at: A string indicating the date and time, in the RFC 3339 format, that the task was created.
  • estimated_time: A string indicating the estimated date and time, in the RFC 3339 format, that the video is ready to be searched.
  • index_id: A string representing the index to which the video has been uploaded.
  • metadata: An object that contains the following information about the video:
    • duration
    • filename
    • height
    • width
    • status: A string indicating the status of the video indexing task. For details about the possible statuses, see the Tasks page.
  • updated_at: A string indicating the date and time, in the RFC 3339 format, that the task object was last updated. The API service updates this field every time the video indexing task transitions to a different state.