> For the complete documentation index, see [llms.txt](https://seg-fault.gitbook.io/researchs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seg-fault.gitbook.io/researchs/aws-cloud-security/hacking-s3/s3-api-calls.md).

# S3 API Calls

## S3 API Calls

Here are some popular S3 API calls and what they do :-

* `cp` : API call which allows you to download object from S3 bucket.
* `get-bucket-policy` : S3API based API call which prints out the bucket policy associated with the bucket.
* `ls` : API call that lists all the objects present in the S3 bucket.
* `list-objects` : S3API based API call which not only lists all the objects present in the S3 bucket, but also lists down the owner ID and various other details about the object
* `get-object-acl` : S3API based API call which prints out the ACL of the specified object of a S3 bucket.
* `get-object` :S3API based API call which not only downloads the object but also lists down various other information like meta-data associated with the object.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://seg-fault.gitbook.io/researchs/aws-cloud-security/hacking-s3/s3-api-calls.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
