Skip to main content
GET
List prompts

Authorizations

Authorization
string
header
required

Workspace API key. Pass as Authorization: Bearer <key>.

Query Parameters

projectId
string
required

Filter prompts by project ID. Unique identifier for an entity, between 20 and 80 characters.

Required string length: 20 - 80
limit
integer
Required range: x <= 200
cursor
string
Minimum string length: 1
sort
enum<string>

Sort order for list endpoints.

Available options:
createdAt:asc,
createdAt:desc
createdAfter
integer | null
Required range: x >= 0
createdBefore
integer | null
Required range: x >= 0
fields
string
Minimum string length: 1

Response

Prompts retrieved.

Paginated list of prompts.

prompts
Prompt List Item · object[]
required
pagination
Pagination · object
required

Pagination metadata for list endpoints with cursor-based navigation.