Skip to main content
GET
/
api
/
v2
/
public
/
datastore
/
config
/
:slug
/
:datastore
/
records
curl -X GET "https://app.refold.ai/api/v2/public/datastore/config/{slug}/{datastore}/records" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
[
  { "id": "rec_001", "email": "jane@example.com", "stage": "qualified" },
  { "id": "rec_002", "email": "john@example.com", "stage": "new" }
]
Deprecated. Datastores are read-only views of data written by workflow executions. For API-managed tables you can create, write, and query directly, use Persistent Tables instead.
Return all records stored in a named datastore for an app’s config. The record shape depends on what the workflow wrote — each record is an arbitrary object.

Authentication

Datastores are scoped to a linked account via the linked_account_id header.
x-api-key
string
required
Your Refold API key.
linked_account_id
string
required
The linked account.

Path Parameters

slug
string
required
The app slug. Example: hubspot
datastore
string
required
The datastore name (from List Datastores).

Query Parameters

config_id
string
Config to read from. Defaults to the linked account ID.

Response

Returns an array of record objects. Fields vary by datastore.
[
  { "id": "rec_001", "email": "jane@example.com", "stage": "qualified" },
  { "id": "rec_002", "email": "john@example.com", "stage": "new" }
]
curl -X GET "https://app.refold.ai/api/v2/public/datastore/config/{slug}/{datastore}/records" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"