curl --request GET \
--url https://api.extruct.ai/v1/tables/{table_id}/data \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"kind": "generic",
"notify": false,
"settings": {
"exclude_from_search": false
},
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"kind": "input",
"name": "<string>",
"key": "<string>"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"status": {
"num_rows": 0,
"num_output_columns": 0,
"num_input_columns": 0,
"num_cells_completed": 0,
"num_cells_in_progress": 0,
"num_columns": 123,
"run_status": "running"
},
"rows": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"is_missing_inputs": true,
"parent_row_id": "<string>",
"data": {},
"metadata": {},
"parent_data": {}
}
],
"discovery_tasks": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "created",
"query": "<string>",
"desired_num_results": 123,
"is_exhausted": false,
"num_results": 123,
"discovered_num_results": 123,
"num_search_results": 123,
"discovered_num_search_results": 123,
"table_id": "<string>"
}
]
}
Get table data with streaming response to handle large tables.
curl --request GET \
--url https://api.extruct.ai/v1/tables/{table_id}/data \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"kind": "generic",
"notify": false,
"settings": {
"exclude_from_search": false
},
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"kind": "input",
"name": "<string>",
"key": "<string>"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"status": {
"num_rows": 0,
"num_output_columns": 0,
"num_input_columns": 0,
"num_cells_completed": 0,
"num_cells_in_progress": 0,
"num_columns": 123,
"run_status": "running"
},
"rows": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"is_missing_inputs": true,
"parent_row_id": "<string>",
"data": {},
"metadata": {},
"parent_data": {}
}
],
"discovery_tasks": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "created",
"query": "<string>",
"desired_num_results": 123,
"is_exhausted": false,
"num_results": 123,
"discovered_num_results": 123,
"num_search_results": 123,
"discovered_num_search_results": 123,
"table_id": "<string>"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.