Create Assistant Api is incorrect
# support
a
I want to set structuredDataPlan, successEvaluationPlan and server url of my assistant while creation of assistant. I am following api documentation api returns the provided objects but it doesn't show in dashboard.
k
Use the GET /assistants/{id} endpoint to confirm that your configurations are correctly set and ensure your serverUrl is correctly configured to handle events like transfer destination request and end of call report. https://docs.vapi.ai/api-reference/assistants/create
a
{ "model": { "messages": [ { "content": "", "role": "system" } ], "provider": "openai", "model": "gpt-4o", "fallbackModels": [ "gpt-4-0125-preview", "gpt-4-0613" ], "semanticCachingEnabled": true, "numFastTurns": 1, "temperature": 0.7, "maxTokens": 250, "emotionRecognitionEnabled": true }, "firstMessageMode": "assistant-speaks-first", "recordingEnabled": true, "hipaaEnabled": false, "clientMessages": [ "transcript", "hang", "tool-calls", "speech-update", "metadata", "conversation-update" ], "serverMessages": [ "end-of-call-report" ], "silenceTimeoutSeconds": 30, "responseDelaySeconds": 0.4, "llmRequestDelaySeconds": 0.1, "numWordsToInterruptAssistant": 1, "maxDurationSeconds": 1800, "backgroundSound": "off", "backchannelingEnabled": true, "name": "", "firstMessage": "", "transcriber": { "provider": "deepgram", "model": "nova-2", "language": "" }, "analysisPlan": { "structuredDataPlan": { "messages": [ { "role": "system", "content": "" }, { "role": "user", "content": "" } ], "enabled": true, "schema": { "type": "string" }, "timeoutSeconds": 1.1 }, "successEvaluationPlan": { "rubric": "PassFail", "messages": [ { "role": "system", "content": "" }, { "role": "user", "content": "" }, { "role": "user", "content": "" } ], "enabled": true, "timeoutSeconds": 1.1 } }, "serverUrl": "https://heliowicttor.app.n8n.cloud/webhook-test/7e97e966-7b28-4f21-b69e-7334017859e9" } This is how body is defined
the get endpoint is also providing the analysis object but it's not being shown in dahsboard