List prompts
Prompt Library API
List Prompts
Retrieve prompts in your workspace
GET
List prompts
Returns prompts you can access in your workspace. Use query parameters to paginate, search, or filter by folder and workspace sharing.
Base URL
Required Scopes
This endpoint requires thePROMPT_API scope.
Parameters
Example
Response Format
Success Response (200 OK)
Example Response
Error Handling
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.
Authorizations
API key as Bearer token. Format "Bearer YOUR_API_KEY"
Query Parameters
Number of prompts to return.
Required range:
1 <= x <= 250Cursor from the previous response for pagination.
Search query matched against prompt title and content.
Filter by prompt folder UUID.
Filter by workspace sharing.
Available options:
true, false