Skip to main content
PUT
Turn on an app’s background procedure runs as you

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Body

application/json
missionControlId
string<uuid>

The Mission Control the runs start in; one the app is granted to. Optional when the app is granted to exactly one.

Response

Background runs are on, acting as you.

appId
string
required
enabled
boolean
required

Whether the app’s background work can start and cancel procedure runs without a signed-in user.

runAsUserId
string | null
required

The member those runs act as: the manager who turned them on. Each run uses their access at that time. Null when off.

missionControlId
string | null
required

The Mission Control the runs start in. Null when off.

enabledAt
string<date-time> | null
required