Repository navigation
Support creating episodes from event IDs - #167
Merged
Merged
Conversation
`create_episodes` accepts `event_id` as an alternative to `recordings`. The API resolves the event's time range and recordings; `event_id` cannot be combined with `recordings`, `start_time`, or `end_time`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8ez4Z8Wq7dTA2sbcm76V2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8ez4Z8Wq7dTA2sbcm76V2
mguida22
approved these changes
Oct 14, 2026
Co-Authored-By: mguida22 <mguida22@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8ez4Z8Wq7dTA2sbcm76V2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
Client.create_episodesacceptsevent_idto create an episode from an event.Docs
None
Description
An episode input may now specify
event_idinstead ofrecordings; the API resolves the event's time range and overlapping recordings.event_idcannot be combined withrecordings,start_time, orend_time. Recording-based inputs are unchanged. Covered by new unit tests;examples/datasets.pyshows usage.create_episodes(project_id=…, episodes=[{"event_id": "evt_…"}])→
KeyError: 'recordings'create_episodes(project_id=…, episodes=[{"event_id": "evt_…"}])→
[{"id": "ep_…", "created": True}]🤖 Generated with Claude Code
https://claude.ai/code/session_01B8ez4Z8Wq7dTA2sbcm76V2
Generated by Claude Code