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

# Update Action Item

> Update an action item's description, completion status, or due date. Setting `completed: true` automatically sets `completed_at`.



## OpenAPI

````yaml PATCH /v1/dev/user/action-items/{action_item_id}
openapi: 3.1.0
info:
  title: Omi Developer API
  description: >-
    Programmatic access to your Omi data — memories, conversations, action
    items, and API keys. Build custom integrations, analytics dashboards, and
    automation workflows.
  version: 1.0.0
  contact:
    name: Omi
    url: https://omi.me
  license:
    name: MIT
    url: https://github.com/BasedHardware/omi/blob/main/LICENSE
servers:
  - url: https://api.omi.me
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Memories
    description: Read and write user memories — timeless facts, preferences, and insights.
  - name: Conversations
    description: Create and retrieve conversation transcripts with AI-generated summaries.
  - name: Folders
    description: Retrieve user-defined folders for organizing conversations.
  - name: Action Items
    description: Manage tasks and to-dos extracted from conversations or created manually.
  - name: API Keys
    description: Create, list, and revoke developer API keys.
paths:
  /v1/dev/user/action-items/{action_item_id}:
    patch:
      tags:
        - Action Items
      summary: Update action item
      description: >-
        Update an action item's description, completion status, or due date.
        Setting `completed: true` automatically sets `completed_at`.
      operationId: updateActionItem
      parameters:
        - name: action_item_id
          in: path
          required: true
          description: The ID of the action item to update.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateActionItem'
            example:
              completed: true
      responses:
        '200':
          description: The updated action item.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionItem'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    UpdateActionItem:
      type: object
      properties:
        description:
          type: string
          minLength: 1
          maxLength: 500
          description: New description.
        completed:
          type: boolean
          description: New completion status.
        due_at:
          type: string
          format: date-time
          description: New due date.
    ActionItem:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier.
        description:
          type: string
          description: The action item text.
        completed:
          type: boolean
          description: Whether completed.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        due_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Due date (null if not set).
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When completed (null if pending).
        conversation_id:
          type:
            - string
            - 'null'
          description: Associated conversation ID.
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Error description.
  responses:
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Invalid API key
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Not found
    ValidationError:
      description: Validation error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: 'Validation error: content is required'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Developer API key. Get one from **Settings → Developer → Create Key** in
        the Omi app. Keys are prefixed with `omi_dev_`.

````