with Cincopa and Langfuse?
Emit new event when a new asset is uploaded. See the documentation
Emit new event when user feedback (score) is submitted on a trace in Langfuse. See the documentation
Emit new event when a new gallery is created. See the documentation
Emit new event when a new trace is recorded in Langfuse. See the documentation
Adds an asset or a list of assets to an existing gallery. See the documentation
Attach user feedback to an existing trace in Langfuse. See the documentation
Creates a new gallery, returning the new gallery FID (unique ID). See the documentation
Upload an asset from an input URL to a Cincopa gallery. See the documentation
The Cincopa API enables users to elevate their media content management by automating tasks and integrating with other services. With Cincopa, you can manipulate galleries, upload media, extract analytics, and manage your media assets in a programmatic way. When paired with Pipedream, this API becomes a powerhouse for creating seamless workflows that boost productivity and enhance content delivery, offering a rich set of triggers and actions to automate media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cincopa: {
type: "app",
app: "cincopa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cincopa.com/v2/ping.json`,
params: {
api_token: `${this.cincopa.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
langfuse: {
type: "app",
app: "langfuse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.langfuse.$auth.region}.langfuse.com/api/public/observations`,
auth: {
username: `${this.langfuse.$auth.public_key}`,
password: `${this.langfuse.$auth.secret_key}`,
},
})
},
})