Workspace API
Endpoints
Workspace API operations for accounts, projects, contacts, Views, Favorites, Skills, Knowledge, and workspace meta reads.
Ordinary account, contact, and project searches remain your book. Broader Dynamic/Static View execution uses POST /workspace/views/{id}/records/search. See Workspace Views. Skills use the action-named /workspace/skills/* family. See Workspace Skills. Knowledge uses /workspace/knowledge/*. See Workspace Knowledge.
Workspace meta reads return plan and usage information for the calling workspace. They cost 0 credits and never throttle.
| Operation | Method + path | Credits |
|---|---|---|
| Get workspace info | GET /workspace | 0 |
| Get credits | GET /workspace/credits | 0 |
| Get started rewards | GET /workspace/rewards | 0 |
The Workspace API also exposes four operations for each of its three datasets: accounts, projects, and contacts. Two are reads and two are writes. All share the { data, metadata } response envelope.
| Operation | Method + path | Credits |
|---|---|---|
| Search accounts | POST /workspace/accounts/search | 0.10 per firm returned |
| Get an account | GET /workspace/accounts/{id} | 0.10 |
| Upsert account | POST /workspace/accounts/upsert | 0 |
| Delete account | DELETE /workspace/accounts/{id} | 0 |
| Batch upsert accounts | POST /workspace/accounts/upsert/batch | 0 |
| Batch delete accounts | POST /workspace/accounts/delete/batch | 0 |
| Search projects | POST /workspace/projects/search | 0.50 per project returned |
| Get a project | GET /workspace/projects/{id} | 0.50 |
| Upsert project | POST /workspace/projects/upsert | 0 |
| Delete project | DELETE /workspace/projects/{id} | 0 |
| Batch upsert projects | POST /workspace/projects/upsert/batch | 0 |
| Batch delete projects | POST /workspace/projects/delete/batch | 0 |
| Search contacts | POST /workspace/contacts/search | 0.05 per contact returned |
| Get a contact | GET /workspace/contacts/{id} | 0.05 |
| Upsert contact | POST /workspace/contacts/upsert | 0 |
| Delete contact | DELETE /workspace/contacts/{id} | 0 |
| Batch upsert contacts | POST /workspace/contacts/upsert/batch | 0 |
| Batch delete contacts | POST /workspace/contacts/delete/batch | 0 |
A read charges each record it returns, included records too, the first time your workspace takes it out; reading it again within 30 days is free. See Credits.
Shared Views and personal Favorites:
| Operation | Method + path | Credits |
|---|---|---|
| List Views | GET /workspace/views | 0 |
| Get a View | GET /workspace/views/{id} | 0 |
| Upsert View | POST /workspace/views/upsert | 0 |
| Batch upsert Views | POST /workspace/views/upsert/batch | 0 |
| Delete a View | DELETE /workspace/views/{id} | 0 |
| Batch delete Views | POST /workspace/views/delete/batch | 0 |
| Add View records | POST /workspace/views/{id}/records/add | 0 |
| Batch add View records | POST /workspace/views/{id}/records/add/batch | 0 |
| Remove a View record | DELETE /workspace/views/{id}/records/{recordId} | 0 |
| Batch remove View records | POST /workspace/views/{id}/records/delete/batch | 0 |
| Search View records | POST /workspace/views/{id}/records/search | As the dataset’s search |
| List Favorite Views | GET /workspace/favorite-views | 0 (user JWT) |
| Upsert Favorite View | POST /workspace/favorite-views/upsert | 0 (user JWT) |
| Batch upsert Favorites | POST /workspace/favorite-views/upsert/batch | 0 (user JWT) |
| Delete a Favorite | DELETE /workspace/favorite-views/{viewId} | 0 (user JWT) |
| Batch delete Favorites | POST /workspace/favorite-views/delete/batch | 0 (user JWT) |
| Follow a record | POST /workspace/follow | 0 |
| Batch follow | POST /workspace/follow/batch | 0 |
| Unfollow a record | POST /workspace/unfollow | 0 |
| Batch unfollow | POST /workspace/unfollow/batch | 0 |
| Follow status | GET /workspace/follow/status | 0 |
| Read Home | GET /workspace/home | 0 |
| Mark a Home row seen | POST /workspace/home/seen | 0 (user JWT) |
| Batch mark seen | POST /workspace/home/seen/batch | 0 (user JWT) |
| Mark everything seen | POST /workspace/home/seen-all | 0 (user JWT) |
| Mark a Home row unseen | POST /workspace/home/unseen | 0 (user JWT) |
| Batch mark unseen | POST /workspace/home/unseen/batch | 0 (user JWT) |
| Dismiss a Home row | POST /workspace/home/dismiss | 0 (user JWT) |
| Batch dismiss | POST /workspace/home/dismiss/batch | 0 (user JWT) |
| Dismiss everything | POST /workspace/home/dismiss-all | 0 (user JWT) |
| Your daily email preference | GET / PUT /workspace/notification-preferences | 0 (user JWT) |
| List scores | GET /workspace/scores | 0 |
| Read a score | GET /workspace/scores/{key} | 0 |
| Replace a score | PUT /workspace/scores/{key} | 0 (owner or admin) |
| Preview criteria | POST /workspace/scores/{key}/preview | 0 |
| Seed the three scores | POST /workspace/scores/seed | 0 (owner or admin) |
Batch writes accept 1-100 records per call and return per-item results in input order. One record failing never aborts the rest. See Batch writes for the shared request and response shapes.
Skills are portable instruction bundles. Every Skills route costs 0 credits. Reads return { data, metadata: { credits: 0 } }. Writes return a content-free receipt. Each write has a /batch sibling.
| Operation | Method + path | Credits |
|---|---|---|
| Find skills | POST /workspace/skills/find | 0 |
| List skills | POST /workspace/skills/list | 0 |
| Get a skill | POST /workspace/skills/get | 0 |
| Get a skill file | POST /workspace/skills/get-file | 0 |
| List skill revisions | POST /workspace/skills/revisions | 0 |
| Create a skill | POST /workspace/skills/create | 0 |
| Batch create skills | POST /workspace/skills/create/batch | 0 |
| Update a skill draft | POST /workspace/skills/update | 0 |
| Batch update skill drafts | POST /workspace/skills/update/batch | 0 |
| Publish a skill | POST /workspace/skills/publish | 0 |
| Batch publish skills | POST /workspace/skills/publish/batch | 0 |
| Unpublish a skill | POST /workspace/skills/unpublish | 0 |
| Batch unpublish skills | POST /workspace/skills/unpublish/batch | 0 |
| Delete a skill | POST /workspace/skills/delete | 0 |
| Batch delete skills | POST /workspace/skills/delete/batch | 0 |
| Transfer a skill | POST /workspace/skills/transfer | 0 |
| Batch transfer skills | POST /workspace/skills/transfer/batch | 0 |
| Move a skill | POST /workspace/skills/move | 0 |
| Batch move skills | POST /workspace/skills/move/batch | 0 |
| Fork a skill | POST /workspace/skills/fork | 0 |
| Batch fork skills | POST /workspace/skills/fork/batch | 0 |
| Install an official skill | POST /workspace/skills/install | 0 |
| Batch install official skills | POST /workspace/skills/install/batch | 0 |
| Uninstall an official skill | POST /workspace/skills/uninstall | 0 |
| Batch uninstall official skills | POST /workspace/skills/uninstall/batch | 0 |
Knowledge is the workspace’s own reference pages and files, which Spec searches and cites. Every Knowledge route costs 0 credits.
| Operation | Method + path | Credits |
|---|---|---|
| Find knowledge, or list pages | POST /workspace/knowledge/find | 0 |
| Read a page or section | GET /workspace/knowledge/pages/{page} | 0 |
| Read a section by its id | GET /workspace/knowledge/sections/{section} | 0 |
| List a page’s revisions | GET /workspace/knowledge/pages/{page}/revisions | 0 |
| Read a revision | GET /workspace/knowledge/pages/{page}/revisions/{revision} | 0 |
| Manage a page | POST /workspace/knowledge/pages/manage | 0 |
| Batch manage pages | POST /workspace/knowledge/pages/manage/batch | 0 |
| Delete an archived page for good | POST /workspace/knowledge/pages/purge | 0 |
| Batch delete archived pages for good | POST /workspace/knowledge/pages/purge/batch | 0 |
| Upload a file | POST /workspace/knowledge/files | 0 |
| Batch upload files | POST /workspace/knowledge/files/batch | 0 |
| Read a file’s markdown | GET /workspace/knowledge/files/{id} | 0 |
| Download a file | GET /workspace/knowledge/files/{id}/download | 0 |
| Convert a file again | POST /workspace/knowledge/files/retry | 0 |
| Batch convert files again | POST /workspace/knowledge/files/retry/batch | 0 |
| Remove a file | POST /workspace/knowledge/files/remove | 0 |
| Batch remove files | POST /workspace/knowledge/files/remove/batch | 0 |
Memory is what Spec keeps about how you (me) and your workspace (workspace) work. Each memory is one setting, so there are no batch routes.
| Operation | Method + path | Credits |
|---|---|---|
| Read a memory | GET /workspace/memory/{scope} | 0 |
| Replace a memory | PUT /workspace/memory/{scope} | 0 |
| List a memory’s revisions | GET /workspace/memory/{scope}/revisions | 0 |
| Read a revision | GET /workspace/memory/{scope}/revisions/{revision} | 0 |
| Restore a revision | POST /workspace/memory/{scope}/revisions/{revision}/restore | 0 |
Signal subscriptions are workspace configuration, not a dataset. They control which signal types the workspace tracks and how alerts are delivered.
| Operation | Method + path | Credits |
|---|---|---|
| List subscriptions | GET /workspace/signal-subscriptions | 0 |
| Upsert subscription | POST /workspace/signal-subscriptions/upsert | 0 |
| Delete subscription | DELETE /workspace/signal-subscriptions/{id} | 0 |
Members and invitations are workspace administration, not a dataset. They let you inspect and manage who has access to the workspace and invite new team members.
| Operation | Method + path | Credits |
|---|---|---|
| List members | GET /workspace/members | 0 |
| Update a member | PATCH /workspace/members/{userId} | 0 |
| Remove a member | DELETE /workspace/members/{userId} | 0 |
| Invite a user | POST /workspace/invitations | 0 |
| List invitations | GET /workspace/invitations | 0 |
| Revoke an invitation | DELETE /workspace/invitations/{id} | 0 |
Shared response envelope
Every response wraps its payload in a { data, metadata } envelope, matching the Data API shape. Search responses include pagination fields; get, upsert, and delete responses include only credits.
Upsert match rules
Upsert endpoints accept either an explicit UUID or a natural-key match to identify the target record. The available match strategies differ by entity:
- Accounts accept
account_id(UUID) ormatch: { domain }. - Contacts accept
contact_id(UUID) ormatch: { email }. - Projects accept
project_id(UUID) only. Projects have no natural key.
When using a natural-key match (domain for accounts, email for contacts):
| Matches | Result |
|---|---|
| Exactly 1 record | Upsert proceeds |
| 0 records | 404 not_found |
| More than 1 record | 409 ambiguous_match (use the explicit UUID instead) |
Partial update semantics
Upsert applies partial updates to your workspace’s custom fields:
- Omitted fields are left unchanged. You can update
workspace_statuswithout touchingnotesortags. - Explicit
nullclears a field. Sending"notes": nullremoves the existing note. tagsis full-replace. Sending"tags": ["boston"]replaces the entire tag set. To clear all tags, send"tags": [].
Metering
Book searches and gets, plus View-record search, charge each Parcel record they return (project 0.50, firm 0.10, contact 0.05 credits), which is then free to take out again for 30 days. View definition reads (list/get Views), Favorite reads and writes, View upsert/delete, membership add/remove, book upserts/deletes, and every Skills route cost 0 credits. See Credits.