Organization

Toggle the runs master switch

Pauses or resumes the organization's scheduled question runs by setting enable_runs. (Content generation has its own switch.)

patch/org/me/runs-enabled

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Request body

enable_runsboolean required

New value for the org-wide runs master switch.

Response

The updated organization.

org_idstring uuid required
namestring required
slugstring required
clerk_org_idstring

The organization's id in the external identity provider, when the organization is linked to one.

logo_urlstring
primary_website_urlstring
network_idstring uuid

The network the organization belongs to. Networks are not required, so this is absent for a standalone organization.

network_namestring required
industry_idstring uuid
industry_namestring required
partner_idstring uuid required
is_free_tierboolean required
enable_runsboolean required

Master switch for the org's scheduled runs — when false, the org is paused and no runs are dispatched. Content generation has its own switch, enable_content_generation.

is_activatedboolean required
scheduleinteger[]

Weekdays the org's question runs are scheduled on, 0 = Sunday … 6 = Saturday.

spend_limitnumber

Optional monthly spend cap, when set.

created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time

When the organization was deleted; absent while it is active.

enable_content_generationboolean required
content_auto_publishboolean required
content_scheduleinteger[]

Weekdays content-generation runs are scheduled on, 0 = Sunday … 6 = Saturday.

Changes

No recorded changes to this operation across all 1 revision of this API.