Specifying file paths

When running an app or deployment, you can use the input_dir parameter to specify a file path to an input folder in a connected drive. All files in the input folder are processed.

When specifying a file path in a connected drive, the format varies if you have a community or organization account.

  • Community account — /<USER-ID>/my-repo/fs/<DRIVE-NAME>/<FOLDER>/

  • Organization account — /<ORGANIZATION-ID>/<WORKSPACE>/fs/<DRIVE-NAME>/<FOLDER>/

ValueDescription
<USER-ID>Your user ID. You can find this on the Settings > APIs page, under User ID.
<ORGANIZATION-ID>Your organization ID. You can find this on the Settings > APIs page, under Organization ID.
<WORKSPACE>This value reflects the workspace name (shared workspaces) or your user ID (personal workspaces). You can find this value by selecting the workspace in Workspaces, then looking at the workspace query string in the URL.

For example:
• https://aihub.instabase.com/workspaces/create?workspace=New_Workspace
• https://aihub.instabase.com/workspaces/create?workspace=john.doe_gmail.com
<DRIVE-NAME>The drive’s display name. You can see a drive’s display name in by opening the Data Sources panel in a workspace where the drive is connected. For example, the Instabase Drive’s display name is Instabase Drive.
<FOLDER>The exact name of the folder, as displayed in the filesystem.