Flow Prompts

Retrieves a paginated list of prompts for the specified flow.

get

Retrieves a paginated list of prompts for the specified flow, optionally filtered and sorted.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Query parameters
includeOptionsbooleanOptional

Whether to include prompt options in the result.

flattenbooleanOptional

Whether to flatten the prompt structure.

parentObjectIdentifierstring · uuidOptional

Optional parent object identifier.

pageNumberinteger · int32Optional

The page number to retrieve.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to prompt prompts.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/flows/{flowIdentifier}/prompts

Creates a new prompt for the specified flow.

post

Creates a new prompt for the specified flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstringRequired
flowIdentifierstringRequired
Query parameters
parentResourceObjectIdentifierstring · uuidOptional

The object identifier of the flow.

Body
labelstring · nullableRequired
descriptionstring · nullableRequired
modelIdentifierstring · uuid · nullableOptional
questionstring · nullableOptional
parentObjectIdentifierstring · uuid · nullableOptional
promptDataTypeIdinteger · int32Required
Responses
chevron-right
200

OK

post
/projects/{projectIdentifier}/flows/{flowIdentifier}/prompts

Retrieves a prompt by its object identifier.

get

Retrieves a prompt by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the prompt.

projectIdentifierstringRequired
flowIdentifierstringRequired
Query parameters
includeOptionsbooleanOptional

Whether to include prompt options in the result.

Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/flows/{flowIdentifier}/prompts/{objectIdentifier}

Updates a prompt by its object identifier.

put

Updates a prompt by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the prompt to update.

projectIdentifierstringRequired
flowIdentifierstringRequired
Body
labelstring · nullableRequired
descriptionstring · nullableRequired
modelIdentifierstring · uuid · nullableOptional
questionstring · nullableOptional
parentObjectIdentifierstring · uuid · nullableOptional
promptDataTypeIdinteger · int32Required
Responses
chevron-right
200

OK

put
/projects/{projectIdentifier}/flows/{flowIdentifier}/prompts/{objectIdentifier}

Last updated