Create an index
1
Open Content sources
Go to Content sources. The Indices tab lists the indexes in the current environment; Stage outputs lists content generated by tasks.
2
Add an index
Click Add index and give it a name and an alias. The alias is the stable handle you use when pushing documents and when referencing the index elsewhere.
3
Push your documents
Send your records to the index through the ingestion API using a management client key. Management clients
Updating and deleting documents
- Pushing identical content changes nothing. No new version is made, and nothing runs.
- Any changed field is new data, even a field no configuration reads. A document accepted before is then due again under Should be processed. Keep fields that change often but do not matter, such as timestamps, out of what you push.
- A deleted document is left out of every new run. Its items already waiting for a decision stay open.
- A document pushed again after a delete is a new document. It has no accepted output yet.
Document shape
A document is a JSON object. Speedtrain reads whatever fields you send, so the shape is yours to decide — use the field names your source system already uses rather than inventing new ones.Images and documents
Two top-level keys are reserved for attachments a model can read:$images for pictures and $documents for PDFs. Each is an array of objects with a url and an optional text caption.
Images
If you want a model to see the product photos, add a top-level$images array:
Documents
If you want a model to read spec sheets, safety data sheets, manuals or certificates, add a top-level$documents array:
Rules for both
What the URL serves when the item is processed is what the model reads. Speedtrain never downloads or stores the file — the model provider fetches it. Carrying the key is not enough on its own. A model reads the attachments only when its Image Reading or Document Reading ability is switched on. Capabilities and abilities An empty$images: [] or $documents: [] is valid — “this record has no pictures” is a legitimate fact. Whether such a record fails or runs without them is decided by the ability’s When the record has no images or When the record has no documents setting. When the record has no images or documents