PureCipher Data Lineage API

The Data Lineage API from PureCipher — 2 operation(s) for data lineage.

GitHub OpenAPI

Operations 2

POST /api/v1/lineage/record/ Create a Lineage Record #
POST /api/v1/lineage/retrieve/ Retrieve a Lineage Record #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/purecipher-com:purecipher-com-data-lineage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

purecipher-com-data-lineage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Omniseal™ API Documentation Data Lineage API
  version: '2.0'
tags:
- name: Data Lineage
paths:
  /api/v1/lineage/record/:
    post:
      tags:
      - Data Lineage
      summary: Create a Lineage Record
      description: Create a new lineage record that captures details such as data flow, relationships, and metadata for tracking and tracing data lineage within the system.
      operationId: create_lineage_record_api_v1_lineage_record__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineageRecord'
            examples:
              Curl:
                summary: Curl
                value:
                - curl -X POST "https://api.purecipher.com/lineage/record/" \
                - '-H "accept: application/json" \'
                - '-H "Content-Type: application/json" \'
                - -d '{"operation":"INSERT","timestamp":"2024-08-31T12:00:00Z","operator":"UserA","source":"TableA","destination":"TableB","description":"Inserting data"}'
              Python:
                summary: Python
                value:
                - import requests
                - import json
                - ''
                - data = {
                - '    "operation": "INSERT",'
                - '    "timestamp": "2024-08-31T12:00:00Z",'
                - '    "operator": "UserA",'
                - '    "source": "TableA",'
                - '    "destination": "TableB",'
                - '    "description": "Inserting data"'
                - '}'
                - ''
                - response = requests.post("https://api.purecipher.com/lineage/record/",
                - '                         headers={"Content-Type": "application/json"},'
                - '                         data=json.dumps(data))'
                - print(response.json())
              JavaScript (Node.js):
                summary: JavaScript (Node.js)
                value:
                - const https = require('https');
                - const data = JSON.stringify({
                - '  operation: ''INSERT'','
                - '  timestamp: ''2024-08-31T12:00:00Z'','
                - '  operator: ''UserA'','
                - '  source: ''TableA'','
                - '  destination: ''TableB'','
                - '  description: ''Inserting data'''
                - '});'
                - ''
                - const options = {
                - '  hostname: ''api.purecipher.com'','
                - '  path: ''/record/'','
                - '  method: ''POST'','
                - '  headers: {'
                - '    ''Content-Type'': ''application/json'','
                - '    ''Content-Length'': data.length'
                - '  }'
                - '};'
                - ''
                - const req = https.request(options, (res) => {
                - '  let body = '''';'
                - '  res.on(''data'', (chunk) => { body += chunk; });'
                - '  res.on(''end'', () => { console.log(JSON.parse(body)); });'
                - '});'
                - ''
                - req.on('error', (e) => { console.error(e); });
                - req.write(data);
                - req.end();
              Go:
                summary: Go
                value:
                - package main;
                - ''
                - import (
                - '    "bytes"'
                - '    "encoding/json"'
                - '    "fmt"'
                - '    "net/http"'
                - )
                - ''
                - func main() {
                - '    data := map[string]string{'
                - '        "operation":    "INSERT",'
                - '        "timestamp":    "2024-08-31T12:00:00Z",'
                - '        "operator":     "UserA",'
                - '        "source":       "TableA",'
                - '        "destination":  "TableB",'
                - '        "description":  "Inserting data",'
                - '    }'
                - ''
                - '    jsonData, _ := json.Marshal(data)'
                - '    resp, err := http.Post("https://api.purecipher.com/lineage/record/", "application/json", bytes.NewBuffer(jsonData))'
                - '    if err != nil {'
                - '        panic(err)'
                - '    }'
                - ''
                - '    defer resp.Body.Close()'
                - '    fmt.Println("Lineage record created successfully")'
                - '}'
              .NET (C#):
                summary: .NET (C#)
                value:
                - using System;
                - using System.Net.Http;
                - using System.Text;
                - using System.Threading.Tasks;
                - ''
                - class Program {
                - '    private static async Task Main() {'
                - '        var client = new HttpClient();'
                - '        var data = new {'
                - '            operation = "INSERT",'
                - '            timestamp = "2024-08-31T12:00:00Z",'
                - '            operator = "UserA",'
                - '            source = "TableA",'
                - '            destination = "TableB",'
                - '            description = "Inserting data"'
                - '        };'
                - ''
                - '        var content = new StringContent('
                - '            Newtonsoft.Json.JsonConvert.SerializeObject(data),'
                - '            Encoding.UTF8,'
                - '            "application/json"'
                - '        );'
                - ''
                - '        var response = await client.PostAsync("https://api.purecipher.com/lineage/record/", content);'
                - '        var result = await response.Content.ReadAsStringAsync();'
                - '        Console.WriteLine(result);'
                - '    }'
                - '}'
        required: true
      responses:
        '200':
          description: Successful Lineage Record Creation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateLineageRecordResponse'
                properties:
                  destination:
                    type: string
                    title: Destination
                type: object
                required:
                - destination
                title: CreateLineageRecordResponse
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Internal Server Error
        '400':
          description: Bad Request - Missing or invalid input
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: 'Missing required field: operation'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Invalid API key
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Permission denied
        '422':
          description: Unprocessable Entity - Invalid data format
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Invalid data format
        '503':
          description: Service Unavailable - Under maintenance or overloaded
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Service temporarily unavailable
  /api/v1/lineage/retrieve/:
    post:
      tags:
      - Data Lineage
      summary: Retrieve a Lineage Record
      description: Retrieve a lineage record based on the provided criteria. This allows users to query and access specific data lineage details, including data flow, relationships, and metadata for tracking and tracing purposes.
      operationId: retrieve_lineage_record_api_v1_lineage_retrieve__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineageRetrieve'
            examples:
              Curl:
                summary: Curl
                value:
                - curl -X POST "https://api.purecipher.com/lineage/retrieve/" \
                - '-H "accept: application/json" \'
                - '-H "Content-Type: application/json" \'
                - -d '{"DataId":"12345"}'
              Python:
                summary: Python
                value:
                - import requests
                - import json
                - ''
                - 'data = {"DataId": "12345"}'
                - ''
                - response = requests.post("https://api.purecipher.com/lineage/retrieve/",
                - '                         headers={"Content-Type": "application/json"},'
                - '                         data=json.dumps(data))'
                - print(response.json())
              JavaScript (Node.js):
                summary: JavaScript (Node.js)
                value:
                - const https = require('https');
                - const data = JSON.stringify({
                - '  DataId: ''12345'''
                - '});'
                - ''
                - const options = {
                - '  hostname: ''api.purecipher.com'','
                - '  path: ''/retrieve/'','
                - '  method: ''POST'','
                - '  headers: {'
                - '    ''Content-Type'': ''application/json'','
                - '    ''Content-Length'': data.length'
                - '  }'
                - '};'
                - ''
                - const req = https.request(options, (res) => {
                - '  let body = '''';'
                - '  res.on(''data'', (chunk) => { body += chunk; });'
                - '  res.on(''end'', () => { console.log(JSON.parse(body)); });'
                - '});'
                - ''
                - req.on('error', (e) => { console.error(e); });
                - req.write(data);
                - req.end();
              Go:
                summary: Go
                value:
                - package main;
                - ''
                - import (
                - '    "bytes"'
                - '    "encoding/json"'
                - '    "fmt"'
                - '    "net/http"'
                - )
                - ''
                - func main() {
                - '    data := map[string]string{'
                - '        "DataId": "12345",'
                - '    }'
                - ''
                - '    jsonData, _ := json.Marshal(data)'
                - '    resp, err := http.Post("https://api.purecipher.com/lineage/retrieve/", "application/json", bytes.NewBuffer(jsonData))'
                - '    if err != nil {'
                - '        panic(err)'
                - '    }'
                - ''
                - '    defer resp.Body.Close()'
                - '    var result map[string]interface{}'
                - '    json.NewDecoder(resp.Body).Decode(&result)'
                - '    fmt.Println(result)'
                - '}'
              .NET (C#):
                summary: .NET (C#)
                value:
                - using System;
                - using System.Net.Http;
                - using System.Text;
                - using System.Threading.Tasks;
                - ''
                - class Program {
                - '    private static async Task Main() {'
                - '        var client = new HttpClient();'
                - '        var data = new {'
                - '            DataId = "12345"'
                - '        };'
                - ''
                - '        var content = new StringContent('
                - '            Newtonsoft.Json.JsonConvert.SerializeObject(data),'
                - '            Encoding.UTF8,'
                - '            "application/json"'
                - '        );'
                - ''
                - '        var response = await client.PostAsync("https://api.purecipher.com/lineage/retrieve/", content);'
                - '        var result = await response.Content.ReadAsStringAsync();'
                - '        Console.WriteLine(result);'
                - '    }'
                - '}'
        required: true
      responses:
        '200':
          description: Successful Lineage Record Retrieval
          content:
            application/json:
              schema:
                properties:
                  Details:
                    items:
                      properties:
                        operation:
                          type: string
                        timestamp:
                          type: string
                          format: date-time
                        operator:
                          type: string
                        source:
                          type: string
                        destination:
                          type: string
                        description:
                          type: string
                      type: object
                    type: array
                type: object
        '400':
          description: Bad Request - Missing or invalid DataId
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: 'Missing required field: DataId'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Invalid API key
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Permission denied
        '404':
          description: Not Found - Record not found
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Record not found
        '422':
          description: Unprocessable Entity - Invalid DataId format
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Invalid DataId format
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Internal Server Error
        '503':
          description: Service Unavailable - Under maintenance or overloaded
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
              example:
                detail: Service temporarily unavailable
components:
  schemas:
    CreateLineageRecordResponse:
      properties:
        destination:
          type: string
          title: Destination
      type: object
      required:
      - destination
      title: CreateLineageRecordResponse
    LineageRecord:
      properties:
        operation:
          type: string
          title: Operation
          description: The operation performed on the data.
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: The timestamp of when the operation was performed.
        operator:
          type: string
          title: Operator
          description: The operator responsible for the operation.
        source:
          type: string
          title: Source
          description: The source data involved in the operation.
        destination:
          type: string
          title: Destination
          description: The destination of the data after the operation.
        description:
          type: string
          title: Description
          description: A brief description of the operation.
      type: object
      required:
      - operation
      - timestamp
      - operator
      - source
      - destination
      - description
      title: LineageRecord
    LineageRetrieve:
      properties:
        DataId:
          type: string
          title: Dataid
          description: The unique ID of the data for which lineage is to be retrieved.
      type: object
      required:
      - DataId
      title: LineageRetrieve
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: api_token
x-tagGroups:
- name: General
  tags:
  - Registration
  - Health and Readiness
- name: Release 3
  tags:
  - Audio
  - Video
- name: Release 2
  tags:
  - Unified API
  - Edix12
  - Data Lineage
  - Data Provenance
  - Base64
- name: Release 1
  tags:
  - Signature
  - Encryption
  - Hash
  - Steganography