Create agent session prompt
POST
/workspaces/{organizationId}/agent/sessions/{sessionId}/promptPath parameters
organizationIdstringrequiredsessionIdstringrequiredRequest body
application/jsonpromptstringrequiredmin length 1
Responses
200
Follow-up delivered to the live sandbox
idstringrequiredorganizationIdstringrequiredissueIdstringrequiredagentIdstringrequiredproviderstringrequiredactorIdstringrequiredactorTypestringrequiredAllowed:
useragentstatusstringrequiredAllowed:
createdrunningwaitingcompletedfailedcanceledresultstring | nullrequiredurlstring | nullrequiredproviderSessionIdstring | nullrequiredprUrlstring | nullrequiredprStatestring | nullrequiredbranchstring | nullrequiredpurposestring | nullsecondaryReposstring | nullmaxDurationMinutesinteger | nulleffortstring | nullAllowed:
lowmediumhighmaxnulllabelstring | nullresultSchemaobject | nullstructuredResultany | nullresultSchemaErrorsstring[] | nullcreatedAtstringrequiredupdatedAtstringrequiredlastProgressAtstring | nulllastStateHashstring | nullderivedStatusstring | nullAllowed:
stalledneeds_inputnullactivitiesobject[]Show propertiesHide properties
Array of
objectidstringrequiredsessionIdstringrequiredactorIdstring | nullrequiredtypestringrequiredAllowed:
thoughtresponseerrorelicitationactionstatusartifactmessagestringrequiredpayloadany | nullparentIdstring | nullrequiredstartedAtstring | nullrequiredendedAtstring | nullrequireddurationMsnumber | nullrequiredcreatedAtstringrequired404
Session not found
409
Sandbox gone or busy — use the retry route for a cold dispatch