{
  "info": {
    "name": "Lyzr — mcp.ai",
    "description": "REST API for the Lyzr MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/lyzr",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "lyzr_add_memory_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/memory/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "memory",
            "messages"
          ]
        },
        "description": "Store a batch of conversation messages in Lyzr Memory for an owner, session, and optional agent, with optional synchronous fact extraction.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"agent_id\": \"\",\n  \"messages\": \"\",\n  \"owner_id\": \"\",\n  \"session_id\": \"\",\n  \"instructions\": \"\",\n  \"document_mode\": false,\n  \"provider_type\": \"\",\n  \"sync_extraction\": false,\n  \"memory_credential_id\": \"\",\n  \"extract_assistant_facts\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_chat_with_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/chat/with/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "chat",
            "with",
            "agent"
          ]
        },
        "description": "Send a message or message history to an active Agent Studio agent and return its synchronous inference response for a session.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"assets\": \"\",\n  \"message\": \"\",\n  \"user_id\": \"\",\n  \"agent_id\": \"\",\n  \"messages\": \"\",\n  \"session_id\": \"\",\n  \"filter_variables\": {},\n  \"system_prompt_variables\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_clear_memory_session",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/clear/memory/session",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "clear",
            "memory",
            "session"
          ]
        },
        "description": "Permanently clear messages and memories for one explicit owner and session in Lyzr Memory. Cross-session deletion is always disabled.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"agent_id\": \"\",\n  \"owner_id\": \"\",\n  \"session_id\": \"\",\n  \"provider_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_create_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "agent"
          ]
        },
        "description": "Create a single-task Agent Studio agent with an LLM provider, model, instructions, and optional tool configuration.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"tool\": \"\",\n  \"model\": \"\",\n  \"top_p\": 0,\n  \"is_active\": false,\n  \"agent_goal\": \"\",\n  \"agent_role\": \"\",\n  \"description\": \"\",\n  \"provider_id\": \"\",\n  \"temperature\": 0,\n  \"agent_output\": \"\",\n  \"agent_context\": \"\",\n  \"max_iterations\": 0,\n  \"store_messages\": false,\n  \"llm_credential_id\": \"\",\n  \"agent_instructions\": \"\",\n  \"tool_usage_description\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_create_agent_schedule",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/agent/schedule",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "agent",
            "schedule"
          ]
        },
        "description": "Create a cron schedule that runs one Agent Studio agent with a message in a specified timezone.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"message\": \"\",\n  \"user_id\": \"\",\n  \"agent_id\": \"\",\n  \"timezone\": \"\",\n  \"max_retries\": 0,\n  \"retry_delay\": 0,\n  \"cron_expression\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_delete_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "agent"
          ]
        },
        "description": "Permanently delete one Agent Studio agent by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"agent_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_delete_agent_schedule",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/agent/schedule",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "agent",
            "schedule"
          ]
        },
        "description": "Permanently delete one agent cron schedule and remove its associated scheduler job.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"schedule_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_evaluate_text_with_rai_policy",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/evaluate/text/with/rai/policy",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "evaluate",
            "text",
            "with",
            "rai",
            "policy"
          ]
        },
        "description": "Apply one owned Responsible AI policy to text and return processed text, block decisions, warnings, detections, and redactions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"query\": \"\",\n  \"stage\": \"\",\n  \"agent_id\": \"\",\n  \"policy_id\": \"\",\n  \"input_text\": \"\",\n  \"session_id\": \"\",\n  \"grounding_source\": \"\",\n  \"agent_instructions\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_get_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "agent"
          ]
        },
        "description": "Return the current configuration and status of one Agent Studio agent by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"agent_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_get_knowledge_base",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/knowledge/base",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "knowledge",
            "base"
          ]
        },
        "description": "Return one Lyzr Knowledge Base configuration by its known RAG configuration ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_get_simulation_overview",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/simulation/overview",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "simulation",
            "overview"
          ]
        },
        "description": "Return aggregate Agent Simulation counts and average evaluation pass rate for the connected workspace.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_agent_schedules",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/agent/schedules",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "agent",
            "schedules"
          ]
        },
        "description": "Return one page of agent cron schedules, optionally filtered by user, agent, or active state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"user_id\": \"\",\n  \"agent_id\": \"\",\n  \"is_active\": false,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_agent_simulation_issues",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/agent/simulation/issues",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "agent",
            "simulation",
            "issues"
          ]
        },
        "description": "Return recent performance, error, and Responsible AI issues across monitored agents, optionally filtered by resolution and severity.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"resolved\": false,\n  \"severity\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_agents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/agents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "agents"
          ]
        },
        "description": "Return all Agent Studio agents owned by the connected API key, including IDs needed by lifecycle and inference tools.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_rai_policies",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/rai/policies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "rai",
            "policies"
          ]
        },
        "description": "Return Responsible AI policies owned by the authenticated user, including policy IDs and enabled guardrail configuration.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_superflow_executions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/superflow/executions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "superflow",
            "executions"
          ]
        },
        "description": "Return one page of SuperFlow execution records, optionally filtered by workflow and execution status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"status\": \"\",\n  \"next_cursor\": \"\",\n  \"workflow_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_superflow_workflows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/superflow/workflows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "superflow",
            "workflows"
          ]
        },
        "description": "Return all SuperFlow workflow definitions accessible to the connected API key, including workflow IDs and graph data.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_voice_agents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/voice/agents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "voice",
            "agents"
          ]
        },
        "description": "Return saved Voice agents accessible to the connected organization, including IDs used to filter transcripts.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_list_voice_transcripts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/voice/transcripts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "voice",
            "transcripts"
          ]
        },
        "description": "Return one page of accessible Voice call transcripts, optionally filtered by agent, session, organization, or date range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"to_time\": \"\",\n  \"agent_id\": \"\",\n  \"from_time\": \"\",\n  \"session_id\": \"\",\n  \"sort_order\": \"\",\n  \"next_cursor\": \"\",\n  \"organization_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_retrieve_knowledge",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/retrieve/knowledge",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "retrieve",
            "knowledge"
          ]
        },
        "description": "Retrieve relevant documents from a known Lyzr Knowledge Base using configurable basic, MMR, hypothetical-document, or time-aware retrieval.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"query\": \"\",\n  \"top_k\": 0,\n  \"retrieval_type\": \"\",\n  \"score_threshold\": 0,\n  \"knowledge_base_id\": \"\",\n  \"time_decay_factor\": 0,\n  \"mmr_relevance_diversity_balance\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_search_memories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/memories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "memories"
          ]
        },
        "description": "Semantically search stored memories for one owner, within one session or across that owner's sessions, using Lyzr's hybrid vector and BM25 retrieval.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"query\": \"\",\n  \"agent_id\": \"\",\n  \"category\": \"\",\n  \"owner_id\": \"\",\n  \"session_id\": \"\",\n  \"cross_session\": false,\n  \"provider_type\": \"\",\n  \"include_historical\": false,\n  \"memory_credential_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lyzr_set_agent_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/agent/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "agent",
            "status"
          ]
        },
        "description": "Activate or deactivate an Agent Studio agent. Deactivated agents reject inference until reactivated.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"agent_id\": \"\",\n  \"is_active\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}