Skip to main content
POST
Turn a person's words into planner constraints with a model, validated; optionally plan at once (AQ9)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
text
string
required

The person's words (<= 2000 characters).

assembly
object

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

base
string[]

The base parts (default: plan_request.base, else the assembly's fixed components).

existing
object[]

The constraints already on the plan form (AQ3 Constraints).

include_replies
boolean
model
string
options
object
oracles
boolean
parts
object[]

The parts, or send the assembly.

plan
boolean

Plan the assembly with the accepted constraints at once (needs assembly).

plan_request
object

The plan request sequence.plan takes (base, constraints, fasteners, search, weights, up).

repair
boolean
segments
integer
units
string

Response

{schema: ss.aq9.intent/1, request_key, text, intent {constraints[], cannot_express[] {phrase, reason, detail}, readings[] {phrase, constraints[]}}, constraints[] (existing + new, deduplicated), new_constraints[], cannot_express[], readings[], existing[], provider, model, live, prompt_version, usage, attempts[], cached, plan? (as sequence.plan answers), planned?}