feat(sdk-java): full feature parity with Python and TypeScript SDKs#32
Merged
senamakel merged 9 commits intotinyhumansai:mainfrom Mar 25, 2026
Merged
Conversation
Aligns Java SDK with Python and TS SDKs which use /memory/ prefix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…endDelete Adds model ID support with neocortex-mk1 default, and internal GET/DELETE methods needed for document and admin endpoints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
POST /memory/chat and POST /memory/conversations for chat with DeltaNet memory cache and memory context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
POST /memory/interact and POST /memory/interactions for entity interaction signals. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
POST /memory/memories/thoughts and POST /memory/queries for reflective thought generation and context querying. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
insertDocument, insertDocumentsBatch, listDocuments, getDocument, deleteDocument for POST/GET/DELETE /memory/documents. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
getGraphSnapshot, getIngestionJob, waitForIngestionJob for GET /memory/admin/graph-snapshot and /memory/ingestion/jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Expands example with demos for all 19 methods and updates README with complete API reference table. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests all new methods against staging. Wraps server-side errors in try-catch for endpoints with staging permission restrictions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
/v1/memory/...to/memory/...to match Python/TS conventionsX-Model-Idheader support andmodelIdconstructor parametersendGet/sendDeletemethods for GET and DELETE HTTP supportNew endpoints
Chat:
chatMemory,chatMemoryContextInteractions:
interactMemory,recordInteractionsAdvanced Recall:
recallThoughts,queryMemoryContextDocuments:
insertDocument,insertDocumentsBatch,listDocuments,getDocument,deleteDocumentAdmin/Utility:
getGraphSnapshot,getIngestionJob,waitForIngestionJobChanges
TinyHumansMemoryClient.java— AddedmodelIdfield, 3-arg constructor,X-Model-Idheader,sendGet/sendDelete, 14 new public methods, migrated 5 pathsChatMemoryParams,InteractMemoryParams,RecallThoughtsParams,QueryMemoryContextParams,InsertDocumentParams,InsertDocumentsBatchParams,ListDocumentsParams,GetDocumentParams,GraphSnapshotParams,WaitForIngestionJobOptionsTinyHumansMemoryClientTest.java— Added tests for all new methods, modelId, GET/DELETE supportIntegrationTest.java— Updated with all new endpointsExampleUsage.java— Expanded with demos for all 19 methodsREADME.md— Full API reference tableTest plan
./gradlew test)https://staging-api.alphahuman.xyz)/memory/queryand/memory/queriesreturn "anonymous access" error,/memory/admin/deletereturns 500