> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/administration-1/overview.md).

# API Reference

Harness Open Source provides a comprehensive remote API for interacting with repositories, pipelines and more. This section of the documents provides instructions for authenticating and using the remote API.

Full API documentation is available at your Harness Open Source instance's `/swagger` endpoint. With Harness Open Source running locally, go to <http://localhost:3000/swagger>.

## Authorization

The remote API uses personal tokens to authorize requests. You can retrieve an personal token in the Harness Open Source user interface by navigating to your user profile.

Authorization to the API is performed using the HTTP Authorization header. Provide your token as the bearer token value.

* Example Header.

  ```
  Authorization: Bearer AKIAIOSFODNN7EXAMPLE
  ```
* Example Request.

  ```
  curl -X GET "http://localhost:8080/api/user" \
  -H "Authorization: Bearer AKIAIOSFODNN7EXAMPLE"
  ```
