External Jobs
Creates a new external job with plugin and context configuration
Insert the JWT token here
Job type
Privacy setting
Default Response
201Bad Request
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
Internal Server Error
Service Unavailable — Connection Refused
POST /api/public/v3/external-jobs HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 685
{
"type": "PDI",
"plugin": {
"name": "Database to S3",
"url": "https://pentaho.carte.com:8082/runJob?job=database-to-s3.kjb",
"icon": "img/database_to_s3.png",
"shortDescription": "Transfer data from a database to S3 location.",
"description": "This plugin allows transferring data from a known database to an known S3 bucket, optionally fronting it with a Snowflake table.",
"parameters": [
{
"name": "output_format",
"type": "list",
"options": [
"CSV File",
"Parquet File",
"Parquet File fronted by Snowflake"
],
"description": "Output format for the data extract.",
"required": true
}
]
},
"context": {
"inputTypes": [
"ORACLE",
"POSTGRES",
"SNOWFLAKE",
"MSSQL",
"MYSQL"
],
"actionTypes": [
"MOVE",
"COPY"
],
"outputTypes": [
"AWS"
]
}
}{
"status": 201,
"data": {
"_id": "text",
"type": "text",
"privacy": "text",
"plugin": {
"name": "text",
"url": "https://example.com",
"icon": "text",
"shortDescription": "text",
"description": "text",
"parameters": [
{
"name": "text",
"type": "text",
"options": [
"text"
],
"description": "text",
"required": false
}
]
},
"context": {
"inputTypes": [
"text"
],
"actionTypes": [
"text"
],
"outputTypes": [
"text"
]
}
}
}Returns a single external job by its ID
Insert the JWT token here
External Job ID
Default Response
200Bad Request
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
Internal Server Error
Service Unavailable — Connection Refused
GET /api/public/v3/external-jobs/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": 200,
"data": {
"_id": "text",
"type": "text",
"privacy": "text",
"plugin": {
"name": "text",
"url": "https://example.com",
"icon": "text",
"shortDescription": "text",
"description": "text",
"parameters": [
{
"name": "text",
"type": "text",
"options": [
"text"
],
"description": "text",
"required": false
}
]
},
"context": {
"inputTypes": [
"text"
],
"actionTypes": [
"text"
],
"outputTypes": [
"text"
]
}
}
}Deletes an external job by ID
Insert the JWT token here
External Job ID
External job deleted successfully
External job deleted successfully
200Bad Request
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
Internal Server Error
Service Unavailable — Connection Refused
DELETE /api/public/v3/external-jobs/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": 200,
"data": {}
}Partially updates an existing external job by ID
Insert the JWT token here
External Job ID
Job type
Privacy setting
Default Response
200Bad Request
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
Internal Server Error
Service Unavailable — Connection Refused
PATCH /api/public/v3/external-jobs/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 328
{
"type": "text",
"privacy": "text",
"plugin": {
"name": "text",
"url": "https://example.com",
"icon": "text",
"shortDescription": "text",
"description": "text",
"parameters": [
{
"name": "text",
"type": "text",
"options": [
"text"
],
"description": "text",
"required": false
}
]
},
"context": {
"inputTypes": [
"text"
],
"actionTypes": [
"text"
],
"outputTypes": [
"text"
]
}
}{
"status": 200,
"data": {
"_id": "text",
"type": "text",
"privacy": "text",
"plugin": {
"name": "text",
"url": "https://example.com",
"icon": "text",
"shortDescription": "text",
"description": "text",
"parameters": [
{
"name": "text",
"type": "text",
"options": [
"text"
],
"description": "text",
"required": false
}
]
},
"context": {
"inputTypes": [
"text"
],
"actionTypes": [
"text"
],
"outputTypes": [
"text"
]
}
}
}Returns a list of all external jobs, optionally filtered by type
Insert the JWT token here
Filter by job type
Default Response
200Bad Request
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
Internal Server Error
Service Unavailable — Connection Refused
POST /api/public/v3/external-jobs/filter HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"type": "text"
}{
"status": 200,
"data": [
{
"_id": "text",
"type": "text",
"privacy": "text",
"plugin": {
"name": "text",
"url": "https://example.com",
"icon": "text",
"shortDescription": "text",
"description": "text",
"parameters": [
{
"name": "text",
"type": "text",
"options": [
"text"
],
"description": "text",
"required": false
}
]
},
"context": {
"inputTypes": [
"text"
],
"actionTypes": [
"text"
],
"outputTypes": [
"text"
]
}
}
]
}Last updated
Was this helpful?

