List prompt folders
Prompt Library API
List Prompt Folders
Retrieve prompt folders in your workspace
GET
List prompt folders
Returns prompt folders you can access in your workspace. Use query parameters to paginate, search, or filter by 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 folders to return.
Required range:
1 <= x <= 250Cursor from the previous response for pagination.
Search query matched against folder name.
Filter by workspace sharing.
Available options:
true, false