GET
/
{workspaceId}
/
projects
/
{projectName}
/
jobs
/
{jobId}
getJob
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.jobs.one("my-project", "my-sample-job");

  // Handle the result
  console.log(result);
}

run();
{
  "id": "my-sample-job",
  "configuration": {
    "runMode": "Order-Irrelevant",
    "maxConcurrentRequests": 5
  },
  "payload": [
    {
      "apiName": "get-contracts",
      "parameters": {
        "page": 1
      }
    },
    {
      "apiName": "get-contracts",
      "parameters": {
        "page": 2
      }
    }
  ],
  "projectId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

jobId
string
required

Your job ID. It is the ID of the job you provide when creating it.

Response

200
application/json

Job object

Job properties and configurations Create job input