Skip to content

docs: Split conversation schema for list vs detail endpoints#396

Merged
marcmlc merged 1 commit intomainfrom
marcmeillac/split-conversation-list-schema
Mar 10, 2026
Merged

docs: Split conversation schema for list vs detail endpoints#396
marcmlc merged 1 commit intomainfrom
marcmeillac/split-conversation-list-schema

Conversation

@marcmlc
Copy link
Contributor

@marcmlc marcmlc commented Mar 10, 2026

Why?

The Search/List Conversations endpoint response schema shows conversation_parts as a possible field, but this object is never returned from list/search endpoints — only from GET /conversations/{id}. This causes confusion for developers integrating with the API (internal ticket 215473350697203).

How?

Splits the conversation schema into conversation_list_item (used by list/search endpoints, without conversation_parts) and conversation (inherits from conversation_list_item via allOf, adds conversation_parts). This makes the distinction structurally explicit in the spec rather than relying on a prose caveat.

Generated with Claude Code

Add a new `conversation_list_item` schema (without `conversation_parts`)
for list/search endpoints, keeping the original `conversation` schema
completely unchanged. This ensures `GET /conversations/{id}` is not
affected while list/search responses no longer misleadingly document
`conversation_parts`.

Addresses internal ticket 215473350697203.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@marcmlc marcmlc force-pushed the marcmeillac/split-conversation-list-schema branch from fc036ba to 2c8b1f8 Compare March 10, 2026 15:25
@marcmlc marcmlc merged commit c366b1c into main Mar 10, 2026
7 checks passed
@marcmlc marcmlc deleted the marcmeillac/split-conversation-list-schema branch March 10, 2026 15:51
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.

2 participants