# S3 API

> The endpoint, the keys, the one line that changes in the AWS CLI, boto3 and rclone, and the S3 operations that are supported.

Source: https://docs.ramo.io/s3
Facts as of 2026-11-25. Every page of these docs, as Markdown: https://docs.ramo.io/llms.txt

Ramo speaks the S3 API. What changes is the endpoint and the keys. What stays is your client, your code and your bucket layout.

## Endpoints and keys

|  | Production | Free trial |
| --- | --- | --- |
| Endpoint | `https://s3.ramo.io` | Named in the signup response. `https://s3-trial.ramo.io` in the examples. |
| Reach | Public: your compute reaches it from any cloud. | Public. |
| Keys | Issued with access approval. | Returned once, by the signup call. |
| How to get it | [Request access](https://ramo.io/#request) | [One call](https://docs.ramo.io/trial.md) |

## The one line that changes

The same read, before and after.

**aws cli**

```diff
- aws s3 cp s3://training-corpus/00417.tar .
+ aws s3 cp s3://training-corpus/00417.tar . --endpoint-url https://s3.ramo.io
  # prints: download: s3://training-corpus/00417.tar to ./00417.tar
```

**boto3**

```diff
  import boto3
- s3 = boto3.client("s3")
+ s3 = boto3.client("s3", endpoint_url="https://s3.ramo.io")
  s3.download_file("training-corpus", "00417.tar", "00417.tar")
```

**rclone**

```diff
  # ramo = S3 remote at endpoint s3.ramo.io
- rclone copy s3:training-corpus ./corpus --progress
+ rclone copy ramo:training-corpus ./corpus --progress
```

The line marked + is the line you run. Ramo's egress charge for this read, and for every other, is $0.

## Store and read back

Each block runs on its own. The reads are the commands above, complete.

**aws cli**

```sh
aws s3 cp 00417.tar s3://training-corpus/ \
    --endpoint-url https://s3.ramo.io
```

**rclone**

```sh
# ramo = S3 remote at endpoint s3.ramo.io
rclone copy ./corpus ramo:training-corpus --transfers 64
```

**boto3**

```python
import boto3
s3 = boto3.client("s3", endpoint_url="https://s3.ramo.io")
s3.upload_file("00417.tar", "training-corpus", "00417.tar")
```

**aws cli**

```sh
aws s3 cp s3://training-corpus/00417.tar . \
    --endpoint-url https://s3.ramo.io
```

**rclone**

```sh
rclone copy ramo:training-corpus ./corpus --progress
```

**boto3**

```python
import boto3
s3 = boto3.client("s3", endpoint_url="https://s3.ramo.io")
s3.download_file("training-corpus", "00417.tar", "00417.tar")
```

## Stream into a job

A read does not have to land on disk first. This one unpacks an archive as it arrives, from whichever cloud the job runs in.

*read and unpack:*

```sh
# read from any cloud: $0 either way
aws s3 cp \
    s3://training-corpus/00417.tar - \
    --endpoint-url https://s3.ramo.io \
    | tar -xf - -C /data
```

## Send a directory

*aws cli:*

```sh
# a local directory into a bucket: the command you know, with the endpoint named
aws s3 sync ./corpus s3://training-corpus \
    --endpoint-url https://s3.ramo.io
```

To copy a bucket from another provider, use rclone: a sync between two buckets in the AWS CLI takes one endpoint for both. [The migration page](https://docs.ramo.io/migration.md) has the commands.

## Addressing and region

On the trial, path-style addressing is the supported and documented mode, and the examples set the profile's region to `us-east-1`. [The trial page](https://docs.ramo.io/trial.md#fill-a-dedicated-profile) has the four commands.

## Supported operations

The calls an object store is used for are all here: put, get, head, delete, list and multipart upload. A call marked partial reaches one storage node where a caller would expect all of them, and the note says what to use in its place.

**Objects**

| Operation | Request | Support | To know |
| --- | --- | --- | --- |
| PutObject | `PUT /<bucket>/<key>` | Supported | One request carries at most 5 GiB. Above that, use a multipart upload. |
| GetObject | `GET /<bucket>/<key>` | Supported |  |
| HeadObject | `HEAD /<bucket>/<key>` | Supported |  |
| DeleteObject | `DELETE /<bucket>/<key>` | Supported |  |
| DeleteObjects | `POST /<bucket>?delete` | Supported | The request body is at most 8 MiB. |
| CopyObject | `PUT with x-amz-copy-source` | Partial | Works only when the source and the destination are held by the same storage node, which a caller cannot choose. To copy dependably, read the object and write it. |

**Multipart uploads**

| Operation | Request | Support | To know |
| --- | --- | --- | --- |
| CreateMultipartUpload | `POST /<bucket>/<key>?uploads` | Supported |  |
| UploadPart | `PUT /<bucket>/<key>?uploadId=...&partNumber=...` | Supported | A part carries at most 5 GiB. |
| CompleteMultipartUpload | `POST /<bucket>/<key>?uploadId=...` | Supported |  |
| AbortMultipartUpload | `DELETE /<bucket>/<key>?uploadId=...` | Supported |  |
| ListParts | `GET /<bucket>/<key>?uploadId=...` | Supported |  |
| ListMultipartUploads | `GET /<bucket>?uploads` | Partial | Lists the uploads in progress on one storage node, not on all of them. |

**Buckets**

| Operation | Request | Support | To know |
| --- | --- | --- | --- |
| ListObjectsV2 | `GET /<bucket>?list-type=2` | Supported | Pages of at most 1,000 keys, with continuation tokens. A token belongs to the bucket, prefix and delimiter it was issued for. |
| ListObjects | `GET /<bucket>` | Supported | The first version of the call, paged with marker. |
| HeadBucket | `HEAD /<bucket>` | Partial | Answered by one storage node. A bucket made through the management API is on every node. |
| CreateBucket | `PUT /<bucket>` | Partial | Reaches one storage node. Create buckets through the management API, which creates them on every node. |
| DeleteBucket | `DELETE /<bucket>` | Partial | Reaches one storage node. Delete buckets through the management API. |

Read from the gateway's source on 2026-11-25. The same gateway answers the trial's endpoint and production's.

## Not supported

- **Presigned URLs**: A request signed in its query string is refused with 403 AccessDenied. The signature goes in the Authorization header.
- **Temporary credentials (STS)**: Requests are signed with the access key and secret key issued for the bucket.
- **Anonymous access**: Every request is signed.
- **Versioning and ListObjectVersions**: Versioning is not enabled on the storage, so there are no earlier versions to list or read.
- **Object Lock**: Not offered.
- **Bucket policies and bucket notifications**: Not set through the S3 API.
- **S3 Select**: Not offered.
- **S3 Batch Operations jobs**: DeleteObjects, above, is supported.

## Behaviour to know

- **Signing**: AWS Signature Version 4, in the Authorization header. Single-chunk and chunked upload signing both work.
- **Write once**: Ramo is built for datasets that are written once and read many times. Overwriting an object in place is outside that: a read after an overwrite can return the earlier copy, and a delete can leave one behind. Write new data under a new key.
- **429 SlowDown**: The answer when the gateway is at its limit of uploads in flight. Retry after a pause.

## Checking your own calls

The list says what the gateway answers. Whether your pipeline's own mix of calls runs clean is quickest to see on a [free trial](https://docs.ramo.io/trial.md), which takes one call to create and costs nothing.
