JSPM

  • Created
  • Published
  • Downloads 439
  • Score
    100M100P100Q97461F
  • License MIT

TypeScript SDK for GPT Core Admin API - Platform administration and ISV management

Package Exports

  • @gpt-core/admin
  • @gpt-core/admin/dist/index.js
  • @gpt-core/admin/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gpt-core/admin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@gpt-core/admin

The official TypeScript Admin SDK for the GPT Core Platform. Intended for backend services and internal tools only.

Installation

npm install @gpt-core/admin

Quick Start

import { GptAdmin } from '@gpt-core/admin';

const admin = new GptAdmin({
  baseUrl: 'https://api.gpt-core.com/admin',
  apiKey: 'your-secret-admin-key'
});

// Check System Health
const stats = await admin.storage.stats();
console.log('Total Storage Used:', stats.total_bytes);

Domains

Storage Management

Monitor storage usage across tenants.

await admin.storage.stats();

Webhooks

Manage functionality of webhooks system-wide.

await admin.webhooks.stats();
await admin.webhooks.bulkEnable(['config-1', 'config-2']);

Agents

Import/Export Agent configurations.

const dump = await admin.agents.export('agent-id');
await admin.agents.import(dump);