v1

latestOpenAPI 3.1.02026-08-045623.9 KB
agent

Process Agent Input

Process agent input, enhance it with relevant past knowledge.

This endpoint:

  1. Processes the agent's input
  2. Searches for relevant past knowledge
  3. Enhances the response with recommendations

Args: input_data: Agent's input and context with tenant ID (use your API key as the tenant_id) agent_type: Optional agent type override

Returns: Enhanced response with recommendations

Raises: HTTPException: If processing fails

post/enhance_task

Request body

tenant_idstring required

Unique identifier that corresponds to a dedicated recommendation collection, enabling sub-tenancy isolation for different agentic workflows

input_textstring required

The agent's input/query

contextobject

Additional context about the agent's current state

agent_typestring nullable

Type of agent making the request

Response

Successful Response

responsestring required

The processed response

metadataobject nullable