curl "https://api.crewship.dev/v1/tables?limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"tables": [
{
"id": "tbl_abc123xyz789",
"name": "leads",
"description": "Sales pipeline leads",
"columns": [
{ "name": "company", "type": "text", "required": true },
{ "name": "score", "type": "number", "required": false }
],
"row_count": 42,
"created_at": "2024-01-15T10:35:00Z",
"updated_at": "2024-01-20T08:12:00Z"
}
]
}
Tables
List Tables
List data tables for the authenticated organization
GET
/
v1
/
tables
curl "https://api.crewship.dev/v1/tables?limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"tables": [
{
"id": "tbl_abc123xyz789",
"name": "leads",
"description": "Sales pipeline leads",
"columns": [
{ "name": "company", "type": "text", "required": true },
{ "name": "score", "type": "number", "required": false }
],
"row_count": 42,
"created_at": "2024-01-15T10:35:00Z",
"updated_at": "2024-01-20T08:12:00Z"
}
]
}
Query Parameters
number
default:"50"
Number of tables to return (max 1000)
number
default:"0"
Number of tables to skip
Response
array
Array of tables in the organization
string
Table ID (e.g.,
tbl_abc123xyz789)string
Table name
string
Optional table description
array
Column definitions for the table
number
Number of rows in the table
string
ISO 8601 timestamp
string
ISO 8601 timestamp
curl "https://api.crewship.dev/v1/tables?limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"tables": [
{
"id": "tbl_abc123xyz789",
"name": "leads",
"description": "Sales pipeline leads",
"columns": [
{ "name": "company", "type": "text", "required": true },
{ "name": "score", "type": "number", "required": false }
],
"row_count": 42,
"created_at": "2024-01-15T10:35:00Z",
"updated_at": "2024-01-20T08:12:00Z"
}
]
}