# 10. API Reference

The components of the API URL path help determine the part of the CouchDB server that is being accessed. The result is the structure of the URL request both identifies and effectively describes the area of the database you are accessing.

As with all URLs, the individual components are separated by a forward slash.

As a general rule, URL components and JSON fields starting with the `_` (underscore) character represent a special component or entity within the server or returned object. For example, the URL fragment `/_all_dbs` gets a list of all of the databases in a CouchDB instance.

This reference is structured according to the URL structure, as below.

- 10.1. API Basics
  - 10.1.1. Request Format and Responses
  - 10.1.2. HTTP Headers
  - 10.1.3. JSON Basics
  - 10.1.4. HTTP Status Codes
- 10.2. Server
  - 10.2.1. `/`
  - 10.2.2. `/_active_tasks`
  - 10.2.3. `/_all_dbs`
  - 10.2.4. `/_dbs_info`
  - 10.2.5. `/_cluster_setup`
  - 10.2.6. `/_db_updates`
  - 10.2.7. `/_membership`
  - 10.2.8. `/_replicate`
  - 10.2.9. `/_scheduler/jobs`
  - 10.2.10. `/_scheduler/docs`
  - 10.2.11. `/_node/{node-name}/_stats`
  - 10.2.12. `/_node/{node-name}/_system`
  - 10.2.13. `/_utils`
  - 10.2.14. `/_up`
  - 10.2.15. `/_uuids`
  - 10.2.16. `/favicon.ico`
  - 10.2.17. Authentication
  - 10.2.18. Configuration
- 10.3. Databases
  - 10.3.1. `/db`
  - 10.3.2. `/db/_all_docs`
  - 10.3.3. `/db/_design_docs`
  - 10.3.4. `/db/_bulk_get`
  - 10.3.5. `/db/_bulk_docs`
  - 10.3.6. `/db/_find`
  - 10.3.7. `/db/_index`
  - 10.3.8. `/db/_explain`
  - 10.3.9. `/db/_changes`
  - 10.3.10. `/db/_compact`
  - 10.3.11. `/db/_compact/design-doc`
  - 10.3.12. `/db/_ensure_full_commit`
  - 10.3.13. `/db/_view_cleanup`
  - 10.3.14. `/db/_security`
  - 10.3.15. `/db/_purge`
  - 10.3.16. `/db/_missing_revs`
  - 10.3.17. `/db/_revs_diff`
  - 10.3.18. `/db/_revs_limit`
- 10.4. Documents
  - 10.4.1. `/db/doc`
  - 10.4.2. `/db/doc/attachment`
- 10.5. Design Documents
  - 10.5.1. `/db/_design/design-doc`
  - 10.5.2. `/db/_design/design-doc/attachment`
  - 10.5.3. `/db/_design/design-doc/_info`
  - 10.5.4. `/db/_design/design-doc/_view/view-name`
  - 10.5.5. `/db/_design/design-doc/_show/show-name`
  - 10.5.6. `/db/_design/design-doc/_show/show-name/doc-id`
  - 10.5.7. `/db/_design/design-doc/_list/list-name/view-name`
  - 10.5.8. `/db/_design/design-doc/_list/list-name/other-ddoc/view-name`
  - 10.5.9. `/db/_design/design-doc/_update/update-name`
  - 10.5.10. `/db/_design/design-doc/_update/update-name/doc-id`
  - 10.5.11. `/db/_design/design-doc/_rewrite/path`
- 10.6. Local (non-replicating) Documents
- 10.7. `/db/_local_docs`
  - 10.7.1. `/db/_local/id`