Skip to main content
GET
/
api
/
v0
/
organization
/
enterprise-controls
/
history
List enterprise control change history
curl --request GET \
  --url https://api.factory.ai/api/v0/organization/enterprise-controls/history \
  --header 'Authorization: Bearer <token>'
{
  "changes": [
    {
      "revision": 123,
      "settings": {
        "sessionDefaultSettings": {
          "model": "<string>",
          "reasoningEffort": "none",
          "interactionMode": "auto",
          "autonomyLevel": "off",
          "autonomyMode": "normal",
          "specModeModel": "<string>",
          "specModeReasoningEffort": "none"
        },
        "maxAutonomyLevel": "off",
        "cloudSessionSync": true,
        "includeCoAuthoredByDroid": true,
        "enableDroidShield": true,
        "ideAutoConnect": true,
        "commandAllowlist": [
          "<string>"
        ],
        "commandDenylist": [
          "<string>"
        ],
        "customModels": [
          {
            "model": "<string>",
            "baseUrl": "<string>",
            "apiKey": "<string>",
            "provider": "anthropic",
            "id": "<string>",
            "index": 123,
            "displayName": "<string>",
            "maxContextLimit": 123,
            "enableThinking": true,
            "thinkingMaxTokens": 123,
            "maxOutputTokens": 123,
            "reasoningEffort": "none",
            "extraHeaders": {},
            "extraArgs": {},
            "noImageSupport": true
          }
        ],
        "modelPolicy": {
          "allowedModelIds": [
            "<string>"
          ],
          "blockedModelIds": [
            "<string>"
          ],
          "allowCustomModels": true,
          "allowedBaseUrls": [
            "<string>"
          ],
          "allowAllFactoryModels": true
        },
        "mcpPolicy": {
          "enabled": false,
          "allowlist": [
            "<string>"
          ]
        },
        "userModelPolicies": {},
        "enabledPlugins": {},
        "extraKnownMarketplaces": {},
        "strictKnownMarketplaces": [
          {
            "source": "github",
            "repo": "<string>"
          }
        ],
        "sandbox": {
          "enabled": true,
          "mode": "per-command",
          "filesystem": {
            "allowWrite": [
              "<string>"
            ],
            "allowRead": [
              "<string>"
            ],
            "denyWrite": [
              "<string>"
            ],
            "denyRead": [
              "<string>"
            ]
          },
          "network": {
            "allowedDomains": [
              "<string>"
            ],
            "allowUnixSockets": [
              "<string>"
            ],
            "allowAllUnixSockets": true,
            "allowLocalBinding": true,
            "httpProxyPort": 123,
            "socksProxyPort": 123
          }
        }
      },
      "user": {
        "id": "<string>",
        "email": "<string>",
        "name": "<string>"
      },
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Factory API key or JWT token for authentication

Query Parameters

limit
string
default:20

Maximum number of items to return (1-100)

cursor
string

Cursor for pagination

Response

Response for status 200

changes
object[]
required

List of enterprise control changes

pagination
object
required