SetLuca · Schema

ConversationDetailResponse

DM salesMessaging automationInstagramMessengerTelegram

Properties

Name Type Description
conversation object
lead object
channelAccount object
messages array
replyFailures array
pendingReview objectnull
copilotContext object
metaWindow object
followUpSkip objectnull
isDemo boolean
View JSON Schema on GitHub

JSON Schema

setluca-com-conversation-detail-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/setluca-com/json-schema/setluca-com-conversation-detail-response-schema.json",
  "title": "ConversationDetailResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/setluca-com-openapi-openapi.json#/components/schemas/ConversationDetailResponse",
  "type": "object",
  "properties": {
    "conversation": {
      "type": "object",
      "properties": {
        "profilePhotoRevision": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "coachId": {
          "type": "string",
          "format": "uuid"
        },
        "leadId": {
          "type": "string",
          "format": "uuid"
        },
        "channelAccountId": {
          "type": "string",
          "format": "uuid"
        },
        "currentPhase": {
          "type": "string"
        },
        "qualificationProgress": {
          "x-luca-sensitive": "null"
        },
        "lastInboundAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastOutboundAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastUserMessageAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "unread": {
          "type": "boolean"
        },
        "leadPaused": {
          "type": "boolean"
        },
        "leadPausedUntil": {
          "type": [
            "string",
            "null"
          ]
        },
        "draftingState": {
          "type": "string",
          "enum": [
            "idle",
            "working",
            "paused",
            "needs-input",
            "error"
          ]
        },
        "readThroughMessageId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        }
      },
      "required": [
        "id",
        "coachId",
        "leadId",
        "channelAccountId",
        "currentPhase",
        "qualificationProgress",
        "lastInboundAt",
        "lastOutboundAt",
        "lastUserMessageAt",
        "leadPaused",
        "leadPausedUntil",
        "draftingState",
        "readThroughMessageId"
      ]
    },
    "lead": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "coachId": {
          "type": "string",
          "format": "uuid"
        },
        "channel": {
          "type": "string",
          "enum": [
            "telegram",
            "instagram",
            "messenger",
            "whatsapp"
          ]
        },
        "externalUserId": {
          "type": "string",
          "x-luca-sensitive": "blank"
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "x-luca-sensitive": "null"
        },
        "profilePhotoUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "x-luca-sensitive": "null"
        },
        "customFields": {
          "x-luca-sensitive": "empty"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "score": {
          "type": "integer"
        },
        "createdAt": {
          "type": "string"
        },
        "lastSeenAt": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "coachId",
        "channel",
        "externalUserId",
        "displayName",
        "customFields",
        "tags",
        "score",
        "createdAt",
        "lastSeenAt"
      ]
    },
    "channelAccount": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "coachId": {
          "type": "string",
          "format": "uuid"
        },
        "channel": {
          "type": "string",
          "enum": [
            "telegram",
            "instagram",
            "messenger",
            "whatsapp"
          ]
        },
        "externalAccountId": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "connectedAt": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "coachId",
        "channel",
        "externalAccountId",
        "status",
        "connectedAt"
      ]
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "conversationId": {
            "type": "string",
            "format": "uuid"
          },
          "coachId": {
            "type": "string",
            "format": "uuid"
          },
          "leadId": {
            "type": "string",
            "format": "uuid"
          },
          "channel": {
            "type": "string",
            "enum": [
              "telegram",
              "instagram",
              "messenger",
              "whatsapp"
            ]
          },
          "providerMessageId": {
            "type": "string"
          },
          "direction": {
            "type": "string",
            "enum": [
              "inbound",
              "outbound"
            ]
          },
          "sourceType": {
            "type": "string",
            "enum": [
              "dm",
              "comment",
              "story_reply",
              "story_mention"
            ],
            "default": "dm"
          },
          "body": {
            "type": "string",
            "x-luca-sensitive": "blank"
          },
          "mediaUrls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "x-luca-sensitive": "empty"
          },
          "media": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "mediaType": {
                  "type": "string",
                  "enum": [
                    "audio",
                    "image",
                    "file"
                  ]
                },
                "url": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "completed",
                    "failed",
                    "skipped",
                    "blocked",
                    "cancelled"
                  ]
                },
                "safetyStatus": {
                  "type": "string",
                  "enum": [
                    "safe",
                    "needs_review",
                    "blocked"
                  ]
                },
                "transcript": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "processingReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "retry": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "eligible": {
                      "type": "boolean"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "attemptsUsed": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 3
                    },
                    "attemptsRemaining": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 3
                    },
                    "unavailableReason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "retry_active",
                        "retry_exhausted",
                        "original_missing",
                        "cancelled",
                        "not_retryable",
                        null
                      ]
                    }
                  },
                  "required": [
                    "eligible",
                    "active",
                    "attemptsUsed",
                    "attemptsRemaining",
                    "unavailableReason"
                  ]
                }
              },
              "required": [
                "id",
                "mediaType",
                "url",
                "status",
                "safetyStatus"
              ]
            },
            "default": [],
            "x-luca-sensitive": "empty"
          },
          "rawPayload": {
            "x-luca-sensitive": "null"
          },
          "reviewQueueId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "replyAuthor": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "coach",
              "luca",
              null
            ],
            "default": null
          },
          "outboundContentId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "outboundContentPosition": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "sent",
              "delivered",
              "read",
              "failed",
              "blocked_freeform_window",
              "blocked_instagram_messaging_window",
              "blocked_instagram_comment_reply_window",
              "blocked_messenger_messaging_window",
              "blocked_public_reply_link",
              "blocked_rate_limit",
              "blocked_billing_limit",
              "blocked_channel_account_paused",
              "blocked_channel_account_suspended",
              "blocked_channel_account_disconnected",
              "blocked_channel_account_reconnect_required",
              "blocked_channel_account_health_red",
              "blocked_channel_account_status_unknown",
              "partially_sent"
            ]
          },
          "failedReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "delivery": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": "string",
                "enum": [
                  "sending",
                  "sent",
                  "delivered",
                  "read",
                  "failed_retryable",
                  "failed_not_retryable",
                  "failed_account_blocked",
                  "delivery_unknown"
                ]
              },
              "accountIssue": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "paused",
                  "suspended",
                  "disconnected",
                  "reconnect_required",
                  "health_red",
                  "status_unknown",
                  null
                ]
              }
            },
            "required": [
              "state",
              "accountIssue"
            ]
          },
          "sentParts": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "partialRetry": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "available",
              "queued",
              "unsafe",
              "unavailable",
              null
            ]
          },
          "receivedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "sentAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "deliveredAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "readAt": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "conversationId",
          "coachId",
          "leadId",
          "channel",
          "providerMessageId",
          "direction",
          "body",
          "mediaUrls",
          "rawPayload",
          "reviewQueueId",
          "outboundContentId",
          "outboundContentPosition",
          "status",
          "failedReason",
          "delivery",
          "sentParts",
          "partialRetry",
          "receivedAt",
          "sentAt",
          "deliveredAt",
          "readAt"
        ]
      }
    },
    "replyFailures": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "conversationId": {
            "type": "string",
            "format": "uuid"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "x-luca-sensitive": "blank"
          },
          "content": {
            "type": "object",
            "properties": {
              "version": {
                "type": "number",
                "enum": [
                  1
                ]
              },
              "parts": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "text"
                          ]
                        },
                        "text": {
                          "type": "string",
                          "minLength": 1
                        },
                        "textGroupId": {
                          "type": "string",
                          "format": "uuid"
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "text"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "media"
                          ]
                        },
                        "uploadId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "mediaKind": {
                          "type": "string",
                          "enum": [
                            "image",
                            "video",
                            "audio",
                            "voice",
                            "document"
                          ]
                        },
                        "fileName": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 255
                        },
                        "caption": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1024
                        },
                        "altText": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1000
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "uploadId",
                        "mediaKind"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "interactive"
                          ]
                        },
                        "interactionKind": {
                          "type": "string",
                          "enum": [
                            "buttons",
                            "list",
                            "quick_replies",
                            "inline_buttons"
                          ]
                        },
                        "prompt": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1024
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "description": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "action": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "booking.select_slot"
                                        ]
                                      },
                                      "bookingTypeId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "slotId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "startsAt": {
                                        "type": "string",
                                        "format": "date-time"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time"
                                      },
                                      "timezone": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      },
                                      "inviteeEmail": {
                                        "type": "string",
                                        "format": "email"
                                      },
                                      "inviteeName": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "bookingTypeId",
                                      "slotId",
                                      "startsAt",
                                      "endsAt",
                                      "timezone",
                                      "inviteeEmail"
                                    ]
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "booking.reschedule"
                                        ]
                                      },
                                      "bookingId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "bookingTypeId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "slotId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "startsAt": {
                                        "type": "string",
                                        "format": "date-time"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time"
                                      },
                                      "timezone": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "bookingId",
                                      "bookingTypeId",
                                      "slotId",
                                      "startsAt",
                                      "endsAt",
                                      "timezone"
                                    ]
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "booking.cancel"
                                        ]
                                      },
                                      "bookingId": {
                                        "type": "string",
                                        "format": "uuid"
                                      },
                                      "reason": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "bookingId"
                                    ]
                                  }
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "title"
                            ]
                          },
                          "minItems": 1,
                          "maxItems": 20
                        },
                        "expiresAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "interactionKind",
                        "prompt",
                        "options"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "template"
                          ]
                        },
                        "templateId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "language": {
                          "type": "string",
                          "minLength": 1
                        },
                        "versionHash": {
                          "type": "string",
                          "pattern": "^sha256:[a-f0-9]{64}$"
                        },
                        "parameters": {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "key": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "component": {
                                    "type": "string",
                                    "enum": [
                                      "header",
                                      "body",
                                      "button"
                                    ]
                                  },
                                  "index": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "parameterName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "buttonIndex": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "text"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "maxLength": 4096
                                  }
                                },
                                "required": [
                                  "key",
                                  "component",
                                  "index",
                                  "kind",
                                  "value"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "key": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "component": {
                                    "type": "string",
                                    "enum": [
                                      "header"
                                    ]
                                  },
                                  "index": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "parameterName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "buttonIndex": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "image",
                                      "video",
                                      "document"
                                    ]
                                  },
                                  "uploadId": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "fileName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 255
                                  }
                                },
                                "required": [
                                  "key",
                                  "component",
                                  "index",
                                  "kind",
                                  "uploadId"
                                ]
                              }
                            ]
                          },
                          "maxItems": 100
                        },
                        "renderedPreview": {
                          "type": "string",
                          "maxLength": 16000
                        },
                        "providerMetadata": {
                          "type": "object",
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "templateId",
                        "name",
                        "language",
                        "versionHash",
                        "parameters",
                        "renderedPreview"
                     

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/setluca-com/json-schema/setluca-com-conversation-detail-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/setluca-com-conversation-detail-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.