AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 8.2This functionality is generally available and ready for production usage.Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Get a user's profile using the unique profile ID.
Note
The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.
Individual users and external applications should not call this API directly.
Elastic reserves the right to change or remove this feature in future releases without prior notice.
A comma-separated list of filters for the data field of the profile document.
To return all content use data=*.
To return a subset of content use data=<key> to retrieve content nested under the specified <key>.
By default returns no data content.
A successful call returns the JSON representation of the user profile and its internal versioning numbers.
The API returns an empty object if no profile document is found for the provided uid.
The content of the data field is not returned by default to avoid deserializing a potential large payload.
uidstringrequired
userobjectrequired
emailunionstringnullable
One of:string
full_nameunionstringnullable
realm_namestringrequired
realm_domainstring
rolesstring[]required
usernamestringrequired
datamapstring to objectrequired
labelsmapstring to objectrequired
enabledboolean
last_synchronizednumberrequired
_docobjectrequired
_primary_termnumberrequired
_seq_nonumberrequired
errorsobject
countnumberrequired
detailsmapstring to objectrequired
<string>object
typestringrequired
The type of error
reasonunionstringnullable
A human-readable explanation of the error, in English.
One of:string
stack_tracestring
The server stack trace. Present only if the error_trace=true parameter was sent with the request.