> ## Documentation Index
> Fetch the complete documentation index at: https://crowdlisten.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Sweep Focus

> Update shared focus as an editor/owner; viewers remain read-only.



## OpenAPI

````yaml /api/openapi.json patch /api/sweeps/focus
openapi: 3.1.0
info:
  title: CrowdListen Agent API
  description: >-
    Configure sources, collect and retain originals, run durable analysis, and
    read or revise cited insights. Humans and agents share authorized
    entity/project records, research jobs and evidence history.
  version: 1.0.0
servers:
  - url: https://agent.crowdlisten.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/sweeps/focus:
    patch:
      tags:
        - sweeps
      summary: Update Sweep Focus
      description: Update shared focus as an editor/owner; viewers remain read-only.
      operationId: update_sweep_focus_api_sweeps_focus_patch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FocusUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FocusUpdate:
      properties:
        entity_id:
          type: string
          title: Entity Id
        mode:
          type: string
          enum:
            - product
            - marketing
          title: Mode
        sweeps_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Sweeps Enabled
        sweep_interval_hours:
          anyOf:
            - type: number
              maximum: 720
              minimum: 1
            - type: 'null'
          title: Sweep Interval Hours
      type: object
      required:
        - entity_id
        - mode
      title: FocusUpdate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.