MemoryEntryApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteMemoryEntry | DELETE MemoryEntryApi | Delete a MemoryEntry. |
deleteMemoryEntry
Void
deleteMemoryEntry(id)
Delete a MemoryEntry.
Deletes a specific MemoryEntry.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the MemoryEntry.
try {
Void result = apiInstance.deleteMemoryEntry(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#deleteMemoryEntry");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the MemoryEntry. |
Return type
Void
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getMemoryEntry
MemoryEntry
getMemoryEntry(id)
Retrieve a single MemoryEntry
Retrieves a single MemoryEntry for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the MemoryEntry.
try {
MemoryEntry result = apiInstance.getMemoryEntry(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#getMemoryEntry");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the MemoryEntry. |
Return type
MemoryEntry
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getMemoryEntryList
MemoryEntry
getMemoryEntryList(pagesizesort)
Retrieve a list of MemoryEntrys
Retrieves a list of MemoryEntrys.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
MemoryEntry result = apiInstance.getMemoryEntryList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#getMemoryEntryList");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | [optional] [default to 0] | |
| size | Integer | [optional] [default to 20] | |
| sort | List<String> | [optional] |
Return type
MemoryEntry
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
patchMemoryEntryById
MemoryEntry
patchMemoryEntryById(idmemoryEntry)
Partially update an existing MemoryEntry
Updates an existing MemoryEntry.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the MemoryEntry.
MemoryEntry memoryEntry = new MemoryEntry(); // MemoryEntry | Merge-patch fields for MemoryEntry.
try {
MemoryEntry result = apiInstance.patchMemoryEntryById(idmemoryEntry);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#patchMemoryEntryById");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the MemoryEntry. | |
| memoryEntry | MemoryEntry | Merge-patch fields for MemoryEntry. |
Return type
MemoryEntry
Authorization
No authorization required
HTTP request headers
- Content-Type: application/merge-patch+jsonapplication/json-patch+jsonapplication/json
- Accept: application/json
postMemoryEntry
MemoryEntry
postMemoryEntry(memoryEntry)
Create a new MemoryEntry
Creates a new MemoryEntry.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
MemoryEntry memoryEntry = new MemoryEntry(); // MemoryEntry | MemoryEntry details.
try {
MemoryEntry result = apiInstance.postMemoryEntry(memoryEntry);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#postMemoryEntry");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| memoryEntry | MemoryEntry | MemoryEntry details. |
Return type
MemoryEntry
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateMemoryEntry
MemoryEntry
updateMemoryEntry(idmemoryEntry)
Update an existing MemoryEntry
Updates an existing MemoryEntry.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.MemoryEntryApi;
MemoryEntryApi apiInstance = new MemoryEntryApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the MemoryEntry.
MemoryEntry memoryEntry = new MemoryEntry(); // MemoryEntry | Updated MemoryEntry details.
try {
MemoryEntry result = apiInstance.updateMemoryEntry(idmemoryEntry);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MemoryEntryApi#updateMemoryEntry");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the MemoryEntry. | |
| memoryEntry | MemoryEntry | Updated MemoryEntry details. |
Return type
MemoryEntry
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2026-04-20T19:24:54.195235-07:00[America/Los_Angeles] |