import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const applicationSchema = await client.applicationSchemas.retrieve({ version: 'OFFLINE' });
console.log(applicationSchema);
{}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
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
The response is of type object
.