Peaka · Schema

ExportJobResponse

Status and result of an export job

CompanyData IntegrationAI-ReadyGovernanceAnalytics

Properties

Name Type Description
id string Export job id
status string Job status. EXPIRED is derived when the artifacts have been removed by the lifecycle rule; exports are point-in-time snapshots and are never regenerated.
format string Output format
compression string Output compression
rowCount integer Number of exported rows
bytes integer Total output size in bytes
durationMs integer Execution time in milliseconds
files array Downloadable artifacts (only for the owner of a SUCCEEDED job)
expiresAt string Expiry of the presigned URLs (ISO-8601); re-call GET for fresh links
downloadable boolean Whether the calling user may download this export (owner-only access)
error string Error message when the job failed
createdAt string Submission time (ISO-8601)
queryId string Source query id (query exports)
catalogId string Source catalog id (table exports)
schemaName string Source schema name (table exports)
tableName string Source table name (table exports)
source string Quoted, fully-qualified source name for display
userId string Initiator user id
userName string Initiator user name
apiKeyPrefix string Public prefix of the initiator's API key
clientSource string Client source (X-Trino-Source, falling back to User-Agent)
View JSON Schema on GitHub

JSON Schema

peaka-export-job-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peaka/main/json-schema/peaka-export-job-response-schema.json",
  "title": "ExportJobResponse",
  "description": "Status and result of an export job",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/peaka-api-openapi.json#/components/schemas/ExportJobResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Export job id"
    },
    "status": {
      "type": "string",
      "description": "Job status. EXPIRED is derived when the artifacts have been removed by the lifecycle rule; exports are point-in-time snapshots and are never regenerated.",
      "enum": [
        "PENDING",
        "RUNNING",
        "SUCCEEDED",
        "FAILED",
        "CANCELLED",
        "EXPIRED"
      ]
    },
    "format": {
      "type": "string",
      "description": "Output format"
    },
    "compression": {
      "type": "string",
      "description": "Output compression"
    },
    "rowCount": {
      "type": "integer",
      "description": "Number of exported rows",
      "format": "int64"
    },
    "bytes": {
      "type": "integer",
      "description": "Total output size in bytes",
      "format": "int64"
    },
    "durationMs": {
      "type": "integer",
      "description": "Execution time in milliseconds",
      "format": "int64"
    },
    "files": {
      "type": "array",
      "description": "Downloadable artifacts (only for the owner of a SUCCEEDED job)",
      "items": {
        "$ref": "#/$defs/ExportFile"
      }
    },
    "expiresAt": {
      "type": "string",
      "description": "Expiry of the presigned URLs (ISO-8601); re-call GET for fresh links"
    },
    "downloadable": {
      "type": "boolean",
      "description": "Whether the calling user may download this export (owner-only access)"
    },
    "error": {
      "type": "string",
      "description": "Error message when the job failed"
    },
    "createdAt": {
      "type": "string",
      "description": "Submission time (ISO-8601)"
    },
    "queryId": {
      "type": "string",
      "description": "Source query id (query exports)"
    },
    "catalogId": {
      "type": "string",
      "description": "Source catalog id (table exports)"
    },
    "schemaName": {
      "type": "string",
      "description": "Source schema name (table exports)"
    },
    "tableName": {
      "type": "string",
      "description": "Source table name (table exports)"
    },
    "source": {
      "type": "string",
      "description": "Quoted, fully-qualified source name for display"
    },
    "userId": {
      "type": "string",
      "description": "Initiator user id"
    },
    "userName": {
      "type": "string",
      "description": "Initiator user name"
    },
    "apiKeyPrefix": {
      "type": "string",
      "description": "Public prefix of the initiator's API key"
    },
    "clientSource": {
      "type": "string",
      "description": "Client source (X-Trino-Source, falling back to User-Agent)"
    }
  },
  "$defs": {
    "ExportFile": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "File name"
        },
        "url": {
          "type": "string",
          "description": "Presigned download URL (short-lived)"
        },
        "bytes": {
          "type": "integer",
          "description": "Object size in bytes",
          "format": "int64"
        }
      },
      "description": "A downloadable export artifact with a freshly-minted presigned URL"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/peaka-export-job-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.