Appearance
Search Endpoints
A Search Endpoint defines how SearchTweak talks to your search API.
What You Configure
Name: human-readable label.Description: optional business context.URL: full API endpoint URL.Method:GET,POST, orPUT.Mapper Code: rules to extract documents from response payload.Custom Headers: optional key-value headers.Advanced: Multi-threading:Auto: parallel snapshot jobs (snapshots-auto).Single: serialized snapshot jobs (snapshots-single).
Practical Setup Checklist
- Start from a real API call that already works outside SearchTweak.
- Add minimal required mapper fields (
id,name). - Validate with at least one query that returns results.
- Add optional fields (
image,brand, etc.) only after base mapping works. - Keep authentication headers stable and secret-safe.
Endpoint Behavior Notes
- Endpoint activation controls whether it can be used for new models.
- Existing models/evaluations are not automatically deleted when endpoint is deactivated.
- Deleting an endpoint may be blocked by unfinished evaluations linked through models.
- Endpoints list supports segmented status filter:
All | Active | Archived.
Common Mistakes
- Missing
idornamein mapper output. - Wrong method/body/header combination (
GETwith body assumptions). - Mapping path does not match real response shape.
- Over-aggressive parallelism against strict upstream rate limits.
When to Use Single Queue Mode
Use Single when upstream API has strict rate limits, unstable latency, or anti-burst behavior.
Next Step
After endpoint is stable, continue with Search Models.