PublicApiGetLearningOutcomes
curl --request GET \
--url https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/campaigns/{campaignId}/learning/outcomes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/campaigns/{campaignId}/learning/outcomes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outcomes": {
"treatment": {
"sent": 4503599627370495,
"mature": 4503599627370495,
"open": {
"count": 4503599627370495,
"rate": 123
},
"click": {
"count": 4503599627370495,
"rate": 123
},
"reply": {
"count": 4503599627370495,
"rate": 123
},
"goal": {
"count": 4503599627370495,
"rate": 123
},
"unsub": {
"count": 4503599627370495,
"rate": 123
},
"bounce": {
"count": 4503599627370495,
"rate": 123
},
"ooo": {
"count": 4503599627370495,
"rate": 123
}
},
"control": {
"sent": 4503599627370495,
"mature": 4503599627370495,
"open": {
"count": 4503599627370495,
"rate": 123
},
"click": {
"count": 4503599627370495,
"rate": 123
},
"reply": {
"count": 4503599627370495,
"rate": 123
},
"goal": {
"count": 4503599627370495,
"rate": 123
},
"unsub": {
"count": 4503599627370495,
"rate": 123
},
"bounce": {
"count": 4503599627370495,
"rate": 123
},
"ooo": {
"count": 4503599627370495,
"rate": 123
}
},
"denominators": {
"assigned": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executed": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"mature": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"unknownAssignment": 4503599627370495,
"unknownExecution": 4503599627370495,
"executionMismatch": 4503599627370495
},
"experiment": {
"state": "<string>",
"gates": {
"eligible": true,
"gates": {
"sampleFloor": true,
"conversionImproves": true,
"intervalSupports": true,
"safetyHolds": true
},
"evidence": {
"treatmentRate": 123,
"controlRate": 123,
"liftLowerBound": 123,
"treatmentSafetyRate": 123,
"controlSafetyRate": 123
}
}
},
"lift": {
"open": {
"absolute": 123
},
"click": {
"absolute": 123
},
"reply": {
"absolute": 123
},
"goal": {
"absolute": 123
},
"unsub": {
"absolute": 123
},
"bounce": {
"absolute": 123
},
"ooo": {
"absolute": 123
}
},
"evidence": {
"assignedProspects": 4503599627370495,
"excludedUnassignedEmails": 4503599627370495,
"excludedMixedArmProspects": 4503599627370495
},
"dimensionExperiments": [
{
"dimensionVersion": "<string>",
"values": {
"treatment": "<string>",
"control": "<string>"
},
"state": "<string>",
"assigned": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executed": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executionMismatch": 4503599627370495,
"evidence": {
"treatment": {
"matureSends": 4503599627370495,
"qualifiedOrMeeting": 4503599627370495,
"safetyNegatives": 4503599627370495
},
"control": {
"matureSends": 4503599627370495,
"qualifiedOrMeeting": 4503599627370495,
"safetyNegatives": 4503599627370495
}
},
"gates": {
"eligible": true,
"gates": {
"sampleFloor": true,
"conversionImproves": true,
"intervalSupports": true,
"safetyHolds": true
},
"evidence": {
"treatmentRate": 123,
"controlRate": 123,
"liftLowerBound": 123,
"treatmentSafetyRate": 123,
"controlSafetyRate": 123
}
}
}
],
"observationCounts": {
"open": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"click": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"reply": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"goal": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"unsub": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"bounce": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"ooo": {
"treatment": 4503599627370495,
"control": 4503599627370495
}
},
"outcomeLearning": {
"exposures": {
"acceptedSend": 4503599627370495,
"projected": 4503599627370495,
"matureProjected": 4503599627370495
},
"summary": {
"positiveReply": 4503599627370495,
"qualifiedPositiveReply": 4503599627370495,
"qualifiedConversation": 4503599627370495,
"meeting": 4503599627370495,
"opportunity": 4503599627370495,
"negativeReply": 4503599627370495,
"unsubscribe": 4503599627370495,
"bounce": 4503599627370495,
"complaint": 4503599627370495,
"mailboxPause": 4503599627370495,
"manualEdit": 4503599627370495
},
"weights": {
"seed": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
},
"bodyFormat": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
},
"cta": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
}
}
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}Learning
PublicApiGetLearningOutcomes
GET /api/v1/organizations//workspaces//campaigns//learning/outcomes
GET
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{wsId}
/
campaigns
/
{campaignId}
/
learning
/
outcomes
PublicApiGetLearningOutcomes
curl --request GET \
--url https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/campaigns/{campaignId}/learning/outcomes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/campaigns/{campaignId}/learning/outcomes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outcomes": {
"treatment": {
"sent": 4503599627370495,
"mature": 4503599627370495,
"open": {
"count": 4503599627370495,
"rate": 123
},
"click": {
"count": 4503599627370495,
"rate": 123
},
"reply": {
"count": 4503599627370495,
"rate": 123
},
"goal": {
"count": 4503599627370495,
"rate": 123
},
"unsub": {
"count": 4503599627370495,
"rate": 123
},
"bounce": {
"count": 4503599627370495,
"rate": 123
},
"ooo": {
"count": 4503599627370495,
"rate": 123
}
},
"control": {
"sent": 4503599627370495,
"mature": 4503599627370495,
"open": {
"count": 4503599627370495,
"rate": 123
},
"click": {
"count": 4503599627370495,
"rate": 123
},
"reply": {
"count": 4503599627370495,
"rate": 123
},
"goal": {
"count": 4503599627370495,
"rate": 123
},
"unsub": {
"count": 4503599627370495,
"rate": 123
},
"bounce": {
"count": 4503599627370495,
"rate": 123
},
"ooo": {
"count": 4503599627370495,
"rate": 123
}
},
"denominators": {
"assigned": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executed": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"mature": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"unknownAssignment": 4503599627370495,
"unknownExecution": 4503599627370495,
"executionMismatch": 4503599627370495
},
"experiment": {
"state": "<string>",
"gates": {
"eligible": true,
"gates": {
"sampleFloor": true,
"conversionImproves": true,
"intervalSupports": true,
"safetyHolds": true
},
"evidence": {
"treatmentRate": 123,
"controlRate": 123,
"liftLowerBound": 123,
"treatmentSafetyRate": 123,
"controlSafetyRate": 123
}
}
},
"lift": {
"open": {
"absolute": 123
},
"click": {
"absolute": 123
},
"reply": {
"absolute": 123
},
"goal": {
"absolute": 123
},
"unsub": {
"absolute": 123
},
"bounce": {
"absolute": 123
},
"ooo": {
"absolute": 123
}
},
"evidence": {
"assignedProspects": 4503599627370495,
"excludedUnassignedEmails": 4503599627370495,
"excludedMixedArmProspects": 4503599627370495
},
"dimensionExperiments": [
{
"dimensionVersion": "<string>",
"values": {
"treatment": "<string>",
"control": "<string>"
},
"state": "<string>",
"assigned": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executed": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"executionMismatch": 4503599627370495,
"evidence": {
"treatment": {
"matureSends": 4503599627370495,
"qualifiedOrMeeting": 4503599627370495,
"safetyNegatives": 4503599627370495
},
"control": {
"matureSends": 4503599627370495,
"qualifiedOrMeeting": 4503599627370495,
"safetyNegatives": 4503599627370495
}
},
"gates": {
"eligible": true,
"gates": {
"sampleFloor": true,
"conversionImproves": true,
"intervalSupports": true,
"safetyHolds": true
},
"evidence": {
"treatmentRate": 123,
"controlRate": 123,
"liftLowerBound": 123,
"treatmentSafetyRate": 123,
"controlSafetyRate": 123
}
}
}
],
"observationCounts": {
"open": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"click": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"reply": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"goal": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"unsub": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"bounce": {
"treatment": 4503599627370495,
"control": 4503599627370495
},
"ooo": {
"treatment": 4503599627370495,
"control": 4503599627370495
}
},
"outcomeLearning": {
"exposures": {
"acceptedSend": 4503599627370495,
"projected": 4503599627370495,
"matureProjected": 4503599627370495
},
"summary": {
"positiveReply": 4503599627370495,
"qualifiedPositiveReply": 4503599627370495,
"qualifiedConversation": 4503599627370495,
"meeting": 4503599627370495,
"opportunity": 4503599627370495,
"negativeReply": 4503599627370495,
"unsubscribe": 4503599627370495,
"bounce": 4503599627370495,
"complaint": 4503599627370495,
"mailboxPause": 4503599627370495,
"manualEdit": 4503599627370495
},
"weights": {
"seed": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
},
"bodyFormat": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
},
"cta": {
"weight": 123,
"blockedReasons": [
"<string>"
],
"hardAbort": true,
"totalAcceptedExposures": 4503599627370495,
"completedMatureExposures": 4503599627370495
}
}
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}Use this endpoint through the Developer API or the matching
firstsales CLI command when available. Responses use the stable FirstSales public error envelope.⌘I