Homepage

remote_records

Last edit: Nov 10, 2026

Returns records fetched from a remote endpoint. Sends a GET request to the
endpoint with filter, sort, page and per_page as query parameters and expects
a JSON response shaped like a records collection. An endpoint on a domain of
this platform is rendered directly. Not available in requests sent by another
platformOS instance. A failed request is logged and returns no results.

remote_records(
  endpoint: Endpoint!
  filter: RecordsFilterInput
  page: Int = 1
  per_page: Int!
  sort: [RecordsSortInput!]
): RecordCollection!

Arguments

endpoint (Endpoint)

Endpoint that returns the records as JSON

filter (RecordsFilterInput)

Conditions the returned results must match. All conditions are combined with AND. Passed to the endpoint

page (Int)

Page number to return, starting at 1. Requesting a page beyond the last one returns an empty results list

per_page (Int)

Number of results per page, must be greater than 0

sort (RecordsSortInput)

Sort order passed to the endpoint

Type

RecordCollection

Page of records with pagination details

Questions?

We are always happy to help with any questions you may have.

contact us