Skip to Content

POST /test/draft

Patch Invocation Draft

Patch invocation draft — composable infra architecture.

Request Body (PatchInvocationDraftApiRequest)

FieldTypeRequiredDescription
draft_idstringNoExisting draft identifier to update
input_draft_idstringNoLegacy alias for draft_id
namestringNoName value to create
name_idstringNoSelected name identifier
descriptionstringNoDescription value to create
description_idstringNoSelected description identifier
value_idstringNoSelected value identifier
flag_idsstring[]NoSelected flag identifiers
department_idsstring[]NoSelected department identifiers
key_idstringNoSelected key identifier
endpoint_idstringNoSelected endpoint identifier
modality_idsstring[]NoSelected modality identifiers
temperature_level_idstringNoSelected temperature level identifier
pricing_idstringNoSelected pricing identifier
reasoning_level_idstringNoSelected reasoning level identifier
quality_idsstring[]NoSelected quality identifiers
voice_idsstring[]NoSelected voice identifiers
model_flag_idsstring[]NoSelected model flag identifiers (junction-row ids)
model_flagsobject[]NoInline-create: list of {model_id, flag_id} pairs to upsert into model_flag_ids
model_flag_valuesInvocationModelFlagValue[]NoDenormalized per-(model, type) entries resolved server-side via (type, value) -> flag_id
model_position_idsstring[]NoSelected model position identifiers
model_rubric_idsstring[]NoSelected model rubric identifiers
pending_idsstring[]NoResource IDs to keep pending where supported
idempotency_keystringNoOperation key for ack-style replay
acceptbooleanNoAccept or reject a dormant change when used with idempotency_key

Response (PatchInvocationDraftApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the save succeeded
draft_idstringYesDraft identifier
idempotency_keystringNoOperation key echoed back when present
messagestringYesStatus message
form_stateapp__infra__invocation__types__DraftFormStateNoAuthoritative form state after save
Last updated on