Developer reference

Model API reference.

Explore model inputs, response structures and integration patterns. Use the Python and JavaScript examples to understand how to handle a result.

Public API access is not yet available. These examples use sample responses. For integration enquiries, contact Istren.

Model reference

Explore a model interface.

Decision models

Route

Select a supported destination for an incoming request.

decision.route

Input fields

textstring

The source text to classify, route, or scan for entities.

routesarray

Allowed destinations. Use stable identifiers for application routing.

Working with the result

Resolve the returned route against your application’s allowed destinations. Your application controls the downstream action.

Inspect in examples
request.json
{
  "model": "decision.route",
  "input": {
    "text": "The same subscription charge appears twice on my statement. Can you check the duplicate?",
    "routes": [
      "billing",
      "technical_support",
      "account_access"
    ]
  }
}
Example request body

Run the example

Choose Python or JavaScript, download the file, then run it with python3 example.py or node example.mjs. The examples include sample data and do not send API requests.

Integration patterns

Connect models through data.

Keep orchestration in your application. A document intake pipeline has model steps and application checks with different responsibilities.

MODELParse

PDF to page content

MODELExtract

Content to typed record

YOUR APPLICATIONValidate

Record to accepted values

01

Preserve source references

Pass page numbers through parsing and extraction. Store evidence alongside fields so a reviewer can trace a value back to the document.

02

Validate before acting

Check required fields, types, allowed values, and business rules. A well-formed response can still contain an incorrect value.

03

Handle incomplete results

Separate missing content from an empty value. Route unsupported inputs and unresolved results to review before downstream actions.

Inspect the full invoice workflow
Evaluation

Define the acceptance test.

Use representative examples and a held-out dataset. Agree on the measures that matter for your application before comparing models.

Download evaluation template
Correctness
Field accuracy, route errors, or answer support
Evidence
Correct page references and source passages
Performance
End-to-end latency at a stated input size and load
Economics
Processing and review cost per accepted result