API Reference
List Reports
GET
List generated reports and their metadata. Results are paginated, with links to the first, next, previous and last pages.
cursor?stringAn opaque pagination cursor.
page?integerThe page number, starting at 1.
Range
1 <= value <= 9007199254740991perPage?integerThe number of reports per page.
Range
1 <= value <= 1000Default
100x-api-key?stringAn API key issued by AgriWebb. Send this or authorization.
A page of the reports the credential can access, newest first. links.next is the next page, and null on the last page.
application/json- response
data*array<|||||||||>meta*links*curl -X GET "https://example.com/v2/report"{ "data": [ { "type": "animal-load-by-paddock.v1", "tenantType": "farm", "tenantId": "string", "reportingPeriodStart": 0, "reportingPeriodEnd": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "pending", "creationDate": 0, "lastModifiedDate": 0 } ], "meta": { "total": 0, "currentPage": 0, "perPage": 0, "totalPages": 0, "cursor": "string" }, "links": { "first": "https://api.agriwebb.com/v2/report?cursor={cursor}", "next": "https://api.agriwebb.com/v2/report?cursor={cursor}&page={page}", "prev": null, "last": "https://api.agriwebb.com/v2/report?cursor={cursor}&page={totalPages}", "download": "https://api.agriwebb.com/v2/report/{id}" }}