list prompts
Uses the selected organization and the authenticated user’s current permissions. Applies the same setup and archive rules as the dashboard.
/api/v1/organizations/{organizationId}/promptsAuthorization
ManagementOAuth managementUser-based Clerk OAuth. CLI is a public Authorization Code client using S256 PKCE and browser loopback redirect. Hosted MCP uses resource-bound OAuth. Verify issuer, token type, intended audience/resource, scopes, live membership and current role. Do not forward arbitrary OAuth tokens into Convex session JWT auth. OAuth URLs below are placeholders for deployment configuration.
In: header
Scope: management
Path Parameters
Permanent organizationId; selected organization must be authorized for the current user.
Query Parameters
1 <= value <= 10025Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/organizations/string/prompts"{ "items": [ { "id": "string", "name": "string", "state": "setup", "versionCount": 0, "createdAt": "2019-08-24T14:15:22Z", "productionVersionId": "string" } ], "nextCursor": "string"}revoke invitation DELETE
Uses the selected organization and the authenticated user’s current permissions. Applies the same setup and archive rules as the dashboard.
create prompt POST
Create one named prompt with a private user draft, one ordered dataset, and unassigned staging/production labels. No version 1 is available before successful baseline initialization.