Account

Set or clear the account's craft focus, the kind of work Slug coaches toward.

Your craft focus is the kind of work Slug coaches you toward, in every conversation: screenwriter (Screen & Television), novelist (Fiction & Prose), advertiser (Advertising & Campaigns), brand_marketer (Brand & Marketing), content_creator (Content & Social), comms (Communications & PR), founder (Founder & Pitch), journalist (Narrative Nonfiction). Send a key or plain words ("advertising", "I pitch investors"); a value that matches none is refused with the choices. Send null or an empty string to clear it. Slug also sets it as it learns what you make. Free. The same focus twice changes nothing (changed: false). Read it on GET /account/workspace-role as craftFocus. Scope: account:write.

put/account/craft-focus

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/account/craft-focus
  • Auth: HTTP bearer

Request body

craftFocusstring nullable required

A key (screenwriter, novelist, advertiser, brand_marketer, content_creator, comms, founder, journalist) or plain words ("advertising", "I pitch investors"), matched to a key; one that matches none is refused 400 validation_failed with details.options. Null or an empty string clears the focus.

Response

The focus now, whether it changed, and the choices.

craftFocus'screenwriter' | 'novelist' | 'advertiser' | 'brand_marketer' | 'content_creator' | 'comms' | 'founder' | 'journalist' | 'null' nullable required

The focus now; null when cleared.

labelstring nullable required

What the focus is called ("Advertising & Campaigns").

changedboolean required

False when the account already had this focus: nothing was written.

previousCraftFocus'screenwriter' | 'novelist' | 'advertiser' | 'brand_marketer' | 'content_creator' | 'comms' | 'founder' | 'journalist' | 'null' nullable required

Changes

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