Skip to main content
POST
Write the build guide's step text in any language with a model, validated against the sequence document (AQ9)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object

The assembly (components with recipes and poses, mates), for the part names and the base.

include_replies
boolean

Carry each attempt's raw reply in attempts (the eval's scorer reads them).

language
string

BCP-47 (en, de, fr, ja, pt-BR; default en).

model
string

A model from the caller's allowlist (default SS_AQ9_MODEL, else the deployment's default).

notes
object

The oracles' notes (sequence.plan's notes): the fastener specs with cited torques, the tool that passed per fastener, the hands.

parts
object[]

The parts outright (names and find numbers given here win over the assembly's).

plan
object

The ss.sequence.plan/1 plan (sequence.plan's plan): insertion directions, flips, held counts, sub-steps.

product
string

What is being built (the guide's title).

repair
boolean

One repair round when the validator refuses the first reply (default true).

request
object

A prebuilt ss.aq9.narrate.request/1 instead of the engine data (the eval's cases).

sequence
object

The ss.assembly.sequence/1 document (sequence.plan's sequence).

up
number[]

The base's up on the table (default +z).

Required array length: 3 elements

Response

{kind: aq9_narration, schema_version, request_key, narration_key, blob_uri, language, requested_language, provider (gateway | engine), model, live, prompt_version, narration {schema, language, steps[] {step_id, title, text, warnings[], tools[], torque_refs[]}}, steps, usage {input_tokens, output_tokens}, attempts[] {round, refusals[], usage, elapsed_ms}, cached}