reseller
- GETGet all teams for a reseller
- POSTCreate a new team
- GETGet information about a team
- PUTUpdate a new team
- DELRemove a team from the reseller
- PUTUpdate a new team
- POSTCreate new inboxes and users for a team
- GETGet all users on a team
- POSTAdd a user to a team
- DELRemove users from a team
- GETGets all inboxes for a team
- POSTCreate a new inbox for a team
- DELRemove inboxes from a team
- POSTCreate new inboxes and users for a team
- POSTAssign multiple Users to an Inbox
- DELRemove users from an inbox
- GETReturn the whitelist domains for the reseller team
- POSTCreate a new whitelisted domain for a team
- DELRemove a whitelisted domain from the team
- GETGet Resellers under a Platform
- POSTCreate a new Reseller
- GETGet reseller tiers
- POSTImport team users
- GETGet import team users job status
reseller
Return the whitelist domains for the reseller team
GET
/
reseller
/
teams
/
{teamId}
/
domains
Copy
curl --request GET \
--url https://partners.clerk.chat/reseller/teams/{teamId}/domains
Copy
[
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"description": "<string>",
"smsSegmentRate": 123,
"planSegments": 123,
"billingCycle": "month",
"licenseCost": 123,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {},
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
}
],
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"tiers": [
{}
]
}
},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {},
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123
}
}
]
Path Parameters
Response
200
application/json
The response is of type object[]
.
Copy
curl --request GET \
--url https://partners.clerk.chat/reseller/teams/{teamId}/domains
Copy
[
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"description": "<string>",
"smsSegmentRate": 123,
"planSegments": 123,
"billingCycle": "month",
"licenseCost": 123,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {},
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
}
],
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"tiers": [
{}
]
}
},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {},
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{}
],
"platforms": [
{}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{}
],
"inboxCount": 123,
"userCount": 123
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.