Skip to main content

Schedule a new task

Creates a new Data Processor task of verified custom module execution with Atlantic submission and onchain commitment.

Endpoint

Request Body

Example Request

Response

Success Response (200 OK)

Error Response (401 Unauthorized)

Error Responses

  • 400 Bad Request: Invalid request parameters
  • 401 Unauthorized: Missing or invalid authentication
  • 429 Too Many Requests: Rate limit exceeded
  • 500 Internal Server Error: Server-side error

Webhook Notifications

When a webhook_url is provided, the service will send a POST request to the specified URL when the task completes or fails. The webhook payload will be sent as JSON.

Success Webhook Payload

Failure Webhook Payload

Webhook Payload Fields

Notes

  • The compiled_class field should contain the complete compiled contract class data from the custom module
  • Entry points are used to define the contract’s interface and execution points
  • The selector field in entry points is a hash of the encoded function name
  • Builtins specify the required built-in functions for the contract execution
  • The uuid in the response can be used to check the task status using the status endpoint
  • Webhook notifications are sent asynchronously after task completion or failure
  • The webhook endpoint should be publicly accessible and respond with a 2xx status code