import { WebApiSDK } from "@parable-platform/web-api-sdk";
const sdk = new WebApiSDK({
baseUrl: process.env.PARABLE_API_URL!,
auth: { token: process.env.PARABLE_API_TOKEN! },
requestInterceptor: (config) => ({
...config,
headers: { ...config.headers, "X-Tenant": process.env.PARABLE_WORKSPACE! },
}),
});
const query = {};
const result = await sdk.tenantConnectorTaps.tenantConnectorTap(
"example",
query
);import os
from parable_web_api_sdk import ClientConfig, WebApiSDK
sdk = WebApiSDK(
ClientConfig(
base_url=os.environ["PARABLE_API_URL"],
auth_token=os.environ["PARABLE_API_TOKEN"],
default_headers={"X-Tenant": os.environ["PARABLE_WORKSPACE"]},
)
)
result = sdk.tenant_connector_taps.tenant_connector_tap('example', field_limit=None, field_offset=None)use parable_web_api_sdk::{namespaces, ClientConfig, RequestOptions, WebApiSdk};
let sdk = WebApiSdk::new(ClientConfig::with_base_url(
std::env::var("PARABLE_API_URL")?,
Some(std::env::var("PARABLE_API_TOKEN")?),
None,
))?;
let options = RequestOptions::with_header("X-Tenant", std::env::var("PARABLE_WORKSPACE")?, None, None);
let query = namespaces::tenant_connector_taps::TenantConnectorTapQueryParams {
field_limit: None,
field_offset: None,
};
let result = sdk.tenant_connector_taps.tenant_connector_tap(
serde_json::from_value(serde_json::json!("example"))?,
Some(&query),
Some(&options)
).await?;sdk, err := webapisdk.New(webapisdk.SDKConfig{
BaseURL: os.Getenv("PARABLE_API_URL"),
Auth: &webapisdk.AuthConfig{Token: os.Getenv("PARABLE_API_TOKEN")},
RequestInterceptor: func(ctx context.Context, req *http.Request) error {
req.Header.Set("X-Tenant", os.Getenv("PARABLE_WORKSPACE"))
return nil
},
})
if err != nil {
return err
}
query := &namespaces.TenantConnectorTapsTenantConnectorTapQueryParams{}
result, err := sdk.TenantConnectorTapsNamespace.TenantConnectorTap(ctx, "example", query){
"data": {
"canonicalPersonSource": true,
"connectorTapId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"enabled": true,
"id": "<string>",
"kind": "override",
"name": "<string>",
"tenantConnectorId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"artifactId": "<string>",
"config": {
"access": {
"roles": [
"principals"
],
"defaultAudience": "source_users"
},
"catalogSlug": "<string>",
"materializedDefault": true,
"selectedFields": [
"<string>"
],
"source": {
"key": {
"columns": [
"<string>"
],
"syntheticField": "<string>"
},
"mode": "replicate",
"table": {
"database": "<string>",
"name": "<string>",
"schema": "<string>"
},
"cursorColumn": "<string>",
"dataKind": "snapshot",
"deduplicateAcrossLoads": true,
"deletionSemantics": "by_absence",
"maxWindowDays": 183,
"refreshLookbackDays": 4503599627370495
},
"storageUri": "<string>",
"systemDisabled": true
},
"description": "<string>",
"enabledSince": "2023-11-07T05:31:56Z",
"nextFieldOffset": 123,
"outputSchema": {}
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}Read a Tap
Returns one Tap on a Provider connection in this Workspace, with its outputSchema. The outputSchema of a large Provider can be more than 50,000 characters. With fieldLimit or fieldOffset, outputSchema holds one page of the fields of its types: at most fieldLimit fields, and fewer than 40,000 characters in the whole answer, but always one field. The fields of the root type come first, then those of each other type by name. A type is on each page that holds one of its fields. To read the next page, send nextFieldOffset as fieldOffset. The last page has no nextFieldOffset.
import { WebApiSDK } from "@parable-platform/web-api-sdk";
const sdk = new WebApiSDK({
baseUrl: process.env.PARABLE_API_URL!,
auth: { token: process.env.PARABLE_API_TOKEN! },
requestInterceptor: (config) => ({
...config,
headers: { ...config.headers, "X-Tenant": process.env.PARABLE_WORKSPACE! },
}),
});
const query = {};
const result = await sdk.tenantConnectorTaps.tenantConnectorTap(
"example",
query
);import os
from parable_web_api_sdk import ClientConfig, WebApiSDK
sdk = WebApiSDK(
ClientConfig(
base_url=os.environ["PARABLE_API_URL"],
auth_token=os.environ["PARABLE_API_TOKEN"],
default_headers={"X-Tenant": os.environ["PARABLE_WORKSPACE"]},
)
)
result = sdk.tenant_connector_taps.tenant_connector_tap('example', field_limit=None, field_offset=None)use parable_web_api_sdk::{namespaces, ClientConfig, RequestOptions, WebApiSdk};
let sdk = WebApiSdk::new(ClientConfig::with_base_url(
std::env::var("PARABLE_API_URL")?,
Some(std::env::var("PARABLE_API_TOKEN")?),
None,
))?;
let options = RequestOptions::with_header("X-Tenant", std::env::var("PARABLE_WORKSPACE")?, None, None);
let query = namespaces::tenant_connector_taps::TenantConnectorTapQueryParams {
field_limit: None,
field_offset: None,
};
let result = sdk.tenant_connector_taps.tenant_connector_tap(
serde_json::from_value(serde_json::json!("example"))?,
Some(&query),
Some(&options)
).await?;sdk, err := webapisdk.New(webapisdk.SDKConfig{
BaseURL: os.Getenv("PARABLE_API_URL"),
Auth: &webapisdk.AuthConfig{Token: os.Getenv("PARABLE_API_TOKEN")},
RequestInterceptor: func(ctx context.Context, req *http.Request) error {
req.Header.Set("X-Tenant", os.Getenv("PARABLE_WORKSPACE"))
return nil
},
})
if err != nil {
return err
}
query := &namespaces.TenantConnectorTapsTenantConnectorTapQueryParams{}
result, err := sdk.TenantConnectorTapsNamespace.TenantConnectorTap(ctx, "example", query){
"data": {
"canonicalPersonSource": true,
"connectorTapId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"enabled": true,
"id": "<string>",
"kind": "override",
"name": "<string>",
"tenantConnectorId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"artifactId": "<string>",
"config": {
"access": {
"roles": [
"principals"
],
"defaultAudience": "source_users"
},
"catalogSlug": "<string>",
"materializedDefault": true,
"selectedFields": [
"<string>"
],
"source": {
"key": {
"columns": [
"<string>"
],
"syntheticField": "<string>"
},
"mode": "replicate",
"table": {
"database": "<string>",
"name": "<string>",
"schema": "<string>"
},
"cursorColumn": "<string>",
"dataKind": "snapshot",
"deduplicateAcrossLoads": true,
"deletionSemantics": "by_absence",
"maxWindowDays": 183,
"refreshLookbackDays": 4503599627370495
},
"storageUri": "<string>",
"systemDisabled": true
},
"description": "<string>",
"enabledSince": "2023-11-07T05:31:56Z",
"nextFieldOffset": 123,
"outputSchema": {}
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}{
"detail": "<string>",
"status": 400,
"title": "Bad Request",
"type": "about:blank",
"code": "WA-VL-001",
"details": "<unknown>",
"errors": "<unknown>",
"requestId": "<string>"
}Read a Tap
read_tapAuthorizations
Headers
Path Parameters
Query Parameters
Response
Successful response
One Tap as the single Tap read answers it. The outputSchema of a large Provider can be more than an MCP host reads in one result. So a read that sends fieldLimit or fieldOffset gets one page of the fields of outputSchema, and nextFieldOffset names the next page. A read that sends neither gets every field, and its JSON is the TenantConnectorTapInfo JSON.
Show child attributes
Show child attributes
Was this page helpful?