Skip to content
Proud to collaborate with Microsoft for Startups

agents.org-settings.upsert ​

Create or update agent org settings for an organisation

Create or update the AgentOrgSettings row for an organisation.

Only fields explicitly present in input_data are modified; absent optional fields are left at their current (or default) values.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
APIPUT /api/agents/org-settingsCreate or update agent org settings

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
max_concurrent_sessionsintegerNo——
max_sessions_per_hourintegerNo——
max_session_duration_sintegerNo——
memory_enabledbooleanNo——
code_exec_enabledbooleanNo——
shell_exec_enabledbooleanNo——
mcp_enabledbooleanNo——
platform_default_mcp_disabledbooleanNo——
default_runner_group_uuidstringNo——
ft_export_enabledbooleanNo——
notify_on_session_failbooleanNo——
notify_on_session_completebooleanNo——
notify_on_budget_alertbooleanNo——
notify_slack_webhook_urlstringNo——
notify_emailstringNo——
default_budget_usdfloatNo——
lumen_project_namestringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
organization_uuidjsonNo——
updatedjsonNo——
max_concurrent_sessionsjsonNo——
max_sessions_per_hourjsonNo——
max_session_duration_sjsonNo——
memory_enabledjsonNo——
code_exec_enabledjsonNo——
shell_exec_enabledjsonNo——
mcp_enabledjsonNo——
platform_default_mcp_disabledjsonNo——
default_runner_group_uuidjsonNo——
ft_export_enabledjsonNo——
notify_on_session_failjsonNo——
notify_on_session_completejsonNo——
notify_on_budget_alertjsonNo——
notify_slack_webhook_urljsonNo——
notify_emailjsonNo——
default_budget_usdjsonNo——
lumen_project_namejsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents.org-settings.upsert",
  "initial_data": {
    "organization_uuid": "value"
  }
}