Authorizations
Query Parameters
The decoded_content
is provided as an extra attribute that shows content in decoded form.
Response
200 - application/vnd.api+json
Success
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.user_data.get_users_data(extra_fields_user_data="decoded_content")
# Handle response
print(res)
{
"data": [
{
"id": "ud_l0MoLqJGD57pY",
"type": "user_data",
"attributes": {
"description": "Two butter croissants of your choice (plain, almond or cheese). With a side of herb butter or house-made hazelnut spread.",
"content": "R3Jhbm55IFNtaXRoIGFwcGxlcyBtaXhlZCB3aXRoIGJyb3duIHN1Z2FyIGFuZCBidXR0ZXIgZmlsbGluZywgaW4gYSBmbGFreSBhbGwtYnV0dGVyIGNydXN0LCB3aXRoIGljZSBjcmVhbS4=",
"created_at": "2025-07-16T18:37:12+00:00",
"updated_at": "2025-07-16T18:37:12+00:00",
"decoded_content": "Granny Smith apples mixed with brown sugar and butter filling, in a flaky all-butter crust, with ice cream."
}
}
],
"meta": {}
}
List all Users Data in the project. These scripts can be used to configure servers with user data.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.user_data.get_users_data(extra_fields_user_data="decoded_content")
# Handle response
print(res)
{
"data": [
{
"id": "ud_l0MoLqJGD57pY",
"type": "user_data",
"attributes": {
"description": "Two butter croissants of your choice (plain, almond or cheese). With a side of herb butter or house-made hazelnut spread.",
"content": "R3Jhbm55IFNtaXRoIGFwcGxlcyBtaXhlZCB3aXRoIGJyb3duIHN1Z2FyIGFuZCBidXR0ZXIgZmlsbGluZywgaW4gYSBmbGFreSBhbGwtYnV0dGVyIGNydXN0LCB3aXRoIGljZSBjcmVhbS4=",
"created_at": "2025-07-16T18:37:12+00:00",
"updated_at": "2025-07-16T18:37:12+00:00",
"decoded_content": "Granny Smith apples mixed with brown sugar and butter filling, in a flaky all-butter crust, with ice cream."
}
}
],
"meta": {}
}
The decoded_content
is provided as an extra attribute that shows content in decoded form.
Success
Show child attributes
Was this page helpful?