DataTrails (formerly RKVST is an API-first platform to add provenance and verify the authenticity of any digital content.)
Emit new event when a new asset is created.
Emit new event for each new activity related to any asset within the platform. Note that event only emitted when it is created by the API or Pipedream DataTrails action: Create new Event.
Allows for the addition of a new asset into the RKVST system. See the documentation
Add or update a single record in your Pipedream Data Store.
Create a new event based on an asset. See the documentation
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
The DataTrails API, formerly known as RKVST, is designed to track the provenance and integrity of digital assets across their lifecycle. With this API, you can create an immutable record of actions, decisions, and processes that affect any asset, thereby providing an auditable trail. Leveraging Pipedream, you can automate workflows that require secure, verifiable, and traceable asset history. You can react to events in real-time, integrate with other services, and trigger actions based on asset changes or compliance checks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rkvst: {
type: "app",
app: "rkvst",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.datatrails.ai/archivist/v2/assets`,
headers: {
Authorization: `Bearer ${this.rkvst.$auth.oauth_access_token}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})