Routing Rules

Update a document routing rule

patch/routing-rules/{id}

Request

  • Base URL: https://api.pdfparse.net/v1
  • URL: https://api.pdfparse.net/v1/routing-rules/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring

Scopes replay protection to the authenticated project, method, and route for 24 hours.

Request body

namestring
promptstring
confidenceThresholdinteger
tableIdstring
enabledboolean

Response

Success

idstring required
namestring required
promptstring required
confidenceThresholdinteger required
enabledboolean required
tableIdstring required
tableNamestring required
tableSlugstring required
createdAtstring nullable required
updatedAtstring nullable required

Example response

{
  "id": "01J9X6VJ7BRQ8M5ACN3T2K4F0P",
  "name": "Invoice routing",
  "prompt": "Invoices containing a vendor, invoice number, and total",
  "confidenceThreshold": 70
}

Changes

No recorded changes to this operation across all 1 revision of this API.