Skip to main content

When to use

  • Download a deployed use case from the platform
  • Restore a previously deployed use case to local files
  • Inspect what documents are stored for a project
  • Pull the latest deployed version locally

Prerequisites

  • codika CLI installed and authenticated
  • Project ID of the deployed use case

Resolving the project ID

The CLI requires a project ID, not a folder path. If the user provides a use case folder path instead, read project.json from that folder to get the projectId:

Command

Arguments

Options

Behavior

Download mode (default):
  1. Fetches metadata documents from the API
  2. Decodes file content
  3. Writes files to the output directory
List mode (--list):
  1. Fetches document listing only
  2. Displays file paths, sizes, and content types
  3. Does not download any files

Examples

Output

Download mode

List mode

Exit codes