there are many many mismatch bw type in vapi sdk n...
# support
y
there are many many mismatch bw type in vapi sdk typescript , cerating workflows , assistants using sdk many options are not present in sdk available 0.9.1 , like in workflow messageplan is not available also in assiatents system prompt not available also it not matches with doc provided on website please help me i am stucked in creating workflows using apis using sdk #1211483291191083018 @NicxOp1 using dashboard i can do it which i can not do using apis either sdk is not updated can you please update it
v
The Vapi API has new features (like
messagePlan
and enhanced prompts) that are not yet available in SDK v0.9.1.
As a workaround, you can use the REST API directly to access all the latest options. For example, to update an assistant with new properties:
Copy code
bash
curl -X PATCH https://api.vapi.ai/assistant/<id> \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{ "messagePlan": { "idleMessages": ["Hello!"] } }'
This lets you use the latest API features even if the SDK is behind. For more details, see the [API reference](https://docs.vapi.ai/api-reference/assistants/update?explorer=true). Sources: - [Vapi API Reference: Update Assistant](https://docs.vapi.ai/api-reference/assistants/update?explorer=true) - [Vapi Changelog May 2025](https://docs.vapi.ai/changelog/2025/5/3)
v
Hey Yuvanshu, can you please create a Github issue with all the complete details and steps to reproduce the current error that you are experiencing over the Github issue and tag me over there so I could align with you and eventually take help of the SDK team to resolve this.