Resovled
# support
v
Based on the information I found: - The
costs
field is an array of objects, with each object containing fields like
type
(string),
cost
(number), and
minutes
(number). According to [Vapi API Reference](https://docs.vapi.ai/api-reference/), these are floating-point numbers. - The
duration
field can be either a floating-point number (e.g., 8730.0009765625) or an integer (e.g., 6200) and represents call duration in seconds. Could you share a snippet of your Golang code that's attempting to extract these fields? This would help me identify the specific type mismatch issue you're encountering. Sources: - [Vapi API Reference](https://docs.vapi.ai/api-reference/) - [Discord Channel](https://discord.com/channels/1211482211119796234/1336644455582928906)
b
Hello?
v
Message marked as helpful by @! AetherMind! 🎉
Message marked as helpful by @Behzad! 🎉
k
checking if this is resolved/solved for you?