Skip to main content

ChatResponseApi

valkyrai-api

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

MethodHTTP requestDescription
deleteChatResponseDELETE ChatResponseApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ChatResponse.

Return type

Void

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ChatResponse.

Return type

ChatResponse

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

ChatResponse

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

NameTypeDescriptionNotes
chatResponseChatResponseChatResponse details.

Return type

ChatResponse

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ChatResponse.
chatResponseChatResponseUpdated ChatResponse details.

Return type

ChatResponse

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-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]