Skip to content

API Reference parrot.handlers.testing_handler

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.handlers.testing_handler

View source

REST API Handler for Agent Configuration Testing.

Provides session-based agent testing via PUT/POST/DELETE.

Alias AbstractBot

Re-exported from parrot.bots.abstract.AbstractBot.

Class BotConfigTestHandler

Handler for testing agent configurations via ephemeral sessions.

Parameter Type Default Description
*args Any ()
**kwargs Any {}

Attributes:

Attribute Type Description
manager 'BotManager' Get BotManager from the app.

Method BotConfigTestHandler.put

Create a test agent and store it in the user session.

Returns 201 with the agent name on success.

put() -> web.Response

Returns: web.Response

Method BotConfigTestHandler.post

Send a query to the test agent stored in the session.

Body: {"query": "your question here"}

post() -> web.Response

Returns: web.Response

Method BotConfigTestHandler.delete

Stop the test session and remove the temporary agent.

delete() -> web.Response

Returns: web.Response

Alias BotManager

Re-exported from parrot.manager.BotManager.

Attribute SESSION_PREFIX

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally