Files
sdk/docs/StoreEntriesApi.md
zeekayandHanzo Dev b55332704a feat: Hanzo Cloud SDK for Kotlin (generated from OpenAPI v8.0.0)
Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and
Android. Generated with openapi-generator kotlin (library=jvm-okhttp4,
useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-25 07:10:32 -07:00

10 KiB

StoreEntriesApi

All URIs are relative to https://api.hanzo.ai

Method HTTP request Description
autoDeleteStoreEntry DELETE /v1/auto/store-entries/{key} Delete a store entry
autoGetStoreEntry GET /v1/auto/store-entries/{key} Get a store entry by key
autoListStoreEntries GET /v1/auto/store-entries List store entries
autoUpsertStoreEntry POST /v1/auto/store-entries Create or update a store entry
flowDeleteStoreEntry DELETE /v1/flow/store-entries/{key} Delete a store entry
flowGetStoreEntry GET /v1/flow/store-entries/{key} Get a store entry by key
flowListStoreEntries GET /v1/flow/store-entries List store entries
flowUpsertStoreEntry POST /v1/flow/store-entries Create or update a store entry

autoDeleteStoreEntry

autoDeleteStoreEntry(key)

Delete a store entry

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val key : kotlin.String = key_example // kotlin.String | 
try {
    apiInstance.autoDeleteStoreEntry(key)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#autoDeleteStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#autoDeleteStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
key kotlin.String

Return type

null (empty response body)

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

autoGetStoreEntry

kotlin.Any autoGetStoreEntry(key)

Get a store entry by key

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val key : kotlin.String = key_example // kotlin.String | 
try {
    val result : kotlin.Any = apiInstance.autoGetStoreEntry(key)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#autoGetStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#autoGetStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
key kotlin.String

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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

autoListStoreEntries

kotlin.Any autoListStoreEntries()

List store entries

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
try {
    val result : kotlin.Any = apiInstance.autoListStoreEntries()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#autoListStoreEntries")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#autoListStoreEntries")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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

autoUpsertStoreEntry

kotlin.Any autoUpsertStoreEntry(autoUpsertStoreEntryRequest)

Create or update a store entry

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val autoUpsertStoreEntryRequest : AutoUpsertStoreEntryRequest =  // AutoUpsertStoreEntryRequest | 
try {
    val result : kotlin.Any = apiInstance.autoUpsertStoreEntry(autoUpsertStoreEntryRequest)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#autoUpsertStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#autoUpsertStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
autoUpsertStoreEntryRequest AutoUpsertStoreEntryRequest

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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

flowDeleteStoreEntry

flowDeleteStoreEntry(key)

Delete a store entry

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val key : kotlin.String = key_example // kotlin.String | 
try {
    apiInstance.flowDeleteStoreEntry(key)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#flowDeleteStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#flowDeleteStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
key kotlin.String

Return type

null (empty response body)

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

flowGetStoreEntry

kotlin.Any flowGetStoreEntry(key)

Get a store entry by key

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val key : kotlin.String = key_example // kotlin.String | 
try {
    val result : kotlin.Any = apiInstance.flowGetStoreEntry(key)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#flowGetStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#flowGetStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
key kotlin.String

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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

flowListStoreEntries

kotlin.Any flowListStoreEntries(cursor, limit)

List store entries

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val cursor : kotlin.String = cursor_example // kotlin.String | 
val limit : kotlin.Int = 56 // kotlin.Int | 
try {
    val result : kotlin.Any = apiInstance.flowListStoreEntries(cursor, limit)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#flowListStoreEntries")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#flowListStoreEntries")
    e.printStackTrace()
}

Parameters

| cursor | kotlin.String| | [optional] |

Name Type Description Notes
limit kotlin.Int [optional]

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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

flowUpsertStoreEntry

FlowStoreEntry flowUpsertStoreEntry(autoUpsertStoreEntryRequest)

Create or update a store entry

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = StoreEntriesApi()
val autoUpsertStoreEntryRequest : AutoUpsertStoreEntryRequest =  // AutoUpsertStoreEntryRequest | 
try {
    val result : FlowStoreEntry = apiInstance.flowUpsertStoreEntry(autoUpsertStoreEntryRequest)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling StoreEntriesApi#flowUpsertStoreEntry")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling StoreEntriesApi#flowUpsertStoreEntry")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
autoUpsertStoreEntryRequest AutoUpsertStoreEntryRequest

Return type

FlowStoreEntry

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

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