Skip to main content

Response Status Codes

Enigma’s GraphQL API returns the following HTTP response codes:

2XX Success Codes

Status CodeReason(s)
200 OKA successful request
202 AcceptedFor asynchronous requests. See here for more details

3XX Redirection Codes

Status CodeReason(s)
302 FoundResponses over 6 MB are delivered via HTTP 302 to a pre-signed AWS S3 URL (in the Location header). Many HTTP clients follow redirects automatically. You can also make a GET request to the provided URL.

4XX Client Error Codes

Status CodeReason(s)
400 Bad RequestRequest has invalid and/or unsupported input. Additional error message may be present in the body under errors
401 UnauthorizedRequest is missing the x-api-key request header or api key is invalid/disabled
402 Payment RequiredRequest encountered billing errors, such as insufficient credits. Add more credits through billing