{
  "id": "site-items",
  "title": "API 로그인 후 항목 조회",
  "revision": 1,
  "engine": "http",
  "inputs": [
    { "name": "username" },
    { "name": "password", "secret": true }
  ],
  "steps": [
    {
      "id": "login",
      "action": "request",
      "url": "https://example.com/api/login",
      "method": "POST",
      "json": { "username": "{{input.username}}", "password": "{{input.password}}" },
      "extract": { "type": "json", "path": "access_token" },
      "expectStatus": 200
    },
    {
      "id": "items",
      "action": "request",
      "url": "https://example.com/api/items",
      "headers": { "Authorization": "Bearer {{steps.login.extracted}}" },
      "extract": { "type": "json", "path": "data.items" },
      "expectStatus": 200
    }
  ],
  "outputs": { "items": "{{steps.items.extracted}}" }
}
