Skip to Content

POST /agent/draft

Patch Agent Draft

Patch agent draft — composable infra architecture.

Request Body (PatchAgentDraftApiRequest)

FieldTypeRequiredDescription
draft_idstringNoUUID of the draft to update
group_idstringNoUUID of the owning group
input_draft_idstringNoUUID of the input draft
idempotency_keystringNoIdempotency key for accept/reject acknowledgement
softbooleanNoStage the draft dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoWhether pending changes should be accepted
namestringNoDisplay name value
name_idstringNoUUID of the name resource
descriptionstringNoDescription text value
description_idstringNoUUID of the description resource
flag_idsstring[]NoSelected flag option UUIDs — canonical
activebooleanNoDenormalized agent_active flag state; resolved to a flag_ids entry server-side
departmentsstring[]NoDepartment names for matching
department_idsstring[]NoAssociated department UUIDs
model_idstringNoAssociated model UUID
tool_idsstring[]NoAssociated tool UUIDs
reasoning_levelstringNoReasoning level label to match
reasoning_level_idstringNoAssociated reasoning level UUID
temperature_levelstringNoTemperature level label to match
temperature_level_idstringNoAssociated temperature level UUID
voicesstring[]NoVoice names for matching or creation
voice_idsstring[]NoAssociated voice UUIDs
qualitiesstring[]NoQuality labels for matching
quality_idsstring[]NoAssociated quality UUIDs
prompt_idstringNoAssociated prompt UUID
promptCreatePromptInputNoPrompt to create inline
instruction_idstringNoAssociated instruction UUID
instructions_idstringNoLegacy alias for associated instruction UUID
rubric_idsstring[]NoAssociated rubric UUIDs
pending_idsstring[]NoPending resource identifiers

Response (PatchAgentDraftApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the operation succeeded
draft_idstringYesUUID of the saved draft
idempotency_keystringNoIdempotency key for accept/reject acknowledgement
messagestringYesHuman-readable result message
form_stateapp__infra__agent__types__DraftFormStateNoServer-authoritative form state
Last updated on