Loading
GGX_LABS
DEVELOPER API / REFERENCE

Responses and errors

Understand the response envelope, request IDs, credits metadata, and common HTTP errors.

Success response

{ "success": true, "data": {}, "meta": { "requestId": "...", "creditsUsed": 1 } }

The common tool response envelope contains a success flag, returned data, and metadata such as the request ID and charge information when available.

Error response

{ "success": false, "error": { "code": "INVALID_IP", "message": "Invalid IP address" }, "requestId": "..." }

HTTP codes

HTTPMeaning
400Invalid request or input.
401Missing or invalid authentication.
402Insufficient API credits.
403Missing scope or required paid entitlement.
404Resource not found.
409Credit or state conflict.
429Rate limit exceeded.
500Unexpected server-side failure.
503Quota infrastructure unavailable.

Request IDs

API requests are associated with request IDs that are returned in normal responses and errors when available. Keep the request ID when contacting GGX Labs support about a failed request.