Skip to main content
Adaptive Decision fetches a decision for a submission, based on your tenant’s risk profile (for example: APPROVED, DECLINED, MANUAL_REVIEW). The exact decision values and reasoning are configured per tenant.
This guide uses the default EU base URL (https://api.documents.resistant.ai).
If your tenant is in another cell (e.g., us-1, ca-1, ap-2, ap-3), use the corresponding base URL described in Concepts.

When to use Adaptive Decision

Use Adaptive Decision if you want:
  • a single machine-readable decision output you can route in your workflow
  • an optional human-readable reason label to support review and audit trails
  • a stable interface even if underlying fraud indicators evolve
If you need the detailed evidence (indicators, metadata), fetch /fraud directly and store the full payload alongside the decision. Use with_metadata=true when you need indicator metadata (e.g., bounding boxes).

Availability

Adaptive Decision runs automatically for every submission — no request parameter or tenant setup is required to use it.
Previously, Adaptive Decision required setting enable_decision: true when creating the submission. This flag has been removed from the API. If your integration still sends it, it’s safely ignored — you won’t get an error, but you can remove it from new requests.

Risk profiles

Adaptive Decision evaluates each submission against a risk profile — a predefined decisioning configuration that determines how fraud signals map to a decision. Two profile orientations are available: New tenants start on the precision-oriented profile. To switch to recall-oriented, or to request standard adjustments (for example, changing which decision an existing reason triggers), contact your Resistant AI account team.
Need customer-specific rules — logic based on your own submission characteristics, channel, or geography? That goes beyond a risk profile and falls under managed service. Talk to your account team to discuss options.

Fetch the decision

Endpoint

Query parameters (optional)

Use query parameters to control what data is included in the response. Examples:

Responses (per OpenAPI)

200 OK — decision available

Key fields
  • decision: your tenant-specific decision output
  • adaptive_decision_version: version of the tenant configuration used to decide
  • decision_inputs: links to the underlying inputs (and optionally embedded data if requested)
  • reason: optional explanation object (tenant-dependent)
  • internal_decision (when include_additional_data=true): internal decision value used for score mapping and color visualization in offline iframe

200 OK — decision with additional data

When using include_additional_data=true:

400 Bad Request

A 400 response indicates the request was invalid (for example, malformed query parameters).

404 Not Found — decision not ready or submission not found

If the decision is not ready yet (or the submission does not exist), the API may return 404. See Core Integration Mechanics → Polling semantics for troubleshooting.

Non-success decision status

The API may return a non-success decision payload with status in:
  • FAILED
  • INVALID_INPUT
  • INVALID_PIPELINE_CONFIG
  • SKIPPED
Example shape:

  • Store the decision response together with the underlying fraud result for auditability.
  • Treat SUCCESS as “decision available”; handle other statuses according to your workflow (e.g., route to manual review on failures).
  • If you rely on reason.label, treat it as tenant-configured text (do not hardcode business logic on it).

Common issues

Check the request for malformed or invalid query parameters (e.g. embed, include_additional_data).
See Core Integration Mechanics → Polling semantics.
See the Tip under When to use Adaptive Decision above.

Next steps