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
)
response = client.applications.validate(
edges=[{
"from_field": "from_field",
"from_node": "from_node",
"to_field": "to_field",
"to_node": "to_node",
}],
nodes=[{
"id": "id",
"application_node_schema_id": "text_input_schema",
}],
version="V0",
)
print(response){
"errors": [
{
"error_code": "INVALID_APPLICATION_NO_INPUT_NODE",
"message": "<string>"
}
],
"sgp_error_code": "APPLICATION_BUILDER_VALIDATION_ERROR"
}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
)
response = client.applications.validate(
edges=[{
"from_field": "from_field",
"from_node": "from_node",
"to_field": "to_field",
"to_node": "to_node",
}],
nodes=[{
"id": "id",
"application_node_schema_id": "text_input_schema",
}],
version="V0",
)
print(response){
"errors": [
{
"error_code": "INVALID_APPLICATION_NO_INPUT_NODE",
"message": "<string>"
}
],
"sgp_error_code": "APPLICATION_BUILDER_VALIDATION_ERROR"
}Documentation Index
Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
Use this file to discover all available pages before exploring further.
List of nodes in the application graph
Show child attributes
List of edges in the application graph
Show child attributes
Version of the application schema
"V0"Execution override options for agentic applications
Show child attributes
Successful Response