Your API key for authentication.
Body
The ID of the citation schema to use for extracting variables from the SMS conversation.
The ID of the SMS conversation to analyze.
Response
The response data containing analysis results.
The status of the analysis operation. Returns “success” on successful completion.
The ID of the SMS conversation that was analyzed.
The ID of the citation schema that was used for analysis.
The name of the citation schema that was used.
The total number of variables that were successfully extracted from the conversation.
An object containing the extracted variables as key-value pairs, where keys are variable names and values are the extracted data.
An array of citation objects that reference where each variable was found in the conversation.
The name of the variable this citation references.
The message text where the variable was found.
The confidence score (0-1) for this extraction.
The total number of messages in the conversation that were processed.
An array of error objects. Empty array when the request is successful.
{
"data": {
"status": "success",
"conversation_id": "conv_123456",
"schema_id": "schema_789",
"schema_name": "Customer Intent Analysis",
"variables_extracted": 5,
"extracted_variables": {
"customer_name": "John Smith",
"preferred_time": "morning",
"service_type": "moving",
"urgency": "high",
"budget_range": "$500-1000"
},
"citations": [
{
"variable": "customer_name",
"message": "Hi, this is John Smith calling about...",
"confidence": 0.95
}
],
"messages_processed": 12
},
"errors": []
}