An action the assistant proposes runs only when a member with the right role confirms it.
GET/v1/assistant/conversations
Your conversations with the assistant, the newest first, each with its first question, the screen it began on, and the actions still waiting for you.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar conversations list [--limit <n>]- MCP tool
list_assistant_conversations- Returns
- Your conversations, newest first; nobody else sees them.
Parameters
limitThe limit. At least 1, at most 200.
curl -X GET https://api.widar.com/v1/assistant/conversations \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/assistant/conversations
GET/v1/assistant/conversations/{conversation_id}
One of your conversations in full: every question and answer, the sources each answer cites, what it read, and each action it proposed with its state.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar conversations get <conversation_id>- MCP tool
get_assistant_conversation- Returns
- The conversation with its messages, citations and proposed actions.
Parameters
conversation_idRequiredThe conversation’s id. In the path.
curl -X GET https://api.widar.com/v1/assistant/conversations/cnv_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/assistant/conversations/{conversation_id}
POST/v1/assistant/messages
Ask about anything in the workspace. The answer streams back, cites the systems, certificates and records it rests on, and proposes any change for you to confirm.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar conversations ask <text> [--conversation-id <conversation_id>] [--screen <path>]- MCP tool
ask_assistant- Returns
- The conversation with your message and the answer; the answer also streams as server-sent events while it is written.
Parameters
textRequiredThe text. At most 4,000 characters.
conversation_idThe conversation’s id.
screenThe screen. At most 300 characters.
curl -X POST https://api.widar.com/v1/assistant/messages \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "<text>"
}'POST /v1/assistant/messages
DELETE/v1/assistant/conversations/{conversation_id}
Delete one of your conversations and its messages. What it changed stays in the activity log.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar conversations delete <conversation_id>- MCP tool
delete_assistant_conversation- Returns
- The conversation is gone from your history.
Parameters
conversation_idRequiredThe conversation’s id. In the path.
curl -X DELETE https://api.widar.com/v1/assistant/conversations/cnv_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/assistant/conversations/{conversation_id}
POST/v1/assistant/actions/{action_id}/confirm
Run a change the assistant proposed, as you, with your role checked again now. It runs once, however often it is confirmed.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar assistant-actions confirm <action_id> --fingerprint <sha256>- MCP tool
confirm_assistant_action- Returns
- The action with its state and what happened.
Parameters
action_idRequiredThe action’s id. In the path.
fingerprintRequiredThe fingerprint.
curl -X POST https://api.widar.com/v1/assistant/actions/act_7Kq2Xw9/confirm \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fingerprint": "<fingerprint>"
}'POST /v1/assistant/actions/{action_id}/confirm
POST/v1/assistant/actions/{action_id}/reject
Turn down a change the assistant proposed. Nothing is sent and nothing changes.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar assistant-actions reject <action_id>- MCP tool
reject_assistant_action- Returns
- The action, rejected.
Parameters
action_idRequiredThe action’s id. In the path.
curl -X POST https://api.widar.com/v1/assistant/actions/act_7Kq2Xw9/reject \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/assistant/actions/{action_id}/reject