Complete action item

Check an action item off, or reopen it.

POST https://cotlet.dev/api/v1/otter/action-items/{action_item_id}/complete

write

Checks an action item off, which moves it to Completed, or reopens it when completed is false. The change shows in the conversation the item came from. complete_action_item runs without asking first: it sends nothing to anyone and is undone with one call.

Parameters

Parameters: complete_action_item
NameTypeDescription
action_item_id string required string Action item ID from list_action_items.
completed boolean boolean false reopens the item. Default: true.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/otter/action-items/ai_204/complete \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"completed":true}'
Python
result = client.call("otter", "complete_action_item", {"action_item_id":"ai_204","completed":True})
Node.js
const result = await cotlet.call('otter', 'complete_action_item', {"action_item_id":"ai_204","completed":true});
CLI
cotlet call otter complete_action_item --data '{"action_item_id":"ai_204","completed":true}'

Example response

JSON

{
  "action_item_id": "ai_204",
  "text": "Send revised quote by Wednesday",
  "completed": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.