Пакеты
Отменить пакет сообщений
$ ant messages:batches cancelPOST/v1/messages/batches/{message_batch_id}/cancel
Получить результаты пакета сообщений
$ ant messages:batches resultsGET/v1/messages/batches/{message_batch_id}/results
ID of the Message Batch.
Deleted object type.
For Message Batches, this is always "message_batch_deleted".
This is a single line in the response .jsonl file and does not represent the response as a whole.
Number of requests in the Message Batch that have been canceled.
This is zero until processing of the entire Message Batch has ended.
Number of requests in the Message Batch that encountered an error.
This is zero until processing of the entire Message Batch has ended.
Number of requests in the Message Batch that have expired.
This is zero until processing of the entire Message Batch has ended.
Number of requests in the Message Batch that are processing.
Number of requests in the Message Batch that have completed successfully.
This is zero until processing of the entire Message Batch has ended.
Processing result for this request.
Contains a Message output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration.