Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Feb 10, 2026

Simplified the code system upload API by consolidating request types and removing unnecessary fields. Removed user_id fields from various template types across agent, fhir provider, summary, tools, and workflow resources for cleaner data structures.

Key changes:

  • Consolidated UploadRequestCsv and UploadRequestJson into single UploadRequest type
  • Removed user_id field from ChatMessageTemplate, ChatSessionTemplate, FhirProviderTemplate, SummaryTemplate, McpServerResponse.Data, McpServerToolResponse.Data, WorkflowDefinition, and WorkflowResponse
  • Updated construe upload API documentation to clarify asynchronous processing behavior
  • Added name and version fields to ConstrueUploadCodeSystemResponse
  • Moved UploadRequest from types to client/requests directory
  • Simplified test cases to reflect new simplified upload API structure

🌿 Generated with Fern


Note

Medium Risk
This is a breaking change to public SDK types (request/response contracts and removed user_id fields), so downstream consumers may fail to compile or have runtime expectations mismatched despite minimal internal logic changes.

Overview
Breaking SDK update to v6.0.0 that simplifies the Construe code system upload surface and cleans up several response/template shapes.

The Construe upload API is refactored to use a single construe.UploadRequest (moved under client/requests) instead of format-specific request types, and the optional async flag is removed while docs now state uploads return immediately and processing happens asynchronously via polling. The upload response type ConstrueUploadCodeSystemResponse now includes name and version.

Across agent, FHIR provider, summary, tools MCP server/tool, and workflows types, user_id fields are removed from templates/responses, and wire tests are updated accordingly to match the new shapes.

Written by Cursor Bugbot for commit dbb05dd. This will update automatically on new commits. Configure here.

Simplified the code system upload API by consolidating request types and removing unnecessary fields. Removed user_id fields from various template types across agent, fhir provider, summary, tools, and workflow resources for cleaner data structures.

Key changes:
- Consolidated UploadRequestCsv and UploadRequestJson into single UploadRequest type
- Removed user_id field from ChatMessageTemplate, ChatSessionTemplate, FhirProviderTemplate, SummaryTemplate, McpServerResponse.Data, McpServerToolResponse.Data, WorkflowDefinition, and WorkflowResponse
- Updated construe upload API documentation to clarify asynchronous processing behavior
- Added name and version fields to ConstrueUploadCodeSystemResponse
- Moved UploadRequest from types to client/requests directory
- Simplified test cases to reflect new simplified upload API structure

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants