Organization

Set your organization's industry

Sets the industry your organization belongs to, chosen from the public catalogue (GET /org/industries). Only an industry in the public catalogue can be chosen; any other id is a 404.

Your industry is what the prompt import works from: only prompts belonging to it can be imported, and the run history copied onto them is the history collected for it. It is also where an organization with no AI models or locations of its own gets them when it is first activated. Reading an industry's results does not require it to be yours — those endpoints accept any industry in the catalogue.

Setting the industry does nothing else on its own: no prompts are created and no runs start.

An organization that already has an industry can change it — the new choice replaces the old one. Prompts already imported from the previous industry stay where they are, and the run history already copied onto them is kept; what changes is which industry's results your organization reads from that point on. Returns your organization with the industry applied.

put/org/me/industry

Request

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

Request body

industry_idstring uuid required

The industry to belong to, from the public catalogue (GET /org/industries).

Response

Your organization, with the industry applied.

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.