HarborHarbor
DocumentationGuidesPlugins
All plugins

OpenAI API

OpenAI API for models, Responses, and embeddings

APICategory: aiPopularity 96openai_api

OpenAI API for models, Responses, and embeddings

Install

hrbr plugins install openai-api

Harbor calls https://api.openai.com/v1 (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await openai_api.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "openai-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.openai_api.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools openai-api

Or open the dashboard plugin page for the live tool list.