Skip to main content
GET
/
v4
/
application-schemas
Python
import os
from scale_gp import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
application_schema = client.application_schemas.retrieve(
    version="OFFLINE",
)
print(application_schema)
{}

Authorizations

x-api-key
string
header
required

Query Parameters

version
enum<string>
required

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.

Available options:
OFFLINE,
V0,
AGENTS_SERVICE

Response

Successful Response

{key}
ApplicationNodeSchemaRegistryRecord · object