Authorizations
Path Parameters
Query Parameters
The decoded_content
is provided as an extra attribute that shows content in decoded form.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.user_data.get_user_data(user_data_id="ud_7vYAZqGBdMQ94", extra_fields_user_data="decoded_content")
# Handle response
print(res)
{
"data": {
"id": "ud_1Qkm7dXzD8nZV",
"type": "user_data",
"attributes": {
"description": "Breaded fried chicken with waffles, and a side of maple syrup.",
"content": "QnJlYWRlZCBmcmllZCBjaGlja2VuIHdpdGggd2FmZmxlcywgYW5kIGEgc2lkZSBvZiBtYXBsZSBzeXJ1cC4=",
"created_at": "2025-07-16T18:37:12+00:00",
"updated_at": "2025-07-16T18:37:12+00:00",
"decoded_content": "Breaded fried chicken with waffles, and a side of maple syrup."
}
},
"meta": {}
}
Get User 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_user_data(user_data_id="ud_7vYAZqGBdMQ94", extra_fields_user_data="decoded_content")
# Handle response
print(res)
{
"data": {
"id": "ud_1Qkm7dXzD8nZV",
"type": "user_data",
"attributes": {
"description": "Breaded fried chicken with waffles, and a side of maple syrup.",
"content": "QnJlYWRlZCBmcmllZCBjaGlja2VuIHdpdGggd2FmZmxlcywgYW5kIGEgc2lkZSBvZiBtYXBsZSBzeXJ1cC4=",
"created_at": "2025-07-16T18:37:12+00:00",
"updated_at": "2025-07-16T18:37:12+00:00",
"decoded_content": "Breaded fried chicken with waffles, and a side of maple syrup."
}
},
"meta": {}
}
The decoded_content
is provided as an extra attribute that shows content in decoded form.
Was this page helpful?