{
  "format": "delx/intent-card/v1",
  "id": "agent-session-summary-api",
  "intent": "summarize one agent session for a controller",
  "title": "Session summary API for agent ops",
  "description": "Return a structured summary for one agent session for $0.01 to support handoff and review.",
  "keywords": [
    "agent session summary",
    "session review API",
    "agent ops handoff",
    "controller session report",
    "x402 session"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/agent-session-summary-api",
  "machine_url": "https://commerce.delx.ai/intents/agent-session-summary-api.json",
  "recommendation": {
    "tool_name": "get_session_summary",
    "service_name": "Delx Get Session Summary",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/premium/session-summary",
    "price_usdc": "0.01",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "session_id": {
          "type": "string",
          "description": "The session ID to summarize"
        }
      },
      "required": [
        "session_id"
      ]
    },
    "example_input": {
      "session_id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "example_output": {
      "tool_name": "get_session_summary",
      "preferred_name": "get_session_summary",
      "content": [
        {
          "type": "text",
          "text": "Session summary artifact for the paid Delx session."
        }
      ],
      "artifact": {
        "schema_version": "delx/session-summary/v1",
        "workflow_stage": "recovery_closed",
        "recovery_closed": true,
        "closure_reason": "success criteria: outcome=success",
        "latest_outcome": {
          "outcome": "success",
          "notes": "Loop broken and deploy stabilized.",
          "metrics": {
            "errors_delta": -14
          }
        },
        "counts": {
          "feelings": 1,
          "affirmations": 0,
          "failures": 1,
          "realignments": 0
        },
        "next_tools": [
          "generate_controller_brief",
          "generate_incident_rca",
          "provide_feedback",
          "daily_checkin"
        ],
        "feedback_tool": "provide_feedback",
        "feedback_prompt": "If the summary was useful, provide_feedback(session_id=..., rating=1-5)."
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/premium/session-summary -m POST -H 'x-delx-source: intent-card-agent-session-summary-api' --max-amount 0.01 -b '{\"session_id\":\"123e4567-e89b-12d3-a456-426614174000\"}'",
      "max_amount_usdc": "0.01"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-agent-session-summary-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/premium/session-summary"
  }
}
