API ReferenceProcessorsUpdate Processor

PATCH PATCH /processors/{processor_id}

Headers: x-api-key, Content-Type: application/json
Body:

{ "description": "Adds Spanish invoices", "confidence_threshold": 0.82 }

cURL

curl -X PATCH https://api.algorythmos.fr/processors/invoice-extractor \
 -H "x-api-key: $ALG_KEY" \
 -H "Content-Type: application/json" \
 -d '{"description":"Adds Spanish invoices","confidence_threshold":0.82}'

JavaScript

await fetch('https://api.algorythmos.fr/processors/invoice-extractor', {
  method: 'PATCH',
  headers: { 'x-api-key': process.env.ALG_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({ description: 'Adds Spanish invoices', confidence_threshold: 0.82 })
})

Python

import requests, os
requests.patch(
  'https://api.algorythmos.fr/processors/invoice-extractor',
  headers={'x-api-key': os.environ['ALG_KEY']},
  json={'description': 'Adds Spanish invoices', 'confidence_threshold': 0.82}
)