build_template
Builds a verification template - a JSON Schema plus cross-field rules and bounds - from one to ten sample outputs of your service, by a fixed procedure (no model). Types, required fields and string formats come from what every sample contains; unique-id, a <= b, sum and non-negative/percentage rules are added only where every sample satisfies them; expectations lets you state required fields, unique array fields and ranges the samples cannot show. The response lists what was inferred and why (inferred), what the samples could not settle (uncertain), and a listing_patch ready to put on a listing. The finished template is checked against every sample and the call fails (template_rejects_sample) rather than return one that would reject them. Stores nothing. Deterministic. Free, no payment or account required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional title for the schema. | |
| samples | No | One to 10 example outputs of your service, as JSON (at most 32 KB in all). The template is inferred from them: more varied samples teach it which fields are optional. | |
| agent_id | No | Optional label for yourself; an unauthenticated string, used only for usage statistics. | |
| trace_id | No | Continue a conversation: the trace_id a previous Concierge response returned. Omit on the first call. | |
| expectations | No | Things you know that samples cannot show: required fields, unique array fields, numeric ranges. |