with SSLMate — Cert Spotter API and OpenRouter?
Returns a list of models available through the API. See the documentation
Send a chat completion request to a selected model. See the documentation
Send a completion request to a selected model (text-only format) See the documentation
The SSLMate — Cert Spotter API allows you to monitor SSL/TLS certificates across the web, catching potentially misissued certs and identifying certificates that could affect your domain security. By tapping into the API with Pipedream, you can automate alerts, integrate certificate data into security analyses, and streamline compliance checks by reacting to newly issued certificates in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sslmate_cert_spotter_api: {
type: "app",
app: "sslmate_cert_spotter_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.certspotter.com/v1/issuances`,
headers: {
Authorization: `Bearer ${this.sslmate_cert_spotter_api.$auth.api_key}`,
},
params: {
domain: `example.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openrouter: {
type: "app",
app: "openrouter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
headers: {
Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
},
params: {
provider: `OpenAI`,
},
})
},
})