Authentication

Send x-api-key: <YOUR_API_KEY> with every request. Keys are managed in https://app.algorythmos.fr/settings/api-keys.

Example

curl -X POST https://api.algorythmos.fr/extract/path \
 -H "x-api-key: $ALG_KEY" \
 -H "Content-Type: application/json" \
 -d '{"input_path":"gs://bucket/invoices/acme.pdf"}'

SDK-style examples

await fetch('https://api.algorythmos.fr/processors/invoice-extractor/runs', {
  method: 'POST',
  headers: { 'x-api-key': process.env.ALG_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({ input_path: 'gs://bucket/invoices/acme.pdf' })
})
import requests, os
requests.post(
  'https://api.algorythmos.fr/processors/invoice-extractor/runs',
  headers={'x-api-key': os.environ['ALG_KEY']},
  json={'input_path': 'gs://bucket/invoices/acme.pdf'}
)