client.appCategories.list() -> Pipedream.ListAppCategoriesResponse
-
-
-
Retrieve all available categories for integrated apps
-
-
-
await client.appCategories.list();
-
-
-
requestOptions:
AppCategoriesClient.RequestOptions
-
-
client.appCategories.retrieve(id) -> Pipedream.GetAppCategoryResponse
-
-
-
Get details of a specific app category by its ID
-
-
-
await client.appCategories.retrieve("id");
-
-
-
id:
string— The ID of the app category to retrieve
-
requestOptions:
AppCategoriesClient.RequestOptions
-
-
client.apps.list({ ...params }) -> core.Page<Pipedream.App, Pipedream.ListAppsResponse>
-
-
-
Retrieve all available apps with optional filtering and sorting
-
-
-
const pageableResponse = await client.apps.list({ after: "after", before: "before", limit: 1, q: "q", sortKey: "name", sortDirection: "asc", categoryIds: ["category_ids"], hasComponents: true, hasActions: true, hasTriggers: true }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.apps.list({ after: "after", before: "before", limit: 1, q: "q", sortKey: "name", sortDirection: "asc", categoryIds: ["category_ids"], hasComponents: true, hasActions: true, hasTriggers: true }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.AppsListRequest
-
requestOptions:
AppsClient.RequestOptions
-
-
client.apps.retrieve(app_id) -> Pipedream.GetAppResponse
-
-
-
Get detailed information about a specific app by ID or name slug
-
-
-
await client.apps.retrieve("app_id");
-
-
-
app_id:
string— The name slug or ID of the app (e.g., 'slack', 'github')
-
requestOptions:
AppsClient.RequestOptions
-
-
client.accounts.list({ ...params }) -> core.Page<Pipedream.Account, Pipedream.ListAccountsResponse>
-
-
-
Retrieve all connected accounts for the project with optional filtering
-
-
-
const pageableResponse = await client.accounts.list({ externalUserId: "external_user_id", oauthAppId: "oauth_app_id", after: "after", before: "before", limit: 1, app: "app", includeCredentials: true }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.accounts.list({ externalUserId: "external_user_id", oauthAppId: "oauth_app_id", after: "after", before: "before", limit: 1, app: "app", includeCredentials: true }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.AccountsListRequest
-
requestOptions:
AccountsClient.RequestOptions
-
-
client.accounts.create({ ...params }) -> Pipedream.Account
-
-
-
Connect a new account for an external user in the project
-
-
-
await client.accounts.create({ externalUserId: "external_user_id", oauthAppId: "oauth_app_id", appSlug: "app_slug", cfmapJson: "cfmap_json", connectToken: "connect_token" });
-
-
-
request:
Pipedream.CreateAccountOpts
-
requestOptions:
AccountsClient.RequestOptions
-
-
client.accounts.retrieve(account_id, { ...params }) -> Pipedream.Account
-
-
-
Get the details for a specific connected account
-
-
-
await client.accounts.retrieve("account_id", { includeCredentials: true });
-
-
-
account_id:
string
-
request:
Pipedream.AccountsRetrieveRequest
-
requestOptions:
AccountsClient.RequestOptions
-
-
client.accounts.delete(account_id) -> void
-
-
-
Remove a connected account and its associated credentials
-
-
-
await client.accounts.delete("account_id");
-
-
-
account_id:
string
-
requestOptions:
AccountsClient.RequestOptions
-
-
client.accounts.deleteByApp(app_id) -> void
-
-
-
Remove all connected accounts for a specific app
-
-
-
await client.accounts.deleteByApp("app_id");
-
-
-
app_id:
string
-
requestOptions:
AccountsClient.RequestOptions
-
-
client.users.deleteExternalUser(external_user_id) -> void
-
-
-
Remove an external user and all their associated accounts and resources
-
-
-
await client.users.deleteExternalUser("external_user_id");
-
-
-
external_user_id:
string
-
requestOptions:
UsersClient.RequestOptions
-
-
client.users.list({ ...params }) -> core.Page<Pipedream.ExternalUser, Pipedream.GetUsersResponse>
-
-
-
Retrieve all external users for the project
-
-
-
const pageableResponse = await client.users.list({ after: "after", before: "before", limit: 1, q: "q" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.users.list({ after: "after", before: "before", limit: 1, q: "q" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.UsersListRequest
-
requestOptions:
UsersClient.RequestOptions
-
-
client.components.list({ ...params }) -> core.Page<Pipedream.Component, Pipedream.GetComponentsResponse>
-
-
-
Retrieve available components with optional search and app filtering
-
-
-
const pageableResponse = await client.components.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public", componentType: "trigger" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.components.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public", componentType: "trigger" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.ComponentsListRequest
-
requestOptions:
ComponentsClient.RequestOptions
-
-
client.components.retrieve(component_id, { ...params }) -> Pipedream.GetComponentResponse
-
-
-
Get detailed configuration for a specific component by its key
-
-
-
await client.components.retrieve("component_id", { version: "1.2.3" });
-
-
-
component_id:
string— The key that uniquely identifies the component (e.g., 'slack-send-message')
-
request:
Pipedream.ComponentsRetrieveRequest
-
requestOptions:
ComponentsClient.RequestOptions
-
-
client.components.configureProp({ ...params }) -> Pipedream.ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a component
-
-
-
await client.components.configureProp({ id: "id", externalUserId: "external_user_id", propName: "prop_name" });
-
-
-
request:
Pipedream.ConfigurePropOpts
-
requestOptions:
ComponentsClient.RequestOptions
-
-
client.components.reloadProps({ ...params }) -> Pipedream.ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
await client.components.reloadProps({ id: "id", externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.ReloadPropsOpts
-
requestOptions:
ComponentsClient.RequestOptions
-
-
client.actions.list({ ...params }) -> core.Page<Pipedream.Component, Pipedream.GetComponentsResponse>
-
-
-
Retrieve available actions with optional search and app filtering
-
-
-
const pageableResponse = await client.actions.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.actions.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.ActionsListRequest
-
requestOptions:
ActionsClient.RequestOptions
-
-
client.actions.retrieve(component_id, { ...params }) -> Pipedream.GetComponentResponse
-
-
-
Get detailed configuration for a specific action by its key
-
-
-
await client.actions.retrieve("component_id", { version: "1.2.3" });
-
-
-
component_id:
string— The key that uniquely identifies the component (e.g., 'slack-send-message')
-
request:
Pipedream.ActionsRetrieveRequest
-
requestOptions:
ActionsClient.RequestOptions
-
-
client.actions.configureProp({ ...params }) -> Pipedream.ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a action
-
-
-
await client.actions.configureProp({ id: "id", externalUserId: "external_user_id", propName: "prop_name" });
-
-
-
request:
Pipedream.ConfigurePropOpts
-
requestOptions:
ActionsClient.RequestOptions
-
-
client.actions.reloadProps({ ...params }) -> Pipedream.ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
await client.actions.reloadProps({ id: "id", externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.ReloadPropsOpts
-
requestOptions:
ActionsClient.RequestOptions
-
-
client.actions.run({ ...params }) -> Pipedream.RunActionResponse
-
-
-
Execute an action with the provided configuration and return results
-
-
-
await client.actions.run({ id: "id", externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.RunActionOpts
-
requestOptions:
ActionsClient.RequestOptions
-
-
client.triggers.list({ ...params }) -> core.Page<Pipedream.Component, Pipedream.GetComponentsResponse>
-
-
-
Retrieve available triggers with optional search and app filtering
-
-
-
const pageableResponse = await client.triggers.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.triggers.list({ after: "after", before: "before", limit: 1, q: "q", app: "app", registry: "public" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.TriggersListRequest
-
requestOptions:
TriggersClient.RequestOptions
-
-
client.triggers.retrieve(component_id, { ...params }) -> Pipedream.GetComponentResponse
-
-
-
Get detailed configuration for a specific trigger by its key
-
-
-
await client.triggers.retrieve("component_id", { version: "1.2.3" });
-
-
-
component_id:
string— The key that uniquely identifies the component (e.g., 'slack-send-message')
-
request:
Pipedream.TriggersRetrieveRequest
-
requestOptions:
TriggersClient.RequestOptions
-
-
client.triggers.configureProp({ ...params }) -> Pipedream.ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a trigger
-
-
-
await client.triggers.configureProp({ id: "id", externalUserId: "external_user_id", propName: "prop_name" });
-
-
-
request:
Pipedream.ConfigurePropOpts
-
requestOptions:
TriggersClient.RequestOptions
-
-
client.triggers.reloadProps({ ...params }) -> Pipedream.ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
await client.triggers.reloadProps({ id: "id", externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.ReloadPropsOpts
-
requestOptions:
TriggersClient.RequestOptions
-
-
client.triggers.deploy({ ...params }) -> Pipedream.DeployTriggerResponse
-
-
-
Deploy a trigger to listen for and emit events
-
-
-
await client.triggers.deploy({ id: "id", externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.DeployTriggerOpts
-
requestOptions:
TriggersClient.RequestOptions
-
-
client.deployedTriggers.list({ ...params }) -> core.Page<Pipedream.Emitter, Pipedream.GetTriggersResponse>
-
-
-
Retrieve all deployed triggers for a specific external user
-
-
-
const pageableResponse = await client.deployedTriggers.list({ after: "after", before: "before", limit: 1, externalUserId: "external_user_id", emitterType: "email" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.deployedTriggers.list({ after: "after", before: "before", limit: 1, externalUserId: "external_user_id", emitterType: "email" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.DeployedTriggersListRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.retrieve(trigger_id, { ...params }) -> Pipedream.GetTriggerResponse
-
-
-
Get details of a specific deployed trigger by its ID
-
-
-
await client.deployedTriggers.retrieve("trigger_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
request:
Pipedream.DeployedTriggersRetrieveRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.update(trigger_id, { ...params }) -> Pipedream.GetTriggerResponse
-
-
-
Modify the configuration of a deployed trigger, including active status
-
-
-
await client.deployedTriggers.update("trigger_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
request:
Pipedream.UpdateTriggerOpts
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.delete(trigger_id, { ...params }) -> void
-
-
-
Remove a deployed trigger and stop receiving events
-
-
-
await client.deployedTriggers.delete("trigger_id", { externalUserId: "external_user_id", ignoreHookErrors: true });
-
-
-
trigger_id:
string
-
request:
Pipedream.DeployedTriggersDeleteRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.listEvents(trigger_id, { ...params }) -> Pipedream.GetTriggerEventsResponse
-
-
-
Retrieve recent events emitted by a deployed trigger
-
-
-
await client.deployedTriggers.listEvents("trigger_id", { externalUserId: "external_user_id", n: 1 });
-
-
-
trigger_id:
string
-
request:
Pipedream.DeployedTriggersListEventsRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.listWorkflows(trigger_id, { ...params }) -> Pipedream.GetTriggerWorkflowsResponse
-
-
-
Get workflows connected to receive events from this trigger
-
-
-
await client.deployedTriggers.listWorkflows("trigger_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
request:
Pipedream.DeployedTriggersListWorkflowsRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.updateWorkflows(trigger_id, { ...params }) -> Pipedream.GetTriggerWorkflowsResponse
-
-
-
Connect or disconnect workflows to receive trigger events
-
-
-
await client.deployedTriggers.updateWorkflows("trigger_id", { externalUserId: "external_user_id", workflowIds: ["workflow_ids"] });
-
-
-
trigger_id:
string
-
request:
Pipedream.UpdateTriggerWorkflowsOpts
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.listWebhooks(trigger_id, { ...params }) -> Pipedream.GetTriggerWebhooksResponse
-
-
-
Get webhook URLs configured to receive trigger events
-
-
-
await client.deployedTriggers.listWebhooks("trigger_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
request:
Pipedream.DeployedTriggersListWebhooksRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.updateWebhooks(trigger_id, { ...params }) -> Pipedream.GetTriggerWebhooksResponse
-
-
-
Configure webhook URLs to receive trigger events.
signing_keyis only returned for OAuth-authenticated requests.
-
-
-
await client.deployedTriggers.updateWebhooks("trigger_id", { externalUserId: "external_user_id", webhookUrls: ["webhook_urls"] });
-
-
-
trigger_id:
string
-
request:
Pipedream.UpdateTriggerWebhooksOpts
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.retrieveWebhook(trigger_id, webhook_id, { ...params }) -> Pipedream.GetWebhookWithSigningKeyResponse
-
-
-
Retrieve a specific webhook for a deployed trigger, including its signing key
-
-
-
await client.deployedTriggers.retrieveWebhook("trigger_id", "webhook_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
webhook_id:
string
-
request:
Pipedream.DeployedTriggersRetrieveWebhookRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.deployedTriggers.regenerateWebhookSigningKey(trigger_id, webhook_id, { ...params }) -> Pipedream.GetWebhookWithSigningKeyResponse
-
-
-
Regenerate the signing key for a specific webhook on a deployed trigger
-
-
-
await client.deployedTriggers.regenerateWebhookSigningKey("trigger_id", "webhook_id", { externalUserId: "external_user_id" });
-
-
-
trigger_id:
string
-
webhook_id:
string
-
request:
Pipedream.DeployedTriggersRegenerateWebhookSigningKeyRequest
-
requestOptions:
DeployedTriggersClient.RequestOptions
-
-
client.projectEnvironment.retrieveWebhook() -> Pipedream.GetWebhookResponse
-
-
-
Retrieve the webhook configured for a project environment
-
-
-
await client.projectEnvironment.retrieveWebhook();
-
-
-
requestOptions:
ProjectEnvironmentClient.RequestOptions
-
-
client.projectEnvironment.updateWebhook({ ...params }) -> Pipedream.SetWebhookResponse
-
-
-
Create or update the webhook URL for a project environment. Creating a webhook returns
signing_key; updating an existing webhook does not.
-
-
-
await client.projectEnvironment.updateWebhook({ url: "url" });
-
-
-
request:
Pipedream.SetWebhookOpts
-
requestOptions:
ProjectEnvironmentClient.RequestOptions
-
-
client.projectEnvironment.deleteWebhook() -> void
-
-
-
Remove the webhook configured for a project environment
-
-
-
await client.projectEnvironment.deleteWebhook();
-
-
-
requestOptions:
ProjectEnvironmentClient.RequestOptions
-
-
client.projectEnvironment.regenerateWebhookSigningKey() -> Pipedream.GetWebhookWithSigningKeyResponse
-
-
-
Regenerate the signing key for the project environment webhook
-
-
-
await client.projectEnvironment.regenerateWebhookSigningKey();
-
-
-
requestOptions:
ProjectEnvironmentClient.RequestOptions
-
-
client.projects.list({ ...params }) -> core.Page<Pipedream.Project, Pipedream.ListProjectsResponse>
-
-
-
List the projects that are available to the authenticated Connect client
-
-
-
const pageableResponse = await client.projects.list({ after: "after", before: "before", limit: 1, q: "q" }); for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.projects.list({ after: "after", before: "before", limit: 1, q: "q" }); while (page.hasNextPage()) { page = page.getNextPage(); } // You can also access the underlying response const response = page.response;
-
-
-
request:
Pipedream.ProjectsListRequest
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.create({ ...params }) -> Pipedream.Project
-
-
-
Create a new project for the authenticated workspace
-
-
-
await client.projects.create({ name: "name" });
-
-
-
request:
Pipedream.CreateProjectOpts
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.retrieve(project_id) -> Pipedream.Project
-
-
-
Get the project details for a specific project
-
-
-
await client.projects.retrieve("project_id");
-
-
-
project_id:
string— The project ID, which starts withproj_.
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.delete(project_id) -> void
-
-
-
Delete a project owned by the authenticated workspace
-
-
-
await client.projects.delete("project_id");
-
-
-
project_id:
string— The project ID, which starts withproj_.
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.update(project_id, { ...params }) -> Pipedream.Project
-
-
-
Update project details or application information
-
-
-
await client.projects.update("project_id");
-
-
-
project_id:
string— The project ID, which starts withproj_.
-
request:
Pipedream.UpdateProjectOpts
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.updateLogo(project_id, { ...params }) -> void
-
-
-
Upload or replace the project logo
-
-
-
await client.projects.updateLogo("project_id", { logo: "data:image/png;base64,AAAAAA..." });
-
-
-
project_id:
string— The project ID, which starts withproj_.
-
request:
Pipedream.UpdateProjectLogoOpts
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.projects.retrieveInfo() -> Pipedream.ProjectInfoResponse
-
-
-
Retrieve project configuration and environment details
-
-
-
await client.projects.retrieveInfo();
-
-
-
requestOptions:
ProjectsClient.RequestOptions
-
-
client.fileStash.downloadFile({ ...params }) -> core.BinaryResponse
-
-
-
Download a file from File Stash
-
-
-
await client.fileStash.downloadFile({ s3Key: "s3_key" });
-
-
-
request:
Pipedream.FileStashDownloadFileRequest
-
requestOptions:
FileStashClient.RequestOptions
-
-
client.proxy.get({ ...params }) -> core.BinaryResponse
-
-
-
Forward an authenticated GET request to an external API using an external user's account credentials
-
-
-
await client.proxy.get({ url: "https://api.example.com/endpoint", externalUserId: "external_user_id", accountId: "account_id", params: { key: "value" }, headers: { "X-Custom-Header": "value" } });
-
-
-
request:
Pipedream.ProxyGetRequest
-
requestOptions:
ProxyClient.RequestOptions
-
-
client.proxy.post({ ...params }) -> core.BinaryResponse
-
-
-
Forward an authenticated POST request to an external API using an external user's account credentials
-
-
-
await client.proxy.post({ url: "https://api.example.com/endpoint", externalUserId: "external_user_id", accountId: "account_id", body: { name: "Alice" }, headers: { "Content-Type": "application/json" } });
-
-
-
request:
Pipedream.ProxyPostRequest
-
requestOptions:
ProxyClient.RequestOptions
-
-
client.proxy.put({ ...params }) -> core.BinaryResponse
-
-
-
Forward an authenticated PUT request to an external API using an external user's account credentials
-
-
-
await client.proxy.put({ url: "https://api.example.com/endpoint", externalUserId: "external_user_id", accountId: "account_id", body: { name: "Alice" }, headers: { "Content-Type": "application/json" } });
-
-
-
request:
Pipedream.ProxyPutRequest
-
requestOptions:
ProxyClient.RequestOptions
-
-
client.proxy.delete({ ...params }) -> core.BinaryResponse
-
-
-
Forward an authenticated DELETE request to an external API using an external user's account credentials
-
-
-
await client.proxy.delete({ url: "https://api.example.com/endpoint", externalUserId: "external_user_id", accountId: "account_id" });
-
-
-
request:
Pipedream.ProxyDeleteRequest
-
requestOptions:
ProxyClient.RequestOptions
-
-
client.proxy.patch({ ...params }) -> core.BinaryResponse
-
-
-
Forward an authenticated PATCH request to an external API using an external user's account credentials
-
-
-
await client.proxy.patch({ url: "https://api.example.com/endpoint", externalUserId: "external_user_id", accountId: "account_id", body: { name: "Alice" }, headers: { "Content-Type": "application/json" } });
-
-
-
request:
Pipedream.ProxyPatchRequest
-
requestOptions:
ProxyClient.RequestOptions
-
-
client.tokens.create({ ...params }) -> Pipedream.CreateTokenResponse
-
-
-
Generate a Connect token to use for client-side authentication
-
-
-
await client.tokens.create({ externalUserId: "external_user_id" });
-
-
-
request:
Pipedream.CreateTokenOpts
-
requestOptions:
TokensClient.RequestOptions
-
-
client.tokens.validate(ctok, { ...params }) -> Pipedream.ValidateTokenResponse
-
-
-
Confirm the validity of a Connect token
-
-
-
await client.tokens.validate("ctok", { appId: "app_id", accountId: "account_id", oauthAppId: "oauth_app_id" });
-
-
-
ctok:
Pipedream.ConnectToken
-
request:
Pipedream.TokensValidateRequest
-
requestOptions:
TokensClient.RequestOptions
-
-
client.usage.list({ ...params }) -> Pipedream.ConnectUsageResponse
-
-
-
Retrieve Connect usage records for a time window
-
-
-
await client.usage.list({ startTs: 1, endTs: 1 });
-
-
-
request:
Pipedream.UsageListRequest
-
requestOptions:
UsageClient.RequestOptions
-
-
client.oauthTokens.create({ ...params }) -> Pipedream.CreateOAuthTokenResponse
-
-
-
Exchange OAuth credentials for an access token
-
-
-
await client.oauthTokens.create({ clientId: "client_id", clientSecret: "client_secret" });
-
-
-
request:
Pipedream.CreateOAuthTokenOpts
-
requestOptions:
OauthTokensClient.RequestOptions
-
-
client.workflows.invoke({ ...params }, authType?) -> unknown
-
-
-
Invokes a workflow using the URL of its HTTP interface(s), by sending an HTTP request.
-
-
-
// Invoke with URL await client.workflows.invoke({ urlOrEndpoint: "https://en-your-endpoint.m.pipedream.net", body: { foo: 123, bar: "abc", baz: null, }, headers: { Accept: "application/json", }, }); // Invoke with endpoint ID await client.workflows.invoke({ urlOrEndpoint: "en123", body: { message: "Hello, World!", }, }, Pipedream.HTTPAuthType.OAuth);
-
-
-
request:
Pipedream.InvokeWorkflowOpts
-
authType:
Pipedream.HTTPAuthType— The type of authorization to use for the request (defaults to None)
-
requestOptions:
WorkflowsClient.RequestOptions
-
-
client.workflows.invokeForExternalUser({ ...params }) -> unknown
-
-
-
Invokes a workflow for a specific Pipedream Connect external user.
-
-
-
await client.workflows.invokeForExternalUser({ urlOrEndpoint: "https://your-workflow-url.m.pipedream.net", externalUserId: "your-external-user-id", body: { foo: 123, bar: "abc", baz: null, }, headers: { Accept: "application/json", }, });
-
-
-
request:
Pipedream.InvokeWorkflowForExternalUserOpts
-
requestOptions:
WorkflowsClient.RequestOptions
-
-