productivity
Thinkific CLI for CI
Use the Thinkific CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Thinkific CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Thinkific CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Thinkific CLI for CI
kosmokrator integrations:configure thinkific --set api_key="$THINKIFIC_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call thinkific.thinkific_list_courses '{"limit":1,"page":1,"query":"example_query"}' --json Discovery Before Execution
Agents and scripts can inspect Thinkific docs and schemas before choosing a function.
kosmo integrations:docs thinkific --json
kosmo integrations:docs thinkific.thinkific_list_courses --json
kosmo integrations:schema thinkific.thinkific_list_courses --json
kosmo integrations:search "Thinkific" --json
kosmo integrations:list --json Useful Thinkific CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
thinkific.thinkific_list_courses | Read | limit, page, query | List courses in your Thinkific site. Returns course IDs, names, descriptions, and status. Supports pagination and search. |
thinkific.thinkific_get_course | Read | id | Get detailed information about a specific Thinkific course by its ID, including chapters, description, and pricing. |
thinkific.thinkific_create_course | Write | name, description, course_card_subtitle | Create a new course in Thinkific. Requires a course name. Optionally include a description and additional course settings. |
thinkific.thinkific_list_enrollments | Read | limit, page, course_id, user_id | List enrollments in your Thinkific site. Returns enrollment IDs, user info, course details, progress, and completion status. Supports pagination and filtering by course or user. |
thinkific.thinkific_get_enrollment | Read | id | Get detailed information about a specific Thinkific enrollment by its ID, including progress percentage, completion status, and associated course and user details. |
thinkific.thinkific_list_users | Read | limit, page, query | List users in your Thinkific site. Returns user IDs, names, emails, and status. Supports pagination and search. |
thinkific.thinkific_get_current_user | Read | none | Get the profile of the currently authenticated Thinkific user. Useful for verifying API credentials and identifying the connected account. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.