PureCipher Data Provenance API
The Data Provenance API from PureCipher — 2 operation(s) for data provenance.
The Data Provenance API from PureCipher — 2 operation(s) for data provenance.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/purecipher-com:purecipher-com-data-provenance-api"
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.
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: 3.2.0
info:
title: Omniseal™ API Documentation Data Provenance API
version: '2.0'
tags:
- name: Data Provenance
paths:
/api/v1/provenance/insert/:
post:
tags:
- Data Provenance
summary: Create a Provenance Record
description: Create a new provenance record to track the origin, history, and ownership of data. This helps establish data authenticity and allows users to trace the data's lifecycle.
operationId: create_lineage_record_api_v1_provenance_insert__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProvenanceRecord'
examples:
Curl:
summary: Curl
value:
- curl -X POST "https://api.purecipher.com/provenance/insert/" \
- '-H "accept: application/json" \'
- '-H "Content-Type: application/json" \'
- -d '{"origin":"SourceA","received_by":"ReceiverB","date_recorded":"2024-08-31T12:00:00Z","protocol":"HTTP","format":"JSON","description":"Data transfer"}'
Python:
summary: Python
value:
- import requests
- import json
- ''
- data = {
- ' "origin": "TableA",'
- ' "received_by": "ReceiverA",'
- ' "date_recorded": "2024-08-31T12:00:00Z",'
- ' "protocol": "HTTP",'
- ' "format": "JSON",'
- ' "description": "Data transfer"'
- '}'
- ''
- response = requests.post("https://api.purecipher.com/provenance/insert/",
- ' 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({
- ' origin: ''SourceA'','
- ' received_by: ''ReceiverB'','
- ' date_recorded: ''2024-08-31T12:00:00Z'','
- ' protocol: ''HTTP'','
- ' format: ''JSON'','
- ' description: ''Data transfer'''
- '});'
- ''
- const options = {
- ' hostname: ''api.purecipher.com'','
- ' path: ''/insert/'','
- ' 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{'
- ' "origin": "SourceA",'
- ' "received_by": "ReceiverB",'
- ' "date_recorded": "2024-08-31T12:00:00Z",'
- ' "protocol": "HTTP",'
- ' "format": "JSON",'
- ' "description": "Data transfer",'
- ' }'
- ''
- ' jsonData, _ := json.Marshal(data)'
- ' resp, err := http.Post("https://api.purecipher.com/provenance/insert/", "application/json", bytes.NewBuffer(jsonData))'
- ' if err != nil {'
- ' panic(err)'
- ' }'
- ''
- ' defer resp.Body.Close()'
- ' fmt.Println("Provenance 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 {'
- ' origin = "SourceA",'
- ' received_by = "ReceiverB",'
- ' date_recorded = "2024-08-31T12:00:00Z",'
- ' protocol = "HTTP",'
- ' format = "JSON",'
- ' description = "Data transfer"'
- ' };'
- ''
- ' var content = new StringContent('
- ' Newtonsoft.Json.JsonConvert.SerializeObject(data),'
- ' Encoding.UTF8,'
- ' "application/json"'
- ' );'
- ''
- ' var response = await client.PostAsync("https://api.purecipher.com/provenance/insert/", content);'
- ' var result = await response.Content.ReadAsStringAsync();'
- ' Console.WriteLine(result);'
- ' }'
- '}'
required: true
responses:
'200':
description: Successful Provenance Record Creation
content:
application/json:
schema: {}
'500':
description: Internal Server Error
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: Internal Server Error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/provenance/verify/:
post:
tags:
- Data Provenance
summary: Verify a Provenance Record
description: Verify the provenance of a record based on the provided input. This endpoint retrieves and confirms the origin, history, and authenticity of data, ensuring its integrity throughout its lifecycle.
operationId: retrieve_provenance_record_api_v1_provenance_verify__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProvenanceRetrieve'
examples:
Curl:
summary: Curl
value:
- curl -X POST "https://api.purecipher.com/provenance/verify/" \
- '-H "accept: application/json" \'
- '-H "Content-Type: application/json" \'
- -d '{"DataId":"TableB"}'
Python:
summary: Python
value:
- import requests
- import json
- ''
- 'data = {"DataId": "12345"}'
- ''
- response = requests.post("https://api.purecipher.com/provenance/verify/",
- ' 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: ''/verify/'','
- ' 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/provenance/verify/", "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/provenance/verify/", content);'
- ' var result = await response.Content.ReadAsStringAsync();'
- ' Console.WriteLine(result);'
- ' }'
- '}'
required: true
responses:
'200':
description: Successful Provenance Record Verification
content:
application/json:
schema: {}
'500':
description: Internal Server Error
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: Internal Server Error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ProvenanceRecord:
properties:
origin:
type: string
minLength: 1
title: Origin
description: The origin of the data.
received_by:
type: string
minLength: 1
title: Received By
description: The entity that received the data.
date_recorded:
type: string
format: date-time
title: Date Recorded
description: The date when the provenance was recorded.
protocol:
type: string
minLength: 1
title: Protocol
description: The protocol used for data transfer.
format:
type: string
minLength: 1
title: Format
description: The format of the data.
description:
type: string
title: Description
description: Optional description of the provenance record.
type: object
required:
- origin
- received_by
- date_recorded
- protocol
- format
title: ProvenanceRecord
ProvenanceRetrieve:
properties:
DataId:
type: string
title: Dataid
description: The unique ID of the data for which provenance is to be verified.
type: object
required:
- DataId
title: ProvenanceRetrieve
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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