Skip to main content

Doclayer CLI

PyPI version Python 3.11+

The official Doclayer Command-Line Interface for interacting with the Doclayer document intelligence platform.

Installation

macOS

pip3 install --user doclayer-cli

Note: If doclayer command is not found after install, add ~/Library/Python/3.11/bin to your PATH.

Linux / Windows

pip install doclayer-cli

Quick Start

# Authenticate with your Doclayer account
doclayer auth login

# Process a document
doclayer ingest file invoice.pdf --project proj_123 --wait

# List available agents
doclayer agent list --category contracts

# Check billing usage
doclayer billing usage

Features

  • Complete Command Set: All Doclayer operations via CLI
  • Batch Ingestion: Process multiple documents with resume capability
  • Rich Output: Beautiful terminal formatting
  • Profile Management: Multiple environment profiles support
  • Secure Authentication: API key and OAuth support

Commands

Command Description
auth Authentication (login, logout, API keys)
agent Agent template management
billing Usage tracking and billing
model Model configuration
project Project management
document Document operations
workflow Workflow management
search Vector and graph search
template Template gallery
config Configuration management
ingest Batch ingestion workflows
status Job monitoring and verification

Configuration

The CLI stores configuration in ~/.doclayer/:

~/.doclayer/
└── config.json      # Configuration and profile settings

Sensitive credentials (API keys, tokens) are stored in ~/.doclayer/config.json on macOS, or in your system's keyring on Linux/Windows.

Credential Storage

Platform Default Storage Override
macOS Config file DOCLAYER_USE_KEYRING=1 to use Keychain
Linux System keyring DOCLAYER_NO_KEYRING=1 to use config file
Windows System keyring DOCLAYER_NO_KEYRING=1 to use config file

Note: On macOS, the system Keychain prompts for password on every CLI command, so we use file-based storage by default for better UX.

Environment Variables

Variable Description
DOCLAYER_API_KEY API key for authentication
DOCLAYER_BASE_URL Custom API endpoint (default: https://api.doclayer.ai)
DOCLAYER_PROFILE Active profile name
DOCLAYER_TOKEN Authentication token
DOCLAYER_NO_KEYRING Set to 1 to disable system keyring (Linux/Windows)
DOCLAYER_USE_KEYRING Set to 1 to enable system keyring (macOS)
DOCLAYER_VERBOSE Enable verbose output

Requirements

  • Python 3.11 or higher
  • pip or pipx

Documentation

Support

License

Copyright © 2024-2025 Doclayer. All Rights Reserved.

This software is proprietary and confidential. Unauthorized copying, modification, distribution, or use of this software, via any medium, is strictly prohibited.

See the LICENSE file for full terms.

Metadata

Release files for doclayer-cli 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doclayer-cli 1.2.1
File Size Uploaded Provenance
doclayer_cli-1.2.1.tar.gz 39.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for doclayer-cli 1.2.1
File Interpreter ABI Platform
doclayer_cli-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 89.7 kB

Release files / doclayer_cli-1.2.1.tar.gz

Download URL doclayer_cli-1.2.1.tar.gz
Size 39.5 kB
Tags Source
SHA-256 checksum
How to use checksums
39522f464f8a485957870b17db8c72a3086d0ab51e2611a7abb1a9c8ec14b978
BLAKE2b-256 checksum
How to use checksums
c42313649ff05212411d95ab8a4ed1422be81b31677c92fd2ab713992d772f6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / doclayer_cli-1.2.1-py3-none-any.whl

Download URL doclayer_cli-1.2.1-py3-none-any.whl
Size 50.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5adaa0c86efcf24f1ee6507cae01ce52aab38309446479fdbdcd3f4550a04c3
BLAKE2b-256 checksum
How to use checksums
26360bb074b5ab1554a9b1c9ade52cf08bff23506285a854de58cae28dc68ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for doclayer-cli 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page