Incorrect unit of measurement for messages.duratio...
# support
i
The messages.duration field is present in the Web API, for example, in the response of GET https://api.vapi.ai/call/{id}, and in ServerMessage, for example, in conversation-update. According to the documentation (https://docs.vapi.ai/api-reference/calls/get-call), messages.duration is a number representing the duration of the message in seconds. A few weeks ago, it was so. However, last week we started receiving this number in milliseconds. Could you clarify, please? Is this a bug in your system or outdated documentation?
v
@Ivan I apologize for any confusion caused by the discrepancy you've encountered. It's possible that there has been a change in the system that has not yet been reflected in the documentation, or it could indeed be a bug. I would recommend reaching out to our support team to clarify this issue. They will be able to provide you with the most accurate and up-to-date information regarding the
messages.duration
field and whether the unit of measurement has officially changed from seconds to milliseconds. Please ask support for more info on this, and they will assist you in resolving any discrepancies and ensure that you have the correct information for your development needs.
You can continue this conversation by mentioning me in the message.
i
@Vapi should I tag @User then?
v
@Ivan There's no need to tag anyone. I'm here to help you with your query. If you need further assistance or clarification regarding the
messages.duration
field, please let me know, and I will do my best to assist you. If the issue requires intervention from our support team, I can guide you on how to contact them directly.
i
You told me I have to contact them directly. So, tell me how to do it please.
v
@Ivan Certainly! To contact our support team directly regarding the
messages.duration
field issue, you can follow these steps: 1. Visit the VAPI support page or the contact section of the VAPI website. 2. Look for a 'Contact Support' or 'Submit a Ticket' option. 3. Fill out the form with your contact information and a detailed description of the issue you're experiencing with the
messages.duration
field. 4. If available, attach any relevant screenshots or logs that illustrate the problem. 5. Submit the form and wait for a response from the support team. Alternatively, if there is an email address or phone number provided for support inquiries, you can use those methods to reach out directly. The support team will review your issue and provide you with the necessary assistance to resolve it. If you need help with anything else, feel free to ask!
s
it is outdated documentation.
pls convert it to secs
i
Ok, thanks for the information. I will consider it in milliseconds.
2 Views