API Reference
Agent Query
Execute an agent-style query using the :class:MorphikAgent
.
Args: request: The query payload containing the natural language question and optional chat_id. auth: Authentication context used to enforce limits and access control. redis: Redis connection for chat history storage.
Returns: A dictionary with the agent’s full response.
POST
Headers
Body
application/json
Request model for agent queries
Response
200
application/json
Successful Response
The response is of type object
.