Hi ronakp1234,
To help with generating structured data, ensure you've followed the setup and integration instructions:
1.
Create your structured output: Use a JSON schema to specify the data you want to extract from calls. Here's a [quickstart guide](
https://docs.vapi.ai/assistants/structured-outputs-quickstart) for setting this up.
2.
Attach the structured output to an assistant: Ensure that the structured output is correctly linked to the assistant via the Dashboard under
Artifact Plan or through API integration.
3.
Test the setup: Use test calls to verify that data is extracted into the specified schema. See details on creating and testing calls in this [guide](
https://docs.vapi.ai/assistants/structured-outputs-quickstart).
4.
Retrieve the structured data: Once a call ends, you can retrieve structured outputs via the [API](
https://docs.vapi.ai/api-reference/structured-outputs/structured-output-controller-run) or view them in the
Call Logs section of the Dashboard.
Ensure that your schemas are well-defined, including necessary validation patterns, and that any non-critical fields are optional to avoid partial extractions. For further details and troubleshooting tips, refer to the [structured outputs documentation](
https://docs.vapi.ai/assistants/structured-outputs-examples).
If you've already verified these aspects and the issue persists, consider reviewing logs for any validation errors or checking API configurations for any discrepancies.