Commands

Update Command

Updates an existing command by slug.

Only the fields provided in the request body will be updated.

patch/api/commands

Request

  • Base URL: https://app.withwillow.ai
  • URL: https://app.withwillow.ai/api/commands
  • Auth: HTTP bearer

Query parameters

slugstring required

The slug of the command to update

Request body

namestring
slugstring
descriptionstring
output_contentstring
status'active' | 'draft'

Response

Command updated successfully

Example response

{
  "data": {
    "id": "cmd_abc123",
    "slug": "summarize",
    "name": "Summarize",
    "description": "Summarize text content",
    "status": "active",
    "created_at": "2026-01-15T09:30:00Z",
    "org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "updated_at": "2026-01-15T09:30:00Z"
  }
}

Changes

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