Tasks

Get Task Information

Get informations about a specific task

GET
https://api.textreveal.com/v3/tasks/{task_id}

Request

Parameters

  • task_id*uuid

    Unique identifier of the task

    Example: "f47ac10b-58cc-4372-a567-0e02b2c3d479"
  • fields(string (enum))[]

    Fields to include in the response

    Default: ["id", "status", "description", "type", "created_at", "updated_at", "completed_at"]

Response

Response - 200

Task details

  • iduuid

    Unique identifier of the task

    Example: "f47ac10b-58cc-4372-a567-0e02b2c3d479"
  • statusstring (enum)

    Current status of the task

    Values: "pending", "starting", "running", "failed", "completed"
  • descriptionstring

    Description of the task

    Example: "CSV Export - Universe 'MSCI World'"
  • typestring (enum)

    Type of the task

    Values: "export", "universe_esg_report", "esg_due_diligence", "deal_screening", "legal_screening", "supplier_chain_screening", "secondary_and_credit_screening", "good_governance_screening", "coverage_extension", "company_esg_cases_report", ... 
  • created_atdate-time

    Datetime of task creation

    Example: "2026-02-18T12:34:56Z"
  • updated_atdate-time

    Datetime of the last task update

    Example: "2026-02-18T12:35:30Z"
  • completed_atdate-time | null

    Datetime of task completion; null if not completed

Response
{
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "status": "pending",
  "description": "CSV Export - Universe 'MSCI World'",
  "type": "export",
  "created_at": "2026-02-18T12:34:56Z",
  "updated_at": "2026-02-18T12:35:30Z",
  "completed_at": null
}

Error

Error - 400

Bad request

  • message*string

    Error message.

    Example: "Check the errors field for more details"
  • code*number (enum)

    Error code.

    Values: 400
  • reason*string (enum)

    Error reason.

    Values: "invalid"
  • errorsobject[]

    Possible error causes.

    Array length: [1, ∞]
Response
{
  "message": "Check the errors field for more details",
  "code": 400,
  "reason": "invalid",
  "errors": [
    {
      "message": "string",
      "field": "fields",
      "reason": "invalid_type"
    }
  ]
}

Error - 404

Not found

  • message*string

    Error message.

    Example: "The requested task does not exist or is not visible to you."
  • code*number (enum)

    Error code.

    Values: 404
  • reason*string (enum)

    Error reason.

    Values: "not_found"
Response
{
  "message": "The requested task does not exist or is not visible to you.",
  "code": 404,
  "reason": "not_found"
}

Generic errors are not shown, see Errors for more details.