Loading...
Loading...
Clerk backend REST API
npx skill4agent add clerk/skills clerk-backend-apibash scripts/api-specs-context.shplatformCLERK_BAPI_SCOPES| Mode | Trigger | Behavior |
|---|---|---|
| Prompt is empty, or contains only | Print usage examples (step 0) |
| Prompt is | List all tags or endpoints for a tag |
| Specific endpoint (e.g. | Look up endpoint, execute request |
| Endpoint + | Show endpoint schema, don't execute |
--version 2024-10-01helpbrowseexecutedetailBrowse
/clerk-backend-api tags — list all tags
/clerk-backend-api Users — browse endpoints for the Users tag
/clerk-backend-api Users version 2025-11-10.yml — browse using a different version
Execute
/clerk-backend-api GET /users — fetch all users
/clerk-backend-api get user john_doe — natural language works too
/clerk-backend-api POST /invitations — create an invitation
Inspect
/clerk-backend-api GET /users help — show endpoint schema without executing
/clerk-backend-api POST /invitations -h — view request/response details
Options
--admin — bypass scope restrictions for write/delete
--version [date], version [date] — use a specific spec version
--help, -h, help — inspect endpoint instead of executingbrowsetagshelpexecutedetailcurl -s https://raw.githubusercontent.com/clerk/openapi-specs/main/bapi/${version_name} | node scripts/extract-tags.jsbrowsehelpexecutedetailcurl -s https://raw.githubusercontent.com/clerk/openapi-specs/main/bapi/${version_name} | bash scripts/extract-tag-endpoints.sh "${tag_name}"executedetailhelpbrowseexecutecurl -s https://raw.githubusercontent.com/clerk/openapi-specs/main/bapi/${version_name} | bash scripts/extract-endpoint-detail.sh "${path}" "${method}"${path}/users/{user_id}${method}getdetailexecuteexecutebash scripts/execute-request.sh [--admin] ${METHOD} "${path}" ['${body_json}']--admin${METHOD}${path}/users/user_abc123${body_json}