List prompt suggestions
Read saved prompt suggestions for this project.
/projects/{projectId}/prompt-suggestionsdata:readThe key must include this project and its owner must still have access.
Authentication and permissions · Errors and limitsAuthorization
Authorizationstring · headerRequiredBearer access key. Never put a key in the URL.
Path parameters
projectIdstringRequiredProject identifier from List projects.
Query parameters
limitintegerOptionalRecords per page, from 1 to 200.
Default:
50cursorstringOptionalOpaque nextCursor from the preceding response.
brandedbooleanOptionalExact match filter.
sessionIdstringOptionalFilter by an accessible record in this project.
fromYYYY-MM-DDOptionalInclusive start date. Supply to with it; at most 366 days.
toYYYY-MM-DDOptionalInclusive end date. Supply from with it.
Response fields
dataobject[]RequiredRead saved prompt suggestions for this project.
Child fields
idstringRequiredUnique identifier for this record.
sessionIdstringRequiredSaved session id.
textstringRequiredSaved text.
categorystringRequiredSaved category.
intentstringRequiredSaved intent.
stagestringRequiredSaved stage.
fitstringRequiredSaved fit.
reasonstringRequiredSaved reason.
brandedbooleanRequiredSaved branded.
selectedbooleanRequiredSaved selected.
generatedbooleanRequiredSaved generated.
sourceRefsJSONRequiredSaved source refs.
parentIdstring | nullRequiredSaved parent id.
promotedPromptIdstring | nullRequiredSaved promoted prompt id.
createdAtISO 8601 timestampRequiredWhen this record was saved, in UTC.
paginationobjectRequiredCursor pagination for resource lists.
Child fields
hasMorebooleanRequiredWhether another page exists.
nextCursorstring | nullRequiredPass this unchanged as cursor with the same key, path, limit and filters.
metaobjectRequiredRequest metadata. Present on JSON success responses.
Child fields
requestIdstringRequiredRequest identifier to include when contacting support.
resultScope"saved"RequiredSaved customer information; excludes Overview preview results.