For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList data connections
      • POSTCreate connect session
      • POSTSync connections
      • GETGet data connection
      • DELDelete data connection
      • PATCHUpdate connection status
      • GETList connection tools
Dashboard
LogoLogo
Runtype APIData Connections

Sync connections

POST
/v1/data-connections/sync
POST
/v1/data-connections/sync
$curl -X POST https://api.runtype.com/v1/data-connections/sync \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "data": {
3 "connectionId": "conn_8f3a2b7d",
4 "status": "synced",
5 "syncedAt": "2024-06-10T15:45:00Z",
6 "details": {
7 "totalConnections": 12,
8 "newConnections": 3,
9 "updatedConnections": 9
10 }
11 }
12}
Sync connections from StackOne into the local DB. Called by the dashboard after the Connect popup closes.
Was this page helpful?
Previous

Get data connection

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Response

Sync result
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error