design-intents

Ensure Intent

Idempotently create the intent for the part's latest version.

Primary ensure runs server-side in finalize.py. This endpoint is the frontend's defensive fallback — cheap to call, safe to retry, no-op when the row already exists.

post/api/v1/design-intents/parts/{part_id}/ensure

Request

Path parameters

part_idstring uuid required

Response

Successful Response

idstring uuid required
part_idstring uuid required
cad_file_version_idstring uuid required
captured_via_conversation_idstring uuid nullable required
interview_status'not_started' | 'in_progress' | 'completed' | 'skipped' | 'superseded' | 'carry_forward_pending' required
nudge_dismissed_atstring date-time nullable required
inferred_purposestring nullable required
inferred_primary_functionstring nullable required
purposestring nullable required
primary_functionstring nullable required
environmentstring nullable required
free_text_notesstring nullable required
confidence_scorenumber nullable required
fields_captured_countinteger required
questions_askedinteger required
passive_writes_countinteger required
interview_started_atstring date-time nullable required
interview_completed_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.