ChatCompletionResponseApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteChatCompletionResponse | DELETE ChatCompletionResponseApi | Delete a ChatCompletionResponse. |
deleteChatCompletionResponse
Void
deleteChatCompletionResponse(id)
Delete a ChatCompletionResponse.
Deletes a specific ChatCompletionResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatCompletionResponseApi;
ChatCompletionResponseApi apiInstance = new ChatCompletionResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatCompletionResponse.
try {
Void result = apiInstance.deleteChatCompletionResponse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatCompletionResponseApi#deleteChatCompletionResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatCompletionResponse. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getChatCompletionResponse
ChatCompletionResponse
getChatCompletionResponse(id)
Retrieve a single ChatCompletionResponse
Retrieves a single ChatCompletionResponse for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatCompletionResponseApi;
ChatCompletionResponseApi apiInstance = new ChatCompletionResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatCompletionResponse.
try {
ChatCompletionResponse result = apiInstance.getChatCompletionResponse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatCompletionResponseApi#getChatCompletionResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatCompletionResponse. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getChatCompletionResponseList
ChatCompletionResponse
getChatCompletionResponseList(pagesizesort)
Retrieve a list of ChatCompletionResponses
Retrieves a list of ChatCompletionResponses.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatCompletionResponseApi;
ChatCompletionResponseApi apiInstance = new ChatCompletionResponseApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
ChatCompletionResponse result = apiInstance.getChatCompletionResponseList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatCompletionResponseApi#getChatCompletionResponseList");
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
postChatCompletionResponse
ChatCompletionResponse
postChatCompletionResponse(chatCompletionResponse)
Create a new ChatCompletionResponse
Creates a new ChatCompletionResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatCompletionResponseApi;
ChatCompletionResponseApi apiInstance = new ChatCompletionResponseApi();
ChatCompletionResponse chatCompletionResponse = new ChatCompletionResponse(); // ChatCompletionResponse | ChatCompletionResponse details.
try {
ChatCompletionResponse result = apiInstance.postChatCompletionResponse(chatCompletionResponse);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatCompletionResponseApi#postChatCompletionResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
chatCompletionResponse | ChatCompletionResponse | ChatCompletionResponse details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateChatCompletionResponse
ChatCompletionResponse
updateChatCompletionResponse(idchatCompletionResponse)
Update an existing ChatCompletionResponse
Updates an existing ChatCompletionResponse.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChatCompletionResponseApi;
ChatCompletionResponseApi apiInstance = new ChatCompletionResponseApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChatCompletionResponse.
ChatCompletionResponse chatCompletionResponse = new ChatCompletionResponse(); // ChatCompletionResponse | Updated ChatCompletionResponse details.
try {
ChatCompletionResponse result = apiInstance.updateChatCompletionResponse(idchatCompletionResponse);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChatCompletionResponseApi#updateChatCompletionResponse");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the ChatCompletionResponse. | |
chatCompletionResponse | ChatCompletionResponse | Updated ChatCompletionResponse 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-09-03T16:35:42.569765-07:00[America/Los_Angeles] |