ChatResponseApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteChatResponse | DELETE ChatResponseApi | Delete a ChatResponse. |
deleteChatResponse
Void
deleteChatResponse(id)
Delete a ChatResponse.
Deletes a specific ChatResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatResponseApi;
ChatResponseApi apiInstance = new ChatResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatResponse.
try {
Void result = apiInstance.deleteChatResponse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatResponseApi#deleteChatResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatResponse. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getChatResponse
ChatResponse
getChatResponse(id)
Retrieve a single ChatResponse
Retrieves a single ChatResponse for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatResponseApi;
ChatResponseApi apiInstance = new ChatResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatResponse.
try {
ChatResponse result = apiInstance.getChatResponse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatResponseApi#getChatResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatResponse. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getChatResponseList
ChatResponse
getChatResponseList()
Retrieve a list of ChatResponses
Retrieves a list of ChatResponses.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatResponseApi;
ChatResponseApi apiInstance = new ChatResponseApi();
try {
ChatResponse result = apiInstance.getChatResponseList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatResponseApi#getChatResponseList");
e.printStackTrace();
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postChatResponse
ChatResponse
postChatResponse(chatResponse)
Create a new ChatResponse
Creates a new ChatResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatResponseApi;
ChatResponseApi apiInstance = new ChatResponseApi();
ChatResponse chatResponse = new ChatResponse(); // ChatResponse | ChatResponse details.
try {
ChatResponse result = apiInstance.postChatResponse(chatResponse);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatResponseApi#postChatResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
chatResponse | ChatResponse | ChatResponse details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateChatResponse
ChatResponse
updateChatResponse(idchatResponse)
Update an existing ChatResponse
Updates an existing ChatResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatResponseApi;
ChatResponseApi apiInstance = new ChatResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatResponse.
ChatResponse chatResponse = new ChatResponse(); // ChatResponse | Updated ChatResponse details.
try {
ChatResponse result = apiInstance.updateChatResponse(idchatResponse);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatResponseApi#updateChatResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatResponse. | |
chatResponse | ChatResponse | Updated ChatResponse 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-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-04-09T20:27:13.881184-07:00[America/Los_Angeles] |