AI

List AI Conversations

get

Retrieves a paginated list of AI conversations. Can be filtered by status, type, user_id, and reported.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/ai/conversations

Generate AI Script

post

Generates a new script from a prompt using AI.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Body
userPromptstringRequired
examplePayloadstringOptional
languagestringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/ai/scripts/generate

Reply AI Script

post

Submits a follow-up reply to an existing AI script conversation, identified by conversationUlid.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
conversationUlidstringRequired

The conversationUlid identifier.

Body
userReplystringRequired
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/ai/scripts/{conversationUlid}/reply

End AI

patch

Ends a specific AI conversation.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
conversationUlidstringRequired

The conversationUlid identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
patch
/api/v1/ai/{conversationUlid}/end

Report AI

patch

Flags a specific AI conversation for review.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
conversationUlidstringRequired

The conversationUlid identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
patch
/api/v1/ai/{conversationUlid}/report

Last updated

Was this helpful?