Ingest
AI-generatedSummary
Ingests user prompts and AI Agent responses into Akto by sending synthetic HTTP logs to an Akto data ingestion endpoint.
Inputs
- validateNodeName (required) — The name of a previous 'Validate' operation node to read the original user prompt, host, path, and IP from.
- prompt (required) — The original user prompt to ingest.
- response (required) — The AI Agent's response to ingest.
Output shape
A single array of items with the ingested data.
The operation fires an asynchronous request to Akto and does not wait for a response. It returns the input data enriched with the 'allowed', 'blocked', and 'reason' fields from the referenced Validate node.
Examples
Example 1: Use after a Validate node to log the interaction.
Select the 'Ingest' operation. Link to the previous 'Akto' node in the 'Validate Node Name' field and provide the AI response.
Example 2: Batch ingest multiple LLM interactions.
Connect a 'Code' node that outputs an array of prompts and responses to the Akto node. The node will process each item, read the prompt and response, and forward them to Akto.