import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const applicationSchema = await client.applicationSchemas.retrieve({ version: 'OFFLINE' });
console.log(applicationSchema);{}import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const applicationSchema = await client.applicationSchemas.retrieve({ version: 'OFFLINE' });
console.log(applicationSchema);{}An enum representing the version states of an application and its nodes' schemas. Attributes: V0: The initial version of an application schema. AGENTS_SERVICE: Application schema references egp_services definition. OFFLINE: Application schema for applications that do not run on SGP directly.
OFFLINE, V0, AGENTS_SERVICE Successful Response
Show child attributes