Browse the extensions reference

reports

returns ReportList

List report definitions for this graph, newest first.

Arguments

NameTypeDescription
lifecycleReportLifecycle! = CURRENTCURRENT (the default) leaves out archived reports, ARCHIVED returns only those, ALL returns every report.

Returns ReportList

List of report header summaries (used by report list reads).

FieldTypeDescription
reports[Report!]!Report definitions, newest first.

Example

query
{ reports(lifecycle: "...") }
curl
curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ reports(lifecycle: \"...\") }"}'