You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add database IDs to all V2 API entity responses
Ensure all V2 API endpoints return database IDs for entities, observations,
and relations to enable consistent ID-based references across the API.
Schema changes:
- Add entity_id, observation_id, relation_id fields to SearchResult
- Add entity_id to EntitySummary
- Add relation_id, entity_id, from_entity_id, to_entity_id to RelationSummary
- Add observation_id, entity_id to ObservationSummary
Implementation changes:
- Update to_summary() to populate all entity/observation/relation IDs
- Update to_search_results() to set appropriate IDs based on type
Test updates:
- Update test fixtures to include new required ID fields
- All 180 V2 API tests passing
- All schema serialization tests passing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Joe P <joe@basicmemory.com>
0 commit comments