Saltar a contenido

Pandora AI

The audit of the Pandora AI conversations, its scheduled tasks and the notifications they send.

Generated automatically from pandora-cli docs (version 0.9.0, branch develop, commit 4f61789e07). Do not edit by hand; run make cli-ref.

Entities

Entity Aliases Commands Summary
pandora-ai-audit — 4 Audit of Pandora AI conversations
ai-task ai-tasks 7 Pandora AI scheduled tasks
ai-notify — 1 Notify the owner of a Pandora AI scheduled task

pandora-ai-audit

Audit of Pandora AI conversations

Read-only. The three lists share one filter body (PandoraAiAuditMessageFilter); its fields are freeSearch, userId, sessionId, role, model, dateFrom and dateTo, sent with --set or --from-file.

Command Method Path
pandora-ai-audit message list POST /pandora_ai/audit/message/list
pandora-ai-audit session list POST /pandora_ai/audit/session/list
pandora-ai-audit session get <userId> <sessionId> GET /pandora_ai/audit/session/{userId}/{sessionId}
pandora-ai-audit user list POST /pandora_ai/audit/user/list

ai-task

Pandora AI scheduled tasks

create requires firstRun, a Unix timestamp; without it the API answers 400 The first execution is required. periodicity is hourly, daily, weekly, monthly or yearly, and notifySuccess and notifyError are never, on_request or always.

Aliases: ai-tasks

Command Method Path
ai-task list POST /pandora_ai/scheduled_task/list
ai-task get <idScheduledTask> GET /pandora_ai/scheduled_task/{idScheduledTask}
ai-task create POST /pandora_ai/scheduled_task
ai-task update <idScheduledTask> PUT /pandora_ai/scheduled_task/{idScheduledTask}
ai-task delete <idScheduledTask> DELETE /pandora_ai/scheduled_task/{idScheduledTask}
ai-task enable <idScheduledTask> POST /pandora_ai/scheduled_task/{idScheduledTask}/enabled
ai-task run <idScheduledTask> POST /pandora_ai/scheduled_task/{idScheduledTask}/run

Fields for --where, --fields and --in: createdAt, enabled, firstRun, idScheduledTask, idUser, lastRun, lastStatus, model, name, nextRun, notifyError, notifySuccess, periodicity, updatedAt

--filter additionally accepts every other field of the entity (21 in total).

ai-task enable — enabled is required (true or false).

ai-notify

Notify the owner of a Pandora AI scheduled task

Command Method Path
ai-notify send POST /pandora_ai/notify

ai-notify send — idScheduledTask, event, subject and message are required; the specification publishes no required list, so the API's own 400 is what tells you a field is missing. url is optional.