Onchain

Download Asynchronous Blockchain SQL Results

Returns the retained complete result as the standard JSON data envelope or as a CSV attachment. Results are available for 24 hours and are isolated to the authenticated tenant or user.

get/gateway/v1/onchain/sql/jobs/{job_id}/results

Request

  • Base URL
    https://api.asksurf.ai
  • Auth
    HTTP bearer

Path parameters

job_idstring uuid required

Asynchronous SQL job identifier

Query parameters

format'json' | 'csv'

Result representation

Response

Completed SQL job result

$schemastring uri

A URL to the JSON Schema for this object.

dataobject[] nullable required

Example response

{
  "$schema": "https://example.com/schemas/DataResponseOnchainRow.json"
}

Changes

No recorded changes to this operation across all 12 revisions of this API.