Prompts API
API for managing Prompts resources.
Fields
interface Prompts {
name?: string;
}
API Endpoints
GET /api/prompts
Retrieves a list of Prompts with pagination.
Query Parameters
limit
: Maximum number of items to return (default: 10)page
: Page number for pagination (default: 1)sort
: Field to sort by (default: createdAt)where
: JSON query for filtering results
GET /api/prompts/:id
Retrieves a single Prompts by ID.
POST /api/prompts
Creates a new Prompts.
PATCH /api/prompts/:id
Updates an existing Prompts.
DELETE /api/prompts/:id
Deletes a Prompts.
Last updated on