IdempotencyKeyApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteIdempotencyKey | DELETE IdempotencyKeyApi | Delete a IdempotencyKey. |
deleteIdempotencyKey
Void
deleteIdempotencyKey(id)
Delete a IdempotencyKey.
Deletes a specific IdempotencyKey.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.IdempotencyKeyApi;
IdempotencyKeyApi apiInstance = new IdempotencyKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the IdempotencyKey.
try {
Void result = apiInstance.deleteIdempotencyKey(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IdempotencyKeyApi#deleteIdempotencyKey");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the IdempotencyKey. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getIdempotencyKey
IdempotencyKey
getIdempotencyKey(id)
Retrieve a single IdempotencyKey
Retrieves a single IdempotencyKey for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.IdempotencyKeyApi;
IdempotencyKeyApi apiInstance = new IdempotencyKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the IdempotencyKey.
try {
IdempotencyKey result = apiInstance.getIdempotencyKey(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IdempotencyKeyApi#getIdempotencyKey");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the IdempotencyKey. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getIdempotencyKeyList
IdempotencyKey
getIdempotencyKeyList(pagesizesort)
Retrieve a list of IdempotencyKeys
Retrieves a list of IdempotencyKeys.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.IdempotencyKeyApi;
IdempotencyKeyApi apiInstance = new IdempotencyKeyApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
IdempotencyKey result = apiInstance.getIdempotencyKeyList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IdempotencyKeyApi#getIdempotencyKeyList");
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
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postIdempotencyKey
IdempotencyKey
postIdempotencyKey(idempotencyKey)
Create a new IdempotencyKey
Creates a new IdempotencyKey.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.IdempotencyKeyApi;
IdempotencyKeyApi apiInstance = new IdempotencyKeyApi();
IdempotencyKey idempotencyKey = new IdempotencyKey(); // IdempotencyKey | IdempotencyKey details.
try {
IdempotencyKey result = apiInstance.postIdempotencyKey(idempotencyKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IdempotencyKeyApi#postIdempotencyKey");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| idempotencyKey | IdempotencyKey | IdempotencyKey details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateIdempotencyKey
IdempotencyKey
updateIdempotencyKey(ididempotencyKey)
Update an existing IdempotencyKey
Updates an existing IdempotencyKey.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.IdempotencyKeyApi;
IdempotencyKeyApi apiInstance = new IdempotencyKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the IdempotencyKey.
IdempotencyKey idempotencyKey = new IdempotencyKey(); // IdempotencyKey | Updated IdempotencyKey details.
try {
IdempotencyKey result = apiInstance.updateIdempotencyKey(ididempotencyKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IdempotencyKeyApi#updateIdempotencyKey");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the IdempotencyKey. | |
| idempotencyKey | IdempotencyKey | Updated IdempotencyKey details. |
Return type
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.1-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 | 2025-12-03T11:13:18.492704-08:00[America/Los_Angeles] |