Skip to navigation

List Prompts By Workspace

View as MarkdownOpen in Claude
List prompts for a specific workspace.

Path parameters

workspacestringRequired

Query parameters

sortenumOptionalDefaults to created_at

The field to sort by. To sort in decreasing order, use - in front of the field name.

pageintegerOptional>=1Defaults to 1
Page number.
page_sizeintegerOptional1-1000Defaults to 100
Page size.
filterobjectOptional

Filter prompts by workspace, project, name, description, created_at, and updated_at.

Response

Return prompts for a workspace
datalist of objects
paginationobject or nullOptional
Pagination information.
sortstring or nullOptional
The field on which the results are sorted.
filtermap from strings to any or nullOptional
Filtering information.

Errors

422
Unprocessable Entity Error