GET
/
{workspaceId}
/
projects
/
{projectName}
/
jobs
/
{jobId}
/
runs
/
{jobRunId}
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.one("my-project", "my-sample-job", "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee");

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

run();
{
  "projectId": "1a1a1a1a-1a1a-1a1a-1a1a-1a1a1a1a1a1a",
  "jobId": "Default",
  "usage": {
    "total": "$0.001",
    "totalAi": "$0.000",
    "totalCompute": "$0.001",
    "totalPagesProcessed": "$0.000"
  },
  "end_time": "2025-01-01T00:00:00.000+00:00",
  "id": "11111111-1111-1111-1111-111111111111",
  "start_time": "2025-01-01T00:00:00.000+00:00",
  "status": "COMPLETED",
  "summary": {
    "apis_count": 4,
    "pending_count": 0,
    "success_count": 1,
    "failures_count": 3,
    "attempted_count": 10
  },
  "aggregated_results": {
    "signed_url": "...",
    "signed_url_expiration": "",
    "size": "..",
    "format": "jsonl"
  },
  "workspace_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "type": "MANUAL"
}

Authorizations

x-api-key
string
header
required

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

Path Parameters

workspaceId
string
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.

jobRunId
string
required

The job run ID. This can be obtained from the get job runs endpoint or from the result of the trigger endpoint for a job.

Response

200
application/json
Details of a specific job run

The details of a job run.

id
string
required

The job run ID.

Example:

"11111111-1111-1111-1111-111111111111"

projectId
string
required

The project ID of the job.

Example:

"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

jobId
string
required

The ID of the job.

Example:

"Default"

start_time
string
required

The timestamp when the job run started executing.

Example:

"2025-01-01T00:00:00.000+00:00"

status
enum<string>
required

The status of the job run.

Available options:
FAILED,
COMPLETED,
PENDING,
TERMINATED,
PAUSED
Example:

"COMPLETED"

type
enum<string>
required

Whether the job run was triggered manually or by the job schedule.

Available options:
MANUAL,
SCHEDULED
Example:

"MANUAL"

workspace_id
string
required

The workspace ID of the project of the job.

Example:

"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

end_time
string

The timestamp when the job run completed execution.

Example:

"2025-01-01T00:00:00.000+00:00"

summary
object | null

A summary of the job run. Contains how many payloads are pending, how many finished executing, succeeded and failed.

usage
object

Details about the usage and billing associated with this job run.

aggregated_results
object

Information about the aggregated results of the job run.