The Most Flexible, Robust, Scale-able, Transactional, URL Shortening RESTful API.
Emit new event when a new batch is completed in OpenAI. See the documentation
Emit new event when a new file is created in OpenAI. See the documentation
Emit new event when a new fine-tuning job is created in OpenAI. See the documentation
Emit new event every time a run changes its status. See the documentation
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
Shortens a given long URL into an alias. If the alias name is not provided, the system generates one. If the domain input is not provided, it defaults to short.fyi. See the documentation
Summarizes text using the Chat API. See the documentation
Classify items into specific categories using the Chat API. See the documentation
Shorten.REST API on Pipedream allows you to automate URL shortening, expanding, and tracking within your custom workflows. With this API, you can create short, branded links programmatically, obtain detailed analytics on click-throughs, and manage your URLs efficiently, all within Pipedream's serverless platform. This enables seamless integration of URL management into your applications, marketing campaigns, or day-to-day tasks while leveraging various triggers and actions from other apps available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shorten_rest: {
type: "app",
app: "shorten_rest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shorten.rest/clicks`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.shorten_rest.$auth.api_key}`,
},
})
},
})
OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:
Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openai: {
type: "app",
app: "openai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openai.com/v1/models`,
headers: {
Authorization: `Bearer ${this.openai.$auth.api_key}`,
},
})
},
})