curl --request GET \
--url https://api.example.com/frames/{frame_id}/elements{
"data": [
{
"id": 123,
"frame_id": 123,
"source": "<string>",
"role": "<string>",
"text": "<string>",
"parent_id": 123,
"depth": 123,
"bounds": {
"left": 123,
"top": 123,
"width": 123,
"height": 123
},
"confidence": 123,
"sort_order": 123
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}Get all elements for a specific frame (full element tree).
curl --request GET \
--url https://api.example.com/frames/{frame_id}/elements{
"data": [
{
"id": 123,
"frame_id": 123,
"source": "<string>",
"role": "<string>",
"text": "<string>",
"parent_id": 123,
"depth": 123,
"bounds": {
"left": 123,
"top": 123,
"width": 123,
"height": 123
},
"confidence": 123,
"sort_order": 123
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}Was this page helpful?