Skip to main content

MemoryEntryApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteMemoryEntryDELETE MemoryEntryApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<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

NameTypeDescriptionNotes
idUUIDUnique identifier for the MemoryEntry.
memoryEntryMemoryEntryMerge-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

NameTypeDescriptionNotes
memoryEntryMemoryEntryMemoryEntry 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the MemoryEntry.
memoryEntryMemoryEntryUpdated MemoryEntry details.

Return type

MemoryEntry

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-04-20T19:24:54.195235-07:00[America/Los_Angeles]