Workspace API
Search Projects
Search the projects you have saved in your workspace with POST /workspace/projects/search.
POST https://api.parcelengineering.com/api/v1/workspace/projects/searchThis endpoint searches only the projects you have saved and annotated in your workspace (your book), not the global Parcel dataset. It does not accept view_id. For Dynamic or Static View execution over the broader Projects browse base, use POST /workspace/views/{id}/records/search. To find new projects to track, use the Data API projects search first, then upsert them into your workspace.
A request from a non-member receives 403 forbidden.
Query parameters
| Parameter | Description |
|---|---|
workspace_id | Attribution. Required when authenticating with a user JWT (for example, via the MCP server). Optional for API keys. Omitting it on a user-token request returns 400 bad_request. |
Request body
All fields are optional. An empty body returns the first 25 projects sorted by updated_at descending.
| Field | Type | Default | Description |
|---|---|---|---|
query | string (min 1) | (none) | Full-text search term matched against project name. |
where | object | (none) | The condition: rules of { field, operator, value } in and / or groups. See Filtering with where and the fields for projects. A body with the old filters key is a 400. |
sort.field | string | updated_at | Sort field. Must be a valid sort key (see below). Required when sort is present. |
sort.order | asc | desc | desc | Sort direction. |
limit | integer 1..100 | 25 | Records per page. |
offset | integer 0..10000 | 0 | Zero-based record offset for pagination. |
search_after | string | (none) | Opaque keyset cursor from the previous response’s metadata.search_after. Pass it to fetch the next page. |
Sort keys
| Valid sort fields | Default |
|---|---|
updated_at, last_signal_at, name, created_at, signals_count, atlas_score | updated_at (desc) |
Sorting by signals_count, or filtering on a signal field, keeps the count inside your plan’s signal history window.
Example
curl -X POST https://api.parcelengineering.com/api/v1/workspace/projects/search \ -H "Authorization: Bearer pcl_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "where": { "combinator": "and", "rules": [ { "field": "stage", "operator": "in", "value": ["under_construction"] }, { "field": "state", "operator": "in", "value": ["MA"] }, { "field": "last_signal", "operator": "withinLast", "value": { "amount": 3, "unit": "months" } } ] }, "sort": { "field": "last_signal_at", "order": "desc" }, "limit": 25 }'const response = await fetch( 'https://api.parcelengineering.com/api/v1/workspace/projects/search', { method: 'POST', headers: { 'Authorization': 'Bearer pcl_your_api_key', 'Content-Type': 'application/json', }, body: JSON.stringify({ where: { combinator: 'and', rules: [ { field: 'stage', operator: 'in', value: ['under_construction'] }, { field: 'state', operator: 'in', value: ['MA'] }, { field: 'last_signal', operator: 'withinLast', value: { amount: 3, unit: 'months' } }, ], }, sort: { field: 'last_signal_at', order: 'desc' }, limit: 25, }), });
const { data, metadata } = await response.json();Response
{ "data": [ { "id": "7b2e4d1f-0001-4c8e-af6b-000000000001", "name": "100 Seaport Boulevard", "city": "Boston", "state": "MA", "stage": "under_construction", "primary_use": "mixed_use", "residential_units": 120, "gross_floor_area_sf": 180000, "cost_of_construction_usd": 42000000, "stories": 9, "parking_spaces": 40, "gc_status": "unknown", "last_signal_at": "2026-06-01T00:00:00Z", "workspace_status": "watching", "notes": "GC bid due Q3", "tags": ["seaport", "mixed-use"], "atlas_score": 77, "scores": { "atlas": { "score": 77, "bucket": "priority", "matched": ["market", "sector", "stage", "size", "active"] } } } ], "metadata": { "total": 11, "total_is_capped": false, "limit": 25, "offset": 0, "search_after": null, "credits": 5.5 }}The data array is trimmed to one record above. A page returning 11 projects costs up to 5.50 credits.
Metadata fields
| Field | Description |
|---|---|
total | Match count, capped at 1,000. When more than 1,000 projects match, total reports 1000 and total_is_capped is true. |
total_is_capped | true when the actual count exceeds the cap. |
limit | Page size, echoed back from the request. |
offset | Echoed back from the request, or 0 when paging with search_after. |
search_after | Opaque cursor for the next page, or null on the last page. |
credits | Credits this request charged: the records in it your workspace had not taken out in the last 30 days. |
Each project costs credits when your workspace takes it out (0.50 credits) and is free to take out again for 30 days. See Credits.