GET
/
{workspaceId}
/
projects
/
{projectName}
/
jobs
/
{jobId}
/
runs
getJobRuns
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.runs.all("my-project", "my-sample-job");

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

run();
[
  {
    "id": "260da8ff-f208-4b9c-ac28-a29b3ad0371a",
    "projectId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "jobId": "my-sample-job",
    "start_time": "2024-01-01T00:00:00.000Z",
    "status": "PENDING",
    "type": "MANUAL",
    "workspace_id": "3c648ac3-5959-4207-ad21-cea333ee5610"
  }
]

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

Array of job runs

The response is of type object[].