Tenant Boundaries for Skavio Agent Tools: A Practical Checklist
When one team exposes a shared processing API to several company customers, tenant separation is not a single switch. It is a chain: key issuance, job mapping, quote handling, authenticated retrieval, webhook verification, retention cleanup and human approval. Skavio Agent Tools is the production processing API here; do not confuse it with staging Invoice, Reporting or Research agents. This checklist is deliberately application-level and does not describe legal certification or complete sandbox isolation.
1. Treat company-scoped credentials as one link in the chain
Agent Tools is positioned as a company-scoped authenticated API for document, invoice, audio and data processing, with self-service keys and asynchronous jobs. A company-scoped key reduces accidental mix-ups, but it cannot infer which end user is acting or which customer file is being requested. Your application must carry that mapping. Keep keys on the server, assign them per company and environment, and check the caller's company before every upload, status check and download. If your operating model uses company team invitations, prefer named access over circulating one secret.
- Issue separate credentials per company and environment; label them with aliases rather than personal data.
- Never place API keys in browser code, agent prompts, logs or support tickets.
- Store a server-side company ID and check it before every job action, including downloads.
- Rotate credentials when staff or integration boundaries change.
2. Make the job record, not the webhook, the tenant anchor
Asynchronous jobs and idempotent submissions are helpful, but they shift responsibility to your data model. Every job should have a durable local record that links the company, the submitted file, the idempotency key and the remote job identifier. A webhook can tell you that something finished; it should not be trusted by itself to establish which customer owns the result. Reconcile the event against your own record and then fetch the result through an authenticated route. A job identifier is an address, not proof of ownership.
- Persist company_id, job_id, idempotency key, source reference and result reference together.
- Scope idempotency keys to a company and purpose so retries cannot cross tenants.
- Reject or quarantine events that do not match a known company-job record.
- Use authenticated result downloads, not public links or shared file names.
3. Control queue pressure, retries and the shared wallet
Agent Tools uses a shared prepaid credit wallet, so job reservations need to map cleanly to a company account. The server quote at submission is authoritative; a successful job settles once, while permanent failure releases the credit reservation. Those rules are useful only if your integration can distinguish a quote from completed work. Record the returned server quote alongside the job record, keep retries idempotent, and apply per-company throttles so one tenant's batch does not consume the whole operating window. Documented platform limits include 120 requests per minute, 100 upload files and 500 MB upload total, 100 queued company jobs, four active company jobs, four deployment active jobs, and 2 GB of company source storage.
- Store the server quote and compare it with eventual job status.
- Use idempotent job submissions to survive timeouts without creating duplicate work.
- Set per-company request and concurrency budgets before hitting platform limits.
- Confirm trial eligibility through the live backend; do not infer entitlement from a signup form.
4. Verify signatures, then verify ownership again
Signed completion webhooks and authenticated downloads are part of the documented Processing API capability set. Use both. Verify the webhook signature on your server, reject events that cannot be verified, then match the event to your local company-job record before doing anything else. When you retrieve the artifact, check tenant ownership again and compare the retrieved result with your stored job reference. A valid signature provides evidence that the event was signed with the expected secret; it does not prove that a file belongs to the tenant your application is about to serve. Plan around seven-day retention without treating platform storage as an archive.
- Verify the signature before parsing business logic or writing status.
- Reconcile company, job and result ownership server-side after verification.
- Keep artifact access short-lived and scoped to the requesting company.
- Clean up your own temporary files and tokens; retention is not a deletion commitment.
5. Put a human gate before any downstream write
A completed processing job is not permission to post to accounting, update an ERP or send an external instruction. Skavio states that QuickBooks production posting is not approved, and supported processing should not be read as a built-in ERP connector. For financial documents, route results to a named reviewer, record corrections and keep the original source document available. This is also the right place to handle malformed PDFs and partial results: reject them explicitly rather than filling gaps. Tenant boundaries hold only when authorization, review and cleanup are part of the same workflow.
- Require human approval before exporting or writing financial records downstream.
- Record reviewer identity, decision and exception reason without exposing secrets.
- Reject malformed or incomplete results; do not let an agent fabricate missing values.
- Keep file content separate from instructions so uploaded documents cannot steer the integration.