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

Get data connection

GET
/v1/data-connections/:id
GET
/v1/data-connections/:id
$curl https://api.runtype.com/v1/data-connections/id \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "data": {
3 "id": "dc_9f8b7a6c5d4e3f21",
4 "name": "Salesforce Production",
5 "type": "salesforce",
6 "status": "active",
7 "createdAt": "2024-05-10T09:15:00Z",
8 "lastSyncedAt": "2024-06-01T12:00:00Z",
9 "config": {
10 "instanceUrl": "https://login.salesforce.com",
11 "apiVersion": "v52.0",
12 "connectedUser": "admin@example.com"
13 }
14 }
15}
Get a single data connection by ID.
Was this page helpful?
Previous

Delete data connection

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Response

Connection details
dataobject

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error