---
title: Get Usage Async Job Status
slug: get-usage-async-job-status
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "iJW0ykcaQJDGVV1IepEbG",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/usage/async-jobs/{jobId}",
    "servers": [
      {
        "url": "https://api.nue.io/usage/async-jobs/{jobId}",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/usage/async-jobs/{jobId}",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Get Usage Async Job Status",
    "description": "<p>Retrieve the status of an asynchronous usage job (rating, cancellation, etc.). Use this to monitor the progress of long-running usage operations.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "jobId",
          "type": "string",
          "description": "The unique identifier of the async job"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successfully retrieved job status",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string<Queued | Processing | Completed | Error>",
                "description": "Current status of the job",
                "example": "Processing",
                "enum": [
                  "Queued",
                  "Processing",
                  "Completed",
                  "Error"
                ]
              },
              {
                "name": "error",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Error code if job failed"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "description": "Error message if job failed"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Job ID not found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "error",
                "kind": "optional",
                "type": "string",
                "description": "Error message indicating job not found"
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "XbX3sWHqjVUDxhnwBjYfC",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/usage/async-jobs/{jobId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "LsU3Rhr2yhBKqcEndPbLT",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/usage/async-jobs/{jobId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "mLWmjjlD4Ikqo2DH64At5",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/usage/async-jobs/{jobId}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "TkMjW6u7954ITs3ZI01Ci",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/usage/async-jobs/{jobId}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "XbX3sWHqjVUDxhnwBjYfC"
    },
    "results": {
      "languages": [
        {
          "id": "IeYtvuw-bI8f6IvRct9wV",
          "language": "200",
          "code": "// Successfully retrieved job status\n{\n  \"status\": \"Processing\",\n  \"error\": {\n    \"errorCode\": \"\",\n    \"errorMessage\": \"\"\n  }\n}"
        },
        {
          "id": "dOF2Jv8kU-XSARv7asm6l",
          "language": "404",
          "code": "// Job ID not found\n{\n  \"error\": \"\"\n}"
        }
      ],
      "selectedLanguageId": "IeYtvuw-bI8f6IvRct9wV"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}