KosmoKrator

productivity

Paperspace CLI for CI

Use the Paperspace CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Paperspace 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 Paperspace CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Paperspace CLI for CI
kosmokrator integrations:configure paperspace --set access_token="$PAPERSPACE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call paperspace.paperspace_list_machines '{}' --json

Discovery Before Execution

Agents and scripts can inspect Paperspace docs and schemas before choosing a function.

kosmo integrations:docs paperspace --json
kosmo integrations:docs paperspace.paperspace_list_machines --json
kosmo integrations:schema paperspace.paperspace_list_machines --json
kosmo integrations:search "Paperspace" --json
kosmo integrations:list --json

Useful Paperspace CLI Functions

FunctionTypeParametersDescription
paperspace.paperspace_list_machines Read none List all GPU machines in the Paperspace account. Returns IDs, names, OS, machine type, state, and public IP address.
paperspace.paperspace_get_machine Read machine_id Get details for a specific Paperspace machine by ID. Returns full machine information including specs, state, and network configuration.
paperspace.paperspace_list_notebooks Read none List all Gradient notebooks in the Paperspace account. Returns notebook IDs, names, cluster, machine type, and state.
paperspace.paperspace_list_datasets Read none List all datasets in the Paperspace account. Returns dataset IDs, names, storage usage, and creation dates.
paperspace.paperspace_list_projects Read none List all Gradient projects in the Paperspace account. Returns project IDs, names, descriptions, and creation dates.
paperspace.paperspace_list_ssh_keys Read none List all SSH keys in the Paperspace account. Returns key IDs, names, and fingerprints.
paperspace.paperspace_get_current_user Read none Get information about the current authenticated Paperspace user, including email, user ID, and team membership.

Automation Notes

Related Paperspace CLI Pages