Skip to content

fix: add metadata field to CreateCallDTO schema#1027

Open
vapi-tasker[bot] wants to merge 1 commit intomainfrom
tasker/pro-1773-add-metadata-to-create-call-dto
Open

fix: add metadata field to CreateCallDTO schema#1027
vapi-tasker[bot] wants to merge 1 commit intomainfrom
tasker/pro-1773-add-metadata-to-create-call-dto

Conversation

@vapi-tasker
Copy link
Copy Markdown
Contributor

@vapi-tasker vapi-tasker Bot commented Apr 22, 2026

Description

  • Add top-level metadata field to CreateCallDTO schema in the OpenAPI spec
  • Add top-level metadata field to CreateOutboundCallDTO schema for consistency
  • Add top-level metadata field to Call response schema so metadata set on create is returned on read
  • The field follows the same pattern as CreateAssistantDTO's existing metadata field: {"type": "object", "description": "..."}
  • This fixes the .NET SDK (and all other auto-generated SDKs) missing metadata on CreateCallDto, which currently forces customers to extend the class manually or use AssistantOverrides.metadata as a workaround
  • SDKs will need to be regenerated after this merge to pick up the new field

Linear: PRO-1773

Testing Steps

  • Run fern check -- 0 errors (5 pre-existing warnings unrelated to this change)
  • Verify JSON is valid and metadata field matches CreateAssistantDTO pattern
  • Run the app locally using fern docs dev or navigate to preview deployment
  • Ensure that the changed pages and code snippets work

Add top-level `metadata` field to CreateCallDTO, CreateOutboundCallDTO,
and Call response schemas in the OpenAPI spec. This field was already
present on CreateAssistantDTO and AssistantOverrides but missing from
call-related schemas, causing all auto-generated SDKs (including .NET)
to lack a metadata property on CreateCallDto.

The field follows the same pattern as CreateAssistantDTO's metadata:
a simple object type for storing arbitrary key-value metadata on calls.

Linear: PRO-1773

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants