> ## 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.

# Create Workflow Object

> Create an open, user-authored workflow Action for an entity.



## OpenAPI

````yaml /api/openapi.json post /api/sweeps/objects
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/objects:
    post:
      tags:
        - sweeps
      summary: Create Workflow Object
      description: Create an open, user-authored workflow Action for an entity.
      operationId: create_workflow_object_api_sweeps_objects_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowObjectCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WorkflowObjectCreate:
      properties:
        entity_id:
          type: string
          maxLength: 100
          minLength: 1
          title: Entity Id
        insight_id:
          anyOf:
            - type: string
              maxLength: 100
              minLength: 1
            - type: 'null'
          title: Insight Id
        objective:
          type: string
          maxLength: 1000
          minLength: 3
          title: Objective
        title:
          anyOf:
            - type: string
              maxLength: 240
            - type: 'null'
          title: Title
        starter_key:
          anyOf:
            - type: string
              maxLength: 120
              minLength: 1
              pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
            - type: 'null'
          title: Starter Key
      type: object
      required:
        - entity_id
        - objective
      title: WorkflowObjectCreate
    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.