Collection of data models, utilities, and clients used by and with our Platform API.
- Agents
- Service Accounts
- End Users
- Settings
-
Modules
- Enumerations
import {UpsertUserDto} from '@ampsec/platform-client'
async function testAgentApi() {
const agentApi = AmpApi.instance({
baseUrl: process.env.PLATFORM_API_URL,
token: process.env.PLATFORM_TOKEN,
})
const me = await agentApi.identity.me();
console.log(me);
}
async function testAgentApi() {
const sdk = AmpSdkServices.instance({
baseUrl: process.env.PLATFORM_API_URL,
token: process.env.PLATFORM_TOKEN,
})
const me = await agentApi.identity.me();
console.log(me);
}
See DEVELOPMENT.md