# OpenLattice principal API

**Canonical:** https://apis.io/apis/openlattice/openlattice-principal-api/  
**Provider:** OpenLattice — https://apis.io/providers/openlattice/  
**Base URL:** https://api.openlattice.com  
**Documentation:** https://github.com/openlattice/api

OpenLattice principal API is one of 7 APIs that [OpenLattice](https://apis.io/providers/openlattice/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include principal. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

The principal API from OpenLattice — 5 operation(s) for principal.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/datastore/principals/users/search/email/"{emailAddress}"` | Get the user id for the given email address. |
| GET | `/datastore/principals/users/{userId}` | Get the user for the given id. |
| GET | `/datastore/principals/db` | Get the db access credentials. |
| GET | `/datastore/principals/users/` | Get all users. |
| GET | `/datastore/principals/roles/current/` | Get current roles. |

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/openlattice/refs/heads/main/openapi/openlattice-principal-api-openapi.yml
- **APIReference** — https://github.com/openlattice/api

## Other OpenLattice APIs (6)

- [OpenLattice authorizations API](https://apis.io/apis/openlattice/openlattice-authorizations-api/)
- [OpenLattice data API](https://apis.io/apis/openlattice/openlattice-data-api/)
- [OpenLattice edm API](https://apis.io/apis/openlattice/openlattice-edm-api/)
- [OpenLattice organizations API](https://apis.io/apis/openlattice/openlattice-organizations-api/)
- [OpenLattice permissions API](https://apis.io/apis/openlattice/openlattice-permissions-api/)
- [OpenLattice search API](https://apis.io/apis/openlattice/openlattice-search-api/)

## Tags

principal

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/openlattice/openlattice-principal-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/openlattice/.
