cURL
Python
JavaScript
PHP
Go
Java
curl --request GET \
--url https://api.{ gr4vy_id} .gr4vy.app/report-executions/{ report_execution_id} \
--header 'Authorization: Bearer <token>'
{
"type" : "report-execution" ,
"id" : "fe26475d-ec3e-4884-9553-f7356683f7f9" ,
"created_at" : "2013-07-16T19:23:00.000+00:00" ,
"updated_at" : "2013-07-16T19:23:00.000+00:00" ,
"status" : "succeeded" ,
"context" : {
"reference_timestamp" : "2013-07-16T19:23:00.000+00:00" ,
"reference_timezone" : "Europe/London"
} ,
"report" : {
"type" : "report" ,
"id" : "fe26475d-ec3e-4884-9553-f7356683f7f9" ,
"merchant_account_id" : "default" ,
"name" : "Failed Authorizations 042022" ,
"creator_id" : "bd5d40d1-913b-419c-bd62-84efc46e0026" ,
"creator_display_name" : "John Doe" ,
"creator_type" : "user"
}
}
This endpoint requires the reports.read
scope.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The unique ID for a report execution.
Returns a report execution.
The type of this resource. Is always report-execution
.
Available options:
report-execution
The unique identifier for this report execution.
The date and time this report execution was created in our system.
The date and time this report execution was last updated.
The status of this report execution.
Available options:
dispatched
,
failed
,
pending
,
processing
,
succeeded
Contains the context values used to compute the value of date-time
placeholders such as month_start
and month_end
if present in
the report's specification. Date-time placeholders are dynamic
timestamps that change with every report execution.
context. reference_timestamp
The date and time used by the system as a reference point to
compute date-time placeholders.
context. reference_timezone
The time zone used to compute date-time placeholders.
The report associated with this report execution.
The type of this resource. Is always report
.
Available options:
report
The unique identifier for this report.
report. merchant_account_id
The unique ID for a merchant account.
The unique identifier for the creator of this report.
report. creator_display_name
The name of the creator of this report.
Maximum length: 1000
The type of the creator of this report.
Available options:
user
,
private_key