papers-bot; the import is papers.
https://www.papers.bot; a custom base_url must omit /v1. Use the context manager or call close() to release the client.
Async client
Errors and retries
API errors raisePapersError with status, code, request_id, details, retryable, and retry_after_seconds. Network errors remain httpx exceptions.
The client does not automatically retry. For sends and number operations, reuse idempotency_key for the same action. Check get_operation(id) if a response is pending or unknown.