Skip to content

AI

Bases: DuploTenantResourceV3

Resource for creating tickets in the DuploCloud AI HelpDesk.

create_ticket

Create DuploCloud AI ticket.

Create a ticket in the DuploCloud AI HelpDesk.

Usage
duploctl ai create_ticket                 --title "Pipeline failed"                 --content "Pipeline failed"                 --agent_name pytest-agent                 --instance_id pytest-instance                 [--api_version v1]
Create DuploCloud AI helpdesk ticket

Run this command Create a ticket for a failed build pipeline in test environment.

duploctl ai create_ticket                 --title "Build pipeline failed for release-2025.07.10"                 --content "Build pipeline failed at unit test stage with error ..."                 --agent_name "cicd"                 --instance_id "cicd"                 --api_version v1

Parameters:

Name Type Description Default
title TITLE

Title of the ticket (required).

required
content MESSAGE

Content or message of the ticket(required).

required
agent_name AGENTNAME

The agent name (required).

required
instance_id INSTANCEID

The agent instance ID (required).

required
api_version APIVERSION

Helpdesk API version (default: v1).

required

Returns:

Name Type Description
ticketname dict

AI helpdesk ticket name

response dict

AI Agent reponse

chat_url dict

Helpdesk Chat url.

send_message

Send DuploCloud AI Message.

Send a message to an existing ticket in the DuploCloud AI HelpDesk.

Usage
duploctl ai send_message                 --ticket_id "andy-250717131532"                 --content "My app pod is crashing."
Send a message to an AI helpdesk ticket

Run this command to send a message to ai helpdesk ticket.

duploctl ai send_message                 --ticket_id "andy-250717131532"                 --content "My app is still failing after restarting the pod."                 --api_version v1

Parameters:

Name Type Description Default
ticket_id TICKETID

Ticket ID to send the message to (required).

required
content MESSAGE

The message content (required).

required
api_version APIVERSION

Helpdesk API version (default: v1).

'v1'

Returns:

Name Type Description
response dict

AI Agent reponse

chat_url dict

Helpdesk chat URL.