ai
post
Checks for poison pill in the given topic.
Authorizations
Body
Contains fields for checking poison pill.
topicLRNstring · kafka-topic-lrnRequired
Contains the topic LRN.
partitionintegerRequired
Holds the partition to check.
offsetinteger · int64Required
Is set to the offset to check.
lagintegerOptional
Is the lag to check, if provided.
Responses
200
Happy response.
application/json
default
Error object.
application/json
post
/v1/ai/check-poison-pillPOST /v1/ai/check-poison-pill HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"topicLRN": "text",
"partition": 1,
"offset": 1,
"lag": 1
}{
"content": "text"
}get
Provides Server-Sent Events (SSE) for yaml file generation. The response is a series of GenerateYAMLFilesResponse objects.
Authorizations
Query parameters
contentstringRequired
Contains user input in plain text.
conversation_idstringOptional
Refers to the conversation context. Optional. If not provided, a new conversation ID is created.
file_namestringOptional
Identifies the specific file to (re)generate.
approvedbooleanOptional
Indicates whether the user approved the file.
Responses
default
Error object.
application/json
get
/v1/ai/generate-yaml-filesGET /v1/ai/generate-yaml-files?content=text HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
default
Error object.
{
"type": "not_found",
"title": "text",
"status": 1,
"invalid_fields": [
{
"name": "text",
"error": "reference_not_found",
"title": "text"
}
],
"sso_url": "text",
"request_id": "text"
}Last updated
Was this helpful?

