Authorizations
API Key used to authenticate your requests. How to create one.
Path Parameters
Your workspace ID. How to find it?
Your project name. It is the name you provide when creating a project.
Response
List of jobs in the project.
Gets all jobs in a project.
import { IntunedClient } from "@intuned/client";
const intunedClient = new IntunedClient({
workspaceId: "123e4567-e89b-12d3-a456-426614174000",
apiKey: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await intunedClient.project.jobs.all("my-project");
console.log(result);
}
run();{
"jobs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"configuration": {
"retry": {
"maximumAttempts": 3
},
"maxConcurrentRequests": 13,
"requestTimeout": 600
},
"payload": [
{
"parameters": {
"param1": "value1",
"param2": 42,
"param3": true
},
"requestTimeout": 600,
"retry": {
"maximumAttempts": 3
},
"apiName": "<string>"
}
],
"sink": {
"type": "webhook",
"url": "https://example.com/webhook",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer token"
},
"skipOnFail": false,
"apisToSend": [
"api1",
"api2"
]
},
"schedule": {
"jitter": 1,
"intervals": [
{
"every": 1
}
],
"calendars": [
{
"second": 29,
"minute": 29,
"hour": 11,
"dayOfWeek": "SUNDAY",
"dayOfMonth": 16,
"month": "JANUARY",
"year": 5984,
"comment": "<string>"
}
]
},
"next_run_time": "2024-01-01T00:00:00Z",
"last_run_time": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"auth_session": {
"id": "auth-session-123"
},
"proxy": {
"version": "v1",
"url": "<string>"
},
"reason": {
"type": "paused",
"message": "<string>",
"details": "<any>",
"timestamp": "2023-11-07T05:31:56Z"
},
"state": "ACTIVE",
"schedule_id": "job-run-schedule-123"
}
]
}API Key used to authenticate your requests. How to create one.
Your workspace ID. How to find it?
Your project name. It is the name you provide when creating a project.
List of jobs in the project.
Show child attributes
import { IntunedClient } from "@intuned/client";
const intunedClient = new IntunedClient({
workspaceId: "123e4567-e89b-12d3-a456-426614174000",
apiKey: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await intunedClient.project.jobs.all("my-project");
console.log(result);
}
run();{
"jobs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"configuration": {
"retry": {
"maximumAttempts": 3
},
"maxConcurrentRequests": 13,
"requestTimeout": 600
},
"payload": [
{
"parameters": {
"param1": "value1",
"param2": 42,
"param3": true
},
"requestTimeout": 600,
"retry": {
"maximumAttempts": 3
},
"apiName": "<string>"
}
],
"sink": {
"type": "webhook",
"url": "https://example.com/webhook",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer token"
},
"skipOnFail": false,
"apisToSend": [
"api1",
"api2"
]
},
"schedule": {
"jitter": 1,
"intervals": [
{
"every": 1
}
],
"calendars": [
{
"second": 29,
"minute": 29,
"hour": 11,
"dayOfWeek": "SUNDAY",
"dayOfMonth": 16,
"month": "JANUARY",
"year": 5984,
"comment": "<string>"
}
]
},
"next_run_time": "2024-01-01T00:00:00Z",
"last_run_time": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"auth_session": {
"id": "auth-session-123"
},
"proxy": {
"version": "v1",
"url": "<string>"
},
"reason": {
"type": "paused",
"message": "<string>",
"details": "<any>",
"timestamp": "2023-11-07T05:31:56Z"
},
"state": "ACTIVE",
"schedule_id": "job-run-schedule-123"
}
]
}