curl --request GET \
--url https://api.bedrock.cv/blocks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "blk_01JABCD123",
"sheet_id": "sht_01JABCD123",
"type": "PLAN",
"uri": "gs://bedrock-files/projects/prj_01JABCD123/blocks/blk_01JABCD123.png",
"bounds": {
"x": 120,
"y": 80,
"width": 2400,
"height": 1800
},
"ocr": null,
"description": "First floor architectural plan",
"created_at": "2024-06-16T14:10:00Z"
}
],
"_meta": {
"next": "eyJpZCI6ImN1cnNvcl8xMjM0NTYiLCJjcmVhdGVkX2F0IjoiMjAyNC0wNi0xNVQxMDozMDowMFoifQ==",
"prev": null,
"limit": 1
}
}Retrieve all blocks from a sheet.
curl --request GET \
--url https://api.bedrock.cv/blocks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "blk_01JABCD123",
"sheet_id": "sht_01JABCD123",
"type": "PLAN",
"uri": "gs://bedrock-files/projects/prj_01JABCD123/blocks/blk_01JABCD123.png",
"bounds": {
"x": 120,
"y": 80,
"width": 2400,
"height": 1800
},
"ocr": null,
"description": "First floor architectural plan",
"created_at": "2024-06-16T14:10:00Z"
}
],
"_meta": {
"next": "eyJpZCI6ImN1cnNvcl8xMjM0NTYiLCJjcmVhdGVkX2F0IjoiMjAyNC0wNi0xNVQxMDozMDowMFoifQ==",
"prev": null,
"limit": 1
}
}API key prefixed with sk_. Example: Authorization: Bearer sk_xxx
API version
Pagination cursor
Number of items per page
1 <= x <= 100Filter by sheet