dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
10 lines • 464 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.listAgentsByOpenAIKey = void 0;
const listAgentsByOpenAIKey = ({ httpClient }) => ({ key_uuid, page = 1, per_page = 25 }) => {
const url = `/gen-ai/openai/keys/${key_uuid}/agents`;
const params = { page, per_page };
return httpClient.get(url, { params });
};
exports.listAgentsByOpenAIKey = listAgentsByOpenAIKey;
//# sourceMappingURL=list-agents-by-openai-key.js.map