Lyzr
lyzrBuild, run, evaluate, and manage AI agents and related Lyzr Studio services, including voice, responsible AI, simulation, memory, scheduling, workflows, and knowledge bases.
Acciones disponibles (22)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Memory MessagesLYZR_ADD_MEMORY_MESSAGESAcciónStore a batch of conversation messages in Lyzr Memory for an owner, session, and optional agent, with optional synchronous fact extraction.
LYZR_ADD_MEMORY_MESSAGESAcciónStore a batch of conversation messages in Lyzr Memory for an owner, session, and optional agent, with optional synchronous fact extraction.
Parámetros de entrada
agent_idstringOptional Agent Studio agent ID associated with the conversation.
messagesobject[]ObligatorioOne or more conversation messages to add in this batch.
owner_idstringObligatorioStable application user or customer ID that owns these memories.
session_idstringObligatorioConversation session ID used to group the messages.
instructionsstringOptional custom instructions layered onto the memory extraction prompt.
document_modebooleanWhether to store and embed each message verbatim without conversational fact extraction.
provider_typestringMemory provider identifier. Use cognis unless an external provider is configured.
sync_extractionbooleanWhether to wait for long-term fact extraction before returning.
memory_credential_idstringExisting provider credential ID required only for bring-your-own memory providers.
extract_assistant_factsbooleanWhether assistant messages may also produce extracted facts.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Chat With AgentLYZR_CHAT_WITH_AGENTAcciónSend a message or message history to an active Agent Studio agent and return its synchronous inference response for a session.
LYZR_CHAT_WITH_AGENTAcciónSend a message or message history to an active Agent Studio agent and return its synchronous inference response for a session.
Parámetros de entrada
assetsstring[]Optional Agent Studio asset IDs available during this inference call.
messagestringSingle user message. Provide this or messages, but not both.
user_idstringStable end-user identifier used by Lyzr for session ownership and memory.
agent_idstringObligatorioActive Agent Studio agent ID to run.
messagesobject[]Chat history for multi-message inference. Provide this or message, but not both.
session_idstringObligatorioCaller-chosen stable session ID used to continue the conversation.
filter_variablesobjectOptional metadata filters used by the agent's knowledge retrieval.
system_prompt_variablesobjectValues substituted into variables declared by the agent's system prompt.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Clear Memory SessionLYZR_CLEAR_MEMORY_SESSIONAcciónPermanently clear messages and memories for one explicit owner and session in Lyzr Memory. Cross-session deletion is always disabled.
LYZR_CLEAR_MEMORY_SESSIONAcciónPermanently clear messages and memories for one explicit owner and session in Lyzr Memory. Cross-session deletion is always disabled.
Parámetros de entrada
agent_idstringOptional agent ID used to further constrain the session cleanup.
owner_idstringObligatorioOwner ID whose session data should be permanently cleared.
session_idstringObligatorioExact session ID to clear. This tool never clears other sessions.
provider_typestringMemory provider identifier used by the session.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AgentLYZR_CREATE_AGENTAcciónCreate a single-task Agent Studio agent with an LLM provider, model, instructions, and optional tool configuration.
LYZR_CREATE_AGENTAcciónCreate a single-task Agent Studio agent with an LLM provider, model, instructions, and optional tool configuration.
Parámetros de entrada
namestringObligatorioHuman-readable name for the new agent.
toolstringOptional Lyzr tool ID assigned to this single-task agent.
modelstringObligatorioProvider model identifier the agent should use.
top_pnumberNucleus-sampling probability mass.
is_activebooleanWhether inference is enabled immediately after creation.
agent_goalstringOutcome the agent should optimize for.
agent_rolestringRole or persona the agent should adopt.
descriptionstringShort explanation of the agent's purpose.
provider_idstringObligatorioLyzr LLM provider ID configured in Agent Studio.
temperaturenumberSampling temperature for model responses.
agent_outputstringExpected output format or content requirements.
agent_contextstringBackground context available on every run.
max_iterationsintegerOptional maximum reasoning or tool iterations per inference run.
store_messagesbooleanWhether Agent Studio should retain conversation messages.
llm_credential_idstringOptional existing Agent Studio credential ID for the selected LLM provider.
agent_instructionsstringObligatorioOperational instructions defining how the agent should perform its task.
tool_usage_descriptionstringGuidance telling the agent when and how to use its assigned tool.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Agent ScheduleLYZR_CREATE_AGENT_SCHEDULEAcciónCreate a cron schedule that runs one Agent Studio agent with a message in a specified timezone.
LYZR_CREATE_AGENT_SCHEDULEAcciónCreate a cron schedule that runs one Agent Studio agent with a message in a specified timezone.
Parámetros de entrada
messagestringMessage supplied to the agent for each scheduled run.
user_idstringObligatorioStable Lyzr user ID attributed to scheduled executions.
agent_idstringObligatorioAgent Studio agent ID to run on schedule.
timezonestringIANA timezone used to interpret the cron expression, for example America/New_York.
max_retriesintegerMaximum retries after a failed scheduled execution (0-5).
retry_delayintegerDelay in seconds between retries (10-3600).
cron_expressionstringObligatorioFive-field cron expression in minute, hour, day, month, and weekday order, for example 0 9 * * 1.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete AgentLYZR_DELETE_AGENTAcciónPermanently delete one Agent Studio agent by ID.
LYZR_DELETE_AGENTAcciónPermanently delete one Agent Studio agent by ID.
Parámetros de entrada
agent_idstringObligatorioAgent Studio agent ID to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Agent ScheduleLYZR_DELETE_AGENT_SCHEDULEAcciónPermanently delete one agent cron schedule and remove its associated scheduler job.
LYZR_DELETE_AGENT_SCHEDULEAcciónPermanently delete one agent cron schedule and remove its associated scheduler job.
Parámetros de entrada
schedule_idstringObligatorioSchedule ID returned by Create Agent Schedule or List Agent Schedules.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Evaluate Text With RAI PolicyLYZR_EVALUATE_TEXT_WITH_RAI_POLICYAcciónApply one owned Responsible AI policy to text and return processed text, block decisions, warnings, detections, and redactions.
LYZR_EVALUATE_TEXT_WITH_RAI_POLICYAcciónApply one owned Responsible AI policy to text and return processed text, block decisions, warnings, detections, and redactions.
Parámetros de entrada
querystringOptional originating user query for contextual checks.
stagestringenumWhether the text is entering or leaving an LLM.
llm_inputllm_outputagent_idstringOptional Agent Studio agent ID for audit context.
policy_idstringObligatorioRAI policy ID returned by List RAI Policies.
input_textstringObligatorioText to evaluate and, where configured, redact or transform.
session_idstringOptional conversation session ID for audit context.
grounding_sourcestringOptional trusted source text used by groundedness checks.
agent_instructionsstringOptional agent instructions used when evaluating policy compliance.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AgentLYZR_GET_AGENTAcciónReturn the current configuration and status of one Agent Studio agent by ID.
LYZR_GET_AGENTAcciónReturn the current configuration and status of one Agent Studio agent by ID.
Parámetros de entrada
agent_idstringObligatorioAgent Studio agent ID returned by List Agents or Create Agent.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Knowledge BaseLYZR_GET_KNOWLEDGE_BASEAcciónReturn one Lyzr Knowledge Base configuration by its known RAG configuration ID.
LYZR_GET_KNOWLEDGE_BASEAcciónReturn one Lyzr Knowledge Base configuration by its known RAG configuration ID.
Parámetros de entrada
config_idstringObligatorioKnown Lyzr RAG configuration ID. Lyzr does not provide a list endpoint for discovering this value.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Simulation OverviewLYZR_GET_SIMULATION_OVERVIEWAcciónReturn aggregate Agent Simulation counts and average evaluation pass rate for the connected workspace.
LYZR_GET_SIMULATION_OVERVIEWAcciónReturn aggregate Agent Simulation counts and average evaluation pass rate for the connected workspace.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AgentsLYZR_LIST_AGENTSAcciónReturn all Agent Studio agents owned by the connected API key, including IDs needed by lifecycle and inference tools.
LYZR_LIST_AGENTSAcciónReturn all Agent Studio agents owned by the connected API key, including IDs needed by lifecycle and inference tools.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Agent SchedulesLYZR_LIST_AGENT_SCHEDULESAcciónReturn one page of agent cron schedules, optionally filtered by user, agent, or active state.
LYZR_LIST_AGENT_SCHEDULESAcciónReturn one page of agent cron schedules, optionally filtered by user, agent, or active state.
Parámetros de entrada
limitintegerMaximum schedules to return in this page (1-100).
user_idstringReturn schedules attributed to this Lyzr user ID.
agent_idstringReturn schedules for this Agent Studio agent ID.
is_activebooleanTrue for active schedules, false for paused schedules, or omit for both.
next_cursorstringContinuation cursor returned by a previous call. Omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Agent Simulation IssuesLYZR_LIST_AGENT_SIMULATION_ISSUESAcciónReturn recent performance, error, and Responsible AI issues across monitored agents, optionally filtered by resolution and severity.
LYZR_LIST_AGENT_SIMULATION_ISSUESAcciónReturn recent performance, error, and Responsible AI issues across monitored agents, optionally filtered by resolution and severity.
Parámetros de entrada
limitintegerMaximum recent issues to return (1-100).
resolvedbooleanTrue for acknowledged issues, false for unresolved issues, or omit for both.
severitystringenumRestrict results to one severity. Critical also includes legacy high-severity issues.
criticalmediumlow
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RAI PoliciesLYZR_LIST_RAI_POLICIESAcciónReturn Responsible AI policies owned by the authenticated user, including policy IDs and enabled guardrail configuration.
LYZR_LIST_RAI_POLICIESAcciónReturn Responsible AI policies owned by the authenticated user, including policy IDs and enabled guardrail configuration.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SuperFlow ExecutionsLYZR_LIST_SUPERFLOW_EXECUTIONSAcciónReturn one page of SuperFlow execution records, optionally filtered by workflow and execution status.
LYZR_LIST_SUPERFLOW_EXECUTIONSAcciónReturn one page of SuperFlow execution records, optionally filtered by workflow and execution status.
Parámetros de entrada
limitintegerMaximum executions to return in this page (1-200).
statusstringenumRestrict results to one execution status.
runningcompletedfailedcancelledpausednext_cursorstringOffset cursor returned by a previous call. Omit for the first page.
workflow_idstringReturn executions for this SuperFlow workflow ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SuperFlow WorkflowsLYZR_LIST_SUPERFLOW_WORKFLOWSAcciónReturn all SuperFlow workflow definitions accessible to the connected API key, including workflow IDs and graph data.
LYZR_LIST_SUPERFLOW_WORKFLOWSAcciónReturn all SuperFlow workflow definitions accessible to the connected API key, including workflow IDs and graph data.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Voice AgentsLYZR_LIST_VOICE_AGENTSAcciónReturn saved Voice agents accessible to the connected organization, including IDs used to filter transcripts.
LYZR_LIST_VOICE_AGENTSAcciónReturn saved Voice agents accessible to the connected organization, including IDs used to filter transcripts.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Voice TranscriptsLYZR_LIST_VOICE_TRANSCRIPTSAcciónReturn one page of accessible Voice call transcripts, optionally filtered by agent, session, organization, or date range.
LYZR_LIST_VOICE_TRANSCRIPTSAcciónReturn one page of accessible Voice call transcripts, optionally filtered by agent, session, organization, or date range.
Parámetros de entrada
limitintegerMaximum transcripts to return in this page (1-200).
to_timestringInclusive ISO date or ISO date-time upper bound.
agent_idstringReturn transcripts for this Voice agent ID.
from_timestringInclusive ISO date or ISO date-time lower bound.
session_idstringReturn only the transcript for this Voice session ID.
sort_orderstringenumSort transcripts by time ascending or descending.
ascdescnext_cursorstringContinuation cursor returned by a previous call. Omit for the first page.
organization_idstringRestrict results to an accessible organization ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve KnowledgeLYZR_RETRIEVE_KNOWLEDGEAcciónRetrieve relevant documents from a known Lyzr Knowledge Base using configurable basic, MMR, hypothetical-document, or time-aware retrieval.
LYZR_RETRIEVE_KNOWLEDGEAcciónRetrieve relevant documents from a known Lyzr Knowledge Base using configurable basic, MMR, hypothetical-document, or time-aware retrieval.
Parámetros de entrada
querystringObligatorioNatural-language query used to rank stored documents.
top_kintegerMaximum relevant documents to return (1-100).
retrieval_typestringenumRetrieval strategy: basic, MMR, hypothetical-document, or time-aware.
basicmmrhydetime_awarescore_thresholdnumberMinimum document relevance score from 0.0 to 1.0.
knowledge_base_idstringObligatorioKnown 24-character hexadecimal Lyzr RAG configuration ID to query.
time_decay_factornumberNon-negative weight applied to document recency for time-aware retrieval.
mmr_relevance_diversity_balancenumberMMR balance from 0.0 to 1.0 between query relevance and result diversity. Used only when retrieval_type is mmr; keep the default 0.5 unless retrieval behavior has been calibrated.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search MemoriesLYZR_SEARCH_MEMORIESAcciónSemantically search stored memories for one owner, within one session or across that owner's sessions, using Lyzr's hybrid vector and BM25 retrieval.
LYZR_SEARCH_MEMORIESAcciónSemantically search stored memories for one owner, within one session or across that owner's sessions, using Lyzr's hybrid vector and BM25 retrieval.
Parámetros de entrada
limitintegerMaximum matching memories to return (1-100).
querystringObligatorioNatural-language memory search query.
agent_idstringOptional Agent Studio agent ID filter.
categorystringOptional provider-defined memory category filter.
owner_idstringObligatorioStable application user or customer ID whose memories should be searched.
session_idstringSession whose memories should be searched. Required unless cross_session is true.
cross_sessionbooleanWhether to search across all sessions belonging to the owner.
provider_typestringMemory provider identifier used when the memories were stored.
include_historicalbooleanWhether archived or superseded memories may be returned.
memory_credential_idstringExisting provider credential ID required only for bring-your-own memory providers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Agent StatusLYZR_SET_AGENT_STATUSAcciónActivate or deactivate an Agent Studio agent. Deactivated agents reject inference until reactivated.
LYZR_SET_AGENT_STATUSAcciónActivate or deactivate an Agent Studio agent. Deactivated agents reject inference until reactivated.
Parámetros de entrada
agent_idstringObligatorioAgent Studio agent ID to activate or deactivate.
is_activebooleanObligatorioTrue to allow inference, or false to reject inference while preserving the agent.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not