Skip to main content

Save Prompt Status

PUT 

/api/chat/save-prompt

This endpoint allows saving the status of a query response in a specified conversation within a workspace. The request must include a valid API key and user ID.

Request

Header Parameters

    x-api-key stringrequired

    API key to authorize the request.

    userId stringrequired

    ID of the user making the request.

Body

required

    workspaceId stringrequired

    ID of the workspace.

    conversationId stringrequired

    ID of the conversation.

    queryResponseId stringrequired

    ID of the query response to be saved.

    status stringrequired

    The status indicating the save action.

Responses

Successfully updated the save status.

Schema

    id string

    The ID of the query response.

    status string

    The updated status indicating the save action.

Loading...