Skip to content
Storage

Storage API Clients

The client libraries for working with Keboola Storage from Python, PHP, R or the command line, and which one to pick.

Rather than calling the Storage API over HTTP yourself, use a client library. Each one handles authentication, multipart uploads, and the asynchronous import/export jobs for you, so you do not have to manage CSV staging by hand.

ClientUse it when
Python clientYou are writing Python — in a transformation, a data app, or your own tooling. This is the client to reach for by default.
PHP clientYou are writing PHP, or you need the most complete API coverage.
Docker CLI clientYou want to import or export from a shell script and have Docker available, without installing a language runtime.
R clientYou are working in R. Note this client is in limited maintenance — prefer the Python or PHP client for new work.

All four clients talk to the same API, so anything one of them can do, you can also do with a direct API call. See Storage API for the API itself, and the Storage API Importer service for a simpler import-only endpoint.

Every client authenticates with a Storage API token, passed in the X-StorageApi-Token header. Create the token in your project settings and give it only the buckets it needs — tokens are scoped per project and per stack, and a token from one stack will not work against another.

Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.