Predictions endpoints

Generated from the central API contract. Availability and permissions are checked by the connected service.

POST /v1/predictions

Prediction

Authorization: predictions:write Current resource access and role checks also apply.

MCP: predict_physics

Parameter

Location

Required

Type / values

idempotency-key

header

No

string or null

X-GD-Notify-URL

header

No

string or null

Request body: application/json — PredictionRequest. Required.

HTTP request pattern: replace path/query placeholders and prepare any body from the linked model. Run mutations only for your intended action; session-only endpoints need their application authentication context.

curl --fail-with-body --silent --show-error -X POST \
  -H "Authorization: Bearer $GD_API_KEY" \
  -H "idempotency-key: REPLACE_IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @request.json \
  "$GD_API_BASE/v1/predictions"

These are the response shapes declared by OpenAPI. Permission, validation, budget and service errors can also occur; see errors and recovery. An unconstrained JSON response is not a guarantee of undocumented fields.

POST /v1/predictions/validate

Validate Prediction

Authorization: predictions:write Current resource access and role checks also apply.

MCP: validate_prediction

Request body: application/json — PredictionRequest. Required.

HTTP request pattern: replace path/query placeholders and prepare any body from the linked model. Run mutations only for your intended action; session-only endpoints need their application authentication context.

curl --fail-with-body --silent --show-error -X POST \
  -H "Authorization: Bearer $GD_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @request.json \
  "$GD_API_BASE/v1/predictions/validate"

These are the response shapes declared by OpenAPI. Permission, validation, budget and service errors can also occur; see errors and recovery. An unconstrained JSON response is not a guarantee of undocumented fields.