Component Details
appmixer.klaviyo.metric.GetMetric
Get Metric
1.0.0
Public
{ "name": "appmixer.klaviyo.metric.GetMetric", "label": "Get Metric", "description": "Retrieve details about a specific metric", "author": "Appmixer <info@appmixer.com>", "version": "1.0.0", "auth": { "service": "appmixer:klaviyo" }, "quota": { "manager": "appmixer:klaviyo", "resources": "ten-requests" }, "inPorts": [ { "name": "in", "schema": { "type": "object", "properties": { "metricId": { "type": "string" } }, "required": [ "metricId" ] }, "inspector": { "inputs": { "metricId": { "type": "text", "index": 0, "label": "Metric ID", "tooltip": "ID of the metric to retrieve", "source": { "url": "/component/appmixer/klaviyo/metric/FindMetrics?outPort=out", "data": { "message": { "in/outputType": "array" }, "properties": { "isSource": true }, "transform": "./FindMetrics#toSelectArray" } } } } } } ], "outPorts": [ { "name": "out", "options": [ { "label": "Type", "value": "type", "schema": { "type": "string", "example": "metric" } }, { "label": "Metric ID", "value": "id", "schema": { "type": "string", "example": "01JBXYZ1234567890ABCDEF" } }, { "label": "Attributes", "value": "attributes", "schema": { "type": "object", "properties": { "name": { "type": "string", "title": "Attributes.Name", "example": "Viewed Product" }, "created": { "type": "string", "title": "Attributes.Created", "example": "2025-01-15T10:30:00+00:00" }, "updated": { "type": "string", "title": "Attributes.Updated", "example": "2025-01-16T08:45:00+00:00" }, "integration": { "type": "object", "title": "Attributes.Integration", "properties": { "object": { "type": "string", "title": "Integration.Object", "example": "integration" }, "id": { "type": "string", "title": "Integration.ID", "example": "01JBXYZ1234567890ABCDEF" }, "key": { "type": "string", "title": "Integration.Key", "example": "api" }, "name": { "type": "string", "title": "Integration.Name", "example": "Klaviyo" }, "category": { "type": "string", "title": "Integration.Category", "example": "internal" } } } } } }, { "label": "Relationships", "value": "relationships", "schema": { "type": "object", "properties": { "flow-triggers": { "type": "object", "title": "Relationships.Flow-triggers", "properties": { "data": { "type": "array", "title": "Flow-triggers.Data" }, "links": { "type": "object", "title": "Flow-triggers.Links", "properties": { "self": { "type": "string", "title": "Links.Self", "example": "https://a.klaviyo.com/api/metrics/01JBXYZ1234567890ABCDEF" }, "related": { "type": "string", "title": "Links.Related", "example": "https://a.klaviyo.com/api/metrics/01JBXYZ1234567890ABCDEF/related" } } } } } } } }, { "label": "Links", "value": "links", "schema": { "type": "object", "properties": { "self": { "type": "string", "title": "Links.Self", "example": "https://a.klaviyo.com/api/metrics/01JBXYZ1234567890ABCDEF" } } } } ] } ], "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAAAEiSURBVFhH7ZIxToVAEIb/mZWwJEDCQkKLsZDa6jUeQFtbz0BiYecRNDFaegvvYTyEFFYU0mCCrIXZBKd/8xq+ZIr9KebPNwAbGweGANQAdvKDBlEUfQDAJQCvPcy8OOd2QtARE/BhHoBIuqdczkA8OokatR1fTMMw1d4qxqI4/h1XUbVADOPTdN0MlczUBTFrVyuZsAY89Z13YPMoWGAmX+qqjqTiwN7L2CtfZRLAyonsNYOMluzdwPMPOV5fiIXQ8vAsizxOI7PModWAQDw3l9kWXYtc2icIAwRfbZtW66XqxkAAO993ff9vczVDIRJ0/Q8LFc1EJim6QXAEQ5VYJ7n0yRJ7sJb/QT4+yG/y7JsCcAxgKv/HXUwxrzLbGNDnV+yVFeZnf5lVAAAAABJRU5ErkJggg==" }