Abstra Project API
Connect to another Abstra project to query tables and execute connector actions remotely.
Authentication
This connector uses Token-based authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 16 actions:
| Action | Purpose | Parameters |
|---|---|---|
| tables_select | Execute a read-only SELECT query on a project table | tableName (string) required query (string) required params (array) |
| tables_insert | Execute an INSERT query on a project table | tableName (string) required query (string) required params (array) |
| tables_update | Execute an UPDATE query on a project table | tableName (string) required query (string) required params (array) |
| tables_delete | Execute a DELETE query on a project table | tableName (string) required query (string) required params (array) |
| connectors_execute | Execute an action on an external connector e.g. AWS, Slack, Stripe | connectionName (string) required actionName (string) required parameters (object) |
| connectors_list_connections | List available connections in the remote project scoped to token permissions | No parameters |
| connectors_list_actions | List available actions for a connection in the remote project | connectionName (string) required search (string) |
| connectors_get_action_detail | Get detailed schema for a specific action on a connection | connectionName (string) required actionName (string) required |
| roles_list | List roles in the project | limit (integer) offset (integer) |
| roles_create | Create a new role in the project | name (string) required description (string) |
| roles_update | Update an existing role in the project | roleId (string) required description (string) required |
| roles_delete | Delete a role from the project | roleId (string) required |
| role_grants_list | List who holds the project's roles: the people, email domains, teams and organization each role is given to | role (string) |
| role_grants_add | Give a role to a person, an email domain, a team or the organization | role (string) required kind (string) required value (string) required |
| role_grants_remove | Take a role away from a person, an email domain, a team or the organization | role (string) required kind (string) required value (string) required |
| user_roles_get | Get the roles a person holds in the project, from every source: the project's users list, their email, their domain, their teams and the organization | email (string) required |