# Does SCYLLADB Support API or not and can we capture audit logs for REST API command also or not? Please give Some reference link regarding this

**URL:** <https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149>\
**Category:** ScyllaDB\
**Created:** [January 3, 2024, 5:21am UTC](https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149 "2024-01-03T05:21:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![subrato](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@subrato](https://forum.scylladb.com/u/subrato)\
**Post date:** [January 3, 2024, 5:21am UTC](https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149/1 "2024-01-03T05:21:06Z")

</div>

It is possible to Generate audit logs for REST API in SCYLLADB? Please mention reference link for The REST API and how many type of REST API it will support with Example how we can execute REST API in SCYLLADB?

---

<div class="post-metadata">

**Author:** ![bhalevy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/bhalevy/32/175_2.png) [@bhalevy](https://forum.scylladb.com/u/bhalevy)\
**Post date:** [January 7, 2024, 8:31am UTC](https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149/2 "2024-01-07T08:31:13Z")

</div>

Hello @subrato, ScyllaDB does have a REST API interface, for admin/support access.  
By default it is served on port 10000 on each node and typically it is not exposed publicly, so that one needs to first SSH into the node to access the API, so sshd audit logs can be considered instead for security purposes. As for the REST API calls themselves, many of them print a log message to the system log, but not all of them.

---

<div class="post-metadata">

**Author:** ![subrato](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@subrato](https://forum.scylladb.com/u/subrato)\
**Post date:** [January 7, 2024, 9:04am UTC](https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149/3 "2024-01-07T09:04:13Z")

</div>

Hello @bhalevy

Actually I am using SCYLLADB Enterprise trail In Amazon EC2 UBUNTU 22.04 and I want to know is it possible to Run REST API and generate audit logs in SCYLLA-AUDIT file where other DDL,DML,DCL,AUTH,ADMIN query audit log stored.

Could you please prove some reference url for this that’s would be helpful.

---

<div class="post-metadata">

**Author:** ![subrato](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@subrato](https://forum.scylladb.com/u/subrato)\
**Post date:** [January 7, 2024, 9:06am UTC](https://forum.scylladb.com/t/does-scylladb-support-api-or-not-and-can-we-capture-audit-logs-for-rest-api-command-also-or-not-please-give-some-reference-link-regarding-this/1149/4 "2024-01-07T09:06:15Z")

</div>

It would be really helpful for me if you can provide these details.
