List Schemas
GET
/workspaces/{slug}/schemas Returns schema families scoped by workspace.
Path Parameters
slug string required Query Parameters
page integer pageSize integer curl -X GET \
-H "x-api-key: dsk_your_api_key" \
https://api.tracore.io/workspaces/my-workspace/schemas import { TracoreClient } from '@tracore/sdk';
const client = new TracoreClient({ apiKey: 'dsk_your_api_key' });
const { data, total } = await client.schemas.list('my-workspace');
console.log(data); 200 Response
{
"total": 1,
"page": 1,
"pageSize": 20,
"data": [
{
"id": "ws_abc123",
"workspaceId": "ws_abc123",
"schemaKey": "invoice",
"name": "My Workspace",
"description": "Invoice processing workspace",
"latestVersionNumber": 1,
"createdAt": "2024-03-15T10:30:00Z",
"updatedAt": "2024-03-15T10:30:00Z"
}
]
}