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 cites the systems, certificates and records it rests on, and proposes any change for you to confirm. Through the API this needs the model on widar’s server, which is not set up yet: ask in the console’s assistant panel.
- 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
PUT/v1/assistant/conversations/{conversation_id}
Keep a conversation in your history as it goes on: its messages and the actions it proposed are added or replaced by their id, and the rest stay. The console keeps each turn this way as it ends.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar conversations save <conversation_id> <conversation.json>- MCP tool
save_assistant_conversation- Returns
- The conversation as kept, with every message it holds and its proposed actions.
Parameters
conversation_idRequiredThe conversation’s id. In the path.
conversationRequiredthe conversation as the console holds it; only the messages that changed need be sent
curl -X PUT https://api.widar.com/v1/assistant/conversations/cnv_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"conversation": "<conversation>"
}'PUT /v1/assistant/conversations/{conversation_id}
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
Record your confirmation of a change the assistant proposed. The console runs the change itself, as you, through its own entry, the moment you confirm; this keeps the decision with the conversation, once, however often it is sent.
- 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 runs and nothing changes; the decision is kept with the conversation.
- 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