ServicesEnrichmentsHTTP APIUnknown

Read_version

GET
/api/enrichments/{enrichment_id}/versions/{version_id}

Read the Enrichment root and one exact immutable version.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

enrichment_id*string
Formatuuid
version_id*string
Formatuuid

Response Body

Success

application/json
  1. response
root*
version*
curl -X GET 'https://api.spiraldb.dev/api/enrichments/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "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"  },  "version": {    "coverage": {      "state": {        "canonicalPayload": "string",        "codec": "string",        "codecVersion": 0      }    },    "createdAtMicros": "string",    "definition": {      "dependencyFieldIds": [        "f5ef68f5-c063-41c4-be1a-4ba0825e4389"      ],      "outputDtype": {        "canonicalPayload": "string",        "codec": "string",        "codecVersion": 0      },      "producer": {        "canonicalPayload": "string",        "codec": "string",        "codecVersion": 0      },      "schemaVersion": 0    },    "enrichmentId": "5e78c3b0-175d-47fb-877d-0a88ecd2febb",    "nativeState": {      "backingVersionId": "4e402d7e-4655-4c60-a8e0-6384f44f7392",      "state": {        "canonicalPayload": "string",        "codec": "string",        "codecVersion": 0      }    },    "parentVersionId": "abf80970-9686-419e-bc00-5ddcccc33ba6",    "sourceProjectCommitId": "7e871134-f7a8-46fe-981d-b4a2bd87e3e7",    "sourceVersionId": "4714fe1f-7db8-4bef-886b-33f3d0113468",    "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"  }}