Retrieve sequence performance
sequence.retrieve_performance(strid) -> SequenceRetrievePerformanceResponse
GET/v1/sequences/{id}/performance
Retrieves a sequence’s lifetime engagement, totalled by step type and broken down per step, with the live enrollments currently on each step. Test runs are not counted. A sequence that has never been published reports zero counts and no steps.
Required scope: sequences:read
Rate limit category: Read
Retrieve sequence performance
from lightfield import Lightfield
client = Lightfield(
api_key="My API Key",
)
sequence_retrieve_performance_response = client.sequence.retrieve_performance(
"id",
)
print(sequence_retrieve_performance_response.by_step_type){
"byStepType": {
"EMAIL": {
"bounced": -9007199254740991,
"bounceRate": 0,
"currentEnrollments": -9007199254740991,
"delivered": -9007199254740991,
"opened": -9007199254740991,
"openRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"LINKEDIN_INVITE": {
"acceptanceRate": 0,
"accepted": -9007199254740991,
"currentEnrollments": -9007199254740991,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"LINKEDIN_MESSAGE": {
"currentEnrollments": -9007199254740991,
"read": -9007199254740991,
"readRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"WAIT": {
"currentEnrollments": -9007199254740991
},
"WAIT_FOR_CONNECTION": {
"currentEnrollments": -9007199254740991
}
},
"perStep": [
{
"bounced": -9007199254740991,
"bounceRate": 0,
"currentEnrollments": -9007199254740991,
"delivered": -9007199254740991,
"opened": -9007199254740991,
"openRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991,
"sequenceStepId": "sequenceStepId",
"sequenceStepType": "EMAIL"
}
]
}Returns Examples
{
"byStepType": {
"EMAIL": {
"bounced": -9007199254740991,
"bounceRate": 0,
"currentEnrollments": -9007199254740991,
"delivered": -9007199254740991,
"opened": -9007199254740991,
"openRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"LINKEDIN_INVITE": {
"acceptanceRate": 0,
"accepted": -9007199254740991,
"currentEnrollments": -9007199254740991,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"LINKEDIN_MESSAGE": {
"currentEnrollments": -9007199254740991,
"read": -9007199254740991,
"readRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991
},
"WAIT": {
"currentEnrollments": -9007199254740991
},
"WAIT_FOR_CONNECTION": {
"currentEnrollments": -9007199254740991
}
},
"perStep": [
{
"bounced": -9007199254740991,
"bounceRate": 0,
"currentEnrollments": -9007199254740991,
"delivered": -9007199254740991,
"opened": -9007199254740991,
"openRate": 0,
"replied": -9007199254740991,
"replyRate": 0,
"sent": -9007199254740991,
"sequenceStepId": "sequenceStepId",
"sequenceStepType": "EMAIL"
}
]
}