1. Grab your partner token
Tokens are scoped per organisation. Keep them secret—treat as you would any bearer credential.
Integrate Greenophy’s ESG substantiveness classifier into your workflows. Authenticate with partner tokens, send paragraphs for evaluation, and receive structured labels for clarity and compliance.
Follow the steps below to call the hosted substantiveness model. Helpers in Python are available, but the API works with any HTTPS client.
Tokens are scoped per organisation. Keep them secret—treat as you would any bearer credential.
/api/substantivenessSend paragraphs or multi-sentence disclosures in text. The server performs segmentation and returns JSON labels.
Results contain structured labels, confidence scores, and supporting detail. Persist the request_id for traceability.
X-API-Key headerAll requests require HTTPS with a partner token. Rated requests over limit return 429; invalid token returns 401.
Content-Type: application/jsonX-API-Key: <partner-token>https://greenophy-service-70959934638.europe-west1.run.app
All endpoints below should be appended to this base path.
Both classifiers accept JSON payloads with the same schema. The substantiveness model returns ESG-focused labels, while the generic variant provides baseline categories.
Description ESG substantiveness classifier used by supervisory teams. Highlights evidence-backed statements and flags vague language.
Description Neutral generic classifier for benchmarking or internal baselines where ESG-specific nuance is unnecessary.
Send a JSON object with disclosure text and optional metadata. The API trims whitespace and rejects empty inputs with 400.
request_id, total tokens, processing time.Use the Python client below to call the hosted service. You can also issue direct HTTPS POST requests if you prefer.
# pip install greenophy
from greenophy import SubstantivenessClient
# Hosted client defaults to the managed Greenophy endpoint
client = SubstantivenessClient(
api_key="YOUR_API_KEY_HERE", # Replace with your actual API key
timeout=120,
)
response = client.classify_esg_text(
"We transitioned 70% of our fleet to EVs in 2023."
)
for item in response["results"]:
print(f"{item['label_name']}: {item['sentence']}")
print("Quota remaining:", response["meta"]["quota_remaining"])
# Swap to classify_generic_text(...) for the neutral model
{
"results": [
{
"index": 0,
"sentence": "In 2023 we transitioned 70% of our fleet to EVs.",
"label": 1,
"label_name": "Concrete Actions"
}
],
"meta": {
"count": 1,
"processing_seconds": 0.41,
"source": "text",
"quota_remaining": 998
}
}
We monitor uptime and classification drift continuously. Reach out for access upgrades, incident response, or detailed audit logs.