Documentation Index
Fetch the complete documentation index at: https://mintlify.com/samkit511/SAW---Security-Analyst-Workspace/llms.txt
Use this file to discover all available pages before exploring further.
POST /agent-test runs a free-form prompt directly through the Google ADK msoa_coordinator agent, skipping the multi-stage triage pipeline. Use this endpoint to verify that ADK is initialized correctly, inspect what the coordinator agent produces for a given input, and debug unexpected behavior in the advisory layer before routing real logs through /ingest-log.
This endpoint is not intended for production log ingestion. It is subject to the same in-flight limit as all other authenticated endpoints.
Authentication
Include your API key in thex-api-key request header. The default key for local development is demo.
Request
HeadersAPI key for authentication. Requests without a valid key return
401 unauthorized.The text prompt to send to the ADK coordinator agent. Must not be empty. For security-related testing, use a realistic log snippet or a JSON description of an incident to exercise the agent’s reasoning path.
Response
On success the server returns200. If the Google ADK runner is available and enabled, the response reflects a live ADK session. If ADK is unavailable or disabled, the server falls back to the deterministic coordinator path.
Always
"msoa_coordinator_adk".The execution path used.
"google_adk_runner" when ADK is active, "fallback_wrapper" when ADK is unavailable.Matches
agent_interface. Values: "google_adk", "fallback_wrapper"."ok" when the ADK session completed successfully, "error" when the ADK runner raised an exception, or "skipped" when ADK execution is disabled via ASA_ENABLE_ADK_ADVISORY=false.The ADK session ID created for this request. Formatted as
msoa-<uuid>. Present only when ADK is available.The prompt that was submitted to the agent, echoed back for verification.
The parsed JSON object extracted from the agent’s final response text. The coordinator agent is instructed to return keys
summary, coordinator_plan, recommended_decision, follow_up_task, reason, and runtime when analyzing a security event.The raw final response text from the ADK agent before JSON parsing. Useful for debugging malformed agent outputs.
true if the response was served from the in-process ADK response cache (TTL: 120 seconds by default). Caching prevents redundant LLM calls for identical prompts within the TTL window.Error codes
| Status | Code | Description |
|---|---|---|
400 | invalid_json | The request body is not valid JSON. |
400 | empty_prompt | The prompt field is missing or resolves to an empty string. |
401 | unauthorized | The x-api-key header is missing or incorrect. |
413 | payload_too_large | The request body exceeds ASA_MAX_REQUEST_BYTES (default: 16 384 bytes). |
503 | overloaded | The server has reached ASA_MAX_INFLIGHT (default: 8) concurrent requests. Retry after 1 second. |
When
adk_status is "error", the response body still returns 200 and includes an adk_error field with the error message, a retry_after_seconds value if the ADK API returned a rate limit header, and a fallback_response object with a deterministic threat snapshot for the submitted prompt.