code

Generates code based on the provided prompt.

Events are streamed via WebSocket connection. This endpoint returns immediately after starting the generation process.

post/code/generate-code

Request body

assistantMessageIdstring uuid nullable
chatSessionIdstring uuid required
connectorIdsConnectorId[]
filePathsstring[]
promptstring required
triggerWorkflowExecutionboolean
userMessageIdstring uuid nullable

Response

Code generation started successfully

Changes