Skip to main content
PATCH
Resume processing a board

Authorizations

x-deeppcb-api-key
string
header
required

Your DeepPCB API key, from the Integration page in the app.

Path Parameters

boardId
string<uuid>
required

Body

jobType
enum<string>

Specifies the job type (Routing or Placement).
Possible values:

  • Routing: Routing Job
  • Placement: Placement Job
  • Idle: No Job Type Is Specified

Available options:
Routing,
Placement,
Idle
routingType
enum<string> | null
deprecated

Specifies the routing type (EmptyBoard, CurrentProtectedWiring, or CurrentUnprotectedWiring).

Available options:
EmptyBoard,
CurrentProtectedWiring,
CurrentUnprotectedWiring
timeout
integer<int32>

Maximum processing time in minutes for the board workflow.

maxBatchTimeout
integer<int32> | null

Maximum time in seconds before sending the current solutions batch.

batch
integer<int32> | null
deprecated

The maximum number of designs to be included in a batch.

responseBoardFormat
enum<integer> | null

Specifies the format for the response board.

Available options:
1,
2,
3,
4,
5,
6,
7,
8
timeToLive
integer<int32> | null
default:300

Time in seconds before the request expires.

maxInactivityWaitTimeout
integer<int32> | null

Max total wait time in seconds for data before stopping the run. Defaults to 2 × MaxBatchTimeout.

constraintsFileUrl
string | null

URL to the board placement constraints file.

Callbacks

POST
https://your-webhook-url.com/webhooksBoardRunResumed

Body

application/json
jobType
string | null
required

JobType can be routing or placement

resumedOn
string<date-time>
required

Timestamp indicating when routing resumed.

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksBoardRunResumeFailed

Body

application/json
jobType
string | null
required

JobType can be routing or placement

reasonCode
enum<string>
required

Reason code for the routing failure.
Possible values:

  • EMPTY:
  • BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE: Board failed to start because of no available resources.
  • BOARD_CAN_NOT_BE_RESUMED: Board can not be resumed.
  • BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT: Board was stopped by the user before timeout
  • BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS: Board was stopped by timeout waiting for revisions.
  • BOARD_START_FAILED_BY_EXPIRED_TTL: Board failed to start before time to live.
  • BOARD_FAILED_BY_INTERNAL_ERROR: Board failed because of an internal error.
  • BOARD_STOP_FAILED_BY_JOB_NOT_FOUND: Board stop failed because no active job was found.
  • BOARD_STOPPED_BY_DEPLOYMENT: Board run stopped due to a temporary service interruption and can be resumed shortly
  • BOARD_CONVERGED_WITHOUT_REVISIONS: Board stalled without producing any revisions.
  • BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB: Board run was stopped by timeout and the processing engine was no longer available.
  • BOARD_START_FAILED_BY_INVALID_MODEL: Board failed to start because the requested routing model is not allowed for this job.
  • BOARD_START_FAILED_BY_INVALID_NUM_WORKERS: Board failed to start because of an unsupported number of workers.

Available options:
EMPTY,
BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE,
BOARD_CAN_NOT_BE_RESUMED,
BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT,
BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS,
BOARD_START_FAILED_BY_EXPIRED_TTL,
BOARD_FAILED_BY_INTERNAL_ERROR,
BOARD_STOP_FAILED_BY_JOB_NOT_FOUND,
BOARD_STOPPED_BY_DEPLOYMENT,
BOARD_CONVERGED_WITHOUT_REVISIONS,
BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB,
BOARD_START_FAILED_BY_INVALID_MODEL,
BOARD_START_FAILED_BY_INVALID_NUM_WORKERS
reason
string | null
required

Reason for the routing failure.

failedOn
string<date-time>
required

Timestamp indicating when routing failed.

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksBoardConverged

Body

application/json
jobType
string | null
required

JobType can be routing or placement

lastRevisionNumber
integer<int32>
required

Last revision number generated

lastCommittedRevisionNumber
integer<int32>
required

Last committed revision number

convergedOn
string<date-time>
required

Timestamp indicating when board converged.

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksBoardRevisionsBatchGenerated

Body

application/json
runningNumberOfRevisions
integer<int32>
required

The running number of generated revisions including this batch

batchNumber
integer<int32>
required

Sequence number of the batch of revisions generated

revisions
object[] | null
required

List of revisions generated in this batch.

generatedOn
string<date-time>
required

Timestamp indicating when the batch was generated.

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksBoardRunCompleted

Body

application/json
jobType
string | null
required

JobType can be routing or placement

numBatches
integer<int32>
required

The total number of batches generated and expected to be sent to the webhook server.

completedOn
string<date-time>
required

Timestamp indicating when routing finished.

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksUserCreditsRefunded

Body

application/json
userBalanceChanged
object | null
required

User balance change details

Response

200

Callback received

POST
https://your-webhook-url.com/webhooksUserCreditsDeducted

Body

application/json
userBalanceChanged
object | null
required

User balance change details

Response

200

Callback received

Response

OK

routingAnomalies
object[] | null
placementAnomalies
object[] | null