Jobs
A general guide for submitting jobs via API
Once your Apps, Partitioning Engines, and Assembling Engines are ready, and you've linked them together using Job Templates, you're prepared to launch test and production jobs.
ByteNite utilizes an API to handle job requests — the Customer API— simplifying and standardizing the interaction with our server.
To begin using the API and familiarizing yourself with its endpoint, we recommend setting up a Postman collection. You can find more details at Create a Postman collection from ByteNite's OAS.
Below are the steps to configure and send a new job request, broken down and explained. You may refer to the official Jobs reference for a complete parameter list, response codes, and default code examples.
Get an Access Token
Begin by obtaining a temporary access token to authenticate your requests.
Example:
Create a New Job
Submit a new job request using an existing job template, and give it a name.
Example:
Submit a Data Source and Destination
Link a data source and destination to your job, specifying input and output options as documented in the Data Sources guide.
Connecting data sources is optional: if your app doesn't require any input data to work, or doesn't output data, you can specify a bypass
data source descriptor.
Example:
Submit Job Parameters
If your app, partitioner, or assembler expect parameters, provide them at this step. Parameters are organized under three keys: app
, partitioner
, and assembler
for clarity.
If your template includes parameter schemas, the parameters you submit here will be validated immediately, and any errors will be returned.
Example:
Launch the Job
Run the job, including execution configurations if needed.
Please note that you need this call to initiate the processing of your job. Without this step, your job will remain in a draft state.
Example:
Last updated
Was this helpful?