ServicesEnrichmentsHTTP APIUnknown

Create_enrichment

POST
/api/enrichments

Allocate an Enrichment root and private backing storage for its source Table.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
projectId*string
sourceTableId*string
Formatuuid

Response Body

Success

application/json
  1. response
root*
curl -X POST 'https://api.spiraldb.dev/api/enrichments' \  -H 'Content-Type: application/json' \  -d '{  "projectId": "string",  "sourceTableId": "723cf4fb-8dc0-42ce-a8e4-0a5e5fe04bea"}'
{  "root": {    "backingTableId": "3fc3c2cd-f7c0-4159-8824-29ab108b674c",    "createdAtMicros": "string",    "enrichmentId": "5e78c3b0-175d-47fb-877d-0a88ecd2febb",    "projectId": "string",    "rootUri": "string",    "sourceTableId": "723cf4fb-8dc0-42ce-a8e4-0a5e5fe04bea"  }}