This API follows the same structure as Download Log as CSV.
Get a ZIP of JSON files from the API Call History of a Spark service. This is equivalent to the API Call History functionality to Download all API calls, Download as JSON.
Returns: status response with job_id of the requested job.
status
job_id
POST /{tenant}/api/v3/folders/{folder}/services/{service}/log/downloadjson
Returns: status response and download_url to download the ZIP file.
download_url
GET /{tenant}/api/v3/folders/{folder}/services/{service}/log/downloadjson/status/{jobId}
This API supports authorization via:
Bearer {token} accessible from Authorization - Bearer token or systematically via Client Credentials.
Bearer {token}
The request headers should include a key for Authorization with the value Bearer {token}.
Authorization
API key created from Authorization - API keys. The API key groups must contain User groups that are also assigned to Permissions - Features permissions Spark.DownloadJSONLog.json or Spark.AllEncompassingProxy.json.
Spark.DownloadJSONLog.json
Spark.AllEncompassingProxy.json
The request headers should include the keys x-synthetic-key and x-tenant-name with the values of the API key and tenant name respectively.
x-synthetic-key
x-tenant-name
Last updated 1 month ago