# qbash documentation > qbash runs Tasks: Python functions with bounded AI steps and integration calls, kept with versions and run logs on a managed runtime. Each Task can be shared as an MCP tool, an API endpoint, a run form, a Slack trigger or a schedule. Every page of the qbash docs in sidebar order, generated from the docs source. Each page starts with its canonical URL. Plain markdown copies of single pages are listed at https://qbash.com/docs-markdown/index.md. ## Contents 1. Introduction - [Introduction](https://qbash.com/docs/intro) 2. Tasks - [qbash Tasks: intro and editor](https://qbash.com/docs/tasks/task-editor) - [Prompts](https://qbash.com/docs/tasks/prompts) - [Using Secrets](https://qbash.com/docs/tasks/using-secrets) - [Call an internal API from ChatGPT, Claude and Cursor](https://qbash.com/docs/tasks/call-internal-api-from-ai-tools) - [Distribution](https://qbash.com/docs/tasks/distribution) - [Testing and debugging](https://qbash.com/docs/tasks/testing-and-debugging) - [Migrate an automation](https://qbash.com/docs/tasks/migrate-an-automation) - [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) 3. MCP Servers - [Official MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server) - [Official MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server) - [MCP Servers](https://qbash.com/docs/mcp-servers/overview) 4. Memories - [Using memories](https://qbash.com/docs/memories/overview) - [Distribution](https://qbash.com/docs/memories/mcp-server) - [Reviewing PRs](https://qbash.com/docs/memories/reviewing-changes) 5. Connect AI clients - [Add an MCP server to ChatGPT, Claude and Cursor](https://qbash.com/docs/clients/overview) - [How to add a custom MCP server to ChatGPT](https://qbash.com/docs/clients/chatgpt) - [How to add a custom MCP server to dots](https://qbash.com/docs/clients/chatgpt-dots) - [How to add an MCP server to Codex](https://qbash.com/docs/clients/codex) - [How to add a custom connector to Claude](https://qbash.com/docs/clients/claude) - [How to add a remote MCP server to Claude Code](https://qbash.com/docs/clients/claude-code) - [How to add a remote MCP server to Cursor](https://qbash.com/docs/clients/cursor) - [How to add a remote MCP server to VS Code](https://qbash.com/docs/clients/vscode) - [How to add a custom MCP server to Grok Bot](https://qbash.com/docs/clients/grok-bot) - [Muse custom connector and Muse Code MCP server setup](https://qbash.com/docs/clients/muse) - [How to connect any MCP client to a remote MCP server](https://qbash.com/docs/clients/other) 6. Connectors - [MCP Connectors](https://qbash.com/docs/features/mcp-connectors) - [Connect Stripe](https://qbash.com/docs/connectors/stripe) - [Connect Attio](https://qbash.com/docs/connectors/attio) - [Connect Brave Search](https://qbash.com/docs/connectors/brave-search) - [Connect Clay](https://qbash.com/docs/connectors/clay) - [Connect Turbopuffer](https://qbash.com/docs/connectors/turbopuffer) - [Connect PostHog](https://qbash.com/docs/connectors/posthog) - [Connect Affinity](https://qbash.com/docs/connectors/affinity) - [Connect Linear](https://qbash.com/docs/connectors/linear) - [Connect Shopify](https://qbash.com/docs/connectors/shopify) - [Connect Notion](https://qbash.com/docs/connectors/notion) - [Connect WordPress](https://qbash.com/docs/connectors/wordpress) - [Connect X](https://qbash.com/docs/connectors/x) - [Connect ActiveCampaign](https://qbash.com/docs/connectors/active-campaign) - [Connect Ahrefs](https://qbash.com/docs/connectors/ahrefs) - [Connect MySQL](https://qbash.com/docs/connectors/mysql) - [Connect Snowflake](https://qbash.com/docs/connectors/snowflake) - [Connect DigitalOcean](https://qbash.com/docs/connectors/digitalocean) - [Connect Vimeo](https://qbash.com/docs/connectors/vimeo) - [Connect Zoom](https://qbash.com/docs/connectors/zoom) - [Connect NetSuite](https://qbash.com/docs/connectors/netsuite) - [Connect Jira](https://qbash.com/docs/connectors/jira) - [Connect Zendesk](https://qbash.com/docs/connectors/zendesk) - [Connect Pangram](https://qbash.com/docs/connectors/pangram) - [Connect FRED](https://qbash.com/docs/connectors/fred) - [Connect Reddit Ads](https://qbash.com/docs/connectors/reddit-ads) - [Connect Wistia](https://qbash.com/docs/connectors/wistia) - [Connect Salesforce](https://qbash.com/docs/connectors/salesforce) - [Connect SEC EDGAR](https://qbash.com/docs/connectors/sec-edgar) - [Connect SendGrid](https://qbash.com/docs/connectors/sendgrid) - [Connect Segment](https://qbash.com/docs/connectors/segment) - [Connect Discord](https://qbash.com/docs/connectors/discord) - [Connect Confluence](https://qbash.com/docs/connectors/confluence) - [Connect Granola](https://qbash.com/docs/connectors/granola) - [Connect QuickBooks](https://qbash.com/docs/connectors/quickbooks) - [Connect Terraform](https://qbash.com/docs/connectors/terraform) - [Connect Zotero](https://qbash.com/docs/connectors/zotero) - [Connect Etsy](https://qbash.com/docs/connectors/etsy) - [Connect Pinterest](https://qbash.com/docs/connectors/pinterest) - [Connect Pinterest Ads](https://qbash.com/docs/connectors/pinterest-ads) - [Connect Google Tag Manager](https://qbash.com/docs/connectors/google-tag-manager) 7. Organization Settings - [Organization Settings](https://qbash.com/docs/org-settings/admin) - [Users & Invitations](https://qbash.com/docs/org-settings/users) - [Model Providers](https://qbash.com/docs/org-settings/models) 8. Other - [Connect Datadog](https://qbash.com/docs/connectors/datadog) --- ## Introduction Source: https://qbash.com/docs/intro qbash lets you build Python automations that use AI models, connected services, and shared knowledge. You develop them in the task editor, and qbash runs them for you. A task can produce a report every Monday, respond to a request from another application, or become a tool someone uses from their AI assistant. ### Tasks A task contains your Python code and the prompts, documents, tests, and settings it needs. Your code decides what happens and in what order. It can call a prompt for a summary or classification, or ask an agent to investigate a question with tools. The [task editor](https://qbash.com/docs/tasks/task-editor) brings those parts together. You can write code directly or ask the development agent to build and edit it with you. Test runs let you try changes before saving them. Tasks can also be [distributed](https://qbash.com/docs/tasks/distribution) to other people and applications. They can be called directly over an API, run on a schedule, or start from triggers in other systems - for example, when a new Gmail email arrives or someone posts a Slack message. ### Connected services and knowledge [Connectors](https://qbash.com/docs/features/mcp-connectors) give tasks access to services such as a CRM, database, or messaging tool. You connect an account, then select it in the tasks that need it. [Memories](https://qbash.com/docs/memories/overview) hold documents that people, tasks, and agents can read and update. A folder might contain product documentation, research notes, or previous reports. Searchable folders let an agent find relevant passages across the collection. ### Sharing tools with applications An [MCP server](https://qbash.com/docs/mcp-servers/overview) makes selected tasks, connector tools, and memory folders available to applications such as ChatGPT, Claude, Codex, and Cursor. Your team can use the same automations and knowledge from the applications they already work in. Applications you build can connect through MCP too, using the same tools and knowledge. [Organization Settings](https://qbash.com/docs/org-settings/admin) controls who has access and which models and services are available to your team. --- ## qbash Tasks: intro and editor Source: https://qbash.com/docs/tasks/task-editor A Task is an AI cloud function written in Python that qbash hosts on secure cloud infrastructure. Python controls the steps, and inline prompts call a model at the steps that need AI. A model's answer can vary, and the Python decides what happens next. You use Tasks for work that has to run with no chat open. A Task can run on a schedule, from an API call or webhook, when a connected app sends an event, or as a tool in ChatGPT, Claude, Cursor and Codex over MCP. See [Distribution](https://qbash.com/docs/tasks/distribution) for these options. Every Task has: - Inline prompts, with the model chosen per prompt - Version control on every save - A log of every run - An AI development agent in the editor that builds and changes the Task for you This page covers what a Task contains and how the task editor works. ![The Company brief task with main.py open, company and notes inputs, and its prompt and Markdown document in the Package](https://qbash.com/img/tasks/task-editor-company-brief.jpg) For example, this task passes a company name and some notes to a prompt, then returns a brief: ```python company = qbash.inputs.get("company") brief = qbash.ai.run_prompt( "company-brief", {"company": company, "notes": qbash.inputs.get("notes", "")}, ) qbash.output({"company": company, "brief": brief}) ``` It uses a `company-brief` prompt, a required `company` input, and optional `notes`. [Prompts](https://qbash.com/docs/tasks/prompts) shows the prompt's instructions and settings. ### Iterate with AI **Iterate with AI** gives you access to the qbash development agent, which builds and edits tasks on your behalf. Describe the automation you want, ask for a change, or give it an error to investigate. It can work on the code, prompts, documents, tests, inputs, and settings. A new task starts on `main.py` with this pane already open. ### Using the editor The **Package** list opens files in the main workspace and lists the task's connectors, memory folders, Secrets and linked tasks. **Settings** sits below it, with **Import automation** and **SDK reference** at the foot. The strip above the code shows the task's inputs. **Test run** asks for their values and opens a console beneath the editor to show what happened. #### Task files Every task starts with `main.py`. The **+** menu on **Package** adds prompts, Markdown files, uploaded files, tests and additional Python scripts, and attaches the task's connectors, memory folders, Secrets and linked tasks. The Package is saved and versioned with the task. Hover a Package row for its ID and a code sample that uses it. - `main.py` runs when the task is called. It reads inputs, calls services or prompts, and controls what happens next. The `qbash` SDK is already available, with completion for its methods and your other Python files. There is nothing to install or initialize. The editor underlines a `run_prompt` call that passes something the task doesn't have, such as a connector it hasn't attached. It also underlines a Word, Excel or PowerPoint file from the Package passed without `qbash.files.convert`. - Prompts hold model instructions and settings. Their **Abilities and limits** section turns on subagents and abilities and sets the limits for a prompt that runs as an agent. They appear as `.prompt` files and are called by their slug. See [Prompts](https://qbash.com/docs/tasks/prompts). - Markdown documents keep reference text with the code, such as a `briefing-guide.md` describing what the brief should cover. Code can [read or search them](https://qbash.com/docs/tasks/sdk-reference#task-documents), and a prompt call passes one by its slug: `memory=["briefing-guide"]`. - Uploaded files, such as a pricing PDF, are added with **Upload file** and saved and versioned with the task. Code gets one with `qbash.files.package("pricing.pdf")`, and can [pass it to a prompt](https://qbash.com/docs/tasks/prompts#passing-resources). The development agent and MCP builds can also add a Package file from a public URL. - `tests.py` checks Python functions with mocked platform calls. [Testing and debugging](https://qbash.com/docs/tasks/testing-and-debugging#test-files) explains the built-in test runner and how it differs from an editor **Test run**. - Additional Python scripts let you move work out of `main.py` into separate files. Other scripts and tests can [import them as modules](https://qbash.com/docs/tasks/sdk-reference#python-scripts). #### Inputs Inputs define the information a task needs at runtime, for example a company name and optional meeting notes. Required inputs must be supplied [wherever the task is run](https://qbash.com/docs/tasks/distribution). Within the task, retrieve an input with `qbash.inputs.get(...)`: ```python company = qbash.inputs.get("company") notes = qbash.inputs.get("notes", "") ``` The second argument is a fallback when an input is absent. **Settings → Inputs** defines names, types, required fields, and defaults. #### Returning a value To return a value from a task, call `qbash.output(value)`. For example: ```python qbash.output({"company": company, "brief": brief}) ``` The caller receives this result wherever the task was started. You can return text or other JSON-compatible values. Call it once, usually at the end of `main.py`. It sets the result without stopping Python execution; code after it still runs. #### Task resources The Package also holds what the task can work with besides its files: connector accounts, shared memory folders, Secrets and other tasks. **Add connector**, **Add memory folder**, **Add secret** and **Add task** in the Package **+** menu each open a full-width view where you attach or detach them. Attached items appear as Package rows. A company brief might need a CRM account for customer details, a memory folder of sales notes, and a separate task that prepares usage figures. ![The Memory folders view, opened from the Package + menu, with a search for shared folders to attach](https://qbash.com/img/tasks/task-resources-memory.jpg) Attaching one makes it available to the task, and the code decides when to use it. Each view flags items your code names that aren't attached yet. ##### Connectors **Add connector** gives the task access to accounts in services such as Pipedrive, Slack, Google Drive, or a database. Select the connection you want it to use, such as the sales team's CRM account rather than a personal one. **Manage** opens that service's connections when you need to connect or reauthorize an account. Your code calls the service through `qbash.integrations`. qbash uses the selected connection, so you do not need to put its login details in the script. The account's permissions still determine which records and actions are available. To let a prompt call the account, [pass it in `connectors=`](https://qbash.com/docs/tasks/prompts#passing-resources). A task can have more than one account of the same service, such as two HubSpot accounts. Each attached account gets a handle on the task. The first account of a provider takes the provider's name (`hubspot`, `active_campaign`), a second takes `hubspot-2` and a third `hubspot-3`. A new account takes the lowest free handle, and an account keeps its handle for as long as it is attached. The **Add connector** view and each Package row show the handle, and hovering a row shows it with a copy button and a code sample. Code picks an account by its handle, such as [`credential="hubspot-2"`](https://qbash.com/docs/tasks/sdk-reference#connector-accounts) on an integration call. ##### Memory **Add memory folder** attaches shared folders the task can read and search, such as sales notes, product documentation, or company policies. You can select an existing folder or create one here. The task can also add or update documents where its access permits. The folder's permissions and review settings still apply. Code names an attached folder by its slug, shown in the task editor and on the folder's settings page. A folder keeps its slug when it is renamed. These folders can be shared across tasks and chats. For reference text that belongs only to this task, such as its briefing guide, add one with **New markdown file** instead. The [SDK reference](https://qbash.com/docs/tasks/sdk-reference#task-documents) shows how code reads and searches documents. ##### Secrets Secrets hold sensitive values such as API tokens. Choose **Add secret** to attach an existing Secret or create one with **New secret**, then refer to it by its slug, such as `qbash.secrets["service-token-3f9a"]`, instead of putting the value in your code. The SDK can use that reference in an authenticated request. [Using Secrets](https://qbash.com/docs/tasks/using-secrets) covers creation, task access, sharing, and a Python example. ##### Tasks **Add task** attaches other automations this task can call. For example, a company brief could reuse an existing task that calculates account usage. Your code calls it by its slug, such as `qbash.tasks.run("account-usage-3f9a", {...})` (see [`qbash.tasks.run`](https://qbash.com/docs/tasks/sdk-reference#qbash-tasks-run)), and uses its result, rather than duplicating its code and settings. The slug is the task's name followed by the start of its ID. It shows under the task in the Package list and on the task's page, and stays the same when the task is renamed. Code used only within one task can stay in an additional Python script instead. Prompts take no connectors, memory folders, tasks or files of their own. To let a prompt use one attached to the task, or a file in the Package, [pass it to the prompt call](https://qbash.com/docs/tasks/prompts#tools). The prompt then chooses when to use what it has been given. #### Settings **Settings** opens **Details**, **Triggers** and **Inputs**. Details holds the timeout, retries, overlapping runs and data logging. **Triggers** configures API access, schedules, webhooks, and connected events, and shows the MCP servers exposing the task. [Distribution](https://qbash.com/docs/tasks/distribution) covers these options and the on-demand run form in qbash. ### Saving and versions **Create Task** saves your new task. Each later save creates a version containing the code, prompts, documents, inputs, resources, and settings. Testing an unsaved draft doesn't replace the version used by other callers. **Versions** shows who saved each version and when. You can compare changes or restore an earlier version if you need to go back. A prompt wording change can affect a brief just as much as a code change. When comparing two runs, check their prompt settings and inputs as well as `main.py`. ### Runs and logs **Logs** records how a saved run started, its inputs, status, duration, result, and any errors or retry attempts. For a failed API request or an incorrect brief returned to an AI assistant, open the run to see where the problem occurred. The available detail depends on [Data logging](https://qbash.com/docs/tasks/task-editor#data-logging). The code currently open in the editor may have changed since the run, so check its version too. For live feedback while editing a draft, use the [run console](https://qbash.com/docs/tasks/testing-and-debugging#run-console). ### Data logging **Settings → Details → Data logging** controls whether qbash keeps inputs, results, step contents, and error details that may contain business data. With it off, qbash retains operational information about the run but omits that content. It does not remove records already saved. This controls qbash's history. Connected services and model providers have their own retention settings. ### Timeouts and cancellation **Settings → Details → Timeout** limits the task's execution time, including prompt calls, agent work, and connected operations. A prompt's own time limit still sits within the task's overall limit. When a task is cancelled, a request already in progress may finish before execution stops. Cancellation doesn't undo changes already made in a connected system. Logs show the work recorded so far. ### Failures and retries **Settings → Details → Auto retry** enables automatic retries for failed runs. Retries can help with temporary failures, such as a service outage or rate limit. An invalid input or missing permission usually needs a change before another attempt can succeed. A retry starts `main.py` again and appears as another attempt in the same run. That means earlier work can repeat, including a message already posted or a record already updated. Checkpoints let the code reuse work completed by an earlier attempt. Cache can reuse a result across separate runs for a chosen time. Neither automatically makes an external write safe to repeat. The [SDK reference](https://qbash.com/docs/tasks/sdk-reference#retries-and-reused-results) explains the distinction and the precautions for duplicate writes. ### Overlapping runs **Settings → Details → Concurrent runs** controls whether runs of the same task can overlap. This matters when several callers request a brief at once, especially if the task also updates shared records or uses a service with request limits. That is separate from processing several items within one run. [`qbash.parallel(...)`](https://qbash.com/docs/tasks/sdk-reference#qbash-parallel) handles that case, with its own concurrency, rate-limit, and retry options. ### FAQ #### Where should I host a small Python script that Claude Code or Codex built for me? A script that is a job with no user interface can run as a Task. qbash hosts it, so there is no server to set up and no deploy step, and the coding agent can build and test the Task through the [official qbash MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server). A Task can't install or import third-party packages. It uses the `qbash` SDK and the standard library, so a script that depends on other packages needs changes first. #### How do I run a Python script with an LLM step every morning and send the result to Slack? Write the steps in `main.py`. Call the prompt with `qbash.ai.run_prompt`, then post its answer with the Slack connector, for example `qbash.integrations.slack.create_message`. Add a schedule under **Settings → Triggers** with the time and the timezone. qbash runs the Task in the cloud at that time, and **Logs** keeps a record of each run. [Run more scheduled tasks than your AI assistant allows](https://qbash.com/start/scheduled-task-limits) has an example of a scheduled Task. #### How do I make an AI workflow give the same result on every run? Put the fixed steps in Python and call a model only at the steps that need one. The Python runs the same way each time. A model's answer can still vary, so choose the JSON or Decisions output format on the prompt and let the code decide what happens next. #### A model I use is being deprecated. How do I switch models without rebuilding the Task? The model is a setting on each prompt. Open the prompt, choose another model that your organization has enabled, and save. The save creates a new version and the Python stays the same. **Versions** lets you compare the two or restore the earlier one. #### How can I tell whether a scheduled run did its job? **Logs** records every run with how it started, its status, duration, result and any errors. A run that found nothing to do is listed there like any other, so return a count or a short summary from `qbash.output` and the log shows what the run did. --- ## Prompts Source: https://qbash.com/docs/tasks/prompts qbash tasks let you build applications that use AI judgement, with prompts as first-class citizens alongside Python code. Prompts can run as traditional AI calls, with a choice of models, model settings, and structured outputs. Checking an ability or turning on subagents under **Abilities and limits** runs it as an agent, which can take several turns and hand work to subagents that run in parallel. ![The Company brief prompt with its name and slug, company and notes variables, model, output format, and messages](https://qbash.com/img/tasks/task-prompt-company-brief.jpg) ### Adding a prompt Add a prompt from the **Package** file menu. Give it a name and a slug, which you use to call it from Python: ```python brief = qbash.ai.run_prompt("company-brief") ``` ### Passing inputs to a prompt Within the prompt, use `{{...}}` to mark information you will supply from `main.py`. For example, the company-brief prompt could take a company name and meeting notes: ```text Prepare a brief about {{company}} using these notes: {{notes}} Explain what we know and what we should ask about in the meeting. ``` The editor automatically recognizes `company` and `notes` as variables. Pass their values when calling the prompt from code: ```python company = qbash.inputs.get("company") brief = qbash.ai.run_prompt( "company-brief", {"company": company, "notes": qbash.inputs.get("notes", "")}, ) ``` The `""` fallback supplies an empty string when the `notes` input is absent. The **Prompt variables** bar above the prompt lists these variables. For each `run_prompt` call, it also shows the file and line and any problems with the call. It lists what the call passes in files, connectors, memory and tasks. ### Prompt settings Each prompt has its own settings in the task's prompt editor. These include the model, model-specific options, and output format, including structured outputs. #### Model qbash supports models from Anthropic, OpenAI, Google Gemini, xAI (Grok), and other providers. Choose the model the prompt will use from those enabled for your organization. **Model settings** contains its supported options, such as temperature, reasoning effort, and token limits. #### Output format The output format determines what the prompt returns. Depending on the model, you may see up to three options: **Text**, **JSON**, and **Decisions**. **Text** is the default and returns a string. **JSON** returns structured output matching a schema you define, such as a brief with a `summary` string and a `questions` list. Both formats also work when the prompt runs as an agent. **Decisions**, available with Jev and supported models, uses typed questions such as choices, scores, rankings, and yes/no answers. For example, a prompt could return a company-fit score instead of a written brief. The [SDK reference](https://qbash.com/docs/tasks/sdk-reference#qbash-ai-raw) covers these formats. #### Web search and web fetch **Web Search** and **Web Fetch** on the prompt let the model search the web and read pages while it answers. They run on your organization's own model provider keys. They work on every prompt, with or without abilities. #### Abilities and limits Every prompt has an **Abilities and limits** section at the bottom of the prompt editor. A prompt runs as an agent when it has at least one ability, has subagents turned on, or is passed linked tasks with `tasks=[...]`. As an agent it works over several turns and follows up on what each one returns, and with subagents on it can run work in parallel. Without any of these, the prompt answers in a single call, which can still use the connectors you pass. For the company brief, it could research recent news, follow up on what it finds, and ask a subagent to review sales notes in parallel before combining the findings into an answer. The section lists the limits first and the abilities after them. A new prompt starts with no abilities and subagents off. When the prompt's model can't use abilities or subagents, the section says so, and you pick another model to turn them on. Decisions prompts don't have this section. **Subagents** lets you enable or disable delegation. **Max subagents per turn** controls how many it can launch in one turn. It also caps how many of these subagents can be running at once. For example, a limit of two allows the news research and sales-note review to run together without letting the prompt keep spawning more workers while they are still busy. **Max iterations** sets how many turns the prompt gets to call tools. A turn is one model call plus the tools it asks for, which can be several. At the limit, the model gets one final turn without tools to answer with what it has gathered. **Max task calls** caps the total calls to linked tasks during one `run_prompt(...)` call, including calls made by its subagents. This is separate from the iteration limit: one turn could request several task runs. Once this allowance is used, further linked-task calls return an error and the model can work with the results it already has. **Max output tokens** sets the output-token budget across the agent's turns. **Set a time limit** gives the prompt a time limit in seconds. The task's own timeout still applies to the whole run. [Testing and debugging](https://qbash.com/docs/tasks/testing-and-debugging#run-console) explains how to inspect its model turns and tool calls. The abilities a prompt can use: - **Generate CSV** (`csv_export`), **Generate PDF** (`pdf_export`) and **Create Files** (`file_create`) write files. Each file comes back on the answer's `.files`, and your script keeps it by passing it to `qbash.output`, as [prompt results](https://qbash.com/docs/tasks/sdk-reference#prompt-results) shows. - **Convert Files** (`file_convert`) converts files to simpler formats. - **Split PDF** (`file_split_pdf`) splits a PDF into single pages. - **Download Files** (`file_download`) downloads files from external URLs. - **Task Logs Access** (`task_logs`) lists recent task runs with their status, output preview and error. - **HTTP Requests** (`http_request`) makes outbound HTTP requests to external services. #### Files, memory and connectors A prompt has no files, memory folders or connectors of its own. Assign them to the task, then pass the ones the prompt can use from your Python script. For example, with a Pipedrive connection and a **Sales notes** folder attached to the task, and a `pricing.pdf` file in the Package: ```python company = qbash.inputs.get("company") brief = qbash.ai.run_prompt( "company-brief", {"company": company, "notes": qbash.inputs.get("notes", "")}, files=[qbash.files.package("pricing.pdf")], connectors=["pipedrive"], memory=[qbash.memories.folder("sales-notes-b71c")], ) ``` `memory=` takes memory folders attached to the task and the task's Markdown files. Pass a folder by its slug as `qbash.memories.folder("sales-notes-b71c")`, or by its ID. The slug is on the folder's settings page and stays the same when the folder is renamed. A plain string names a Markdown file by slug: `memory=["briefing-guide"]` sends the prompt that one file from the Package. A folder's slug can match a file's slug, and `qbash.memories.folder` keeps the two apart. `connectors=` takes connectors attached to the task. Name one by provider (`"hubspot"`, `"active_campaign"`), by its [handle on the task](https://qbash.com/docs/tasks/task-editor#connectors) (`"hubspot-2"`), by the account's name or ID, or by the value of a credential input (`qbash.inputs.get("crm")`). A handle or ID always names one account. A provider uses the account under the bare handle (`hubspot`), or the one account of that provider left when that one was removed. When a provider or name matches more than one account, the call fails and lists each match with its handle and ID, so pass one of those. A task with two HubSpot accounts can give the prompt both: ```python qbash.ai.run_prompt( "compare-pipelines", {"quarter": "Q3"}, connectors=["hubspot", "hubspot-2"], ) ``` Passing a connector the task doesn't have also fails the call, and the message says where to attach it. The prompt calls the connector's operations as tools, whether it answers in a single call or runs as an agent. A Test run with writes blocked doesn't send its connector writes. A file reference can come from the Package, from a URL, or from earlier in the run. `qbash.files.package("pricing.pdf")` returns a file added with **Upload file** in the Package **+** menu, or added from a public URL by the development agent or an MCP build. `qbash.files.download(url, "q3.pdf")` fetches a file each time the task runs and returns a reference: ```python report = qbash.files.download("https://example.com/q3.pdf", "q3.pdf") summary = qbash.ai.run_prompt("summarize", {}, files=[report]) ``` Files a connector returns, such as a Zendesk attachment, and files the script writes with `qbash.files.write` are passed the same way. `files=` takes images, PDFs and plain text files, when the prompt's model reads that type. Plain text includes CSV, Markdown and JSON. Word, Excel and PowerPoint files need converting first. `qbash.files.convert` returns the converted copy as a new file and leaves the original as it is: | You pass | `convert` returns | |---|---| | .docx, .doc, .rtf or .odt | Text | | .xlsx or .ods | CSV | | .pptx, .ppt or .odp | PDF | ```python deck = qbash.files.convert(qbash.files.package("q3-review.pptx")) summary = qbash.ai.run_prompt("deck-summary", {}, files=[deck]) ``` An unconverted Office file raises `qbash.FileNotReadableError` before the model is called, in a Test run too. The message names the file, the model and the fix: ```text qbash.ai.run_prompt got "q3-review.pptx", a PowerPoint file, and claude-sonnet-5-5 can't read PowerPoint files. Convert it first: pdf = qbash.files.convert(file), then pass pdf in files=. ``` When the model can't read PDFs or a type of image, the message says to pick another model instead. The **Convert Files** ability is separate. It lets a prompt that runs as an agent convert files during its own work. When the prompt runs as an agent, the task's Python scripts become tools too: you define the inputs a script accepts, and the prompt can call it with values for those inputs. These tools follow the task's access settings, including blocked writes during a Test run. Pass linked tasks with `tasks=[...]` to make existing automations available as tools, such as an account-usage report. Each call starts a run of that saved task. A subagent instead works on instructions delegated by the prompt. #### Settings reference These settings are saved on the prompt. The limits apply only when the prompt runs as an agent, which happens when it has an ability, has subagents on, or is passed `tasks=`. | Setting | Key | Default | Range | Applies | |---|---|---|---|---| | Model | `model` | Your organization's default model | Models enabled for your organization | Every call | | Output format | `structured_output` | Text | Text, JSON, or Decisions on supported models | Every call | | Web Search, Web Fetch | `tools` | Off | On or off, on models that offer them | Every call | | Abilities | `abilities` | None | The abilities listed above | Any ability makes the prompt run as an agent | | Subagents | `subagents` | Off | On or off | On makes the prompt run as an agent | | Max subagents per turn | `max_subagents` | 10 | 1 to 10 | With subagents on | | Max iterations | `max_iterations` | 25 | 1 to 50 | As an agent | | Max output tokens | `max_output_tokens` | 50,000 | 1,000 to 200,000 | As an agent, across all its turns | | Max task calls | `max_task_tool_calls` | 20 | 1 to 50 | As an agent, for tasks passed in `tasks=` | | Time limit | `timeout_seconds` | The task's own timeout | 10 to 43,200 seconds | As an agent. The task's timeout still caps it | | Only this task | `task_logs_scope` | On (`this_task`) | `this_task` or `all_tasks` | With the Task Logs Access ability | Your script passes the rest in each `run_prompt` call: | Argument | What it takes | |---|---| | `variables` (second argument) | A dictionary of the prompt's `{{...}}` variables | | `files=` | Images, PDFs and plain text files. Package files come from `qbash.files.package("name.pdf")`. Convert PowerPoint, Word and Excel files with `qbash.files.convert` first, or the call raises `qbash.FileNotReadableError` | | `connectors=` | Connectors assigned to the task, by provider, handle (`"hubspot-2"`), account name or ID, or a credential input's value | | `memory=` | Memory folders assigned to the task, as `qbash.memories.folder("")` or by ID, and the task's Markdown files by slug | | `tasks=` | Linked tasks, by slug or ID. Passing any makes the prompt run as an agent | | `model=` | A model for this call only, in place of the prompt's model | The [SDK reference](https://qbash.com/docs/tasks/sdk-reference#qbash-ai-run-prompt) covers additional arguments and [prompt results](https://qbash.com/docs/tasks/sdk-reference#prompt-results). --- ## Using Secrets Source: https://qbash.com/docs/tasks/using-secrets A Secret is a named, encrypted value in qbash, such as an API key or token for an internal service. You attach the Secret to a Task and refer to it in Python by its slug, and qbash fills in the stored value when it sends the HTTP request. The key is never in the Task's code, in a chat or in an AI client's config file. You use Secrets to call a private API from a Task, to authenticate the callers of a Task's API endpoint, and to rotate a key in one place when several Tasks use it. For the full setup with ChatGPT, Claude, Cursor and Codex, see [Call your internal API from ChatGPT, Claude and Cursor](https://qbash.com/docs/tasks/call-internal-api-from-ai-tools). Open **Secrets** in the main sidebar to see the Secrets available to you, who owns them, their access settings, and when they were last used. ![The Secrets page with a stored token, its owner, access setting, last-used date, and the New secret button](https://qbash.com/img/tasks/secrets-page.jpg) ### Creating a Secret Click **New secret**. Give it a name such as `SERVICE_TOKEN`, paste the credential into **Value**, and optionally add a description of what it's for. Names start with a letter and use uppercase letters, numbers, and underscores. Two Secrets can share a name. Click **Create** to save it. qbash gives the Secret a slug, which is how code refers to it: the name in lowercase with dashes, followed by the first 4 characters of its ID, such as `service-token-3f9a`. If another Secret in the organization already has that slug, the new one uses more characters of its ID. The slug is shown on the Secrets page with a copy button and never changes. The value is encrypted and cannot be viewed again from the Secrets page, including by its owner. You can replace it later if needed. If you need a new token for callers of your own task, **generate a secure access token** creates one for you. After saving, qbash shows that generated token once so you can copy it somewhere safe. Select the Secret under **Settings → Triggers → API** to use it for [API authentication](https://qbash.com/docs/tasks/distribution#api). For a third-party service, use a key issued by that service instead. ### Using a Secret in a task In the task editor, choose **Add secret** from the Package **+** menu and attach the Secret you need with its **+** button. Save the task to keep that attachment. Creating a Secret on the Secrets page doesn't automatically make it available to every task. You can also choose **New secret** in the Secrets view. A Secret created there is attached to the current draft automatically. The view lists each attached Secret's slug and flags Secrets referenced in code that haven't been attached yet. For example, this task calls a service using the `SERVICE_TOKEN` Secret, slug `service-token-3f9a`, as a bearer token and returns the response body. Replace the example URL with the endpoint for the service that issued your token: ```python title="main.py" response = qbash.http.request( "GET", "https://api.example.com/company-brief", auth=qbash.http.auth.bearer(qbash.secrets["service-token-3f9a"]), ) if response["status"] >= 400: raise RuntimeError(f"Service returned HTTP {response['status']}") qbash.output(response["body"]) ``` `qbash.secrets["service-token-3f9a"]` returns a reference, not the stored value. qbash resolves that reference when it sends the HTTP request, so the raw credential doesn't enter your Python runtime. Pass the reference unchanged: slicing, hashing, or encoding it won't operate on the underlying Secret. The [HTTP authentication helpers](https://qbash.com/docs/tasks/sdk-reference#module-http-auth) also support basic authentication, custom headers, and query parameters. If the Secret isn't attached, the lookup raises a `KeyError`. For optional credentials, `qbash.secrets.get("service-token-3f9a")` returns `None` when it's not attached. See the [Secrets SDK reference](https://qbash.com/docs/tasks/sdk-reference#module-secrets) for the available methods. Only send a Secret to a service you trust with that credential. Keeping its value out of Python doesn't limit what the receiving service can do with it. ### Sharing and updating Secrets Secrets are private by default. The owner can use the row's **⋯ → Share** menu to make a Secret available to specific people or the organization. Sharing lets them attach it to tasks. It doesn't reveal the stored value. People running a task use the Secrets already attached to that task, so consider what those credentials allow when sharing the task or giving someone editing access. To rotate a credential, choose **⋯ → Edit**, replace **Value**, and save. Tasks attached to that Secret use the updated value on subsequent requests, without changes to their code. Leaving the value field untouched keeps the existing credential. Renaming a Secret keeps its slug, so tasks that use it keep working. Code written before slugs refers to a Secret by name, such as `qbash.secrets["SERVICE_TOKEN"]`. That still works while only one Secret attached to the task has that name. Switch it to the slug before attaching a second Secret with the same name. Deleting one can break tasks that still depend on it. The **Last used** column helps you see when a Secret was used, but isn't a list of every task that depends on it. API keys used by qbash's built-in model providers are configured separately under **Models**. See [Model Providers](https://qbash.com/docs/org-settings/models). ### FAQ #### How do I let ChatGPT or Claude call my private API without exposing the API key? Store the key as a Secret and make the API call from a Task. The assistant runs the Task through the qbash MCP server and gets the result back. qbash adds the key when it sends the request, so the key is never in the conversation or in the client's configuration. [Call your internal API from ChatGPT, Claude and Cursor](https://qbash.com/docs/tasks/call-internal-api-from-ai-tools) has every step, and [Expose your internal API to your AI tools](https://qbash.com/start/internal-api) shows the same pattern with an inline prompt added. #### Can the model or the Task's code read a Secret's value? `qbash.secrets["service-token-3f9a"]` (the Secret's slug) returns a reference, and qbash resolves it when it sends the HTTP request. The stored value never enters the Python runtime or the model's context, and nobody can view it on the Secrets page after it's saved. The service that receives the key can still do whatever that key allows. #### How do I stop Claude Code from reading the API keys in my `.env` file while it still uses my APIs? A key that is stored as a qbash Secret doesn't have to be in a file on your machine. Put the API call in a Task, and Claude Code, Codex or Cursor can run that Task through the qbash MCP server. The coding agent gets the Task's result and never holds the key. #### Which kinds of authentication can use a Secret? Bearer tokens, basic authentication, a custom header such as `X-Api-Key`, and a query parameter. Each has a helper under `qbash.http.auth` (`bearer`, `basic`, `header` and `query`), and every helper takes the Secret reference. #### How do I rotate a key that several Tasks use? Open the Secret, choose **⋯ → Edit**, replace **Value** and save. Every Task that has the Secret attached sends the new value on its next request, with no code change. --- ## Call an internal API from ChatGPT, Claude and Cursor Source: https://qbash.com/docs/tasks/call-internal-api-from-ai-tools To call your internal API from an AI tool without handing it the key, put the API call in a qbash Task and store the key as a Secret. A Task is an AI cloud function written in Python that qbash hosts on secure cloud infrastructure. You add the qbash MCP server to ChatGPT, Claude, Cursor or Codex once, and each of them can then run the Task. The Task's Python only holds a reference to the key, so the key is never in a chat, in a client's config file or in the model's context. ### Prerequisites - A qbash account. The free plan has 100 runs a month and 3 Tasks, with no card. - An API that qbash can reach at a public `https` address. See [Limits](https://qbash.com/docs/tasks/call-internal-api-from-ai-tools#limits) if yours is only reachable inside a private network. - A key or token for that API. The example uses a bearer token. Basic auth, a custom header and a query parameter are also supported. - An AI tool that supports remote MCP servers, such as ChatGPT, Claude, Cursor or Codex. ### 1. Store the key as a Secret Open **Secrets** in the qbash sidebar and click **New secret**. Name it `ADMIN_API_TOKEN`, paste the token into **Value** and click **Create**. Secret names start with a letter and use uppercase letters, numbers and underscores. qbash gives the Secret a slug, which is how Task code refers to it: the name in lowercase with dashes plus the first 4 characters of its ID, such as `admin-api-token-3f9a`. Copy yours from the Secrets page, because it ends in different characters. Do this step in qbash yourself, so that the token never passes through a chat. qbash encrypts the value, and nobody can view it again from the Secrets page, including you. You can replace it later when you rotate the token. [Using Secrets](https://qbash.com/docs/tasks/using-secrets) covers sharing and rotation. ### 2. Add the qbash MCP server to your AI tool The [official qbash MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server) is at `https://mcp.qbash.com/mcp`. Every client signs in with your qbash account over OAuth, so there is no qbash key to paste into the client either. - **ChatGPT.** Turn on Developer mode under **Settings → Apps & Connectors → Advanced settings**. Then create a connector under **Settings → Connectors** with the URL above and OAuth authentication. On a Business, Enterprise or Edu workspace, an owner or admin adds it first. - **Claude.** Go to **Customize → Connectors**, click **+ Add**, choose **Add custom connector** and paste the URL. On a Team or Enterprise plan, an Owner adds it under **Organization settings → Connectors** first. - **Cursor.** Add the server to `~/.cursor/mcp.json` as `{"mcpServers": {"qbash": {"url": "https://mcp.qbash.com/mcp"}}}`, reload Cursor and sign in when it asks. - **Codex.** Run `codex mcp add qbash --url https://mcp.qbash.com/mcp`, then `codex mcp login qbash`. The card has the full steps for each client, with install links where the client supports them. ##### ChatGPT 1. In ChatGPT, open Plugins in the left sidebar, click "Add", and choose "Add custom MCP server". 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the server URL, choose OAuth, and click "Create as a plugin". 3. Install the plugin from the Personal tab and complete the qbash sign-in. 4. In a new chat, type @ and pick the plugin by its name. Any personal plan can add one, including Free. In a Business, Enterprise or Edu workspace, if the option isn't there, talk to your workspace owner. [Full guide for ChatGPT](https://qbash.com/docs/clients/chatgpt) ##### claude.ai 1. In Claude, go to Customize > Connectors, click "+ Add", and choose "Add custom connector". On a Team or Enterprise plan, an Owner adds it for everyone under Organization settings > Connectors, and members then connect it. 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the URL, and click "Continue". 3. Complete the qbash sign-in to authorize access. 4. In a chat, click the "+" button, choose "Connectors", and toggle the server on for that conversation. Custom connectors are available on Free (one connector), Pro, Max, Ultra, Team and Enterprise plans. [Full guide for Claude](https://qbash.com/docs/clients/claude) ##### Claude Code ```sh claude mcp add --transport http qbash https://mcp.qbash.com/mcp ``` Run this in your terminal, then inside Claude Code run /mcp, select the server, and complete the browser sign-in. [Full guide for Claude Code](https://qbash.com/docs/clients/claude-code) ##### Cursor In `~/.cursor/mcp.json`: ```json { "mcpServers": { "qbash": { "url": "https://mcp.qbash.com/mcp" } } } ``` Reload Cursor, then sign in with qbash when it prompts for authentication. [Full guide for Cursor](https://qbash.com/docs/clients/cursor) ##### VS Code In `.vscode/mcp.json`: ```json { "servers": { "qbash": { "type": "http", "url": "https://mcp.qbash.com/mcp" } } } ``` Start the server from the editor, then follow the browser sign-in prompt. [Full guide for VS Code](https://qbash.com/docs/clients/vscode) ##### Codex ```sh codex mcp add qbash --url https://mcp.qbash.com/mcp ``` Run this in your terminal, then run codex mcp login qbash and complete the qbash sign-in. The Codex CLI and IDE extension share this setup. For Codex in the ChatGPT app, add qbash as a ChatGPT plugin, the same as for ChatGPT. In `~/.codex/config.toml`: ```json [mcp_servers.qbash] url = "https://mcp.qbash.com/mcp" ``` Save the file, then run codex mcp login qbash and complete the qbash sign-in. [Full guide for Codex](https://qbash.com/docs/clients/codex) ##### Grok Bot 1. Open a Grok Bot chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Confirm the details and complete the qbash authorization flow presented by the Bot. [Full guide for Grok Bot](https://qbash.com/docs/clients/grok-bot) ##### dots 1. Open the dot and ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 2. Complete the qbash sign-in when the dot asks. 3. In a message inside the dot, type @ and pick the plugin by its name. Dots have the same plan and role limits as ChatGPT. A qbash plugin you already installed in ChatGPT works in the dot too. [Full guide for dots](https://qbash.com/docs/clients/chatgpt-dots) ##### Muse 1. Open a Muse chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Allow Muse to contact the server, choose "Connect" on the qbash card, and complete the qbash sign-in. [Full guide for Muse](https://qbash.com/docs/clients/muse) ##### Other 1. Add a remote MCP server in your client. If it asks for a transport, choose Streamable HTTP. 2. Paste the server URL: `https://mcp.qbash.com/mcp` 3. Choose OAuth when the client asks how to authenticate, then complete the qbash sign-in. [Full guide for other MCP clients](https://qbash.com/docs/clients/other) ### 3. Ask your AI tool to build the Task With the server connected, your AI tool can use the qbash task builder. Paste this prompt and change the endpoints to match your API: ```text Use qbash to build a Task called "Customer lookup". Inputs: email (required), note (optional). Steps: 1. GET https://admin.example.com/api/customers?email=. Send the qbash Secret admin-api-token-3f9a as a bearer token. 2. If the API returns 404, output {"email": , "found": false}. 3. If it returns any other status of 400 or above, fail the run with the status code. 4. Otherwise output the customer's id, plan and status. 5. If note was given, POST {"text": } to https://admin.example.com/api/customers//notes with the same bearer token, and add the new note's id to the output. Read the token with qbash.secrets["admin-api-token-3f9a"] and pass it to qbash.http.auth.bearer. Never ask me for the token's value. Description for the Task: "Looks up a customer in the admin API by email and optionally adds a note. Returns the plan and status." ``` The builder writes the Task in Python and saves it. Every save is a version that you can go back to. The description is what an assistant reads when it decides whether to call the Task, so say when to use it and what it returns. Open the Task in qbash before the first run and check that `ADMIN_API_TOKEN` is listed under **Secrets** in the Package. A Secret has to be attached to a Task before the Task can use it. If it's missing, choose **Add secret** from the Package **+** menu, attach it and save. ### The complete Task This is the Task that the prompt above describes. You can also paste it into `main.py` in the [task editor](https://qbash.com/docs/tasks/task-editor) and add `email` and `note` as inputs. ```python title="main.py" BASE_URL = "https://admin.example.com/api" # A reference to the Secret. qbash fills in the stored token when it sends the request. auth = qbash.http.auth.bearer(qbash.secrets["admin-api-token-3f9a"]) email = (qbash.inputs.get("email") or "").strip() note = (qbash.inputs.get("note") or "").strip() if not email: raise ValueError("The email input is required") def as_json(body): return json.loads(body) if isinstance(body, str) else body # GET: look the customer up by email. lookup = qbash.http.request( "GET", f"{BASE_URL}/customers?email={urllib.parse.quote(email)}", auth=auth, timeout=10000, ) if lookup["status"] == 404: qbash.output({"email": email, "found": False}) elif lookup["status"] >= 400: raise RuntimeError(f"Customer lookup returned HTTP {lookup['status']}") else: customer = as_json(lookup["body"]) result = { "email": email, "found": True, "id": customer["id"], "plan": customer["plan"], "status": customer["status"], } # POST: add a note to the customer, only when the caller sent one. if note: created = qbash.http.request( "POST", f"{BASE_URL}/customers/{customer['id']}/notes", body={"text": note}, auth=auth, timeout=10000, ) if created["status"] >= 400: raise RuntimeError(f"Adding the note returned HTTP {created['status']}") result["note_id"] = as_json(created["body"])["id"] qbash.output(result) ``` A few things about this code: - **There are no `import` lines.** Tasks don't allow them. The `qbash` SDK and common standard library modules such as `json` and `urllib.parse` are already loaded. - **HTTP goes through `qbash.http.request`.** It returns a dictionary with `status`, `headers` and `body`. An error status doesn't raise on its own, so the Task checks `status` and raises. A raised error fails the run. - **`timeout` is in milliseconds.** The default is 30,000. - **A dictionary passed as `body` is sent as JSON.** - **`qbash.secrets["admin-api-token-3f9a"]` returns a reference, and the stored value never enters the Python runtime.** Pass the reference through unchanged. If you slice it, hash it or encode it, qbash can't resolve it. For other auth schemes, use `qbash.http.auth.basic`, `qbash.http.auth.header` or `qbash.http.auth.query`. The [SDK reference](https://qbash.com/docs/tasks/sdk-reference) lists them. ### 4. Call it from ChatGPT, Claude, Cursor and Codex Ask in plain words in any client that has the qbash server connected: ```text Look up jo@example.com in the admin API with the Customer lookup Task. ``` The assistant finds the Task, sends `email` as the input and gets back what the Task passed to `qbash.output`. The same Task answers from every client, so there is one copy of the logic to maintain. The assistant only sees the Task's name, description, inputs and result. The token and the Python stay in qbash. A Task is not tied to MCP. It can also run on a [schedule, from an API call or from a webhook](https://qbash.com/docs/tasks/distribution). ### How teammates use it without seeing the key qbash also lets you build [custom MCP servers](https://qbash.com/docs/mcp-servers/overview). They work as a permission layer for your teammates or agents. 1. Open **MCP Servers → New server**, choose **Add tools** and select the Customer lookup Task. 2. On **Access**, invite specific people with **Can connect**, or select **Organization**. 3. Each teammate adds the server's address to their AI tool and signs in with their own qbash account. Teammates can call the tool. They can't edit the Task's code, and they never receive the token. Every run uses the Secret that is attached to the Task, so think about what that token allows before you share the tool. The server's **Logs** tab shows who called each tool and when. ### Limits - **The API needs a public address.** qbash sends each request from its own servers and refuses private and internal addresses such as `10.0.0.5` or `localhost`. A Task can't reach an API that only answers inside your company network. - **Each HTTP request waits 30 seconds by default.** Set `timeout` to change that. Responses over 50 MB are refused. - **A run can last up to 15 minutes** on the Free and Developer plans. - **A long run returns an execution ID first.** Over MCP, a Task call waits about 45 seconds. If the run is still going, the client gets an execution ID and collects the result with a status tool. - **Plan and role limits on the client side still apply.** On ChatGPT Business, Enterprise and Edu workspaces and on Claude Team and Enterprise plans, an owner or admin has to add a custom MCP server first. This setup isn't the right fit when the assistant should explore your whole API freely. A Task exposes the calls that you wrote, with the inputs that you defined. That is usually the point with an internal API, but it means each new operation is a change to the Task or a new Task. ### FAQ #### How do I let ChatGPT or Claude call my private API without exposing the API key? Store the key as a qbash Secret and make the API call from a Task. The assistant calls the Task over MCP and gets the result. The key is filled in by qbash when the request is sent, so it is never in the conversation or in the client's configuration. #### Can the model read the key? The Task's Python only holds a reference to the key, and qbash resolves the reference when it sends the HTTP request. The value never enters the Python runtime or the conversation. The value can't be viewed on the Secrets page after it's saved. The API that receives the key can still do whatever that key allows, so only send a Secret to a service you trust with it. #### Do I have to run or host an MCP server? qbash hosts it. You connect your AI tool to the official server at `https://mcp.qbash.com/mcp`, or to a custom server that you create in qbash for your team. #### Can I use the same Task in ChatGPT, Claude and Cursor? One Task serves every client that is connected to qbash. You connect each client once, and a change to the Task applies to all of them. #### My API uses an API key header instead of a bearer token. Does that work? Use `qbash.http.auth.header("X-Api-Key", qbash.secrets["admin-api-token-3f9a"])` as the `auth` argument. Basic auth and query-parameter keys have their own helpers. #### Can it reach an API behind our firewall or VPN? A Task can only call a public address. If the API is private, you need a public entry point for it, such as an API gateway that checks the key. #### How do I rotate the key? Open the Secret, choose **⋯ → Edit**, replace the value and save. Tasks that use the Secret send the new value on their next request, with no code change. ### Next steps - [Expose your internal API to your AI tools](https://qbash.com/start/internal-api) shows the same pattern with an inline prompt added. - [Official MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server) lists every tool your AI client gets, including the task builder. - [MCP servers](https://qbash.com/docs/mcp-servers/overview) covers custom servers, access and logs. - [Using Secrets](https://qbash.com/docs/tasks/using-secrets) covers attaching, sharing and rotating Secrets. - [Moving a GPT Action before December 11](https://qbash.com/blog/gpts-retirement-actions) covers the custom GPT retirement. --- ## Distribution Source: https://qbash.com/docs/tasks/distribution You can build a task once and make it available to AI assistants and other applications, or share a run form in qbash. It can also run on a schedule or respond to an event. Where the task starts does not have to be where its result goes. A scheduled company brief could be emailed to the team. An incoming email could start a task that posts to Slack, and an API caller could receive the result directly. Your code controls what happens and where the result is delivered. ### MCP and AI chat An MCP server makes your task available as a tool in applications such as ChatGPT, Claude, Codex, and Cursor. The assistant sees the task's description and inputs, calls it when needed, and uses its result in the conversation. A teammate could ask their assistant for a company brief. The assistant supplies the company name and any notes, and qbash runs the task and returns the brief. The teammate does not need to open the task editor or know how it was built. Save the task, then use the **MCP servers** section under **Settings → Triggers** to open its server connections or add it to a server. Task selection is managed on the server, which controls which tools are available and who can use them. Connect that server to the AI application. [MCP servers](https://qbash.com/docs/mcp-servers/overview) covers setup and access. Give the task a description that explains when to use it and what it returns, so the assistant can choose it appropriately. ### API and webhooks **Settings → Triggers → API** contains two HTTP options: **API - Synchronous** and **Webhook - Asynchronous**. Both accept a POST with task inputs. The difference is whether the caller waits for the task's result or receives an acknowledgement while the task continues in the background. ![The Triggers panel labels API as Synchronous and Webhook as Asynchronous, below the manual and scheduled options](https://qbash.com/img/tasks/task-triggers-sync-async.jpg) #### Synchronous API Use **API** when the calling application needs the answer in the same request. qbash runs the task and returns the value set by `qbash.output(...)` in the response's `result` field. For the company brief, the request body might be: ```json { "company": "Acme", "notes": "Preparing for a renewal meeting. The team wants to discuss onboarding." } ``` The panel provides the endpoint and a request example. Select one or more organization Secrets as API tokens. [Using Secrets](https://qbash.com/docs/tasks/using-secrets#creating-a-secret) explains how to create or generate one. Callers send a selected token as a bearer token: ```http Authorization: Bearer Content-Type: application/json ``` A token per caller lets you revoke one application's access independently. Server-sent events are available for clients that display progress while waiting. The connection still needs to remain open, so use the asynchronous option when the work may outlast the caller's request timeout. #### Asynchronous webhook Use **Webhook** when the sending system should not wait for the work to finish. qbash accepts the request, queues the task, and immediately returns `202 Accepted` with an `entrypoint_run_id`. That response means the request was accepted, not that the task succeeded, and it does not contain the final result. Under **Completion Callback**, you can provide a URL for qbash to POST the outcome when the task finishes. The callback identifies the run and contains its status, timing, and either the result or an error. Alternatively, the task can deliver the brief to Slack, email or another connected service itself. Webhook requests can be public or verified using an HMAC organization Secret. A configured callback secret signs the outgoing callback separately. Verify callback signatures and handle repeated deliveries. If a request could post the same brief twice, the task needs to account for that too. ### Run form in qbash The task's page provides an on-demand run form. Its fields come from the [inputs defined in the editor](https://qbash.com/docs/tasks/task-editor#inputs), so someone using the company-brief task only needs to supply a company name and any meeting notes. This is useful for occasional requests or for sharing an automation with colleagues who do not need to edit it. Progress and the returned result appear with the run. ### Connected triggers The **Integrations** group in **Triggers** starts tasks from events in connected services. Available sources include: | Source | What can start the task | |---|---| | Slack | Messages and mentions | | Microsoft Teams | Messages posted in a channel | | Telegram | Bot messages and events | | Gmail and Outlook Mail | New email found during a polling check | | GitHub | Pushes, pull requests, releases, and other configured webhook events | | Jira | Issue and comment events | | Bugsnag | Error notifications | | LinkedIn | Likes, comments, and shares on a company page | | Google News and SERP | New articles matching monitored topics or keywords | Each trigger has its own connection, event, and filtering options. Some services send events directly, and polling triggers check periodically for new items. A task can have several triggers. The event data is available through `qbash.inputs`. For example, a GitHub trigger can supply the repository and pull-request details, while a mail trigger supplies messages. Match the fields your code expects to those supplied by the trigger. An event does not necessarily use names such as `company` or `notes`. A trigger starts the task but does not decide where to send its answer. A Slack mention could get a reply in Slack or update a record in your CRM, depending on what your code does. ### Schedules A schedule runs the task at recurring times in a timezone you choose. It supplies the inputs, so no person or application needs to send a request at that moment. For example, a saved company name and set of notes could produce a brief before a weekly meeting. A task can have several schedules with different times and input values. Check the [concurrent-run setting](https://qbash.com/docs/tasks/task-editor#concurrency) if one run might still be working when the next starts. ### Delivering results [`qbash.output(...)`](https://qbash.com/docs/tasks/task-editor#returning-a-value) sets the value returned to the caller. A task can also deliver the result elsewhere in the same run with an integration call, such as posting the company brief to Slack or Teams, emailing it, or saving it in a connected service. For a scheduled task, the person who reads the brief gets it where they already work, without opening run logs. ### Access and credentials Task access controls who can open or run it in qbash. API and webhook secrets authenticate external callers, while MCP servers manage access for their connected clients. The task uses the connector accounts attached in its Package. People can use the automation without receiving the CRM credentials or other secrets behind those connections. Its actions remain limited by the permissions of those accounts. --- ## Testing and debugging Source: https://qbash.com/docs/tasks/testing-and-debugging The editor has two ways to check your work. **Run tests.py** checks assertions against your Python code with mocked platform calls. **Test run** executes the current draft, including any real prompts and connected services it calls. Neither requires saving a new task version first. ### Test files Add a test file from **Package → New test file**. This creates `tests.py` alongside `main.py`. Write functions named `test_*`, with no arguments, and use Python assertions to describe the result you expect. Open the arrow beside **Test run** and choose **Run tests.py**. The console's **Tests** tab shows each result and the pass/fail count. Failed tests expand to show the assertion or exception and its traceback. If the runner finds no `test_*` functions, it reports that no tests ran. ![tests.py open in the Company brief task, with a mocked prompt call and a passing result in the console's Tests tab](https://qbash.com/img/tasks/task-tests-passing.jpg) #### Testing Python helpers Test files are useful for parsing, calculations, and validation. Helpers defined in `main.py` are available directly in `tests.py`; the runner loads their definitions without running the rest of `main.py`. Helpers in additional Python files can be imported through `aisle_scripts`. For example, the [`company.py` helper in the SDK reference](https://qbash.com/docs/tasks/sdk-reference#python-scripts) trims whitespace from a company name. A test file can import that helper and check its behavior: ```python title="tests.py" from aisle_scripts import company def test_normalize_name(): assert company.normalize_name(" Acme ") == "Acme" def test_empty_name(): assert company.normalize_name(" ") == "" ``` #### Testing the whole script `run_script(fake)` runs all of `main.py` with a fake `qbash` namespace. `testing`, `run_script`, and `MagicMock` are already available in `tests.py`; you don't need to import them. For the company-brief script in [Intro and editor](https://qbash.com/docs/tasks/task-editor), this test supplies a fixed prompt response and checks both the prompt inputs and the returned result: ```python title="tests.py" def test_company_brief(): ai = MagicMock() ai.run_prompt.return_value = "Acme is preparing for renewal." fake = testing.mock_qbash( inputs={"company": "Acme"}, ai=ai, ) run_script(fake) ai.run_prompt.assert_called_once_with( "company-brief", {"company": "Acme", "notes": ""} ) fake.output.assert_called_once_with({ "company": "Acme", "brief": "Acme is preparing for renewal.", }) ``` The prompt isn't sent to a model. Calls to AI, HTTP, integrations, and other external services must be explicitly mocked; an unmocked call fails the test instead of reaching the service. Use this to check how your code handles a response or an error. It doesn't tell you whether the real prompt produces a good answer or whether a connected account has the right permissions. ### Test runs **Test run** executes `main.py` from the current editor draft, using its current prompts and Package files, and the connectors, memory folders, Secrets and linked tasks attached to it. It does not run `tests.py`. If the task declares inputs, clicking **Test run** opens a dialog where you enter their values and choose **Run Task**. Without inputs, the run starts immediately. The console opens beneath the editor and follows that run. You can change the code or inputs and run it again without saving those edits to the version used by other callers. ![A completed editor Test run of a simple Python draft, with Writes blocked and the returned company brief in the console's Result tab](https://qbash.com/img/tasks/task-editor-test-run.jpg) Unlike the mocked tests, a Test run makes real model calls and reads connected data when your code asks it to. Those calls can incur usage charges. Writes are blocked by default. An attempted message, CRM update, or other write appears as **not sent**, so you can inspect it without changing the destination. This also covers memory and cache writes, non-read HTTP requests, and writes through linked tasks or agent tools. If the code needs the result of a blocked write to continue, the run stops with **Stopped · write not sent**. Choose **Test run (allow writes)** from the arrow menu when you need to test those changes too. After confirmation, that one run can make real changes in connected systems. The next ordinary Test run blocks writes again. `qbash.run.is_test` is `True` in both modes; it doesn't indicate whether writes are allowed. #### Run console **Logs** shows progress in order, including your `qbash.log(...)` messages, connected operations, prompt responses, and agent tool calls. Expand an entry to inspect its details. **Result** shows the value passed to `qbash.output(...)`; **Tests** shows results from **Run tests.py**. For the company brief, check what was passed to `company-brief` and what it returned. When the prompt runs as an agent, the console also shows the model turns and tool results. This helps distinguish a problem in the prompt's answer from a problem in the Python code that uses it. A `run_prompt` call with a file its model can't read stops the run before the model is called, with `qbash.FileNotReadableError` and the fix in its message. Use `qbash.log(...)` for details you want to follow while editing, such as which company is being processed or whether notes were supplied. **Copy logs** copies the run's log entries when you want to investigate them with the development agent. Saved-run logs, versions, and runtime settings are covered at the end of [Intro and editor](https://qbash.com/docs/tasks/task-editor#versions-and-logs). --- ## Migrate an automation Source: https://qbash.com/docs/tasks/migrate-an-automation You can use an existing automation as the starting point for a qbash task. The task editor's import accepts material from n8n, OpenClaw, Claude Code, or Codex, and the development agent helps rebuild it as Python, prompts, and task settings you can edit. Bring an example input and a result you are happy with. For a company-brief automation, that could be a company name, meeting notes, and a brief that includes the right details. Explain what starts it, which systems it uses, and where people need the result. ### Importing an automation Choose **Import automation** at the bottom of the task editor's sidebar, above **SDK reference**, and provide the workflow definition, code, or instructions. The agent uses this material to create a draft in the editor. You can also start in `main.py` and use **Iterate with AI** to work from a description. This is useful for a small script or a procedure that lives in someone's notes or conversation history. Add accounts and Secrets with **Add connector** and **Add secret** in the Package **+** menu when the task needs them. Credentials from the original system are not transferred with its code. ### Files, connections, and triggers The imported automation uses the same parts as any other qbash task: | Existing automation | In the task editor | |---|---| | Inputs or form fields | Task inputs | | Code and transformations | `main.py` and Python scripts | | Model instructions | Prompts | | An agent that uses tools | A prompt with abilities or subagents turned on | | Reference documents or a rubric | Markdown files, uploaded Package files or memory | | Connected accounts and credentials | Connectors and Secrets in the Package | | A reusable workflow | A linked task | | A schedule, event, API, or webhook | Triggers | | A returned result | `qbash.output(...)` | The structure may change during the move. Several transformation nodes in a visual workflow might become one Python function. The useful comparison is whether the task follows the same rules and produces the result you need. ### Source material #### n8n Export the workflow JSON and include any expressions, environment variables, or community nodes it depends on. The agent can use the workflow to understand the sequence, while qbash connections replace its saved credentials. #### OpenClaw Bring the instructions, tool definitions, and examples that describe the job. Reusable tools can become Python scripts or linked tasks, with the prompt calling them when needed. #### Claude Code and Codex Bring the relevant source files and explain how you currently run them. If the code reads local files or depends on a command installed on your machine, that part needs adapting: qbash runs the task in the cloud. Files can become task inputs or documents, and connected services can supply data that previously came from a local environment. #### Cowork A procedure can be rebuilt from its standing instructions, source references, and an example result. Include corrections that matter to the job, such as which figures to trust or how a report should be formatted. Conversation history, local files, and schedules do not transfer automatically. ### Testing the imported task Use **Test run** with an example you know. For a company brief, compare the facts and requested sections rather than expecting identical wording from the model. Inspect the console to see what was read, which prompts ran, and what the task tried to write. Writes are blocked by default, so you can inspect a proposed message or update before sending it. Try an empty result or a missing input too, especially if the previous system handled those cases for you. **Iterate with AI** can help with differences. Give it the input, the expected result, and what happened instead. For agents, the tool calls in the console can explain a difference that is not obvious from the final answer. ### Switching over Save the task when you are satisfied with the draft. Configure its timeout, retries, and concurrent-run settings, then make it available where the original automation was used. [Distribution](https://qbash.com/docs/tasks/distribution) covers API callers, AI assistants using MCP, schedules, and events. When replacing a live automation, pause its old trigger before enabling the new one so both systems do not deliver the same work. Check the first run and its destination, and keep the old definition available while you verify the replacement. The [task editor](https://qbash.com/docs/tasks/task-editor) explains files, settings, versions, and run history. [Testing and debugging](https://qbash.com/docs/tasks/testing-and-debugging) covers test files, draft Test runs, and the editor console. --- ## SDK Reference Source: https://qbash.com/docs/tasks/sdk-reference The `qbash` SDK is available inside every task. It reads inputs, calls prompts and connected services, works with files and memory, and returns the task's result. There is no package to install or client to initialize. This is the company-brief example from [Intro and editor](https://qbash.com/docs/tasks/task-editor), with a log message added: ```python company = qbash.inputs.get("company") qbash.log(f"Preparing a brief for {company}") brief = qbash.ai.run_prompt( "company-brief", {"company": company, "notes": qbash.inputs.get("notes", "")}, ) qbash.output({"company": company, "brief": brief}) ``` It requires a `company` task input and a prompt with the slug `company-brief`. The prompt uses `company` and `notes` placeholders; [Prompts](https://qbash.com/docs/tasks/prompts) shows their configuration. The optional `notes` task input falls back to an empty string. The examples below cover working with task files and runtime behavior. The method reference follows, grouped by SDK namespace. ### Python scripts Python scripts in the task are imported through `aisle_scripts`. For example, a file named `company.py` could contain: ```python title="company.py" def normalize_name(value): return value.strip() ``` Your `main.py` can import it by its filename without the extension: ```python title="main.py" from aisle_scripts import company name = company.normalize_name(qbash.inputs.get("company")) brief = qbash.ai.run_prompt( "company-brief", {"company": name, "notes": qbash.inputs.get("notes", "")}, ) qbash.output({"company": name, "brief": brief}) ``` Test files use the same imports. See [Testing and debugging](https://qbash.com/docs/tasks/testing-and-debugging#test-files) for a test of this helper. ### Task documents Markdown documents are available through the task's attached memory folder. For a document named `briefing-guide`, your code can read its content or search for relevant passages: ```python guide = qbash.memories.get("briefing-guide") instructions = guide["content"] matches = qbash.memories.search("company brief format") ``` The returned document contains its content and metadata; it is not just a text string. [`qbash.memories`](https://qbash.com/docs/tasks/sdk-reference#module-memories) describes the returned fields and search options. You can also [pass memory folders to a prompt from Python](https://qbash.com/docs/tasks/prompts#resources) without reading each document first. ### Connector accounts An integration call uses one of the task's accounts for that service. With two HubSpot accounts attached, `credential=` picks the second by its [handle](https://qbash.com/docs/tasks/task-editor#connectors): ```python contacts = qbash.integrations.hubspot.list_contacts(credential="hubspot-2") ``` `credential=` also takes the account's ID or name, and a credential input's value (`credential=qbash.inputs.get("crm")`). A call without `credential=` uses the account under the bare handle (`hubspot`). If that account was removed and one other HubSpot account is left, the call uses that one. With several left, the call fails and the error lists their handles. ### Prompt settings A prompt's own settings are saved on the prompt, in the prompt editor's model bar and its **Abilities and limits** section, or by the AI builder. Everything else reaches the prompt through the `run_prompt` call. The prompt runs as an agent when it has an ability, has subagents on, or the call passes `tasks=`, and the limits below apply only then. [Prompts](https://qbash.com/docs/tasks/prompts#settings-reference) lists each setting as the editor labels it. | Key | Default | Range | What it sets | |---|---|---|---| | `abilities` | None | [Prompt abilities](https://qbash.com/docs/tasks/prompts#abilities) | Tools the prompt can use as an agent | | `subagents` | `false` | `true` or `false` | Whether the prompt can hand work to subagents that run in parallel | | `max_subagents` | 10 | 1 to 10 | Subagents per turn, with subagents on | | `max_iterations` | 25 | 1 to 50 | Turns with tool calls before one final turn without tools | | `max_output_tokens` | 50,000 | 1,000 to 200,000 | Output tokens across all the agent's turns | | `max_task_tool_calls` | 20 | 1 to 50 | Runs of the tasks passed in `tasks=`, per `run_prompt` call, subagents included | | `timeout_seconds` | The task's timeout | 10 to 43,200 | The prompt's own time limit, still capped by the task's | | `task_logs_scope` | `"this_task"` | `"this_task"` or `"all_tasks"` | Which runs the Task Logs Access ability reads | The prompt also holds its model, its output format (Text, JSON or Decisions) and the model's Web Search and Web Fetch tools, which work on every call. In the call, the second argument holds the prompt's variables. `files=` takes images, PDFs and plain text files, such as `qbash.files.package("pricing.pdf")` for a Package file. Convert a PowerPoint, Word or Excel file with `qbash.files.convert` before passing it, or the call raises `qbash.FileNotReadableError`. `connectors=` takes the task's connectors by provider (`"hubspot"`), handle (`"hubspot-2"`), account name or ID, or a credential input's value. `memory=` takes the task's memory folders as `qbash.memories.folder("")` and its Markdown files by slug. `tasks=` takes linked tasks by slug or ID, and `model=` runs this call on another model. `qbash.ai.raw` takes the same keys as keyword arguments, with the same defaults and ranges, except that `max_task_tool_calls` is `max_task_calls=`. It also takes `connectors=`, `memory=` and `tasks=` as `run_prompt` does, plus `web_search=True` and `web_fetch=True` for the model's own tools. Prefer an inline prompt, which you can see and edit in the editor. Use `raw` with settings for a one-off call inside your code, such as a quick research step: ```python findings = qbash.ai.raw( f"Find {company}'s current pricing and summarize it.", subagents=True, web_search=True, ) ``` With subagents on, an ability or `tasks=`, the call runs as an agent and returns what `run_prompt` returns there, including `.text` and `.files`. ### Prompt results A Text prompt returns a string. A JSON prompt returns the value matching its output schema, such as a dictionary with `summary` and `questions` fields. Those choices apply whether or not the prompt runs as an agent. A prompt that runs as an agent and uses Text returns its final answer as a string-like value. It also exposes `.text`, containing text written across its turns, and `.files`, containing generated files. To keep those files in the task's result, include them explicitly: ```python company = qbash.inputs.get("company") brief = qbash.ai.run_prompt( "company-brief", {"company": company, "notes": qbash.inputs.get("notes", "")}, ) qbash.output({"company": company, "brief": brief, "files": brief.files}) ``` This version of the example needs **Text** output and a prompt that runs as an agent, with an ability or subagents turned on under **Abilities and limits**. With JSON output, read the returned fields instead. [`run_prompt(...)`](https://qbash.com/docs/tasks/sdk-reference#qbash-ai-run-prompt) lists the full set of arguments and return types. ### Retries and reused results A task retry starts `main.py` again. `qbash.checkpoint` remembers work across attempts of that run, so a later attempt can reuse a completed result. For example: ```python company = qbash.inputs.get("company") notes = qbash.inputs.get("notes", "") brief = qbash.checkpoint.get_or_set( "company-brief", lambda: qbash.ai.run_prompt( "company-brief", {"company": company, "notes": notes}, ), ) qbash.output({"company": company, "brief": brief}) ``` Once the brief has been stored, another attempt of the same run uses it. A separate run has its own checkpoints. Use this pattern for a text or JSON result; `get_or_set(...)` is not suitable for a function that returns `None`. For an external write, a checkpoint alone does not guarantee it happens only once. The run could stop after posting a brief but before recording completion. Where supported, send the destination an idempotency key - a stable identifier it uses to recognize a repeated request - and design the operation so retrying does not duplicate the work. `qbash.cache` reuses values across separate runs of the same task for a specified time. For example, a cached company lookup might remain useful for an hour. Choose the key and lifetime so a caller does not receive information prepared for different inputs. `qbash.run.last_run_at` is the previous successful run time. It can help a scheduled task select recently changed records. If records can arrive late, query a small overlapping period and use record IDs to avoid processing the same update twice. For several independent company briefs in one run, `qbash.parallel(...)` calls a function for each item with a limit on simultaneous requests. Its retries and checkpoints also need operations that are safe to repeat. Method options follow under [parallel](https://qbash.com/docs/tasks/sdk-reference#qbash-parallel), [checkpoint](https://qbash.com/docs/tasks/sdk-reference#module-checkpoint), [cache](https://qbash.com/docs/tasks/sdk-reference#module-cache), and [run](https://qbash.com/docs/tasks/sdk-reference#module-run). ### SDK reference (compact) Generated from the task SDK metadata. In a signature, a bare name is required and a name followed by `?` is optional. Integration operations are called as `qbash.integrations..(**params)`, and a hyphenated operation name is also available with underscores. #### qbash - `qbash.parallel(fn, items, concurrency?, max_per_minute?, continue_on_error?, checkpoint?, checkpoint_key?, store_result?, retry?)`: Run fn(item) for each item using a producer-consumer pool. Returns `ParallelResult`. - `qbash.output(value, type?)`: Set this task run's output. - `qbash.log(message)`: Append a message to the task run log. - `qbash.step(name)`: Name a part of the script so a retried run can match its calls. Returns `any`. - `qbash.wait(step_key, seconds?, until?)`: Wait for a time to pass, in a run that keeps its steps. Returns `dict`. - `qbash.fail(message)`: End this run failed with message as its error, and skip the task's automatic retries. For a failure a retry cannot fix, such as a bad input file. Raises qbash.FatalError. - `qbash.sleep(seconds)`: Pause execution for the given number of seconds (max 900). #### qbash.ai AI tools: raw, run_prompt, the model catalog, and provider-native web and search tools. - `qbash.ai.raw(instruction, files?, system?, model?, api_key_id?, temperature?, max_tokens?, output_schema?, tools?, cache?, key?, connectors?, memory?, tasks?, web_search?, web_fetch?, abilities?, subagents?, max_subagents?, max_iterations?, max_output_tokens?, max_task_calls?, timeout_seconds?, task_logs_scope?)`: Call an LLM with the given instruction. Returns `str | dict | PromptResult`. - `qbash.ai.run_prompt(prompt_ref?, variables?, files?, slug?, cache?, connectors?, memory?, tasks?, model?, api_key_id?, step_key?)`: Run an inline prompt by slug (or a migrated prompt's old UUID). Returns `str | dict | PromptResult`. - `qbash.ai.anthropic_web_search(query)`: Search the web using Anthropic's built-in search tool. Returns `str`. - `qbash.ai.anthropic_web_fetch(url)`: Fetch and extract the text content of a URL using Anthropic. Returns `str`. - `qbash.ai.openai_web_search(query)`: Search the web using OpenAI's built-in search tool. Returns `str`. - `qbash.ai.gemini_google_search(query)`: Search Google using Gemini's grounding tool. Returns `str`. - `qbash.ai.gemini_url_context(urls)`: Fetch and summarise one or more URLs using Gemini URL context. Returns `str`. - `qbash.ai.xai_x_search(query)`: Search X (Twitter) using xAI's live search tool. Returns `str`. - `qbash.ai.models(query?, provider?, vendor?, family?, mode?, requires?, min_context?, include_deprecated?, configured?, sort?)`: List models from Aisle's model catalog. Returns `list[dict]`. - `qbash.ai.model(model_id)`: The full catalog record for one model id. Returns `dict | None`. #### qbash.tasks Call another task that this task has explicitly linked as a tool. - `qbash.tasks.run(id_or_slug, inputs?, step_key?)`: Run a linked task and return its result. Returns `any`. - `qbash.tasks.list_runs(task_id?, limit?)`: List a task's recent runs. Returns `dict`. #### qbash.documents Document chunking - extraction_plan, extract_unit, split, contextualize_chunk. - `qbash.documents.extraction_plan(file, strategy?)`: Split a document into per-page extraction units. Returns `dict`. - `qbash.documents.extract_unit(page)`: Extract one page's text with an LLM. Returns `dict`. - `qbash.documents.split(text?, ref?, doc_type?)`: Split text into chunks and group them into contextualization windows. Returns `dict`. - `qbash.documents.contextualize_chunk(chunks_ref, seq)`: Prepend window context to one chunk with an LLM. Returns `dict`. #### qbash.memories Memory operations - search, store, get, update, query, list, propositions. - `qbash.memories.folder(slug)`: Name a memory folder by its slug in a prompt's ``memory=`` list. Returns `dict`. - `qbash.memories.search(query, limit?, folder?, folder_id?)`: Case-insensitive keyword search over memory records without using Returns `list`. - `qbash.memories.get(name, folder?, folder_id?)`: Fetch a memory document by its slug. Returns `dict`. - `qbash.memories.store(name, content?, metadata?, file?, await_embedding?, embedding_timeout?, folder?, folder_id?)`: Create a memory record. Returns `dict`. - `qbash.memories.archive(memory_id, folder?, folder_id?)`: Mark a memory as archived. Idempotent - archiving an Returns `dict`. - `qbash.memories.unarchive(memory_id, folder?, folder_id?)`: Restore an archived memory to active status. Idempotent. Returns `dict`. - `qbash.memories.create_folder(name, folder?, folder_id?)`: Create a subfolder inside ``folder``/``folder_id``, a folder this Returns `dict`. - `qbash.memories.await_embedding(memory_id, timeout?, folder?, folder_id?)`: Block until the memory's embeddings finish (or fail). Returns `dict`. - `qbash.memories.vector_search(query, limit?, threshold?, folder?, folder_id?)`: Semantic search returning [{id, name, content, similarity, metadata, Returns `list`. - `qbash.memories.update(memory_id, content, metadata?, merge?, folder?, folder_id?)`: Update an existing memory record by ID. Returns `dict`. - `qbash.memories.query(name?, metadata?, folder?, folder_id?)`: Filter records by name or metadata key-value pairs. Each result Returns `list`. - `qbash.memories.list_all(folder?, folder_id?)`: List memory records (lightweight: id, slug, name, created_at, Returns `list`. - `qbash.memories.get_propositions(memory_id, folder?, folder_id?)`: Get semantic proposition chunks for a record. Omitting the folder Returns `list`. #### qbash.activity qbash.activity: tell the run's person something, or ask people and wait for the answer. - `qbash.activity.notify(title, body?, details?, url?, level?)`: Tell the run's person something in Activity. Returns `dict`. - `qbash.activity.ask(title, step_key, body?, body_format?, details?, choices?, to?, expires_in_hours?, note?, note_required_for?, note_label?, note_placeholder?, fields?, fields_skipped_for?)`: Ask people a question in qbash Activity and wait for the answer. Returns `dict`. - `qbash.activity.await_approval(title, step_key, body?, body_format?, details?, to?, expires_in_hours?, note?, note_required_for?, note_label?, note_placeholder?, fields?, fields_skipped_for?)`: Ask for approval in qbash Activity and wait for the answer. Returns `dict`. - `qbash.activity.callback_url(step_key)`: Get a URL another system posts to when it is done, for await_callback with the same step_key to wait on. Returns `dict`. - `qbash.activity.await_callback(step_key, expires_in_hours?)`: Wait for a POST to the URL callback_url returned for this step_key. Returns `dict`. #### qbash.http HTTP tool - outbound requests proxied through Elixir for URL validation. - `qbash.http.request(method, url, headers?, body?, auth?, follow_redirects?, timeout?)`: Make an HTTP request. Returns `dict`. #### qbash.http.auth HTTP auth helpers. Build the `auth=` argument for qbash.http.request and qbash.files.download. - `qbash.http.auth.bearer(token)`: Authorization: Bearer . Returns `dict`. - `qbash.http.auth.basic(username, password)`: Authorization: Basic base64(username:password). Resolved before encoding. Returns `dict`. - `qbash.http.auth.header(name, value)`: Send `value` in the named header, e.g. header("X-Api-Key", qbash.secrets["api-key-3f9a"]). Returns `dict`. - `qbash.http.auth.query(name, value)`: Append `name=value` to the URL query string, URL-encoded. Returns `dict`. #### qbash.files Files tool - write, read, metadata, split, and convert operations. - `qbash.files.open(ref, mode?, encoding?, errors?)`: Open a file as a streaming file-like object. Returns `any`. - `qbash.files.write(content, name, content_type?)`: Write content as a named file. Returns a QBash file-reference object. Returns `dict`. - `qbash.files.begin_upload(name, content_type?, byte_size?, content_sha256?)`: Request a presigned S3 upload URL for a large file. Returns `dict`. - `qbash.files.complete_upload(file_upload_id, upload_claim?)`: Confirm a large file upload and get the QBash file-reference object. Returns `dict`. - `qbash.files.read(ref, encoding?)`: Read a file's contents by reference. Returns `any`. - `qbash.files.download_url(ref)`: Return a presigned S3 URL for the file (8 hour expiry). Returns `str`. - `qbash.files.package(name)`: Return a file uploaded to this task's package, by its filename. Returns `dict`. - `qbash.files.metadata(ref, include_url?)`: Return file metadata. Returns `dict`. - `qbash.files.split_pdf(ref)`: Split a PDF into individual pages. Returns `list`. - `qbash.files.convert(ref)`: Convert a file to a simpler format. Returns `dict`. - `qbash.files.zip(entries)`: Create a zip archive from a list of (filename, content_bytes) tuples. Returns `any`. - `qbash.files.writer(name, content_type?)`: Open a streaming file writer for incremental writes. Returns `StreamingWriter`. - `qbash.files.download(url, filename, content_type?, headers?, auth?, timeout?)`: Download a file from a URL and upload it to S3 server-side. Returns `dict`. #### qbash.inputs Inputs accessor - read-only view over merged trigger + user inputs. - `qbash.inputs.get(name, default?)`: Return the value for input param `name`, or `default` if absent. Returns `Any`. - `qbash.inputs.all()`: Return all input params as a dict. Returns `dict`. #### qbash.secrets Secrets accessor: qbash.secrets["stripe-key-3f9a"] returns a placeholder for a bound org secret, and the value never enters the sandbox. - `qbash.secrets.get(name, default?)`: Return the ref for bound secret `name` (its slug), or `default` when it is not bound. Returns `SecretRef | str | None`. - `qbash.secrets.names()`: Sorted slugs of the secrets bound to this task (their names, from an API that predates slugs). Returns `list[str]`. #### qbash.checkpoint qbash.checkpoint - run-scoped key/value store (DynamoDB-backed, no RPC). - `qbash.checkpoint.done(key)`: Return True if this key has been marked or set. Returns `bool`. - `qbash.checkpoint.mark(key)`: Record completion with no stored value. Returns `any`. - `qbash.checkpoint.get(key)`: Return stored value, or None if absent or mark-only. Returns `Optional[Any]`. - `qbash.checkpoint.set(key, value)`: Store a JSON-serializable value (also marks as done). Returns `any`. - `qbash.checkpoint.get_or_set(key, fn)`: Return cached value if present; otherwise call fn(), store, and return. Returns `Any`. - `qbash.checkpoint.query_prefix(prefix)`: Return all key-value pairs where key starts with prefix. Returns `dict[str, Any]`. #### qbash.cache qbash.cache - task-scoped key/value store with required TTL. - `qbash.cache.get(key)`: Return stored value if present and not expired, else None. Returns `Optional[Any]`. - `qbash.cache.set(key, value, ttl)`: Store value with TTL. ttl: int seconds or '1h'/'1d' string. Returns `any`. - `qbash.cache.get_or_set(key, fn, ttl)`: Return cached value if present; otherwise call fn(), store, and return. Returns `Any`. - `qbash.cache.delete(key)`: Explicitly evict a cached value. Returns `any`. #### qbash.run qbash.run - runtime metadata for the current task invocation. - `qbash.run.execution_id` (`str`): Unique id for this run; correlate against logs and execution records. - `qbash.run.task_id` (`str | None`): The AutomatedTask id this run belongs to; None for unsaved test runs. - `qbash.run.is_test` (`bool`): True when invoked as an unsaved draft from the task editor. - `qbash.run.started_at` (`datetime`): UTC timestamp of when this run was enqueued (tz-aware). - `qbash.run.last_run_at` (`datetime | None`): UTC timestamp of the previous successful run; None on first run. - `qbash.run.user` (`dict | None`): {"id": uuid} of the human who pressed Run; None for schedule/webhook/system. - `qbash.run.creator` (`dict | None`): {"id": uuid} of the task author; the authorization subject for credentials and memory. - `qbash.run.company` (`dict | None`): {"id": uuid} of the company this task runs under; None when unscoped. #### qbash.dates qbash.dates - date and datetime utilities for task scripts. - `qbash.dates.today()`: Return today's UTC date. Returns `date`. - `qbash.dates.now()`: Return the current UTC datetime (tz-aware). Returns `datetime`. - `qbash.dates.parse(value)`: Parse a value into a tz-aware UTC datetime. Returns `datetime`. #### qbash.powerpoint PowerPoint utilities - exposed as qbash.powerpoint in user scripts. - `qbash.powerpoint.fill(template_bytes, data)`: Fill {{placeholders}} in a PPTX template. Returns `bytes`. #### qbash.pdf PDF form utilities - exposed as qbash.pdf in user scripts. - `qbash.pdf.fields(pdf_bytes)`: List the fillable form fields in an AcroForm PDF. Returns `list`. - `qbash.pdf.fill(pdf_bytes, data, flatten?)`: Fill an AcroForm PDF and return the filled document as bytes. Returns `bytes`. #### qbash.parsers qbash.parsers - format helpers for any file-like input. - `qbash.parsers.csv_chunks(f, chunk_size?, has_header?, dialect?)`: Yield CSV rows in batches of `chunk_size` from a text file-like. Returns `Iterator[list[dict]]`. - `qbash.parsers.xlsx_chunks(f, chunk_size?, has_header?, sheets?)`: Yield XLSX rows in batches of `chunk_size` from a binary file-like. Returns `Iterator[list[dict]]`. - `qbash.parsers.line_chunks(f, chunk_size?)`: Yield lines in batches of `chunk_size` from a text file-like. Returns `Iterator[list[str]]`. #### Integrations ##### ActiveCampaign (`qbash.integrations.active_campaign`) Campaign engagement reports, contacts, automations, CRM, and commerce reads - `list_campaigns(limit?, offset?, status?, orders_sdate?, cursor?)`: List campaigns with their engagement stats (opens, clicks, bounces, unsubscribes). - `get_campaign(campaign_id)`: Get a single campaign by ID with full engagement stats. - `list_campaign_links(campaign_id)`: List the trackable links in a campaign (URL, name, ref, tracking flags). - `get_campaign_revenue(campaign_id)`: Get aggregate revenue attributed to a campaign. - `list_contacts(limit?, offset?, email?, list_id?, tag_id?, status?, search?, ids?, id_greater?, segment_id?, automation_id?, form_id?, created_after?, created_before?, updated_after?, updated_before?, tag_name?, orders_id?, orders_udate?, cursor?)`: List or search contacts with optional filters. - `get_contact(contact_id)`: Get a single contact by ID with bounce + activity counters. - `list_contact_activities(contact_id, after?, limit?, offset?, include?, type?, cursor?)`: List engagement activities for a contact (opens, clicks, automation events). - `list_contact_tags(contact_id, limit?, offset?, cursor?)`: List the contact-tag association records for a contact. - `list_lists(limit?, offset?, name?, cursor?)`: List all lists in the account. - `list_tags(limit?, offset?, search?, cursor?)`: List all tags in the account. - `add_tag_to_contact(contact_id, tag_id)`: Apply a tag to a contact. - `remove_tag_from_contact(contact_id, tag_id)`: Remove a tag from a contact. Looks up the contactTag association and deletes it. - `track_event(event, eventdata?, email?)`: Send a custom event to ActiveCampaign site tracking. Uses event_key + actid credentials, not the API token. - `list_campaign_messages(campaign_id, include?)`: List campaign messages. Lifetime per-message totals for regular and split campaigns; these counters cannot be constrained to a date range. - `list_messages(limit?, offset?, cursor?, filters?, orders?, include?)`: List messages. Email content: id, subject, preheader_text, fromname, fromemail, text and html when returned. - `get_message(message_id, include?)`: Get message. An email message including subject, sender and available HTML/text content. - `list_templates(limit?, offset?, cursor?, filters?, orders?, include?)`: List templates. Email template IDs, names and available content. Access depends on template permissions. - `get_template(template_id, include?)`: Get template. An email template and available HTML/text content. - `get_list(list_id, include?)`: Get list. List name, sender information and subscription configuration. - `get_tag(tag_id, include?)`: Get tag. Tag id, tag (name), tagType and description. - `list_fields(limit?, offset?, cursor?, filters?, orders?, include?)`: List fields. Contact custom-field definitions: id, title, type, perstag and default value. Values are separate records. - `get_field(field_id, include?)`: Get field. A contact custom-field definition. Options and list relationships are in related when returned. - `list_field_options(field_id, include?)`: List field options. Allowed option labels and values for a contact custom field. - `list_contact_field_values(contact_id, include?)`: List contact field values. Actual custom-field values: id, contact, field, value, cdate and udate. Join field with list_fields. - `list_contact_lists(contact_id, include?)`: List contact lists. List memberships: list, status, sdate, udate and unsubreason. Status 0 unconfirmed, 1 active, 2 unsubscribed, 3 bounced. udate is membership-specific. - `list_contact_automations(contact_id, include?)`: List contact automations. Automation memberships with seriesid/automation, status, adddate, remdate and completion fields when returned. - `list_contact_deals(contact_id, include?)`: List contact deals. Deals associated with this contact. Permission-limited deals may contain only id, title and isDisabled. - `list_contact_notes(contact_id, include?)`: List contact notes. Notes with id, note text, owner/user references and timestamps. - `list_contact_scores(contact_id, include?)`: List contact scores. Contact scoreValues: score identifies the definition and scoreValue is the actual score; join score with list_scores. - `list_contact_geo_ips(contact_id, include?)`: List contact geo ips. Tracked IP/geographic references, campaign/message IDs and timestamps. Included geoAddresses are preserved in related. - `list_automations(limit?, offset?, cursor?, filters?, orders?, include?)`: List automations. Automation id, name, status, entered/exited counters and related resource links. This does not edit the automation builder. - `get_automation(automation_id, include?)`: Get automation. Automation metadata and available entry/exit counters. - `list_automation_contacts(automation_id, limit?, offset?, cursor?, filters?, orders?, include?)`: List automation contacts. Contact enrollment/completion records for an automation; contact and seriesid identify the relationship. - `list_automation_campaigns(automation_id, include?)`: List automation campaigns. Campaigns associated with an automation, including their vendor counters. - `list_segments(limit?, offset?, cursor?, filters?, orders?, include?)`: List segments. Saved segment IDs, names and metadata only; conditions are not included. filters, orders and include have no effect. Use list_contacts(segment_id=...) for membership. - `get_segment(segment_id, include?)`: Get segment. Saved segment metadata only; segment conditions are not included. This does not evaluate membership. - `list_deals(limit?, offset?, cursor?, filters?, orders?, include?)`: List deals. Deals: id, title, value, currency, status (0 open, 1 won, 2 lost), group (pipeline), stage, owner and contact. value is in minor currency units. Requires Deals and pipeline access. Limited records have isDisabled. - `get_deal(deal_id, include?)`: Get deal. A deal and related records when returned. Requires Deals and pipeline access; isDisabled identifies restricted records. - `list_pipelines(limit?, offset?, cursor?, filters?, orders?, include?)`: List pipelines. Pipeline id, title, currency, assignment settings and stage references. Requires pipeline access. - `get_pipeline(pipeline_id, include?)`: Get pipeline. Pipeline metadata and stage references. Requires pipeline access. - `list_stages(limit?, offset?, cursor?, filters?, orders?, include?)`: List stages. Stage id, title, group (pipeline), order and deal display settings. Requires pipeline access. - `get_stage(stage_id, include?)`: Get stage. A pipeline stage with title, group and ordering. - `list_tasks(limit?, offset?, cursor?, filters?, orders?, include?)`: List tasks. CRM tasks: id, title/note, duedate, status (0 incomplete, 1 complete), reltype, relid, assignee and dealTasktype. These are ActiveCampaign CRM tasks, not qbash tasks. - `get_task(task_id, include?)`: Get task. An ActiveCampaign CRM task and its owner, assignee, due date and completion status. - `list_task_types(limit?, offset?, cursor?, filters?, orders?, include?)`: List task types. CRM task type IDs and labels used by dealTasktype on tasks. - `list_deal_notes(deal_id, limit?, offset?, cursor?, filters?, orders?, include?)`: List deal notes. Deal note text, user references and timestamps. Requires access to the deal pipeline. - `list_deal_contacts(deal_id, limit?, offset?, cursor?, filters?, orders?, include?)`: List deal contacts. Secondary-contact association records: id, contact and deal. - `list_deal_fields(limit?, offset?, cursor?, filters?, orders?, include?)`: List deal fields. Deal custom-field definitions and option metadata when returned. - `list_deal_field_values(limit?, offset?, cursor?, filters?, orders?, include?)`: List deal field values. Deal custom-field values: dealId, customFieldId and fieldValue. Filter with filters={"dealId": id}. - `list_accounts(limit?, offset?, cursor?, filters?, orders?, include?)`: List accounts. Company account id, name, accountUrl, contactCount, dealCount and timestamps. Account-contact associations replace deprecated organizations. - `get_account(account_id, include?)`: Get account. Company account metadata with related collections preserved when returned. - `list_account_contacts(account_id, limit?, offset?, cursor?, filters?, orders?, include?)`: List account contacts. Company-contact association IDs, account and contact references. - `list_account_notes(account_id, limit?, offset?, cursor?, filters?, orders?, include?)`: List account notes. Company account notes with text, owners and timestamps. - `list_account_fields(limit?, offset?, cursor?, filters?, orders?, include?)`: List account fields. Company account custom-field definitions and options when returned. - `list_account_field_values(limit?, offset?, cursor?, filters?, orders?, include?)`: List account field values. Company custom-field values: accountId, customFieldId and fieldValue. Filter with filters={"customerAccountId": id}. - `list_notes(limit?, offset?, cursor?, filters?, orders?, include?)`: List notes. Notes across available contacts/deals/accounts. reltype and relid identify the owning resource. - `get_note(note_id, include?)`: Get note. A note with text, resource relationship, user reference and timestamps. - `list_scores(limit?, offset?, cursor?, filters?, orders?, include?)`: List scores. Lead/deal score definitions: id, name, reltype, status and description. Definitions are not contact score values. - `get_score(score_id, include?)`: Get score. A contact/deal score definition. Use list_contact_scores for actual values. - `list_webhooks(limit?, offset?, cursor?, filters?, orders?, include?)`: List webhooks. Configured webhook IDs, URLs, events and sources. Reading these does not create subscriptions or task triggers. - `get_webhook(webhook_id, include?)`: Get webhook. A configured webhook URL, events and sources. - `list_forms(limit?, offset?, cursor?, filters?, orders?, include?)`: List forms. Signup form IDs, names and available configuration. - `get_form(form_id, include?)`: Get form. Signup form metadata and available configuration. - `list_users(limit?, offset?, cursor?, filters?, orders?, include?)`: List users. Account user IDs, names, email and group references; availability depends on user permissions. - `get_user(user_id, include?)`: Get user. An account user and group references. Does not retrieve or reset API credentials. - `list_groups(limit?, offset?, cursor?, filters?, orders?, include?)`: List groups. User group IDs, titles and permission settings. - `get_group(group_id, include?)`: Get group. A user group and its permission settings. - `list_ecommerce_connections(limit?, offset?, cursor?, filters?, orders?, include?)`: List ecommerce connections. External commerce connection id, service, externalid, status, syncStatus and lastSync. - `get_ecommerce_connection(connection_id, include?)`: Get ecommerce connection. An external commerce connection and its synchronization metadata. - `list_ecommerce_customers(limit?, offset?, cursor?, filters?, orders?, include?)`: List ecommerce customers. Commerce customer id, connection reference, externalid and contact/email references. - `get_ecommerce_customer(customer_id, include?)`: Get ecommerce customer. A commerce customer and vendor-provided purchase totals when returned. - `list_ecommerce_orders(limit?, offset?, cursor?, filters?, orders?, include?)`: List ecommerce orders. Commerce orders: id, externalid, customerid, totalPrice, currency, orderDate and order products when returned. Monetary fields use vendor units; do not assume floats are major currency values. - `get_ecommerce_order(order_id, include?)`: Get ecommerce order. A commerce order with available products and customer references. Related collections are preserved. - `list_custom_object_schemas(limit?, offset?, cursor?, filters?, orders?, include?)`: List custom object schemas. Custom-object schema IDs, fields and relationship definitions. Availability depends on account entitlements. - `get_custom_object_schema(schema_id, include?)`: Get custom object schema. A custom-object schema with field and relationship definitions. Availability depends on account entitlements. - `get_custom_object_record(schema_id, record_id, include?)`: Get custom object record. A custom-object record with fields, relationships and externalId. Requires schema and record IDs, which may be UUIDs. - `list_campaign_opens(campaign_id, message_id?, page?, sort_direction?)`: Read campaign report. Contacts who opened: subscriberid, email, tstamp and times. Opens may include privacy-proxy activity; this API exposes no Apple Privacy filter. - `list_campaign_link_clicks(campaign_id, message_id?)`: Read campaign report. Each link has id, link URL, a_unique and a_total; info contains subscriberid, email, tstamp and times for its clickers. Numeric-keyed legacy collections are converted to lists. This endpoint has no documented page parameter. - `list_campaign_non_openers(campaign_id, message_id?, page?)`: Read campaign report. Contacts recorded as not opening this campaign, identified by subscriberid/email where returned. - `list_campaign_bounces(campaign_id, message_id?, page?)`: Read campaign report. Bounced contacts and vendor-provided bounce details. Read fields with .get(); payload fields vary. - `list_campaign_unsubscribes(campaign_id, message_id?, page?)`: Read campaign report. Campaign-specific unsubscribed contacts with email, subscriberid, tstamp and reasons when returned. - `list_campaign_forwards(campaign_id, message_id?)`: Read campaign report. Forward records with subscriberid, messageid, email_from, email_to, tstamp and a_times when returned. This endpoint has no documented page parameter. - `get_campaign_report_totals(campaign_id, message_id?, start_date?, end_date?)`: Read campaign report. Aggregate campaign/message totals. uniqueopens counts openers; uniquelinkclicks and subscriberclicks are distinct metrics. Supply both start_date and end_date for a time window. ##### Affinity (`qbash.integrations.affinity`) Relationship intelligence CRM for managing people and organizations - `search_persons(term?, page_size?, page_token?, with_interaction_dates?, with_opportunities?, with_current_organizations?)`: Search for persons in Affinity by name or email. - `get_person(person_id, with_interaction_dates?, with_opportunities?, with_current_organizations?)`: Get detailed information for a specific Affinity person by ID. - `search_organizations(term?, exact_match?, page_size?, page_token?, with_interaction_dates?, with_interaction_persons?)`: Search for organizations in Affinity by domain or name. - `get_organization(organization_id, with_interaction_dates?, with_interaction_persons?)`: Get detailed information for a specific Affinity organization by ID. - `get_field_values(organization_id?, person_id?, list_entry_id?, opportunity_id?, field_ids?, field_names?)`: Get field values for an entity - `get_list_entries(list_id, with_field_values?, field_names?, page_size?, page_token?)`: Get entries for a list - `get_organization_list_entries(organization_id, with_field_values?, field_names?)`: Get all list entries for an organization - `get_fields(entity_type?, value_type?, with_modified_names?, exclude_dropdown_options?, list_id?)`: Read global and list field definitions, optionally filtered by list or field type - `create_field_value(field_id, entity_id, value, list_entry_id?)`: Create a field value on an entity - `update_field_value(field_value_id, value)`: Update an existing field value - `delete_field_value(field_value_id)`: Delete a field value - `create_list_entry(list_id, entity_id)`: Add an entity to a list - `delete_list_entry(list_entry_id, list_id)`: Remove an entity from a list - `list_lists()`: List the Affinity lists this API key can reach. - `get_list(list_id)`: Get one Affinity list with its field definitions. - `list_opportunities(term?, page_size?, page_token?)`: List Affinity opportunities. - `get_opportunity(opportunity_id)`: Get one Affinity opportunity by ID. - `whoami()`: Show which Affinity account this API key belongs to. - `get_organization_notes(organization_id, page_size?, page_token?)`: Get the notes attached to an organization. - `get_person_notes(person_id, page_size?, page_token?)`: Get the notes attached to a person. - `get_organization_interactions(organization_id, type, start_time?, end_time?, page_size?, page_token?, internal_person_id?, logging_type?, direction?, min_interaction_date?, max_interaction_date?)`: Read one interaction type for an organization within an explicit time range of at most one year. Preserve type and range while paginating. - `get_organization_field_values(organization_id, field_names?)`: Get the global field values on an organization. - `get_person_field_values(person_id, field_names?)`: Get the global field values on a person. - `get_person_list_entries(person_id, field_names?)`: Get all list entries for a person, with the field values on each entry. - `get_rate_limit()`: Read Affinity account monthly and user minute API quota usage. - `get_note(note_id)`: Read one Affinity note by ID, including related records. - `get_list_entry(list_id, list_entry_id)`: Read one Affinity list entry by list and entry IDs. - `get_opportunity_notes(opportunity_id, page_size?, page_token?)`: Read one page of notes attached to an Affinity opportunity. - `list_entity_files(person_id?, organization_id?, opportunity_id?, page_size?, page_token?)`: Read Affinity file metadata, optionally filtered by an entity. Does not download files. - `list_reminders(person_id?, organization_id?, opportunity_id?, creator_id?, owner_id?, completer_id?, type?, reset_type?, status?, due_before?, due_after?, page_size?, page_token?)`: Read Affinity reminders with entity, owner, status and due-date filters. - `get_field_value_changes(field_id, person_id?, organization_id?, opportunity_id?, list_entry_id?, action_type?, changed_after?, order_by?, after_id?, limit?)`: Read Affinity field history. Forward continuation requires changed_after and order_by=asc. - `get_person_interactions(person_id, type, start_time, end_time, page_size?, page_token?, internal_person_id?, logging_type?, direction?)`: Read one interaction type for an Affinity entity within an explicit time range of at most one year. - `get_opportunity_interactions(opportunity_id, type, start_time, end_time, page_size?, page_token?, internal_person_id?, logging_type?, direction?)`: Read one interaction type for an Affinity entity within an explicit time range of at most one year. - `list_saved_views(list_id, limit?, cursor?)`: Read metadata on accessible Affinity saved views for a list. - `get_saved_view_entries(list_id, view_id, limit?, cursor?)`: Read Affinity sheet saved-view entries with inline field data. Requires Export data from Lists permission. - `get_person_enriched_fields(person_id, ids?, types?, limit?, cursor?)`: Read Affinity V2 enriched, global and relationship-intelligence fields on a person. Vendor beta endpoint. - `get_organization_enriched_fields(organization_id, ids?, types?, limit?, cursor?)`: Read Affinity V2 enriched, global and relationship-intelligence fields on a company. Vendor beta endpoint. - `get_person_relationships(person_id, filter?, order_by?, limit?, cursor?)`: Read Affinity relationship scores and LinkedIn connections for a person. - `get_organization_relationships(organization_id, filter?, order_by?, limit?, cursor?)`: Read Affinity relationship scores and LinkedIn connections for a company. ##### Ahrefs (`qbash.integrations.ahrefs`) SEO data: backlinks, organic keywords, domain metrics, and keyword research - `domain_rating(target, date?)`: Get Domain Rating and Ahrefs Rank for a domain. - `site_metrics(target, date?, country?, target_mode?)`: Get overall SEO metrics: traffic, keywords, backlinks. - `backlinks(target, limit?, target_mode?, order_by?)`: List backlinks pointing to a domain. - `referring_domains(target, limit?, order_by?)`: Get referring domains with their metrics. - `organic_keywords(target, country?, limit?, order_by?)`: Get organic keywords a domain ranks for. - `top_pages(target, country?, limit?)`: Get top pages by organic traffic. - `organic_competitors(target, country?, limit?)`: Get organic competitors in SERPs. - `keyword_overview(keywords, country?)`: Get keyword metrics: volume, difficulty, CPC. - `broken_backlinks(target, limit?, target_mode?, aggregation?, order_by?)`: List broken backlinks pointing to a domain or URL. - `anchors(target, limit?, target_mode?, history?, order_by?)`: Summarize backlink anchor text for a domain or URL. - `matching_terms(keywords, country?, limit?, terms?, match_mode?, order_by?)`: Find keyword ideas that contain one or more terms. ##### Airtable (`qbash.integrations.airtable`) Cloud-based database and spreadsheet platform - `list_bases(offset?)`: List all accessible Airtable bases. - `list_tables(base_id, detail_level?)`: List tables in an Airtable base. - `describe_table(base_id, tableId, detail_level?)`: Get schema and metadata for a specific Airtable table. - `list_records(base_id, tableId, filterByFormula?, fields?, maxRecords?, sort?, view?, offset?, pageSize?)`: List records from an Airtable table. Returns up to 100 records per page. Use the returned offset to fetch subsequent pages. - `search_records(base_id, tableId, searchTerm, fieldIds?, maxRecords?, offset?, pageSize?, view?)`: Search records in an Airtable table by text. When fieldIds is omitted, automatically searches all text fields. - `get_record(base_id, tableId, recordId)`: Get a specific Airtable record by ID. - `create_record(base_id, tableId, fields)`: Create a new record in an Airtable table. - `batch_create_records(base_id, tableId, records)`: Create up to 10 records in an Airtable table. - `batch_update_records(base_id, tableId, records)`: Update up to 10 existing records in an Airtable table. - `batch_delete_records(base_id, tableId, recordIds)`: Delete up to 10 records from an Airtable table by ID. - `get_base_schema(base_id)`: Get the full schema for an Airtable base, covering all tables and fields. - `list_field_types()`: Reference list of all Airtable field types organised by category. - `get_table_views(base_id, tableId)`: List views configured on an Airtable table. - `create_table(base_id, name, tableFields, description?)`: Create a new table in an Airtable base. - `create_field(base_id, tableId, fieldConfig)`: Create a new field in an existing Airtable table. - `update_field(base_id, tableId, fieldId, updates)`: Update an existing field name, description, or select options. Fields cannot be deleted via the Airtable API. Rename or clear values instead. ##### Algolia (`qbash.integrations.algolia`) Discover, search, and browse records in your Algolia indices. - `list_indices(hits_per_page?, page?)`: List Algolia indices visible to the configured API key. Requires the listIndexes ACL. - `search_index(index_name, query?, hits_per_page?, page?, filters?, facet_filters?, numeric_filters?, attributes_to_retrieve?, restrict_searchable_attributes?, get_ranking_info?, typo_tolerance?)`: Search a single Algolia index and return matching hits. - `multi_search(requests)`: Run multiple Algolia index searches in one request. - `browse_index(index_name, query?, cursor?, hits_per_page?, filters?, attributes_to_retrieve?)`: Browse records from an Algolia index with cursor pagination. - `get_object(index_name, object_id, attributes_to_retrieve?)`: Fetch one Algolia object by object ID. ##### Apollo.io (`qbash.integrations.apollo`) B2B people and company data: search, enrich, hiring signals, and news events. Read-only. - `people_search(person_titles?, person_seniorities?, person_locations?, q_keywords?, q_organization_domains_list?, organization_ids?, organization_num_employees_ranges?, page?, per_page?)`: Search Apollo's database for people. No credits consumed. Returns obfuscated previews, so call person_enrich to reveal contact info. - `person_enrich(first_name?, last_name?, name?, email?, hashed_email?, organization_name?, domain?, id?, linkedin_url?, reveal_personal_emails?, reveal_phone_number?, webhook_url?, run_waterfall_email?, run_waterfall_phone?)`: Enrich a single person. Consumes credits when a match is found. Pass any combination of identifiers (email, linkedin_url, name+domain). - `bulk_person_enrich(people, reveal_personal_emails?, reveal_phone_number?, webhook_url?, run_waterfall_email?, run_waterfall_phone?)`: Enrich up to 10 people in one call. Pass a list of person identifier maps (first_name/last_name/email/domain/linkedin_url). - `org_enrich(domain?, linkedin_url?, name?, website?)`: Enrich a single organization. Provide at least one of domain / linkedin_url / name / website. - `bulk_org_enrich(orgs)`: Enrich up to 10 organizations by domain. - `org_jobs(organization_id, page?, per_page?)`: List active job postings for an Apollo organization. Strong signal for growth and AI-team building. - `org_news(organization_ids, categories?, published_at_min?, published_at_max?, page?, per_page?)`: Search Apollo's news index for events about given organizations (funding, hires, acquisitions, layoffs, etc.). - `usage_stats()`: View per-endpoint Apollo API usage and rate-limit headroom. Requires a master API key. ##### Asana (`qbash.integrations.asana`) Project management and task tracking - `list_workspaces(limit?, offset?)`: List all accessible Asana workspaces. - `list_users(workspace_gid, limit?, offset?)`: List users in a workspace. - `list_tags(workspace_gid, limit?, offset?)`: List one page of tags in a workspace. - `list_projects(workspace_gid, limit?, offset?)`: List projects in a workspace. - `get_project(project_gid)`: Get details of a specific project. - `list_sections(project_gid, limit?, offset?)`: List sections in a project. - `list_tasks(project_gid?, section_gid?, limit?, completed_since?, offset?)`: List tasks in a project or section. - `list_subtasks(task_gid, limit?)`: List subtasks of a task. - `get_task(task_gid)`: Get full details of a specific task. - `list_task_stories(task_gid, limit?, offset?)`: List comments and activity on a task. - `search_tasks(workspace_gid, text, limit?, completed?)`: Search tasks by keyword in a workspace. - `create_task(name, workspace_gid?, project_gid?, notes?, due_on?, assignee?)`: Create a new task. - `create_subtask(task_gid, name, notes?, due_on?, assignee?)`: Create a subtask under a parent task. - `update_task(task_gid, name?, notes?, due_on?, assignee?, completed?)`: Update an existing task. - `add_tag_to_task(task_gid, tag_gid)`: Attach an existing tag to a task. - `remove_tag_from_task(task_gid, tag_gid)`: Remove an existing tag from a task without deleting the tag. - `move_task_to_section(task_gid, section_gid)`: Move a task into a section. - `set_task_dependencies(task_gid, dependency_gids)`: Set tasks that a task depends on. - `delete_task(task_gid)`: Delete a task. - `add_comment(task_gid, text)`: Add a comment to a task. - `bulk_create_tasks(tasks)`: Create multiple tasks at once. Returns results for each task. - `bulk_update_tasks(updates)`: Update multiple tasks at once. Returns results for each task. - `create_project(name, workspace_gid, team_gid?, notes?, color?)`: Create a new project in a workspace. ##### Attio (`qbash.integrations.attio`) Read CRM records, lists, notes and tasks, and upsert records and list entries in Attio. - `identify()`: Identify the token's workspace and scopes. - `list_objects()`: List standard and custom objects in the workspace. - `list_attributes(target, identifier, show_archived?, limit?, cursor?)`: List attributes for an object or list. - `list_records(object, filter?, sorts?, limit?, cursor?)`: Query one page of people, companies or custom-object records. - `get_record(object, record_id)`: Get one CRM record by its object and UUID. - `upsert_record(object, matching_attribute, values)`: Create or update a CRM record using a matching attribute. Supplied multiselect values overwrite existing values. - `list_lists()`: List CRM lists available in the workspace. - `list_entries(list, filter?, sorts?, limit?, cursor?)`: Query one page of list entries with their parent records and attribute values. - `upsert_entry(list, parent_object, parent_record_id, entry_values)`: Add a record to a list or update its existing entry. Supplied entry attributes overwrite existing values. - `list_notes(parent_object?, parent_record_id?, limit?, cursor?)`: List one page of notes, optionally for a single CRM record. - `get_note(note_id)`: Get one note by UUID. - `create_note(parent_object, parent_record_id, title, content, format?)`: Create a note on a CRM record. Repeating this call can create duplicate notes. - `list_tasks(is_completed?, assignee?, linked_object?, linked_record_id?, sort?, limit?, cursor?)`: List one page of Attio tasks, optionally filtered by completion, assignee or linked record. - `get_task(task_id)`: Get one Attio task by UUID. - `create_task(content, deadline_at?, is_completed?, linked_records?, assignees?)`: Create an Attio task. Repeating this call can create duplicate tasks. - `set_task_completed(task_id, is_completed)`: Set an Attio task's completion state. - `list_workspace_members()`: List workspace members for assigning Attio tasks. ##### AWS (`qbash.integrations.aws`) Access functions provided by the AWS API - `knowledge_base(knowledgeBaseId, queries, contentTypeFilters?, slugs?, awsRegion?, resultsLength?, fetchAllResults?)`: Search an AWS Bedrock knowledge base with one or more queries. ##### Brave Search (`qbash.integrations.brave_search`) Search the web, news, images and videos, and retrieve context for Python tasks. - `web_search(q, count?, cursor?, country?, search_lang?, safesearch?, spellcheck?, freshness?, extra_snippets?)`: Search one page of web results. Pages may overlap. - `news_search(q, count?, cursor?, country?, search_lang?, safesearch?, spellcheck?, freshness?, extra_snippets?)`: Search one page of news results. Endpoint access depends on the selected plan. - `video_search(q, count?, cursor?, country?, search_lang?, safesearch?, spellcheck?, freshness?)`: Search one page of video results. Pages may overlap. - `image_search(q, count?, country?, search_lang?, safesearch?, spellcheck?)`: Search images in a single unpaginated request. - `suggest(q, count?, country?, lang?, rich?)`: Suggest query completions. Rich suggestions require the corresponding plan. - `spellcheck(q, country?, lang?)`: Suggest spelling corrections for a query. - `llm_context(q, count?, country?, search_lang?, safesearch?, spellcheck?, freshness?, maximum_number_of_urls?, maximum_number_of_tokens?, maximum_number_of_tokens_per_url?, enable_source_metadata?)`: Retrieve extracted web content for LLM grounding using the Search plan. ##### Browserless (`qbash.integrations.browserless`) Drive a real browser: inspect a page's interactive elements, run automation, capture screenshots. - `inspect(url, waitForSelector?, includeHidden?, timeoutMs?, stealth?, proxy?, proxyCountry?, proxySticky?)`: List the interactive elements on a page with the selectors that find them. Call this before writing automation for a site you have not seen. - `run(code, context?, timeoutMs?, stealth?, proxy?, proxyCountry?, proxySticky?)`: Run browser automation and return what it observed. Assertions are code that throws; a thrown error comes back as ok=false with the message. - `content(url, waitForSelector?, timeoutMs?, stealth?, proxy?, proxyCountry?, proxySticky?)`: Return a page's rendered HTML. Prefer `inspect` unless you need the raw markup. - `screenshot(url, fullPage?, timeoutMs?, stealth?, proxy?, proxyCountry?, proxySticky?)`: Capture a page as a PNG, returned base64-encoded. ##### Bugsnag (`qbash.integrations.bugsnag`) Query Bugsnag error monitoring data: organizations, projects, errors, events, trends, and stability. - `list_organizations(per_page?, page_token?)`: List organizations for the authenticated user. - `list_projects(organization_id, per_page?, page_token?)`: List projects for an organization. - `list_errors(project_id, sort?, direction?, per_page?)`: List errors for a project with optional sorting. - `get_error(project_id, error_id)`: Get a single error by ID. - `get_error_events(project_id, error_id, per_page?)`: List events (occurrences) for an error. - `get_event(project_id, event_id)`: Get a single event (error occurrence) by ID. - `get_error_trend(project_id, error_id, buckets_count?)`: Get error event count over time buckets. - `get_project_stability(project_id)`: Get project stability trend data. ##### Clay (`qbash.integrations.clay`) Search people and companies, run enrichment routines, and read Clay results in Tasks. - `get_me()`: Read the selected key's user and workspace. - `get_credit_balance()`: Read the workspace's remaining credits. - `get_search_reference()`: Read Clay's current search grammar and fields. - `create_search(query)`: Create a people or company search iterator. - `run_search(search_id, limit?)`: Fetch the next page from a search iterator. - `run_routine(routine_id, items, webhook_id?)`: Start an enrichment routine for identified inputs. - `get_routine_results(routine_run_id, limit?, cursor?)`: Read routine progress or one page of results. - `query_table(table_id, fields?, limit?, cursor?)`: Read one page from a known Clay table on Enterprise. - `get_workflow_runs_reference()`: Read the beta workflow-run query grammar. - `query_workflow_runs(query, limit?, cursor?)`: Query a page or count of Clay workflow runs. ##### Cobalt (`qbash.integrations.cobalt`) Private equity portfolio monitoring platform (FactSet): companies, deals, funds, portfolios, custom fields, and reference data. - `list_companies(sort?, limit?, offset?)`: List portfolio companies. - `get_company(company_uid)`: Get a company by identifier. - `create_company(name, currency?)`: Create a company. - `update_company(company_uid, name?, currency?)`: Update a company. - `delete_company(company_uid)`: Delete a company. - `list_custom_fields()`: List custom field definitions. - `get_custom_field(custom_field_uid)`: Get a custom field by identifier. - `create_custom_field(name, field_type, has_date, default_fund, default_company, default_deal, default_cashflow)`: Create a custom field. - `update_custom_field(custom_field_uid, name?)`: Update a custom field. - `delete_custom_field(custom_field_uid)`: Delete a custom field. - `list_custom_field_values(entity_uids, custom_field_uids?, as_of_date?)`: List custom field values for entities. - `get_custom_field_value(uid)`: Get a custom field value by identifier. - `create_custom_field_value(custom_field_uid, value, company_uid?, deal_uid?, fund_uid?, cashflow_uid?)`: Create a custom field value. - `update_custom_field_value(uid, value?, date?)`: Update a single custom field value. - `update_custom_field_values_batch(custom_field_values)`: Batch update custom field values. - `delete_custom_field_value(uid)`: Delete a custom field value. - `list_deals(portfolio_uid?, fund_uid?, company_uid?, sort?, limit?, offset?)`: List deals with optional filters. - `get_deal(deal_uid)`: Get a deal by identifier. - `create_deal(company_uid, fund_uid, currency_symbol?)`: Create a deal. - `update_deals(deals)`: Batch update deals. - `delete_deal(deal_uid)`: Delete a single deal. - `delete_deals_batch(deal_uids)`: Batch delete deals. - `list_funds(portfolio_uid?, sort?, limit?, offset?)`: List funds. - `get_fund(fund_uid)`: Get a fund by identifier. - `create_fund(name, portfolio_uid?, currency?)`: Create a fund. - `update_fund(fund_uid, name?)`: Update a fund. - `delete_fund(fund_uid)`: Delete a fund. - `list_portfolios(limit?, offset?)`: List portfolios. - `get_portfolio(portfolio_uid)`: Get a portfolio by identifier. - `create_portfolio(name)`: Create a portfolio. - `update_portfolio(portfolio_uid, name?)`: Update a portfolio. - `delete_portfolio(portfolio_uid)`: Delete a portfolio. - `list_currencies()`: List the currencies Cobalt recognises. - `check_status()`: Check Cobalt API status. ##### Confluence (`qbash.integrations.confluence`) Search, read and write Confluence Cloud pages, blog posts, comments, attachments and tasks with an Atlassian API token. - `search(cql, limit?, cursor?, excerpt?, include_archived_spaces?)`: Search Confluence with CQL, Confluence's query language, exactly as given. Examples: text ~ "onboarding", title ~ "runbook" AND space = ENG, type = page AND lastmodified >= now("-7d"), label = "release-notes". Results cover pages, blog posts, attachments, comments and spaces the account can see. - `search_users(cql, limit?, start?)`: Search Confluence users with CQL user fields, such as user.fullname ~ "ann". Returns account ids for get_users, assigned_to and CQL creator filters. - `get_content(content_id, body_format?, version?, max_chars?)`: Read one page, blog post, folder, whiteboard, database or embed by id or link. The body of a page or blog post comes back as markdown by default. - `list_spaces(keys?, type?, status?, labels?, sort?, limit?, cursor?)`: List the Confluence spaces the account can see, with their keys and ids. - `get_space(space)`: Read one space by key or id, with its description, home page id and labels. - `list_space_content(space, content_type?, depth?, title?, status?, sort?, limit?, cursor?)`: List the pages or blog posts in a space, optionally only the top-level pages or those with a given title. - `get_children(content_id, limit?, cursor?)`: List the direct children of a page, folder, whiteboard, database or embed in the page tree. - `get_descendants(content_id, depth?, limit?, cursor?)`: List everything under a page, folder, whiteboard, database or embed, down to a given depth. - `get_ancestors(content_id)`: List the items above a page, folder, whiteboard, database or embed, from the top of the space down to its parent. - `list_versions(content_id, limit?, cursor?)`: List the version history of a page or blog post, newest first: who changed it, when and with what note. - `list_comments(content_id, kind?, include_replies?, body_format?, resolution_status?, limit?, cursor?)`: List the footer comments (the default) or inline comments on a page or blog post, oldest first, each with its replies. - `list_attachments(content_id, filename?, media_type?, limit?, cursor?)`: List the files attached to a page or blog post, newest first. - `download_attachment(attachment_id)`: Download an attachment into qbash storage and return a file reference to it. - `list_labels(content_id?, space?, prefix?, limit?, cursor?)`: List the labels on a page or blog post (pass content_id) or on a space (pass space). - `list_tasks(space?, content_id?, status?, assigned_to?, created_by?, due_from?, due_to?, body_format?, limit?, cursor?)`: List the checkbox tasks written on pages and blog posts, filtered by space, page, status, assignee or due date. - `list_database_entries(database_id, limit?, cursor?)`: List the rows of a Confluence database, with its fields on the first page. - `get_users(account_ids)`: Look up people by Atlassian account id, such as the author_id or assigned_to values other methods return. - `create_page(space, title, body, body_format?, parent_id?, content_type?, status?, read_only?)`: Create a page (optionally under a parent page or folder) or a blog post in a space. The body is markdown by default. - `update_page(content_id, title?, body?, body_format?, parent_id?, version_message?, expected_version?, read_only?)`: Change a page or blog post's title, body or parent. Fields left out keep their current value. - `create_folder(space, title, parent_id?, read_only?)`: Create a folder in a space's page tree, at the top or under a page or folder. - `add_comment(content_id?, body, body_format?, parent_comment_id?, inline_selection?, inline_match_index?, read_only?)`: Comment on a page or blog post, reply to a comment, or comment on a piece of text in the page (an inline comment). - `update_comment(comment_id, body, body_format?, read_only?)`: Replace the body of a footer or inline comment. - `add_labels(content_id, labels, read_only?)`: Add labels to a page or blog post. Existing labels are kept. - `remove_label(content_id, label, read_only?)`: Remove one label from a page or blog post. - `upload_attachment(content_id, file, filename?, comment?, read_only?)`: Attach a qbash file to a page or blog post. A file with the same name gets a new version. - `update_task(task_id, status, read_only?)`: Mark a checkbox task on a page complete or incomplete. - `trash_content(content_id, read_only?)`: Move a page, blog post, folder, whiteboard, database, embed or attachment to the space's trash, where a space admin can restore it. ##### Datadog (`qbash.integrations.datadog`) Investigate monitors, dashboards, logs, metrics, events, incidents, hosts, notebooks, spans and catalog entities. - `validate_credentials()`: Validate the selected API key and application key for this site. - `list_monitors(name?, tags?, monitor_tags?, group_states?, with_downtimes?, limit?, cursor?)`: List one page of monitors. - `get_monitor(monitor_id, group_states?, with_downtimes?, with_assets?)`: Read a monitor definition and its current state. - `search_monitors(query?, sort?, limit?, cursor?)`: Search monitors by status, type, tags or name. - `list_dashboards(limit?, cursor?)`: List custom-created or cloned dashboards, excluding preset dashboards. - `get_dashboard(dashboard_id)`: Read a dashboard definition and widgets. - `search_logs(query?, from_?, to?, sort?, indexes?, storage_tier?, limit?, cursor?)`: Search one page of logs and retain provider warnings about partial results. - `aggregate_logs(query?, from_?, to?, indexes?, storage_tier?, compute, group_by?, cursor?)`: Compute log counts, statistics or grouped timeseries. - `list_metrics(from_, host?, tag_filter?)`: List active metric names since a Unix timestamp in seconds. - `query_metrics(from_, to, query)`: Query metric timeseries over a time range in Unix seconds. - `list_events(query?, from_?, to?, sort?, limit?, cursor?)`: Search one page of events using the v2 Events API. - `get_event(event_id)`: Read one event using its v2 event UID. - `list_incidents(limit?, cursor?)`: List one page of incidents. - `get_incident(incident_id)`: Read an incident by UUID. - `list_hosts(filter?, sort_field?, sort_dir?, from_?, include_muted_hosts_data?, include_hosts_metadata?, limit?, cursor?)`: List hosts matching a Datadog host filter. - `list_notebooks(query?, author_handle?, exclude_author_handle?, sort_field?, sort_dir?, include_cells?, is_template?, limit?, cursor?)`: Find notebooks by name or author. - `get_notebook(notebook_id)`: Read a notebook and its cells. - `search_spans(query?, from_?, to?, sort?, limit?, cursor?)`: Search retained APM spans and retain warnings about partial results. - `aggregate_spans(query?, from_?, to?, compute, group_by?)`: Compute counts, statistics or grouped timeseries over retained APM spans. - `list_entities(name?, kind?, owner?, ref?, include_discovered?, limit?, cursor?)`: Find software catalog entities by name, kind, owner or reference. ##### DataForSEO (`qbash.integrations.dataforseo`) Keyword research data: search volume, CPC, competition, long-tail suggestions, and related keywords. - `keyword_volume(keywords, location_code?, language_code?, include_monthly_searches?)`: Look up search volume, CPC, and competition for a known list of keywords. - `keyword_ideas(keywords, location_code?, language_code?, limit?)`: Generate keyword ideas from seed keywords. Returns related keywords with volume and CPC. - `keyword_suggestions(keyword, location_code?, language_code?, limit?, offset?, include_seed_keyword?)`: Long-tail keyword discovery from a single seed keyword. Returns suggestions with difficulty and volume. - `related_keywords(keyword, location_code?, language_code?, limit?, offset?, depth?)`: Expand a seed keyword via Google's "searches related to" graph. ##### DigitalOcean (`qbash.integrations.digitalocean`) Check Droplets, apps, databases, DNS and billing in a DigitalOcean account, read deployment logs, and manage DNS records and Spaces objects - `get_account()`: Get the DigitalOcean account the API token belongs to: email, status, Droplet limit and team. - `get_balance()`: Get the account's month-to-date balance and usage in US dollars. - `list_invoices(page?, per_page?)`: List past invoices with amount and billing period, plus a preview of the invoice for the current month. - `list_droplets(tag_name?, page?, per_page?)`: List Droplets with status, size, region, image, public and private IPv4 addresses and tags. - `get_droplet(droplet_id)`: Get one Droplet by id. - `get_droplet_metrics(droplet_id, metric, start?, end?, interface?, direction?)`: Get a Droplet's CPU, memory, load, filesystem or bandwidth metric as time series over a window. The window defaults to the last hour. - `droplet_action(droplet_id, type)`: Reboot, power cycle, power on, power off or shut down a Droplet. - `list_apps(page?, per_page?)`: List App Platform apps with their URLs, region and active deployment. - `get_app(app_id)`: Get one App Platform app by id, with the names of its components. - `get_app_spec(app_id)`: Get an App Platform app's full spec, with plain-text values and credentials hidden, to read or to edit and pass to update_app. - `list_app_deployments(app_id, page?, per_page?)`: List an app's deployments with phase, cause and step progress. - `get_deployment_logs(app_id, deployment_id?, component_name?, log_type?)`: Get the build, deploy or run logs of an App Platform deployment as text, for one component or for all of them. - `create_app_deployment(app_id, force_build?)`: Start a new deployment of an App Platform app from its current spec. - `update_app(app_id, spec, update_all_source_versions?)`: Replace an App Platform app's spec, such as to change its environment variables, and start the deployment that applies it. - `list_databases(tag_name?)`: List managed database clusters with engine, version, status, size and connection host, without credentials. - `get_database(database_id)`: Get one managed database cluster by id, with credentials removed. - `list_kubernetes_clusters(page?, per_page?)`: List Kubernetes clusters with version, status and node pools. - `get_kubernetes_cluster(cluster_id)`: Get one Kubernetes cluster by id, with its node pools and nodes. - `list_domains(page?, per_page?)`: List the domains in DigitalOcean DNS. - `list_domain_records(domain, type?, name?, page?, per_page?)`: List a domain's DNS records, optionally filtered by type and name. - `create_domain_record(domain, type, name?, data?, priority?, port?, ttl?, weight?, flags?, tag?)`: Create a DNS record in a domain. - `update_domain_record(domain, record_id, type?, name?, data?, priority?, port?, ttl?, weight?, flags?, tag?)`: Change fields of an existing DNS record. - `delete_domain_record(domain, record_id)`: Delete a DNS record from a domain. - `list_uptime_checks(page?, per_page?)`: List uptime checks with their target, type and regions. - `get_uptime_check_state(check_id)`: Get whether an uptime check's target is up or down in each region, with its 30-day uptime. - `list_spaces_buckets()`: List the Spaces buckets in the credential's Spaces region. - `list_spaces_objects(bucket, prefix?, marker?, max_keys?)`: List objects in a Spaces bucket, optionally under a key prefix. - `get_spaces_object(bucket, key, content_type?)`: Download an object from a Spaces bucket and return it as a qbash file reference. - `put_spaces_object(bucket, key, content?, file?, content_type?, acl?)`: Upload text or a qbash file reference to a Spaces bucket. - `delete_spaces_object(bucket, key)`: Delete an object from a Spaces bucket. ##### Discord (`qbash.integrations.discord`) Read Discord servers, channels, messages, members, threads and events, and post messages, reactions, threads and events as a bot in Tasks. - `get_bot_user()`: Read the bot's own Discord user. - `list_guilds(limit?, with_counts?, shard?, cursor?)`: List the Discord servers the bot has been installed in. - `get_guild(guild_id, with_counts?)`: Get one Discord server. - `list_channels(guild_id)`: List the channels of a Discord server that the bot can see. - `get_channel(channel_id)`: Get one Discord channel or thread. - `list_guild_members(guild_id, limit?, cursor?)`: List the members of a Discord server. - `list_channel_messages(channel_id, limit?, after?, cursor?)`: List messages in a Discord channel, newest first. - `get_message(channel_id, message_id)`: Get one Discord message. - `create_message(channel_id, content?, embeds?, reply_to_message_id?)`: Post a message to a Discord channel as the bot. - `edit_own_message(channel_id, message_id, content?, embeds?)`: Edit a message the bot posted. - `delete_own_message(channel_id, message_id)`: Delete a message the bot posted. - `add_reaction(channel_id, message_id, emoji)`: Add a reaction to a Discord message as the bot. - `list_threads(guild_id?, channel_id?, limit?, cursor?)`: List Discord threads: a server's active threads, or a channel's archived public threads. - `create_thread(channel_id, name, message_id?, auto_archive_duration?)`: Start a public thread in a Discord channel, from a message or on its own. - `list_guild_scheduled_events(guild_id, with_user_count?)`: List the scheduled events of a Discord server. - `create_guild_scheduled_event(guild_id, name, scheduled_start_time, entity_type, channel_id?, location?, scheduled_end_time?, description?)`: Create a scheduled event in a Discord server. - `update_guild_scheduled_event(guild_id, event_id, name?, scheduled_start_time?, scheduled_end_time?, description?, channel_id?, location?, status?)`: Change a scheduled event in a Discord server. - `post_webhook_message(content?, embeds?, username?, thread_id?)`: Post a message to a Discord channel through an incoming webhook. ##### Etsy (`qbash.integrations.etsy`) Read public Etsy shop, section, listing and listing image data in Python tasks. - `get_shop(shop_id)`: Read one shop's public profile. - `list_shop_sections(shop_id)`: List the sections a shop groups its listings into. - `list_listings(shop_id, limit?, cursor?, sort_on?, sort_order?, keywords?)`: List one page of a shop's active listings. - `get_listing(listing_id)`: Read one public listing. - `list_listing_images(listing_id)`: List a listing's images in display order. ##### Fathom (`qbash.integrations.fathom`) AI meeting recorder: list meetings, search recordings, and retrieve transcripts - `list_meetings(cursor?, recorded_by?, created_after?, created_before?, teams?, meeting_type?, calendar_invitees_domains?, calendar_invitees_domains_type?, include_transcript?, include_summary?, include_action_items?, include_crm_matches?)`: List recent meetings with optional date range and recorder filters. - `search_meetings(search_term, cursor?, recorded_by?, created_after?, created_before?, teams?, calendar_invitees_domains?, calendar_invitees_domains_type?, meeting_type?)`: Search meetings by title keyword with optional date and recorder filters. - `get_transcript(recording_id)`: Get the full transcript for a specific recording. ##### Fireflies.ai (`qbash.integrations.fireflies`) AI-powered meeting transcription and analysis - `list_transcripts(limit?, skip?, channel_id?)`: Get one page of meeting transcripts. - `list_channels()`: List every Fireflies channel the API key's user can see. - `get_transcript(transcript_id)`: Get full transcript details and AI summary. - `search_transcripts(search_term, limit?, skip?)`: Filter one page of transcripts by a word in the title. - `get_analytics(user_id?, start_date?, end_date?)`: Retrieve conversation analytics. - `add_bot_to_meeting(meeting_url, title?, attendee_email?)`: Add Fireflies bot to a live meeting. - `update_meeting(transcript_id, title?, channel_id?, privacy?)`: Update meeting metadata. - `delete_transcript(transcript_id)`: Permanently delete a transcript. - `ask_fred(question, transcript_ids?, thread_id?)`: Ask AI questions about transcripts. ##### FRED (`qbash.integrations.fred`) Federal Reserve Economic Data from the St. Louis Fed: search and read economic time series such as CPI, GDP, unemployment and interest rates - `search_series(search_text, search_type?, filter_variable?, filter_value?, tag_names?, exclude_tag_names?, order_by?, sort_order?, limit?, offset?)`: Search FRED (Federal Reserve Economic Data) for economic time series by keywords, such as CPI inflation, GDP, unemployment rate, interest rates or mortgage rates. Returns the series IDs that get_observations reads. - `get_series(series_id)`: Get a FRED economic data series' title, units, frequency, seasonal adjustment, date range, last update time and notes. - `get_observations(series_id, observation_start?, observation_end?, units?, frequency?, aggregation_method?, sort_order?, limit?, offset?, realtime_start?, realtime_end?)`: Get the data values of a FRED economic time series, such as CPI inflation, GDP, unemployment or the federal funds interest rate, with optional percent-change transforms and frequency aggregation. Returns the latest 1000 values, newest first, by default. - `get_series_updates(filter_value?, start_time?, end_time?, limit?, offset?)`: List FRED economic data series updated most recently, newest first, optionally only macroeconomic or only US regional series. - `list_releases(order_by?, sort_order?, limit?, offset?)`: List FRED data releases, such as the Consumer Price Index, Employment Situation or Gross Domestic Product, with the release IDs the release modes take. - `get_release(release_id)`: Get one FRED data release's name, source link and notes. - `get_release_dates(release_id?, start_date?, end_date?, include_upcoming?, sort_order?, limit?, offset?)`: Get the economic data release calendar from FRED: upcoming and past release dates for CPI, jobs reports, GDP and other Federal Reserve Economic Data releases. - `list_release_series(release_id, filter_variable?, filter_value?, tag_names?, exclude_tag_names?, order_by?, sort_order?, limit?, offset?)`: List the economic time series published in one FRED release, such as every series in the CPI release. - `get_category(category_id?)`: Get one FRED category's name and parent category, the root category by default. - `get_category_children(category_id?)`: List the subcategories of a FRED category, to browse Federal Reserve Economic Data by topic such as Prices, National Accounts or Interest Rates. - `get_category_series(category_id, filter_variable?, filter_value?, tag_names?, exclude_tag_names?, order_by?, sort_order?, limit?, offset?)`: List the economic time series in one FRED category. - `get_series_tags(series_id, order_by?, sort_order?)`: Get the tags FRED assigns to an economic data series, such as its source, geography, frequency and topic. - `search_tags(search_text?, tag_group_id?, tag_names?, order_by?, sort_order?, limit?, offset?)`: Search FRED tags, the labels FRED puts on economic data series for topic, source, geography and frequency, such as inflation, usa or monthly. - `search_series_by_tags(tag_names, exclude_tag_names?, order_by?, sort_order?, limit?, offset?)`: Find FRED economic time series that carry every given tag, such as inflation and usa. ##### GitHub (`qbash.integrations.github`) Interact with GitHub repositories, pull requests and issues - `list_repos(page?, per_page?)`: List repositories accessible to the authenticated user. - `list_pull_requests(owner, repo, state?, sort?, direction?, per_page?, page?)`: List pull requests in a repository. - `get_pull_request(owner, repo, pr_number)`: Get details of a specific pull request. - `comment_on_pull_request(owner, repo, pr_number, body)`: Post a comment on a pull request. - `list_pr_comments(owner, repo, pr_number, per_page?, page?)`: List comments on a pull request. - `list_pr_files(owner, repo, pr_number, per_page?, page?)`: List files changed in a pull request. - `get_file_contents(owner, repo, path, ref?)`: Get the contents of a file in a repository. - `list_commits(owner, repo, sha?, path?, author?, since?, until?, per_page?, page?)`: List commits in a repository. - `get_commit(owner, repo, sha)`: Get details of a specific commit, including files changed and patch. - `compare_commits(owner, repo, base, head)`: Compare two commits, branches, or tags. Returns ahead/behind counts and changed files with patches. - `search_code(query, sort?, order?, per_page?, page?)`: Search for code across repositories. Returns matching file paths and text fragments. - `get_repo(owner, repo)`: Get repository metadata including default branch, description, visibility, and language. - `get_issue(owner, repo, issue_number)`: Get details of a specific issue, including title, body, labels, assignees, and state. - `list_issues(owner, repo, state?, labels?, assignee?, creator?, mentioned?, milestone?, since?, sort?, direction?, include_pull_requests?, per_page?, page?)`: List issues in a repository. - `search_issues(query, sort?, order?, per_page?, page?)`: Search issues and pull requests with GitHub issue search syntax. - `create_issue(owner, repo, title, body?, labels?, assignees?, milestone?)`: Create an issue in a repository. - `update_issue(owner, repo, issue_number, title?, body?, state?, state_reason?, labels?, assignees?, milestone?)`: Change the title, body, state, labels, assignees or milestone of an issue. - `list_issue_comments(owner, repo, issue_number, since?, per_page?, page?)`: List conversation comments on an issue or pull request. - `comment_on_issue(owner, repo, issue_number, body)`: Post a comment on an issue or pull request. - `list_labels(owner, repo, per_page?, page?)`: List the labels defined in a repository. - `list_branches(owner, repo, protected?, per_page?, page?)`: List branches in a repository. - `list_pr_reviews(owner, repo, pr_number, per_page?, page?)`: List the reviews submitted on a pull request. - `list_pr_review_comments(owner, repo, pr_number, sort?, direction?, since?, per_page?, page?)`: List the inline review comments on a pull request's diff. - `list_check_runs(owner, repo, ref, check_name?, status?, filter?, per_page?, page?)`: List the check runs reported for a commit, branch or tag. - `get_commit_status(owner, repo, ref, per_page?, page?)`: Get the combined commit status for a commit, branch or tag. - `create_pull_request(owner, repo, title, head, head_repo?, base, body?, draft?, maintainer_can_modify?)`: Open a pull request. - `update_pull_request(owner, repo, pr_number, title?, body?, state?, base?)`: Change the title, body, state or base branch of a pull request. - `merge_pull_request(owner, repo, pr_number, merge_method?, commit_title?, commit_message?, sha?)`: Merge a pull request. - `create_pr_review(owner, repo, pr_number, event, body?, comments?, commit_id?)`: Submit a review on a pull request, with optional inline comments. - `reply_to_review_comment(owner, repo, pr_number, comment_id, body)`: Reply to an inline review comment on a pull request. - `create_branch(owner, repo, branch, from_branch?, sha?)`: Create a branch. - `create_or_update_file(owner, repo, path, message, branch, content?, file?, sha?)`: Create a file, or replace one, with a commit on a branch. - `delete_file(owner, repo, path, message, branch, sha)`: Delete a file with a commit on a branch. - `push_files(owner, repo, branch, message, files)`: Create or replace several files in one commit on a branch. - `get_repository_tree(owner, repo, tree_sha?, recursive?, path_filter?)`: List the files and folders in a repository. - `list_workflows(owner, repo, per_page?, page?)`: List the GitHub Actions workflows in a repository. - `list_workflow_runs(owner, repo, workflow_id?, branch?, event?, status?, actor?, head_sha?, created?, per_page?, page?)`: List GitHub Actions workflow runs in a repository, newest first. - `get_workflow_run(owner, repo, run_id)`: Get one GitHub Actions workflow run. - `list_workflow_jobs(owner, repo, run_id, filter?, per_page?, page?)`: List the jobs of a GitHub Actions workflow run, with their steps. - `get_job_logs(owner, repo, job_id, tail_lines?)`: Read the end of one GitHub Actions job's log. - `list_workflow_run_artifacts(owner, repo, run_id, per_page?, page?)`: List the artifacts a GitHub Actions workflow run uploaded. - `run_workflow(owner, repo, workflow_id, ref, inputs?)`: Start a GitHub Actions workflow on a branch or tag. - `rerun_workflow_run(owner, repo, run_id, failed_only?, enable_debug_logging?)`: Re-run a GitHub Actions workflow run, or only its failed jobs. - `cancel_workflow_run(owner, repo, run_id)`: Cancel a GitHub Actions workflow run in progress. - `list_releases(owner, repo, per_page?, page?)`: List the releases of a repository. - `get_latest_release(owner, repo)`: Get the latest published release of a repository. - `get_release_by_tag(owner, repo, tag)`: Get the release made from a tag. - `list_tags(owner, repo, per_page?, page?)`: List the git tags in a repository. - `search_repositories(query, sort?, order?, per_page?, page?)`: Search repositories with GitHub repository search syntax. - `search_commits(query, sort?, order?, per_page?, page?)`: Search commits with GitHub commit search syntax. - `search_pull_requests(query, sort?, order?, per_page?, page?)`: Search pull requests with GitHub issue search syntax. - `get_me()`: Get the GitHub account the connection signed in as. - `list_assignees(owner, repo, per_page?, page?)`: List the people who can be assigned issues in a repository. - `get_pull_request_diff(owner, repo, pr_number)`: Get the changes in a pull request as one unified diff. - `list_pr_commits(owner, repo, pr_number, per_page?, page?)`: List the commits on a pull request. - `update_pull_request_branch(owner, repo, pr_number, expected_head_sha?)`: Merge the latest base branch into a pull request's head branch. - `request_reviewers(owner, repo, pr_number, reviewers?, team_reviewers?)`: Ask people or teams to review a pull request. - `update_issue_comment(owner, repo, comment_id, body)`: Edit a conversation comment on an issue or pull request. - `create_label(owner, repo, name, color, description?)`: Create a label in a repository. - `update_label(owner, repo, name, new_name?, color?, description?)`: Rename a label or change its color or description. - `list_sub_issues(owner, repo, issue_number, per_page?, page?)`: List the sub-issues of an issue. - `add_sub_issue(owner, repo, issue_number, sub_issue_number, replace_parent?)`: Make an issue a sub-issue of another issue. - `remove_sub_issue(owner, repo, issue_number, sub_issue_number)`: Remove a sub-issue from its parent issue. - `create_repository(name, org?, description?, private?, auto_init?)`: Create a repository for the signed-in user or in an organization. - `fork_repository(owner, repo, organization?, default_branch_only?)`: Fork a repository to the signed-in user's account or an organization. ##### Gmail (`qbash.integrations.gmail`) Watch emails and manage Gmail operations - `get_email(email_id, format?)`: Fetch a Gmail message by ID. - `get_profile()`: Get the authenticated Gmail user's profile. - `list_labels()`: List the labels in the authenticated Gmail account. - `search_messages(query?, max_results?, label_ids?, include_spam_trash?, page_token?, fetch_full?)`: Search Gmail messages using a query string. - `download_attachment(attachment)`: Download a single Gmail attachment. - `download_all_attachments(email)`: Download all attachments from a Gmail message. - `modify_message(message_id, add_label_ids?, remove_label_ids?)`: Add or remove labels on a Gmail message. - `add_labels(message_id, add_label_ids)`: Add labels to a Gmail message. - `remove_labels(message_id, remove_label_ids)`: Remove labels from a Gmail message. - `mark_as_read(message_id)`: Mark a Gmail message as read. - `mark_as_unread(message_id)`: Mark a Gmail message as unread. - `archive(message_id)`: Archive a Gmail message (remove from Inbox). - `star(message_id)`: Star a Gmail message. - `unstar(message_id)`: Remove the star from a Gmail message. - `trash_message(message_id)`: Move a Gmail message to trash. - `create_draft(to?, subject?, body?, cc?, bcc?, html_body?, thread_id?, in_reply_to?)`: Create a Gmail draft. - `get_draft(draft_id, format?)`: Fetch a Gmail draft by ID. - `list_drafts(query?, max_results?, page_token?, include_spam_trash?)`: List the drafts in the authenticated Gmail account. - `update_draft(draft_id, to?, subject?, body?, cc?, bcc?, html_body?, thread_id?, in_reply_to?)`: Replace the content of a Gmail draft. - `delete_draft(draft_id)`: Delete a Gmail draft. - `send_draft(draft_id)`: Send an existing Gmail draft. - `send_message(to?, subject?, body?, cc?, bcc?, html_body?, thread_id?, in_reply_to?)`: Send an email from the authenticated Gmail account. - `setup_watch(topic_name, label_ids?, label_filter_behavior?)`: Set up Gmail push notifications via Google Cloud Pub/Sub. - `list_user_history(stored_history_id, label_id?)`: List changes to the user's mailbox since a given history ID. - `poll_messages(start_history_id, label_id?, max_messages?, max_api_calls?)`: Poll for new Gmail messages since a given history ID. ##### GoDaddy (`qbash.integrations.godaddy`) Search domain availability, get suggestions, and check pricing via GoDaddy - `check_availability(domain)`: Check if a domain name is available to register. - `bulk_check_availability(domains)`: Check availability of multiple domain names at once (up to 500). - `get_suggestions(query, limit?, tlds?)`: Get domain name suggestions based on a keyword or phrase. - `list_tlds()`: List all TLDs supported and enabled for sale. Each entry is projected down to name and type here, so no other field reaches the caller. Use check_availability for prices. ##### Gong.io (`qbash.integrations.gong`) Fetch call transcripts, detailed call/CRM data, users, library content, scorecards, highlights, and tracker settings from Gong - `transcript(dateFrom?, dateTo?, workspaceId?, callIds?, limit?)`: Fetch call transcripts from Gong. - `get_extensive(call_id)`: Fetch detailed call metadata from Gong for a single call: parties (with name, email and affiliation) and CRM context (Account name, website and so on). Pair with `transcript` to label speakerIds. - `list_calls(fromDateTime?, toDateTime?, workspaceId?, cursor?, limit?)`: List calls from Gong with optional date range and workspace filtering. - `list_users(cursor?, include_avatars?, limit?)`: List users in the Gong account. - `get_highlights(call_ids, from_date_time?, to_date_time?)`: Fetch AI-generated highlights (Next Steps) for one or more Gong calls. - `get_scorecards(call_from_date?, call_to_date?, reviewed_user_ids?, scorecard_ids?, cursor?)`: Fetch scorecard results from Gong for reviewed calls. - `list_library_folders(workspace_id?)`: List Gong library folders, optionally filtered by workspace. - `get_library_content(folder_id, cursor?)`: Get the calls and content inside a specific Gong library folder. - `list_trackers(workspace_id?)`: List smart tracker definitions configured in Gong, optionally filtered by workspace. ##### Google Ads (`qbash.integrations.google_ads`) Report on and manage Google Ads campaigns, keywords, ads, budgets, bidding, conversions and experiments - `list_customers(max_accounts?)`: List accessible Google Ads accounts and manager hierarchies. Discovery follows hierarchy pages within a time bound and max_accounts root cap. Timed-out roots appear in skipped and set truncated. - `search(customer_id, login_customer_id?, query, page_token?, max_rows?, include_summary_row?, return_total_results_count?)`: Run one page of GAQL reporting. Cut pages omit next_page_token. Narrow with WHERE/LIMIT or raise max_rows to avoid losing rows. - `get_field_metadata(resource?, fields?, include_selectable_with?)`: Discover selectable, filterable and sortable GAQL fields. - `manage_campaigns(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads campaigns. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_budgets(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads budgets. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_ad_groups(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads ad groups. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_criteria(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads criteria. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_ads(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads ads. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_assets(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads assets. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_bidding_strategies(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads bidding strategies. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_conversion_actions(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads conversion actions. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_shared_sets(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Manage Google Ads shared sets. Money is micros. Remove is permanent. read_only=True validates without applying. - `manage_experiments(customer_id, login_customer_id?, operations?, partial_failure?, read_only?, return_resources?, action?, experiment?, campaign_budget_mappings?)`: Manage Google Ads experiments. Money is micros. Remove is permanent. read_only=True validates without applying. Schedule/promote return operation_name. Poll experiment.status with search. - `mutate(customer_id, login_customer_id?, mutate_operations, partial_failure?, read_only?, return_resources?)`: Send raw MutateOperation objects of any kind. Prefer named manage modes. Remove is permanent. Money is micros. read_only=True validates without applying. - `create_search_campaign(customer_id, login_customer_id?, name, daily_budget_micros, bidding, ad_groups, locations?, languages?, status?, contains_eu_political_advertising?, read_only?)`: Create an atomic Search campaign with budget, targeting, groups, keywords, negatives and RSAs. Defaults to PAUSED. Money is micros. read_only=True validates without applying. - `upload_click_conversions(customer_id, login_customer_id?, conversions, read_only?)`: Upload offline click conversions. Forces partial failure. read_only=True validates without applying. - `apply_recommendation(customer_id, login_customer_id?, operations, partial_failure?)`: Apply recommendations. Test runs refuse this write because Google has no validation endpoint. - `dismiss_recommendation(customer_id, login_customer_id?, resource_names, partial_failure?)`: Dismiss recommendations. Test runs refuse this write because Google has no validation endpoint. - `generate_keyword_ideas(customer_id, login_customer_id?, language?, geo_target_constants?, keyword_plan_network?, include_adult_keywords?, historical_metrics_options?, aggregate_metrics?, keywords?, url?, site?, page_size?, page_token?, keyword_annotation?)`: Discover keyword ideas from keywords, a URL, keywords with a URL, or a site. Planning quotas are stricter; save results instead of repeatedly fetching them. Reads retry once when Google supplies a retry delay of at most five seconds. - `generate_keyword_historical_metrics(customer_id, login_customer_id?, keywords, language?, geo_target_constants?, keyword_plan_network?, include_adult_keywords?, historical_metrics_options?, aggregate_metrics?)`: Get search volume, competition and bid estimates for supplied keywords. Google combines close variants; one result per input is not guaranteed. Historical data refreshes monthly. - `generate_ad_group_themes(customer_id, login_customer_id?, keywords, ad_groups)`: Suggest keyword text, match types and assignments to existing ad groups. Does not create ad groups or keywords. Returns unusable groups separately. - `generate_keyword_forecast_metrics(customer_id, login_customer_id?, campaign, forecast_period?, currency_code?)`: Estimate clicks, cost or conversions for an inline v25 campaign. Does not create a campaign or saved plan. Metrics depend on strategy and may be absent. - `suggest_geo_targets(location_names?, geo_target_constants?, locale?, country_code?)`: Find location resource names for keyword research and targeting. Uses connected OAuth; no customer ID required. - `list_keyword_plans(customer_id, login_customer_id?, page_token?, max_rows?)`: List saved plans. Use search to inspect keyword_plan_campaign, keyword_plan_ad_group, keyword_plan_ad_group_keyword and keyword_plan_campaign_keyword resources. - `manage_keyword_plans(customer_id, login_customer_id?, operations, partial_failure?, read_only?, return_resources?)`: Create, update or remove saved plans and their campaigns, ad groups and keywords. Planning resources do not serve ads. read_only=True validates without saving. Removal is permanent. ##### Google Analytics (`qbash.integrations.google_analytics`) Discover GA4 properties and report on traffic, acquisition, engagement, conversions, and realtime activity - `list_properties(page_size?, page_token?)`: List Google Analytics accounts and GA4 properties available to the connected account. - `get_metadata(property_id, kind?, search?)`: List dimensions, metrics, and saved comparisons available to a GA4 property. - `check_compatibility(property_id, dimensions?, metrics?, compatibility_filter?)`: Check whether GA4 dimensions and metrics can be used together in a standard report. - `run_report(property_id, date_ranges, dimensions?, metrics, dimension_filters?, metric_filters?, filter_logic?, return_property_quota?, order_bys?, metric_aggregations?, limit?, offset?, currency_code?, keep_empty_rows?)`: Run a standard GA4 report with dimensions, metrics, filters, ordering, and pagination. - `run_realtime_report(property_id, minute_ranges?, dimensions?, metrics, dimension_filters?, metric_filters?, filter_logic?, return_property_quota?, order_bys?, metric_aggregations?, limit?)`: Run a GA4 realtime report for activity from the last 30 or 60 minutes. - `run_pivot_report(property_id, date_ranges, pivots, dimensions?, metrics, dimension_filters?, metric_filters?, filter_logic?, return_property_quota?, currency_code?, keep_empty_rows?)`: Run an advanced GA4 pivot report across one or more dimension axes. ##### Google Calendar (`qbash.integrations.google_calendar`) Read and manage calendar events and check availability - `list_calendars(min_access_role?, show_hidden?, max_results?, page_token?)`: List the calendars in the connected account's calendar list. - `get_calendar(calendar_id?)`: Get one calendar's name, time zone, and the account's access role. - `list_events(calendar_id?, time_min?, time_max?, query?, single_events?, order_by?, show_deleted?, updated_min?, time_zone?, max_results?, page_token?)`: List events in a calendar. Recurring events are expanded into single instances by default. - `get_event(calendar_id?, event_id)`: Get one event by ID, including fields the list view leaves out. - `create_event(calendar_id?, summary, start, end, time_zone?, description?, location?, attendees?, recurrence?, add_google_meet?, visibility?, transparency?, send_updates?)`: Create an event. Attendees get no email unless send_updates is all or externalOnly. - `quick_add_event(calendar_id?, text, send_updates?)`: Create an event from a sentence, such as "Lunch with Sam tomorrow at 12pm". - `update_event(calendar_id?, event_id, summary?, start?, end?, time_zone?, description?, location?, attendees?, recurrence?, add_google_meet?, visibility?, transparency?, send_updates?)`: Change fields on an event. Only the fields you pass are changed. - `respond_to_event(calendar_id?, event_id, response, comment?, send_updates?)`: Accept, decline, or tentatively accept an event the connected account was invited to. - `delete_event(calendar_id?, event_id, send_updates?)`: Delete an event. - `query_free_busy(time_min, time_max, calendar_ids?, time_zone?)`: Get busy time ranges for one or more calendars. ##### Google Drive (`qbash.integrations.google_drive`) Manage folders and files in Google Drive, and fill Google Docs templates - `find_folder(name?, parent_id?, exact_match?, search_type?, folder_id?, drive_id?, page_size?, page_token?)`: Find a folder in Google Drive by name, or list every folder. - `create_folder(name, parent_id?)`: Create a new folder in Google Drive. - `delete_folder(name, parent_id?, exact_match?, drive_id?)`: Delete a folder from Google Drive. - `find_files(parent_id?, query?, file_type?, exact_match?, drive_query?, order_by?, drive_id?, page_size?, page_token?)`: List files in Google Drive, optionally filtered by folder. - `delete_files(file_name, parent_id?, drive_id?)`: Delete files from Google Drive by name. - `copy_files(file_name, destination_file_name, source_folder_id?, destination_folder_id?, drive_id?)`: Copy a file to a new location in Google Drive. - `move_files(file_name, source_folder_id?, destination_folder_id?, destination_file_name?, drive_id?)`: Move a file to a different folder in Google Drive. - `download_files(file_id?, file_name?, parent_id?, output_format?, export_format?)`: Download a file from Google Drive. - `update_file(file_id, name?, add_parents?, remove_parents?, properties?, app_properties?, description?)`: Rename, move or mark a Google Drive file by ID. - `create_files(file_name, create_type?, content?, parent_id?, content_format?, file_data?, content_type?)`: Create a new file in Google Drive. - `upload_files(file, parent_id?)`: Upload a local file to Google Drive. - `docs_fill_template(template_id, output_name, values, parent_id?)`: Make a Google Doc from a template by filling its {{name}} placeholders. - `docs_get(document_id, fields?)`: Read a Google Doc's paragraphs and indices through the Docs API. - `docs_batch_update(document_id, requests, required_revision_id?)`: Apply Google Docs API batchUpdate requests to a document. ##### Google Forms (`qbash.integrations.google_forms`) Build forms and read their responses - `get_form(form_id, fields?)`: Get a form's title, publish state, links, and every question with its ID, type, and options. - `list_responses(form_id, submitted_after?, page_size?, page_token?, include_question_titles?)`: List a form's responses, with each answer labeled by its question title. - `get_response(form_id, response_id, include_question_titles?)`: Get one response by ID. - `create_form(title, document_title?, description?, publish?)`: Create a form. It is published and accepting responses unless publish is False. - `add_question(form_id, type, title, description?, required?, options?, low?, high?, low_label?, high_label?, include_time?, rating_scale_level?, rating_icon?, index?)`: Add a question to a form and get its question_id. - `update_form_info(form_id, title?, description?)`: Change a form's title or description. - `delete_item(form_id, item_id)`: Delete a question or other item from a form. - `set_publish_settings(form_id, is_published, is_accepting_responses?)`: Publish or unpublish a form, or open and close it to responses. - `batch_update(form_id, requests)`: Apply raw Google Forms API batchUpdate requests, such as quiz settings, sections, or moving items. ##### Google Maps (`qbash.integrations.google_maps`) Location, geocoding, places, and routing via Google Maps APIs - `geocode(address)`: Convert an address, city/state, or zip code to lat/lng coordinates. - `reverse_geocode(lat, lng)`: Convert lat/lng coordinates to a human-readable address. - `distance_matrix(origin, destination, travel_mode?, units?)`: Calculate travel time and distance between two points. - `nearby_search(lat, lng, radius?, type?, keyword?, max_results?)`: Find places near a location by type or keyword. - `place_details(place_id, fields?)`: Get detailed info about a specific place by place_id. - `timezone(lat, lng, timestamp?)`: Get timezone information for a lat/lng location. ##### Google Meet (`qbash.integrations.google_meet`) Create meetings and read who attended and what was said - `create_meeting(access_type?, auto_recording?, auto_transcription?, auto_smart_notes?, moderation?, attendance_report?, members?, members_cohost?)`: Create a meeting room and get its join link. Optionally turn on auto recording, transcripts, or notes, and add members. - `get_meeting(meeting)`: Get a meeting room's join link, settings, and the call in progress, by meeting code or link. - `update_meeting(meeting, access_type?, auto_recording?, auto_transcription?, auto_smart_notes?, moderation?, attendance_report?)`: Change a meeting room's settings. Only rooms created with create_meeting can be changed. - `end_meeting(meeting)`: End the call running in a meeting room for everyone. Only rooms created with create_meeting can be ended. - `list_members(meeting, page_size?, page_token?)`: List the people who can join a meeting room without knocking. - `add_members(meeting, emails, cohost?)`: Let people join a meeting room without knocking. Only rooms created with create_meeting can be changed. - `update_member(member_id, cohost)`: Make a member a co-host, or remove their co-host role. - `remove_member(member_id)`: Remove a member from a meeting room. - `list_conferences(meeting?, started_after?, started_before?, ongoing_only?, page_size?, page_token?)`: List calls the connected account organized, newest first, with filters for a meeting, a time window, or calls still running. - `get_conference(conference_id)`: Get one call's start and end time and room. - `list_participants(conference_id, active_only?, page_size?, page_token?)`: List who joined a call, with their names and when they first joined and last left. - `list_transcripts(conference_id, page_size?, page_token?)`: List a call's transcripts with their Google Doc links. - `get_transcript_text(conference_id, transcript_id?, page_size?, page_token?, include_speaker_names?)`: Read what was said in a call, line by line, with speaker names and times. - `list_recordings(conference_id, page_size?, page_token?)`: List a call's recordings with their Drive file IDs and playback links. - `list_smart_notes(conference_id, page_size?, page_token?)`: List the Gemini meeting notes for a call with their Google Doc links. ##### Google Search Console (`qbash.integrations.google_search_console`) Report on search performance, indexing, and sitemaps - `list_sites()`: List Search Console properties available to the connected Google account. - `get_site(site_url)`: Get one Search Console property and the connected account's permission level. - `query_search_analytics(site_url, start_date, end_date, dimensions?, filters?, search_type?, aggregation_type?, data_state?, row_limit?, start_row?)`: Query clicks, impressions, CTR, and average position for a Search Console property. - `inspect_url(site_url, inspection_url, language_code?)`: Inspect Google's indexed version of a URL. - `list_sitemaps(site_url, sitemap_index?)`: List submitted sitemaps for a Search Console property or sitemap index. - `get_sitemap(site_url, sitemap_url)`: Get status, counts, warnings, and errors for one submitted sitemap. ##### Google Sheets (`qbash.integrations.google_sheets`) Read and edit spreadsheets, tabs, and cell values - `get_spreadsheet(spreadsheet_id)`: Get a spreadsheet title, URL, and sheet tabs. - `get_values(spreadsheet_id, range, major_dimension?, value_render_option?, date_time_render_option?)`: Read cell values from one A1 range. - `batch_get_values(spreadsheet_id, ranges, major_dimension?, value_render_option?, date_time_render_option?)`: Read multiple A1 ranges in one request. - `create_spreadsheet(title)`: Create a new Google spreadsheet. - `update_values(spreadsheet_id, range, values, major_dimension?, value_input_option?)`: Write values to an A1 range, replacing cells in that range. - `append_values(spreadsheet_id, range, values, major_dimension?, value_input_option?, insert_data_option?)`: Append rows after a table in a sheet. - `clear_values(spreadsheet_id, range)`: Clear cell values in an A1 range. - `batch_update_values(spreadsheet_id, data, value_input_option?)`: Write values to multiple ranges in one request. - `add_sheet(spreadsheet_id, title)`: Add a tab to an existing spreadsheet. - `rename_sheet(spreadsheet_id, sheet_id, title)`: Rename a spreadsheet tab. - `delete_sheet(spreadsheet_id, sheet_id)`: Delete a spreadsheet tab. - `batch_update_spreadsheet(spreadsheet_id, requests)`: Apply advanced spreadsheet changes such as formatting or protected ranges. ##### Google Slides (`qbash.integrations.google_slides`) Read, fill, and edit presentations and slides - `get_presentation(presentation_id, fields?)`: Get a presentation's title, slides with their text and speaker notes, and layouts. - `get_slide(presentation_id, slide_id)`: Get one slide's text and elements, plus Google's full page resource. - `get_slide_thumbnail(presentation_id, slide_id, size?)`: Get a PNG image link for one slide. The link expires after 30 minutes. - `create_presentation(title)`: Create a new, empty presentation. - `replace_text(presentation_id, replacements, match_case?, slide_ids?)`: Replace placeholder text such as {{client_name}} everywhere it appears, keeping the text's formatting. - `replace_shapes_with_image(presentation_id, find, image_url, replace_method?, match_case?, slide_ids?)`: Replace every shape containing some text, such as {{logo}}, with an image from a URL. - `add_slide(presentation_id, layout?, layout_id?, insertion_index?, title?, body?)`: Add a slide with a layout and optional title and body text. - `duplicate_slide(presentation_id, slide_id)`: Copy a slide. The copy goes straight after the original. - `delete_slide(presentation_id, slide_id)`: Delete a slide. - `batch_update(presentation_id, requests)`: Apply raw Google Slides API batchUpdate requests, such as text styling, speaker notes, or shapes. ##### Google Tag Manager (`qbash.integrations.google_tag_manager`) Read and edit Tag Manager tags, triggers and variables, and publish container versions - `list_accounts(include_google_tags?, page_token?)`: List the Tag Manager accounts the connected Google account can open. - `list_containers(account_id, page_token?)`: List the containers in a Tag Manager account. - `get_container(account_id, container_id)`: Get one container by its account and container IDs. - `lookup_container(tag_id?, destination_id?)`: Find a container from its public ID (GTM-XXXXXXX) or a linked destination ID (such as G-XXXXXXX or AW-123456789). - `get_container_snippet(account_id, container_id)`: Get the install snippet for a container. - `list_workspaces(account_id, container_id, page_token?)`: List a container's workspaces, where tag, trigger and variable changes are made before a version is created. - `get_workspace_status(account_id, container_id, workspace_id)`: List the unpublished changes in a workspace and any merge conflicts. - `list_tags(account_id, container_id, workspace_id, page_token?)`: List the tags in a workspace. - `get_tag(account_id, container_id, workspace_id, tag_id)`: Get one tag with its settings and fingerprint. - `list_triggers(account_id, container_id, workspace_id, page_token?)`: List the triggers in a workspace. - `get_trigger(account_id, container_id, workspace_id, trigger_id)`: Get one trigger with its settings and fingerprint. - `list_variables(account_id, container_id, workspace_id, page_token?)`: List the variables in a workspace. - `get_variable(account_id, container_id, workspace_id, variable_id)`: Get one variable with its settings and fingerprint. - `list_built_in_variables(account_id, container_id, workspace_id, page_token?)`: List the built-in variables turned on in a workspace, such as Page URL or Click Text. - `list_version_headers(account_id, container_id, include_deleted?, page_token?)`: List a container's versions with their names and tag, trigger and variable counts. - `get_latest_version_header(account_id, container_id)`: Get the header of a container's newest version. - `get_version(account_id, container_id, version_id)`: Get a container version with all its tags, triggers and variables. - `get_live_version(account_id, container_id)`: Get the version that is live on the site, with all its tags, triggers and variables. - `create_workspace(account_id, container_id, name, description?)`: Create a workspace in a container to hold a set of changes. - `create_tag(account_id, container_id, workspace_id, tag)`: Create a tag in a workspace. - `update_tag(account_id, container_id, workspace_id, tag_id, changes, fingerprint?)`: Change a tag's fields. Fields left out of changes keep their values. - `delete_tag(account_id, container_id, workspace_id, tag_id)`: Delete a tag from a workspace. - `create_trigger(account_id, container_id, workspace_id, trigger)`: Create a trigger in a workspace. - `update_trigger(account_id, container_id, workspace_id, trigger_id, changes, fingerprint?)`: Change a trigger's fields. Fields left out of changes keep their values. - `delete_trigger(account_id, container_id, workspace_id, trigger_id)`: Delete a trigger from a workspace. - `create_variable(account_id, container_id, workspace_id, variable)`: Create a variable in a workspace. - `update_variable(account_id, container_id, workspace_id, variable_id, changes, fingerprint?)`: Change a variable's fields. Fields left out of changes keep their values. - `delete_variable(account_id, container_id, workspace_id, variable_id)`: Delete a variable from a workspace. - `enable_built_in_variables(account_id, container_id, workspace_id, types)`: Turn on built-in variables in a workspace, such as pageUrl or clickText. - `sync_workspace(account_id, container_id, workspace_id)`: Bring a workspace up to date with the container's newest version. - `create_version(account_id, container_id, workspace_id, name?, notes?)`: Create a container version from a workspace's changes. Google deletes the workspace afterwards. - `publish_version(account_id, container_id, version_id, fingerprint?)`: Publish a container version so it goes live on every site that runs the container. ##### Granola (`qbash.integrations.granola`) Read Granola meeting notes, summaries, attendees and transcripts, search them, and manage note webhooks in Tasks. - `list_notes(created_after?, created_before?, updated_after?, folder_id?, space_id?, page_size?, cursor?)`: List Granola notes, newest first, with optional date, folder and space filters. - `get_note(note_id, include_transcript?)`: Get one Granola note with its summary, attendees, calendar event, folders and spaces. - `search_notes(keywords?, participant?, folder_id?, space_id?, from_date?, to_date?, updated_after?, page_size?, cursor?)`: Search Granola note titles and summaries by keyword, with participant, folder, space and date filters. - `get_note_transcript(note_id, from_time?, page_size?, cursor?)`: Get one page of a Granola note's transcript, with speaker and timing for each segment. - `search_transcripts(keywords?, note_ids?, participant?, from_date?, to_date?, page_size?, cursor?)`: Search Granola transcripts for keywords and get up to two excerpts per matching note. - `list_folders(page_size?, cursor?)`: List Granola folders alphabetically, with their parent folder and space. - `list_spaces(page_size?, cursor?)`: List Granola spaces alphabetically. - `list_webhook_endpoints()`: List the key's Granola webhook endpoints, oldest first. - `create_webhook_endpoint(url, scopes, events?, folder_ids?)`: Register an HTTPS webhook endpoint for Granola note events. - `update_webhook_endpoint(webhook_endpoint_id, url?, scopes?, events?, folder_ids?, enabled?)`: Change a Granola webhook endpoint's URL, scopes, events, folder filter or enabled state. - `delete_webhook_endpoint(webhook_endpoint_id)`: Delete a Granola webhook endpoint so it stops receiving events. ##### XAI Grok Search (`qbash.integrations.grok_search`) Search X posts using Grok AI via the xAI Responses API - `model_search(query, model?, allowed_x_handles?, excluded_x_handles?, from_date?, to_date?)`: Search X posts using Grok AI via the xAI Responses API. ##### Hacker News (`qbash.integrations.hackernews`) Search Hacker News stories, comments, front page items, users, and item threads via the Algolia-powered HN Search API. - `search(query?, tags?, numeric_filters?, hits_per_page?, page?, restrict_searchable_attributes?, typo_tolerance?)`: Search Hacker News by relevance. - `search_by_date(query?, tags?, numeric_filters?, hits_per_page?, page?, restrict_searchable_attributes?, typo_tolerance?)`: Search Hacker News by newest items first. - `front_page(hits_per_page?, page?)`: List current Hacker News front-page stories. - `get_item(id)`: Fetch a Hacker News item and its nested children. - `get_user(username)`: Fetch Hacker News user metadata. ##### HubSpot (`qbash.integrations.hubspot`) HubSpot CRM: manage contacts, companies, deals, notes, and tasks. - `list_contacts(limit?, after?, properties?, archived?)`: List contacts with cursor pagination. - `get_contact(id, id_property?, properties?)`: Fetch a single contact by ID, or by email when id_property="email". - `create_contact(email?, firstname?, lastname?, phone?, company?, properties?, company_ids?)`: Create a contact. Pass standard fields directly or use `properties` for custom fields. - `update_contact(id, properties)`: Patch properties on an existing contact by ID. - `search_contacts(filter_groups?, properties?, sorts?, query?, limit?, after?)`: Search contacts by free-text query or HubSpot filterGroups syntax. - `list_companies(limit?, after?, properties?, archived?)`: List companies with cursor pagination. - `create_company(name?, domain?, industry?, properties?)`: Create a company. - `search_companies(filter_groups?, properties?, sorts?, query?, limit?, after?)`: Search companies by free-text query or filterGroups syntax. - `list_deals(limit?, after?, properties?, archived?)`: List deals with cursor pagination. - `create_deal(dealname, amount?, pipeline?, dealstage?, closedate?, properties?, contact_ids?, company_ids?)`: Create a deal. Optionally associate with existing contacts and companies. - `update_deal(id, properties)`: Patch properties on an existing deal by ID. - `search_deals(filter_groups?, properties?, sorts?, query?, limit?, after?)`: Search deals by free-text query or filterGroups syntax. - `create_note(body, timestamp?, owner_id?, contact_ids?, company_ids?, deal_ids?)`: Create a note engagement, optionally associated with CRM records. - `create_task(subject, body?, due_timestamp?, status?, priority?, task_type?, owner_id?, contact_ids?, company_ids?, deal_ids?)`: Create a task engagement (to-do for a user) with associations. - `list_owners(limit?, after?, email?)`: List workspace users (owners) for record ownership lookups. - `list_pipelines()`: List deal pipelines and their stage IDs (required for create_deal). ##### JIRA (`qbash.integrations.jira`) Atlassian JIRA issue tracking platform - `get_ticket(ticket_id, comment_limit?, custom_fields?)`: Get a JIRA ticket by ID, with its comments, attachments, links and custom fields. - `get_tickets_by_time_span(query_type?, start_date?, end_date?, start_ticket?, end_ticket?, max_results?)`: List JIRA tickets filtered by date range or ticket number range. - `update_ticket(ticket_id, field_id?, tag_name?, fields?, add_labels?, remove_labels?, read_only?)`: Update fields and labels on a JIRA ticket. - `add_comment(ticket_id, comment_body, is_internal?, visibility?, read_only?)`: Add a comment to a JIRA ticket. - `transition_ticket(ticket_id, transition_name?, transition_id?, resolution_name?, fields?, comment?, read_only?)`: Transition a JIRA ticket to a new workflow status. - `list_comments(ticket_id, order?, limit?, cursor?)`: List the comments on a JIRA ticket, one page at a time. - `download_attachment(attachment_id)`: Download a JIRA attachment and return a file reference. - `list_fields(query?, custom_only?)`: List the fields on the JIRA site, with their ids and types. - `search_tickets(jql?, text?, project?, updated_within_days?, fields?, limit?, cursor?)`: Search JIRA tickets by JQL, or by text, project and recent updates. - `list_projects(query?, creatable_only?, limit?, cursor?)`: List the JIRA projects the credential can see. - `list_issue_types(project)`: List the issue types of a JIRA project. - `get_create_fields(project, issue_type)`: List the fields a new JIRA ticket takes for a project and issue type. - `get_edit_fields(ticket_id)`: List the fields the user can edit on a JIRA ticket. - `list_transitions(ticket_id)`: List the workflow transitions a JIRA ticket can take now. - `list_link_types()`: List the issue link types of the JIRA site. - `get_ticket_history(ticket_ids, field_ids?, limit?, cursor?)`: Read the field changes on JIRA tickets. Only status changes unless field_ids names other fields or "all". - `create_ticket(project, issue_type, summary, description?, labels?, priority?, assignee_account_id?, parent?, fields?, read_only?)`: Create a JIRA ticket in a project, checked against the project's create screen. - `link_tickets(from_ticket, to_ticket, link_type, comment?, read_only?)`: Link two JIRA tickets, such as one that duplicates or blocks another. - `add_remote_link(ticket_id, url, title, summary?, global_id?, relationship?, application_name?, icon_url?, read_only?)`: Add a link to a page outside JIRA, such as a support record, to a ticket. ##### Linear (`qbash.integrations.linear`) Read teams, projects, cycles and issues, and create or update issues and comments. - `get_viewer()`: Get the authenticated Linear user. - `list_teams(limit?, cursor?, include_archived?)`: List one page of accessible Linear teams. - `list_users(limit?, cursor?, include_archived?)`: List one page of active workspace users. - `list_projects(team_id?, limit?, cursor?, include_archived?)`: List one page of projects, optionally restricted to a team. - `list_cycles(team_id?, limit?, cursor?, include_archived?)`: List one page of cycles, optionally restricted to a team. - `list_workflow_states(team_id?, limit?, cursor?, include_archived?)`: List one page of issue workflow states, optionally restricted to a team. - `list_labels(team_id?, limit?, cursor?, include_archived?)`: List one page of issue labels. A team filter also includes workspace labels. - `list_issues(team_id?, project_id?, assignee_id?, state_type?, priority?, updated_since?, query?, limit?, cursor?, include_archived?)`: List one page of issues with server-side filters, most recently updated first. - `get_issue(issue_id)`: Get one issue by UUID or identifier such as ENG-123. - `list_comments(issue_id, limit?, cursor?, include_archived?)`: List one page of comments on an issue. - `create_issue(team_id, title, description?, assignee_id?, project_id?, cycle_id?, state_id?, priority?, estimate?, due_date?, label_ids?)`: Create an issue in a team. Requires Create issues or Write permission. - `update_issue(issue_id, title?, description?, assignee_id?, project_id?, cycle_id?, state_id?, priority?, estimate?, due_date?, label_ids?, clear_fields?)`: Update only supplied issue fields. Requires Write permission. label_ids replaces all labels. - `create_comment(issue_id, body)`: Add a Markdown comment to an issue. Requires Create comments or Write permission. ##### LinkedIn (`qbash.integrations.linkedin`) Read profiles and company pages, upload media, publish and manage posts, comments and reactions, and pull engagement and follower analytics on LinkedIn. - `get_profile()`: Get the authenticated user's LinkedIn profile. - `get_organization(organization_id?, vanity_name?)`: Get a LinkedIn company/organization page by numeric ID or vanity name. - `list_posts(author_urn?, count?, start?)`: List recent posts by a person or organization. - `upload_image(file?, file_url?, owner_urn?)`: Upload an image to LinkedIn and get back an image asset URN. - `upload_video(file?, file_url?, owner_urn?, wait_for_processing?, max_wait_seconds?)`: Upload a video to LinkedIn and get back a video asset URN. - `upload_document(file?, file_url?, owner_urn?)`: Upload a document (e.g. PDF) to LinkedIn and get back a document asset URN. - `create_post(text, visibility?, author_urn?, media_urn?, media_title?, media_type?, media_alt_text?, article_url?, article_title?, article_description?, article_thumbnail_urn?, reshare_urn?, image_urns?, multi_image_alt_text?, poll_question?, poll_options?, poll_duration?, target_geo_urns?, target_seniorities?, target_industries?, target_job_functions?, target_organizations?, target_staff_count_ranges?)`: Publish a post on LinkedIn - text, media, or an article card. - `delete_post(post_urn)`: Delete a LinkedIn post. - `update_post(post_urn, text?, call_to_action_label?, landing_page_url?)`: Update an existing LinkedIn post's text or call-to-action. - `get_post_analytics(organization_urn, count?, share_urns?, ugc_post_urns?)`: Get engagement analytics for an organization's posts. - `get_follower_count(organization_id)`: Get follower count for a LinkedIn organization. - `react_to_post(post_urn, reaction_type?, actor_urn?)`: React to a LinkedIn post or comment (like, celebrate, love, etc). - `remove_reaction(post_urn, actor_urn?)`: Remove your reaction from a LinkedIn post or comment. - `get_reactions(post_urn, sort?)`: List reactions on a LinkedIn post or comment. - `get_media_status(media_urn)`: Check the processing status of an uploaded image, video, or document. - `create_comment(post_urn, text, parent_comment_urn?, actor_urn?)`: Comment on a LinkedIn post, or reply to an existing comment (thread the reply via parent_comment_urn). - `get_comment(post_urn, comment_id)`: Get a single comment on a LinkedIn post. - `list_comments(post_urn, count?, start?)`: List comments on a LinkedIn post. Org-authored posts only - a member-authored post's comments cannot be listed (r_member_social_feed is a closed permission). - `get_comment_replies(post_urn, comment_id)`: List replies to a LinkedIn comment. - `update_comment(post_urn, comment_id, text, actor_urn?)`: Update the text of an existing LinkedIn comment. - `delete_comment(post_urn, comment_id, actor_urn?)`: Delete a LinkedIn comment. - `get_engagement_summary(post_urn)`: Get reaction and comment counts for a LinkedIn post or comment. The comment counts are org-authored content only - same r_member_social_feed restriction as list_comments. - `set_comments_enabled(post_urn, enabled, actor_urn?)`: Open or close comments on a LinkedIn post. Disabling comments deletes existing comments on the thread - re-enabling does not restore them. - `list_organizations(organization_ids)`: Batch-look-up LinkedIn organizations by numeric ID. Returns a limited field set (no admin role required), unlike the single-org get_organization lookup. - `list_my_organization_roles()`: List the LinkedIn organizations the authenticated credential administers. - `list_organization_admins(organization_urn)`: List everyone who administers a given LinkedIn organization. - `search_organization_members(organization_urn, keywords?, vanity_url?)`: Search a LinkedIn organization's followers by name for @mention suggestions (create_comment/create_post). Org-scoped only - searches followers of a page, not the connecting member's own network. - `get_connections_count()`: Get the authenticated member's first-degree connection count. - `get_organization_follower_stats(organization_urn, time_granularity?, start_time?, end_time?)`: Get LinkedIn organization follower statistics - a demographic breakdown (lifetime) or follower gains over time (time-bound). - `get_page_statistics(organization_urn, time_granularity?, start_time?, end_time?)`: Get view and click statistics for a LinkedIn organization's company page. - `get_video_analytics(ugc_post_urn, metric, aggregation?, start_time?, end_time?)`: Get view and watch-time analytics for an organization's video post. - `get_member_follower_stats(start_date?, end_date?)`: Get the authenticated member's own follower count - a lifetime total or a daily time series. - `get_member_post_analytics(post_urn?, metric, aggregation?, start_date?, end_date?)`: Get analytics for the authenticated member's own posts - a single post, or aggregated across all of them. - `get_member_video_analytics(post_urn, metric, aggregation?, start_date?, end_date?)`: Get view and watch-time analytics for one video post of the authenticated member. ##### Massive (`qbash.integrations.massive`) US market data (Polygon.io, rebranded as Massive): aggregates, quotes, trades, options chains, news, and reference data. Read-only. - `aggregates(ticker, multiplier, timespan, from_, to, adjusted?, sort?, limit?)`: OHLCV aggregate bars for a ticker over a date range. Multiplier + timespan (e.g. 5/minute, 1/day). `from`/`to` accept YYYY-MM-DD or unix-millis. - `previous_close(ticker, adjusted?)`: Previous-day OHLCV bar for a ticker. - `last_quote(ticker)`: Most recent NBBO quote (bid/ask) for a ticker. Requires a paid plan for real-time. - `last_trade(ticker)`: Most recent trade for a ticker. - `ticker_details(ticker, date?)`: Descriptive metadata for a ticker (name, market cap, description, branding, etc.). - `list_tickers(ticker?, ticker_gte?, ticker_gt?, ticker_lte?, ticker_lt?, type?, market?, exchange?, cusip?, cik?, date?, search?, active?, order?, limit?, sort?)`: Paginated reference list of tickers. Filter by exchange, type, market, CIK/CUSIP, or search. - `ticker_news(ticker?, published_utc_gte?, published_utc_gt?, published_utc_lte?, published_utc_lt?, order?, limit?, sort?)`: News articles index. Filter by ticker and publish-time range. - `options_chain(underlying_asset, strike_price_gte?, strike_price_gt?, strike_price_lte?, strike_price_lt?, expiration_date_gte?, expiration_date_gt?, expiration_date_lte?, expiration_date_lt?, contract_type?, order?, limit?, sort?)`: Snapshot of all options contracts for an underlying asset, with greeks and last quote. Use strike_price_gte/lte and expiration_date_gte/lte to filter. - `option_contract_snapshot(underlying_asset, option_contract)`: Snapshot of one specific options contract (e.g. O:AAPL250620C00200000). - `list_option_contracts(underlying_ticker?, contract_type?, expiration_date?, expiration_date_gte?, expiration_date_gt?, expiration_date_lte?, expiration_date_lt?, strike_price_gte?, strike_price_gt?, strike_price_lte?, strike_price_lt?, as_of?, expired?, order?, limit?, sort?)`: Reference list of historical and active option contracts. - `market_status()`: Current US market status (open/closed, after-hours, exchanges). - `exchanges(asset_class?, locale?)`: Reference list of exchanges Massive tracks. - `grouped_daily(date, adjusted?, include_otc?)`: Daily OHLCV bars for the entire US equities market on a single date. One request covers the whole market for that date, typically several thousand rows. ##### Microsoft OneDrive (`qbash.integrations.microsoft_onedrive`) Cloud file storage for Microsoft 365: manage Word, Excel, and any file type - `list_files(folder_path?, top?, page_token?)`: List files in a folder. - `search_files(query)`: Search for files by name or content. - `upload_file(file_path, content?, file?, content_type?)`: Upload a new file to OneDrive. - `download_file(item_id?, file_path?)`: Download a file from OneDrive. - `delete_file(item_id?, file_path?)`: Delete a file from OneDrive. - `copy_file(item_id?, file_path?, destination_path?, destination_folder_id?, new_name?)`: Copy a file to a new location. - `move_file(item_id?, file_path?, new_name?, destination_folder_id?, destination_path?)`: Move a file to a new location. - `create_folder(folder_name, parent_path?)`: Create a new folder in OneDrive. - `get_metadata(item_id?, file_path?)`: Get file or folder metadata. - `create_sharing_link(item_id?, file_path?, link_type?, scope?)`: Create a sharing link for a file. - `create_document(file_name, content, folder_path?)`: Create a document from text content. - `list_worksheets(workbook_id?, workbook_path?)`: List all worksheets in a workbook. - `read_range(workbook_id?, workbook_path?, worksheet_name, range)`: Read a range of cells from a worksheet. - `write_range(workbook_id?, workbook_path?, worksheet_name, range, values)`: Write values to a range of cells. - `add_table_row(workbook_id?, workbook_path?, table_name, values, worksheet_name?)`: Add a row to an existing table. - `list_tables(workbook_id?, workbook_path?, worksheet_name?)`: List all tables in a workbook. - `read_table(workbook_id?, workbook_path?, table_name, worksheet_name?, top?, skip?)`: Read all rows from a table. - `get_cell_value(workbook_id?, workbook_path?, worksheet_name, cell)`: Read a single cell value. - `create_workbook(file_path)`: Create a new Excel workbook. ##### Microsoft Teams (`qbash.integrations.microsoft_teams`) Collaboration and messaging platform: send messages, manage channels, and read conversations - `list_teams()`: List teams you have joined. - `list_channels(team_id?, team_name?, page_token?)`: List channels in a team. - `send_channel_message(team_id?, team_name?, channel_id?, channel_name?, content, content_type?)`: Send a message to a team channel. - `send_chat_message(chat_id, content, content_type?)`: Send a message to a 1:1 or group chat. - `list_chats(top?)`: List the first page of your chats. - `create_channel(team_id?, team_name?, display_name, description?, membership_type?)`: Create a new channel in a team. - `list_channel_messages(team_id?, team_name?, channel_id?, channel_name?, top?)`: List the first page of messages in a channel. - `reply_to_message(team_id?, team_name?, channel_id?, channel_name?, message_id, content, content_type?)`: Reply to a message in a channel. ##### Mixpanel (`qbash.integrations.mixpanel`) Analytics and event tracking integration - `list_events(projectId?)`: List all event names in a Mixpanel project. - `list_event_properties(projectId?, eventName, propertyName, fromDate, toDate, type?, unit?, limit?)`: List properties for a specific Mixpanel event. - `get_event_property_values(projectId?, eventName, propertyName, limit?)`: Get unique values for a Mixpanel event property. - `run_segmentation_query(projectId?, event, fromDate, toDate, type?, unit?, where?, on?)`: Run a segmentation query to get event counts and unique users. - `run_funnel_query(projectId?, fromDate, toDate, funnelId?, unit?, interval?, where?)`: Run a funnel query to analyze conversion across user journeys. - `run_retention_query(projectId?, fromDate, toDate, retention_type?, unit?, born_event?, event?, where?)`: Run a retention query to track user engagement over time. - `query_profiles(projectId?, where?, page_size?, session_id?, page?)`: Query Mixpanel user profiles using the Engage API. - `track_event(eventName, distinctId?, properties?)`: Track a single event in Mixpanel. - `track_batch_events(events)`: Track multiple events in a single Mixpanel API call. - `set_user_profile(distinctId, properties, operation?)`: Update Mixpanel user profile properties. - `increment_user_property(distinctId, properties)`: Increment numeric properties on a Mixpanel user profile. ##### Azure SQL (`qbash.integrations.mssql`) Connect to Microsoft Azure SQL Server and execute SQL queries - `read_query(query, outputFormat?, queryTimeout?, retryAttempts?, queryParams?, executionMode?)`: Run a SQL query that reads from an Azure SQL database. It runs in a transaction that is always rolled back. - `execute_query(query, outputFormat?, queryTimeout?, retryAttempts?, queryParams?, executionMode?)`: Run a SQL statement that changes data in an Azure SQL database. Use read_query to read and change_schema to change tables. Each call runs one batch. Don't split a transaction across calls. - `change_schema(query, outputFormat?, queryTimeout?, retryAttempts?, queryParams?, executionMode?)`: Run a SQL statement that changes the schema of an Azure SQL database, such as CREATE, ALTER or DROP. Each call runs one batch. Don't split a transaction across calls. - `list_schemas()`: List the user schemas in the connected database. - `list_tables(schema?)`: List the tables and views in a schema. - `describe_table(table, schema?)`: Describe the columns, indexes and foreign keys of a table. ##### MySQL (`qbash.integrations.mysql`) Connect to MySQL databases and run SQL queries - `read_query(query, output_format?, query_timeout?, query_params?, retry_attempts?)`: Run a SQL query that reads from a MySQL database. It runs in a read only transaction that is always rolled back. - `execute_query(query, output_format?, query_timeout?, query_params?, retry_attempts?, read_only?)`: Run a SQL statement that changes data in a MySQL database. Use read_query to read and change_schema to change tables. Each call runs one statement. Don't split a transaction across calls. - `change_schema(query, output_format?, query_timeout?, query_params?, retry_attempts?)`: Run a SQL statement that changes the schema of a MySQL database, such as CREATE, ALTER or DROP. Each call runs one statement. Don't split a transaction across calls. - `list_schemas()`: List the databases the configured account can see. - `list_tables(schema?)`: List the tables and views in a database. - `describe_table(table, schema?)`: Describe the columns, indexes, foreign keys and check constraints of a table. ##### Namecheap (`qbash.integrations.namecheap`) Check domain availability and pricing via Namecheap. Note: the client IP saved with the credential must be whitelisted in your Namecheap account API settings. - `check_availability(domains)`: Check availability of up to 50 domain names at once. - `get_tld_pricing(action?, product_category?)`: Get registration pricing for all TLDs or a specific category. - `get_domain_info(domain)`: Get registration details for a domain in your account. ##### Namecheap Aftermarket (`qbash.integrations.namecheap_aftermarket`) Search domain auctions, fetch auction details, list your bids, and place proxy bids on the Namecheap Market. Requires a separate JWT API key from the Namecheap Market Dashboard. - `list_sales(cursor?, order_by?, direction?, ids?, name?, price?, tld?, start_date?, end_date?, keywords?, age?, backlinks_count?, bid_count?, extensions_taken?, name_length?, cloudflare_ranking?, no_hyphens?, no_numbers?, only_numbers?, nsfw?)`: List auction sales with cursor-based pagination and rich filtering (price range, TLD, age, backlinks, rankings). - `get_sale(sale_id)`: Fetch a single auction sale by its opaque sale ID (returned by list_sales). - `list_my_bids(page?, page_size?, sale?)`: List the authenticated user's bids with page-based pagination. - `place_bid(sale_id, max_amount)`: Place a proxy bid on a sale. The system automatically bids the minimum needed to win, up to max_amount. ##### NetSuite (`qbash.integrations.netsuite`) Query NetSuite with SuiteQL, read records with their lines, and create or update records. - `run_suiteql(query, query_params?, limit?, cursor?)`: Run a SuiteQL query (NetSuite's SQL) and return one page of rows. Use it for lists, joins and totals across customers, items, prices, transactions, transaction lines, GL lines and custom records. Columns come back lowercase and checkboxes as 'T' or 'F'. - `get_record(record_type, record_id?, external_id?, fields?, expand_sub_resources?)`: Get one NetSuite record by internal ID or external ID. With expand_sub_resources it includes sublist lines, and each transaction line keeps its line value, the key update_record uses to change that line. - `list_record_types(search?)`: List the record type IDs the credential's role can reach, including custom record types (customrecord_...). Use search to find one, for example alias or carton. - `describe_record_type(record_type, search?)`: Describe a record type's fields from NetSuite's metadata catalog: IDs, labels, types, custom fields and allowed values. Use it to find custom field IDs and the field names create_record and update_record expect. - `create_record(record_type, values, external_id?, verify?)`: Create a NetSuite record from field values. Pass external_id (a stable key from the source, such as the customer's PO number) and a repeat call returns the existing record instead of creating a second one. Without external_id, every call creates a new record. Reads the record back after the write. Payments, refunds, deposits and journal entries are refused. - `update_record(record_type, record_id?, external_id?, values, replace_sublists?, if_last_modified?, verify?)`: Update fields and sublist lines on an existing NetSuite record. A line sent with its line value from get_record changes that line. A line without one is added, and lines left out stay. Pass if_last_modified to refuse the update when the record's lastModifiedDate no longer matches an earlier read. Payments, refunds, deposits and journal entries are refused. ##### Notion (`qbash.integrations.notion`) Search a Notion workspace, query databases, read pages as markdown, and create or update pages and rows. - `search(query?, object_type?, sort_direction?, cursor?, page_size?)`: Search the pages and databases shared with the integration by title. Results are pages and data sources (a data source holds a database's rows and schema, and its id is what query_data_source takes). - `get_database(database_id)`: Get a database's title, URL and the data sources it contains. Use a data source id from it with query_data_source and create_page. - `get_data_source(data_source_id?, database_id?)`: Get a data source's schema: each property's id, type and, for select, multi_select and status, the option names. - `query_data_source(data_source_id?, database_id?, filter?, sorts?, filter_properties?, cursor?, page_size?)`: Query the rows of a Notion database (a data source), with optional Notion filter and sorts dicts. Each row comes back with simple property values keyed by property name. - `get_page(page_id)`: Get a page's title, URL, parent and properties as simple values keyed by property name. - `get_page_content(page_id)`: Get a page's body as Notion-flavored markdown, ready to pass to a model or write into a report. - `get_block_children(block_id, cursor?, page_size?)`: List the direct child blocks of a page or block, each with its type and plain text. Use it to find block ids or walk nested blocks. - `list_users(cursor?, page_size?)`: List the people and bots in the Notion workspace, with ids to use in people properties. Needs a connection token with user information turned on. Personal access tokens cannot list users. - `create_page(data_source_id?, database_id?, parent_page_id?, title?, properties?, content?, icon?)`: Create a page as a new row in a database (pass data_source_id or database_id) or as a child of a page (pass parent_page_id), with a title, simple property values and a markdown body. - `update_page(page_id, properties?, title?, icon?)`: Update a page's title, property values or icon. Properties take the same simple values as create_page and unlisted properties are left alone. - `append_content(page_id, content)`: Append markdown to the end of a page's body, such as a report section or a run log entry. - `append_blocks(block_id, children)`: Append Notion block objects to the end of a page or block. A plain str in the list becomes a paragraph. - `trash_page(page_id, restore?)`: Move a page or database row to the Notion trash, or restore it with restore=True. ##### OpenSearch (`qbash.integrations.opensearch`) Connect to OpenSearch clusters and execute queries - `search(index, body, size?, request_timeout?, connect_timeout?)`: Execute a search query against an OpenSearch index. - `list_indices(request_timeout?, connect_timeout?)`: List all indices in the OpenSearch cluster. - `get_mapping(index, request_timeout?, connect_timeout?)`: Get the field mapping for an OpenSearch index. - `count(index, body?, request_timeout?, connect_timeout?)`: Count the documents in an OpenSearch index that match a query. - `cluster_health(request_timeout?, connect_timeout?)`: Get the health of the OpenSearch cluster. ##### Microsoft Outlook Mail (`qbash.integrations.outlook_mail`) Manage Microsoft Outlook Mail messages and attachments via Microsoft Graph API - `get_message(message_id)`: Get a specific Outlook message by ID. - `list_messages(folder_id?, filter?, top?, skip?, has_attachments?, read_status?)`: List messages in the user's Outlook mailbox. - `send_message(to_recipients, subject, body?, body_type?, cc_recipients?, bcc_recipients?, attachments?)`: Send an email via Outlook. - `create_draft(to_recipients, subject, body?, body_type?, cc_recipients?, bcc_recipients?, attachments?)`: Create a draft email in Outlook. - `delete_message(message_id)`: Delete an Outlook message by ID. - `download_attachment(message_id, attachment_id)`: Download an attachment from an Outlook message. - `list_attachments(message_id)`: List attachments on an Outlook message. - `move_message(message_id, destination_folder_id)`: Move an Outlook message to a different folder. - `mark_as_read(message_id, is_read)`: Mark an Outlook message as read or unread. - `update_message(message_id, categories?, subject?, body?, body_type?, importance?, is_read?, is_delivery_receipt_requested?, is_read_receipt_requested?, inference_classification?, to_recipients?, cc_recipients?, bcc_recipients?, reply_to?)`: Update properties of an Outlook message. - `list_categories(filter?)`: List available Outlook message categories. - `list_folders(parent_folder_id?, filter?, top?, page_token?)`: List mail folders in the user's Outlook mailbox. - `get_initial_delta(folder_id)`: Get initial delta state for tracking Outlook message changes. - `poll_delta(delta_link)`: Poll for Outlook message changes using a delta link. ##### Pangram (`qbash.integrations.pangram`) Detect AI-written and AI-assisted text in passages and documents, and check text for plagiarism - `list_models()`: List the Pangram detection models this API key can use, in Pangram's order. - `detect_ai(text, model?, max_wait_seconds?)`: Check whether a text was written by AI, edited with AI or written by a person. Returns the share of each and a label for every segment. Pangram bills it per 100 words. - `get_detection(task_id, max_wait_seconds?)`: Read a detection task that detect_ai or detect_ai_with_dashboard_link returned before it finished. - `detect_ai_with_dashboard_link(text, model?, max_wait_seconds?)`: Run detect_ai and publish the result as a Pangram dashboard page that anyone with the link can open. - `submit_bulk(texts?, items?, model?, idempotency_key?)`: Start a bulk AI detection job for many texts, billed 20% below detect_ai. Returns a bulk_id for get_bulk and list_bulk_results. - `get_bulk(bulk_id, max_wait_seconds?)`: Check a bulk job's status and item counts, optionally waiting for it to finish. - `list_bulk_results(bulk_id, cursor?, limit?)`: Page through a bulk job's results: each item's detection result, and the items that failed. - `list_bulk_items(bulk_id, cursor?, limit?)`: Page through a bulk job's items with each one's stage and error, without the results. - `detect_ai_file(file)`: Check a stored document, such as a PDF or Word file, for AI writing. Pangram reads the text out of the file. - `detect_ai_file_with_dashboard_link(file)`: Check a stored document for AI writing and publish the result as a Pangram dashboard page that anyone with the link can open. - `check_plagiarism(text)`: Check a text against online sources for copied passages. Returns each copied passage with the source URL it matched. ##### Pinterest (`qbash.integrations.pinterest`) Publish Pins, manage boards and read Pin and account analytics on Pinterest - `get_user_account(ad_account_id?)`: Get the connected Pinterest account: username, account type (PINNER or BUSINESS), business name and counts. - `list_followers(cursor?, page_size?)`: List the usernames that follow the connected Pinterest account. - `list_following(explicit_following?, feed_type?, ad_account_id?, cursor?, page_size?)`: List the Pinterest accounts the connected account follows. - `list_boards(privacy?, ad_account_id?, cursor?, page_size?)`: List the boards the connected Pinterest account owns, plus group boards it collaborates on. - `get_board(board_id, ad_account_id?)`: Get one Pinterest board by id. - `search_boards(query, ad_account_id?, cursor?, page_size?)`: Search the connected account's own boards by keyword. - `list_board_sections(board_id, ad_account_id?, cursor?, page_size?)`: List the sections of a Pinterest board. - `create_board(name, description?, privacy?, ad_account_id?)`: Create a board on the connected Pinterest account. - `update_board(board_id, name?, description?, privacy?, ad_account_id?)`: Rename a board, change its description or switch it between public and secret. - `delete_board(board_id, ad_account_id?)`: Delete a Pinterest board and every Pin on it. Pinterest cannot restore either. - `create_board_section(board_id, name, ad_account_id?)`: Add a section to a Pinterest board. - `update_board_section(board_id, section_id, name, ad_account_id?)`: Rename a section of a Pinterest board. - `delete_board_section(board_id, section_id, ad_account_id?)`: Delete a section from a Pinterest board. - `list_pins(pin_filter?, include_protected_pins?, pin_type?, creative_types?, domains?, pin_metrics?, ad_account_id?, cursor?, page_size?)`: List the Pins the connected Pinterest account owns, across all its boards. - `list_board_pins(board_id, section_id?, creative_types?, pin_metrics?, ad_account_id?, cursor?, page_size?)`: List the Pins on a Pinterest board, or in one section of it. - `get_pin(pin_id, pin_metrics?, ad_account_id?)`: Get one Pin by id, optionally with its 90-day and lifetime metrics. - `search_pins(query, ad_account_id?, cursor?)`: Search the connected account's own Pins by keywords or a comma-separated list of Pin ids. - `create_pin(board_id, board_section_id?, image_url?, image_urls?, video_media_id?, cover_image_url?, cover_image_key_frame_time?, title?, description?, link?, alt_text?, dominant_color?, parent_pin_id?, ai_disclosures?, ad_account_id?)`: Publish a Pin the user chose to post, from content they made, to one of the user's own boards. The media is an image URL, up to 5 image URLs or a video uploaded with upload_video. Use save_pin for other people's Pins. - `save_pin(pin_id, board_id, board_section_id?, ad_account_id?)`: Save an existing public Pin to one of the user's boards or board sections. - `update_pin(pin_id, title?, description?, link?, alt_text?, board_id?, board_section_id?, carousel_slots?, ai_disclosures?, clear_fields?, ad_account_id?)`: Change a Pin's title, description, link, alt text, board or section. Pinterest offers this to approved apps only. - `delete_pin(pin_id, ad_account_id?)`: Delete a Pin. Pinterest cannot restore it. - `upload_video(file?, video_url?)`: Upload a video file (.mp4, .mov or .m4v) to Pinterest for a video Pin. Returns the media_id that create_pin takes. - `get_video_upload_status(media_id)`: Check whether Pinterest has finished processing a video from upload_video. - `get_pin_analytics(pin_id, start_date, end_date, metric_types, app_types?, split_field?, ad_account_id?)`: Get daily and total metrics for one Pin over a date range, such as impressions, saves, clicks and video views. - `get_account_analytics(start_date, end_date, from_claimed_content?, pin_format?, app_types?, content_type?, source?, metric_types?, split_field?, ad_account_id?)`: Get daily and total metrics for the connected Pinterest account over a date range: impressions, engagements, saves, clicks and their rates. - `get_top_pins(start_date, end_date, sort_by, from_claimed_content?, pin_format?, app_types?, content_type?, source?, metric_types?, num_of_pins?, created_in_last_n_days?, ad_account_id?)`: Get the connected account's top Pins over a date range, ranked by engagement, saves, impressions, outbound clicks or Pin clicks. - `get_top_video_pins(start_date, end_date, sort_by, from_claimed_content?, pin_format?, app_types?, content_type?, source?, metric_types?, num_of_pins?, created_in_last_n_days?, ad_account_id?)`: Get the connected account's top video Pins over a date range, ranked by a video metric such as views or watch time. - `get_trending_keywords(region, trend_type, interests?, genders?, ages?, include_keywords?, normalize_against_group?, limit?, include_demographics?)`: Get the top trending Pinterest search keywords in a region, with weekly search interest and growth rates. ##### Pinterest Ads (`qbash.integrations.pinterest_ads`) Report on Pinterest ad campaigns, adjust their status, budgets and bids, and send conversion events - `list_ad_accounts(include_shared_accounts?, cursor?, page_size?)`: List the Pinterest ad accounts the connected user owns or was given access to through Business Access. - `get_ad_account(ad_account_id)`: Get one Pinterest ad account with its currency, time zone and the connected user's roles on it. - `list_campaigns(ad_account_id, campaign_ids?, entity_statuses?, order?, cursor?, page_size?)`: List the campaigns in a Pinterest ad account, optionally filtered by id or status. - `get_campaign(ad_account_id, campaign_id)`: Get one Pinterest campaign with its status, objective, spend caps and schedule. - `list_ad_groups(ad_account_id, campaign_ids?, ad_group_ids?, entity_statuses?, order?, translate_interests_to_names?, cursor?, page_size?)`: List the ad groups in a Pinterest ad account, optionally for some campaigns or ad group ids. - `get_ad_group(ad_account_id, ad_group_id)`: Get one Pinterest ad group with its budget, bid, schedule and targeting. - `list_ads(ad_account_id, campaign_ids?, ad_group_ids?, ad_ids?, entity_statuses?, order?, cursor?, page_size?)`: List the ads in a Pinterest ad account, optionally for some campaigns, ad groups or ad ids. - `get_ad(ad_account_id, ad_id)`: Get one Pinterest ad with its status, review status and destination. - `update_campaigns(ad_account_id, campaigns)`: Pause, resume, rename or reschedule up to 30 Pinterest campaigns, or change their spend caps. Spend caps are micro-currency (1,000,000 = 1 unit of the account currency). Changes apply to live ads at once and can raise or stop spend. - `update_ad_groups(ad_account_id, ad_groups)`: Pause, resume, rename or reschedule up to 30 Pinterest ad groups, or change their budgets and bids. Budgets and bids are micro-currency (1,000,000 = 1 unit of the account currency). Changes apply to live ads at once and can raise or stop spend. - `update_ads(ad_account_id, ads)`: Pause, resume or rename up to 30 Pinterest ads. Changes apply to live ads at once and can raise or stop spend. - `get_ad_account_analytics(ad_account_id, start_date, end_date, columns, granularity, click_window_days?, engagement_window_days?, view_window_days?, conversion_report_time?, reporting_timezone?)`: Get spend, impressions, clicks and conversion metrics for a whole Pinterest ad account over up to 90 days. - `get_campaign_analytics(ad_account_id, campaign_ids, start_date, end_date, columns, granularity, click_window_days?, engagement_window_days?, view_window_days?, conversion_report_time?, reporting_timezone?, aggregate_report_rows?)`: Get metrics for up to 250 Pinterest campaigns over up to 90 days. - `get_ad_group_analytics(ad_account_id, ad_group_ids, start_date, end_date, columns, granularity, click_window_days?, engagement_window_days?, view_window_days?, conversion_report_time?, reporting_timezone?, aggregate_report_rows?)`: Get metrics for up to 250 Pinterest ad groups over up to 90 days. - `get_ad_analytics(ad_account_id, ad_ids?, campaign_ids?, pin_ids?, start_date, end_date, columns, granularity, click_window_days?, engagement_window_days?, view_window_days?, conversion_report_time?, reporting_timezone?)`: Get metrics for up to 250 Pinterest ads over up to 90 days. - `create_report(ad_account_id, level, start_date, end_date, columns, granularity, click_window_days?, engagement_window_days?, view_window_days?, conversion_report_time?, reporting_timezone?, report_format?, campaign_ids?, ad_group_ids?, ad_ids?, campaign_statuses?, ad_group_statuses?, ad_statuses?, campaign_objective_types?, targeting_types?, metrics_filters?, start_hour?, end_hour?, primary_sort?)`: Start an asynchronous Pinterest Ads report over up to 186 days, as JSON or CSV. Returns a token for get_report. - `get_report(ad_account_id, token)`: Check a Pinterest Ads report from create_report and, once it is finished, save the report file to qbash storage. - `get_metrics_ready_state(date)`: Check whether Pinterest has finalized the conversion and non-conversion ad metrics for a date. - `get_targeting_options(targeting_type, ad_account_id?)`: List the values Pinterest accepts for one ad targeting type, such as locations, interests or age ranges. - `list_audiences(ad_account_id, ownership_type?, exclude_nca?, order?, cursor?, page_size?)`: List the audiences in a Pinterest ad account: customer lists, site visitors, engagement and actalike audiences. - `list_keywords(ad_account_id, campaign_id?, ad_group_id?, ad_group_ids?, match_types?, cursor?, page_size?)`: List the search keywords on a Pinterest ad account, campaign or ad group, with each one's match type. - `list_conversion_tags(ad_account_id, filter_deleted?)`: List the Pinterest tags (conversion tags) of an ad account with when each last fired. - `send_conversion_events(ad_account_id, events, test?)`: Send up to 1000 conversion events to a Pinterest ad account through the Conversions API. Personal fields are SHA-256 hashed before sending. Pass test=True to check events without recording them. ##### Pipedrive (`qbash.integrations.pipedrive`) Pipedrive CRM for managing deals, contacts, and sales pipeline - `get_deal(deal_id)`: Get a single deal by ID. - `search_deals(term?, limit?)`: Search deals by term. - `get_deals(limit?, cursor?, status?, sort_by?, sort_direction?)`: List deals with filtering. - `create_deal(title, person_id?, org_id?, value?, currency?, stage_id?, status?)`: Create a new deal. - `update_deal(deal_id, title?, person_id?, org_id?, value?, currency?, stage_id?, status?)`: Update an existing deal. - `get_person(person_id)`: Get a single person by ID. - `search_persons(term?, limit?)`: Search persons by term. - `create_person(name, email?, phone?, org_id?)`: Create a new person. - `get_organization(organization_id)`: Get a single organization by ID. - `search_organizations(term?, limit?)`: Search organizations by term. - `create_organization(name)`: Create a new organization. - `list_persons(limit?, cursor?)`: List persons, page by page. - `list_organizations(limit?, cursor?)`: List organizations, page by page. - `list_pipelines(limit?, cursor?)`: List deal pipelines, page by page. - `list_stages(limit?, cursor?, pipeline_id?)`: List pipeline stages, page by page. - `get_activities(limit?, cursor?, deal_id?, person_id?, org_id?)`: List activities. - `create_activity(subject, type?, due_date?, note?, deal_id?, person_id?, org_id?)`: Create a new activity. - `create_note(content, deal_id?, person_id?, org_id?)`: Create a note on a deal, person, or organization. ##### PostgreSQL (`qbash.integrations.postgres`) Connect to PostgreSQL databases and execute SQL queries - `read_query(query, output_format?, query_timeout?, query_params?, retry_attempts?)`: Run a SQL query that reads from a PostgreSQL database. It runs in a read only transaction, so PostgreSQL refuses any change. - `execute_query(query, output_format?, query_timeout?, query_params?, retry_attempts?, read_only?)`: Run a SQL statement that changes data in a PostgreSQL database. Use read_query to read and change_schema to change tables. Each call runs one statement. Don't split a transaction across calls. - `change_schema(query, output_format?, query_timeout?, query_params?, retry_attempts?)`: Run a SQL statement that changes the schema of a PostgreSQL database, such as CREATE, ALTER or DROP. Each call runs one statement. Don't split a transaction across calls. - `list_schemas()`: List the user schemas in the connected database. - `list_tables(schema?)`: List the tables, views and foreign tables in a schema. - `describe_table(table, schema?)`: Describe the columns, indexes, foreign keys and check constraints of a table. ##### PostHog (`qbash.integrations.posthog`) Manage saved analytics insights, dashboards and feature flags in PostHog. - `list_organizations(limit?, cursor?)`: List organizations accessible to the selected key. - `list_projects(organization_id, limit?, cursor?)`: List projects in an organization. - `get_project(organization_id, project_id)`: Read a project in an organization. - `list_insights(project_id, limit?, cursor?)`: List insights in a project. - `get_insight(project_id, insight_id)`: Read one insight. - `create_insight(project_id, name, description?, query, dashboards?)`: Create one insight. - `update_insight(project_id, insight_id, name?, description?, query?, dashboards?)`: Update one insight. - `delete_insight(project_id, insight_id)`: Soft-delete one insight. - `list_dashboards(project_id, limit?, cursor?)`: List dashboards in a project. - `get_dashboard(project_id, dashboard_id)`: Read one dashboard. - `create_dashboard(project_id, name, description?)`: Create one dashboard. - `update_dashboard(project_id, dashboard_id, name?, description?)`: Update one dashboard. - `delete_dashboard(project_id, dashboard_id)`: Soft-delete one dashboard. - `list_feature_flags(project_id, limit?, cursor?)`: List feature flags in a project. - `get_feature_flag(project_id, feature_flag_id)`: Read one feature flag. - `create_feature_flag(project_id, key, name?, filters?, active?)`: Create one feature flag. - `update_feature_flag(project_id, feature_flag_id, key?, name?, filters?, active?, version?)`: Update one feature flag. - `delete_feature_flag(project_id, feature_flag_id, version?)`: Soft-delete one feature flag. ##### QuickBooks (`qbash.integrations.quickbooks`) Read, create and update QuickBooks Online customers, invoices, payments and bills, and run financial reports in Python tasks. - `get_company_info()`: Read the connected company's profile. - `get_preferences()`: Read the company's QuickBooks settings, such as whether multicurrency, classes or departments are on. - `query(query, start_position?, max_results?)`: Run a read-only QuickBooks query statement such as SELECT * FROM Invoice WHERE Balance > '0'. - `list_customers(search?, active_only?, start_position?, max_results?)`: List the company's customers, active ones only by default, sorted by DisplayName, with an optional name search. - `list_vendors(search?, active_only?, start_position?, max_results?)`: List the company's vendors, active ones only by default, sorted by DisplayName, with an optional name search. - `list_items(search?, active_only?, start_position?, max_results?)`: List the company's items, active ones only by default, sorted by Name, with an optional name search. - `list_accounts(search?, active_only?, start_position?, max_results?, account_type?)`: List the company's accounts, active ones only by default, sorted by Name, with an optional name search. - `get_customer(customer_id)`: Read one customer by ID. - `get_invoice(invoice_id)`: Read one invoice by ID. - `get_record(entity, record_id)`: Read one record of any other QuickBooks entity, such as a Bill, Estimate, Vendor or JournalEntry, by ID. - `get_profit_and_loss(start_date?, end_date?, date_macro?, accounting_method?, summarize_column_by?, customer?, class_id?, department?)`: Run the Profit and Loss report. - `get_balance_sheet(start_date?, end_date?, date_macro?, accounting_method?, summarize_column_by?)`: Run the Balance Sheet report. - `get_aged_receivables(report_date?, aging_period?, num_periods?, customer?, date_macro?)`: Run the A/R aging summary, with each customer's open balance by days past due. - `get_cash_flow(start_date?, end_date?, date_macro?, summarize_column_by?)`: Run the Statement of Cash Flows report. - `get_aged_payables(report_date?, aging_period?, num_periods?, vendor?)`: Run the A/P aging summary, with each vendor's open balance by days past due. - `run_report(report, start_date?, end_date?, date_macro?, accounting_method?, summarize_column_by?, options?)`: Run any other QuickBooks report by name, such as TrialBalance, GeneralLedgerDetail or CustomerSales. - `list_changes(entities, changed_since)`: List the records of the named entities created, changed or deleted since a moment in the last 30 days. - `get_pdf(entity, record_id)`: Save the PDF of an invoice, estimate, sales receipt, credit memo or payment to qbash as a file. - `download_attachment(attachable_id)`: Save a file attached in QuickBooks, such as a receipt photo on a bill, to qbash as a file. - `create_customer(display_name, company_name?, given_name?, family_name?, email?, phone?, bill_addr?, notes?, extra?)`: Create a customer. - `update_customer(customer_id, fields, sync_token?)`: Change some fields of a customer and keep the rest, such as its email or its Active flag. - `create_invoice(customer_id, lines, txn_date?, due_date?, doc_number?, bill_email?, customer_memo?, extra?)`: Create an invoice for a customer from item lines. - `update_invoice(invoice_id, fields, sync_token?)`: Change some fields of an invoice and keep the rest, such as its due date or memo. - `send_invoice(invoice_id, send_to?)`: Email an invoice to the customer from QuickBooks. - `void_invoice(invoice_id, sync_token?)`: Void an invoice, keeping it on record with every amount set to zero. - `create_payment(customer_id, total_amount, invoices?, txn_date?, payment_method_id?, deposit_to_account_id?, reference_number?, private_note?, extra?)`: Record a customer payment, optionally applied to open invoices. - `create_bill(vendor_id, lines, txn_date?, due_date?, doc_number?, ap_account_id?, private_note?, extra?)`: Record a vendor bill from expense account lines or item lines. - `create_journal_entry(lines, txn_date?, doc_number?, private_note?, extra?)`: Post a journal entry from debit and credit lines that balance. - `create_record(entity, data)`: Create a record of another QuickBooks entity, such as a Vendor, Item, Estimate, SalesReceipt or PurchaseOrder, from Intuit fields. - `update_record(entity, record_id, fields, sync_token?)`: Change fields of a record of another QuickBooks entity, replacing the top-level fields given and keeping the rest. - `send_transaction(entity, record_id, send_to?)`: Email an estimate, sales receipt, credit memo or payment receipt to the customer from QuickBooks. - `void_transaction(entity, record_id, sync_token?)`: Void a payment, sales receipt or bill payment, keeping it on record with every amount set to zero. - `upload_attachment(file, entity, record_id, note?, file_name?)`: Attach a qbash file, such as a receipt or a contract PDF, to a QuickBooks transaction or item. ##### Reddit (`qbash.integrations.reddit`) Extract content from Reddit posts, subreddits, users, and search - `subreddit(subredditName, filterType?, timeFilter?, limit?, after?, before?, flair?)`: Fetch posts from a subreddit. - `comment(postId, limit?, sort?, context?)`: Fetch comments from a Reddit post. - `search(query, sort?, timeFilter?, limit?, after?, before?)`: Search across all of Reddit. - `search_subreddit(subredditName, query, sort?, timeFilter?, limit?, after?, before?)`: Search within a specific subreddit. - `user_info(username)`: Get public profile information for a Reddit user. - `user_posts(username, sort?, timeFilter?, limit?, after?, before?)`: Get posts submitted by a Reddit user. - `user_comments(username, sort?, timeFilter?, limit?, after?, before?)`: Get comments submitted by a Reddit user. - `subreddit_info(subredditName)`: Get metadata and statistics for a subreddit. - `subreddit_rules(subredditName)`: Get the rules for a subreddit. - `subreddit_flairs(subredditName)`: List available post flairs for a subreddit. ##### Reddit Ads (`qbash.integrations.reddit_ads`) Build, target and report on Reddit ad campaigns - `get_me()`: Get the Reddit member or System User this credential is authorized as. - `list_my_businesses(ad_account_id?, role?, cursor?, page_size?)`: List the businesses the connected actor belongs to. - `get_business(business_id)`: Get one business by id. - `update_business(business_id, clear_fields?, name?, industry?, country?, website_url?, phone?, primary_contact_id?, agency_affiliated?)`: Change a business's name, industry, country, website, phone, primary contact or agency flag. - `list_industries()`: List the industry values a business can have. - `list_time_zones(cursor?, page_size?)`: List the time zones Reddit accepts for ad accounts and schedules. - `get_ad_account(ad_account_id)`: Get one ad account with its currency, time zone, attribution settings and exclusions. - `list_ad_accounts(business_id, ids?, cursor?, page_size?)`: List the ad accounts in a business. - `query_ad_accounts(business_id, filter?, actors?, roles?, assets?, cursor?, page_size?)`: Search a business's ad accounts by name or id, member access, role or asset access. - `update_ad_account(ad_account_id, clear_fields?, name?, attribution_type?, click_attribution_window?, view_attribution_window?, app_attribution_type?, app_click_attribution_window?, app_view_attribution_window?, excluded_communities?, excluded_keywords?, pixel_partner_preferences?, spend_cap_type?, time_zone_id?, ugc_addon_default_on?)`: Change an ad account's name, attribution settings, excluded communities or keywords, and other settings. - `list_profiles_by_ad_account(ad_account_id, cursor?, page_size?)`: List the profiles (Reddit accounts ads post as) linked to an ad account. - `list_profiles_by_business(business_id, cursor?, page_size?)`: List the profiles (Reddit accounts ads post as) linked to a business. - `get_profile(profile_id)`: Get one profile by id. - `list_funding_instruments(ad_account_id, funding_instrument_ids?, types?, start_time?, end_time?, search?, status_mode?, cursor?, page_size?)`: List the funding instruments (payment sources and credit lines) an ad account can bill to. - `query_business_funding_instruments(business_id, search?, partner_business_id?, funding_instrument_ids?, status_mode?, cursor?, page_size?)`: Find the funding instruments in a business. - `list_funding_instrument_allocations(funding_instrument_id, cursor?, page_size?)`: List the child funding instruments allocated from a funding instrument. - `list_pixels_by_ad_account(ad_account_id, cursor?, page_size?)`: List the Reddit Pixels linked to an ad account. Ad groups need a pixel id. - `list_pixels_by_business(business_id, cursor?, page_size?)`: List the Reddit Pixels in a business. - `get_pixel_last_fired_at(pixel_id)`: Get when each standard and custom conversion event last fired on a pixel, to check that tracking works. - `post_conversion_events(pixel_id, events, test_id?)`: Send up to 1000 conversion events to a pixel through the Conversions API. - `list_apps_by_ad_account(ad_account_id, cursor?, page_size?)`: List the App Store and Google Play app ids an ad account has used in app install campaigns. - `get_app_last_fired_at(app_id)`: Get when each app install event last fired for an app id. - `get_skan_availability(app_id, campaign_id?, ad_group_id?)`: Get how many SKAdNetwork ids an iOS app has left for campaigns, ad groups and ads. - `search_communities(query?, cursor?, page_size?)`: Search targetable subreddits by name or topic. The name of each result goes into an ad group's targeting.communities. - `list_communities(names?, cursor?, page_size?)`: Look up targetable subreddits by exact name to check they exist and read their size. Names go into an ad group's targeting.communities. - `list_community_suggestions(names?, website_url?, cursor?, page_size?)`: Suggest subreddits to target from topic terms and a website. Names go into an ad group's targeting.communities. - `list_interests()`: List every targetable interest. The id of each goes into an ad group's targeting.interests. - `list_geolocations(country?, cities_search?, postal_code?)`: Find targetable countries, regions, metro areas (DMAs), cities and postal codes. The id of each goes into an ad group's targeting.geolocations. - `validate_geolocations(geolocation_ids?, cities?)`: Check whether geolocation ids or city names are targetable, and get the matching geolocation for each. - `suggest_keywords(seed_keywords)`: Suggest keywords from seed terms, with monthly views for each. Keywords go into an ad group's targeting.keywords. - `validate_keywords(keywords)`: Check whether keywords are brand safe and targetable before putting them in an ad group's targeting.keywords. - `list_languages(cursor?, page_size?)`: List targetable languages. The code of each goes into an ad group's targeting.languages. - `list_devices(cursor?, page_size?)`: List targetable device makes and models, for an ad group's targeting.devices label_map. - `list_carriers(cursor?, page_size?)`: List targetable mobile carriers. The id of each goes into an ad group's targeting.carriers. - `list_third_party_audiences(cursor?, page_size?)`: List third-party data audiences (for example Nielsen segments) with their size and data cost. - `get_channel_planning_reach(duration_days, geolocation, min_age?, max_age?, gender?)`: Get a 10-point curve of estimated unique reach at rising impression levels for a country, age range and gender. - `estimate_audience_and_delivery(ad_account_id, objective, ad_group_configs, goal_value?, use_catalog?)`: Estimate the audience size and weekly impressions, clicks, conversions and reach for a planned ad group's targeting, budget and bid, before creating it. - `plan_campaign_forecast(ad_account_id, campaign_objective, goal_value, use_catalog?, targeting?, goal_type?, bid_strategy?, bid_type?, bid_value?, optimization_goal?, start_time?, end_time?, view_through_conversion_type?, shopping_type?, shopping_targeting?)`: Forecast the audience size, reach curve and projected impressions, clicks and cost for a campaign plan at a given budget. - `get_bid_suggestion(duration, ad_account_id?, bid_type?, bid_strategy?, campaign_objective?, optimization_goal?, goal_type?, goal_value?, currency?, targeting?, view_through_conversion_type?, use_catalog?)`: Suggest a bid range for an ad group's targeting, budget and bid type from recent auctions. Values are micro-currency (1,000,000 = 1.00). - `list_saved_audiences(ad_account_id, cursor?, page_size?)`: List the saved audiences (reusable targeting) in an ad account. - `get_saved_audience(saved_audience_id)`: Get one saved audience with its targeting. - `create_saved_audience(ad_account_id, name, targeting)`: Save a targeting setup (locations, communities, interests, keywords, custom audiences, devices) to reuse across ad groups. - `update_saved_audience(saved_audience_id, name?, status?, targeting?)`: Rename a saved audience, replace its targeting, or delete it by setting status to DELETED. - `list_custom_audiences(ad_account_id, name?, cursor?, page_size?)`: List the custom audiences (customer lists, website and engagement retargeting, lookalikes) in an ad account. - `get_custom_audience(audience_id)`: Get one custom audience with its status and estimated matched size. - `create_custom_audience(ad_account_id, name, type?, customer_list_config?, pixel_audience_config?, engagement_audience_config?)`: Create a customer list, website retargeting (pixel) or engagement retargeting audience. - `delete_custom_audience(audience_id)`: Delete a custom audience. This cannot be undone. - `update_custom_audience_users(audience_id, action_type, users, already_hashed?)`: Add people to or remove them from a customer list by email or mobile advertising ID. Values are hashed before upload. - `create_structured_post(profile_id, creative, allow_comments?, wait?, max_wait_seconds?)`: Create the post an ad promotes (image, video, text, carousel, or a promoted community post). Pass wait=True to get the post_id for create_ad. - `get_structured_post_job(job_id)`: Get a structured post creation job's status and, once it succeeds, the new post_id. - `list_structured_posts(profile_id, post_ids?, type?, source?, cursor?, page_size?)`: List a profile's posts, filtered by id, type or organic versus promoted. - `get_structured_post(post_id)`: Get one post with the creative it was built from. - `update_structured_post(post_id, allow_comments)`: Turn comments on or off for a post. Nothing else about a post can change after creation. - `list_post_creative_assets(post_id, cursor?, page_size?)`: List the creative assets a post uses, with each asset's role, for asset-level reporting. - `create_creative_asset_uploads(profile_id, assets, wait?, max_wait_seconds?)`: Add 1 to 50 images, videos, headlines or CTAs to a profile's asset library. Pass wait=True to get the asset ids. - `get_creative_asset_upload(upload_id)`: Get one asset upload's processing status and, once done, the stored asset. - `list_creative_asset_uploads(profile_id, upload_ids)`: Check the processing status of up to 100 asset uploads at once. - `list_creative_assets(profile_id, types?, mime_type?, aspect_ratios?, creative_asset_ids?, name?, cursor?, page_size?)`: List the assets in a profile's asset library, filtered by type, MIME type, aspect ratio, id or name. - `get_creative_asset(creative_asset_id)`: Get one asset from the asset library. - `update_creative_asset(creative_asset_id, name)`: Rename an asset in the asset library. - `delete_creative_asset(creative_asset_id)`: Delete an asset from the asset library. This cannot be undone. - `create_generated_posters_job(source_url?, file?, wait?, max_wait_seconds?)`: Have Reddit generate poster (thumbnail) images from a video. Pass wait=True to get the poster URLs. - `get_generated_posters_job(job_id)`: Get a poster generation job's status and, once it succeeds, the poster URLs. - `list_campaigns(ad_account_id, ids?, cursor?, page_size?)`: List the campaigns in an ad account. - `get_campaign(campaign_id)`: Get one campaign with its objective, status, budget and bid settings. - `create_campaign(ad_account_id, name, objective, funding_instrument_id, configured_status?, type?, is_campaign_budget_optimization?, goal_type?, goal_value?, spend_cap?, start_time?, end_time?, schedule?, bid_strategy?, bid_type?, bid_value?, optimization_goal?, conversion_pixel_id?, view_through_conversion_type?, use_catalog?, special_ad_categories?, app_id?, invoice_label?)`: Create a campaign with an objective (BRAND_AWARENESS, SALES, LEAD_GENERATION, CLICKS or APP_INSTALLS). Starts PAUSED unless configured_status is ACTIVE. - `update_campaign(campaign_id, clear_fields?, name?, configured_status?, objective?, funding_instrument_id?, goal_value?, spend_cap?, start_time?, end_time?, schedule?, bid_strategy?, bid_type?, bid_value?, use_catalog?, invoice_label?)`: Change a campaign's name, status, budget, bids, dates or funding. Set configured_status to PAUSED or ACTIVE to pause or resume it. - `list_ad_groups(ad_account_id, campaign_id?, ids?, cursor?, page_size?)`: List the ad groups in an ad account, optionally for one campaign. - `get_ad_group(ad_group_id)`: Get one ad group with its targeting, bid, budget and schedule. - `create_ad_group(ad_account_id, campaign_id, name, conversion_pixel_id, configured_status?, targeting?, saved_audience_id?, bid_strategy?, bid_type?, bid_value?, goal_type?, goal_value?, optimization_goal?, start_time?, end_time?, schedule?, type?, view_through_conversion_type?, optimization_strategy_type?, app_id?, product_set_id?, shopping_type?, shopping_targeting?, skadnetwork_metadata?)`: Create an ad group in a campaign with targeting, bid, budget, schedule and conversion pixel. Starts PAUSED unless configured_status is ACTIVE. - `update_ad_group(ad_group_id, clear_fields?, name?, configured_status?, targeting?, saved_audience_id?, bid_strategy?, bid_type?, bid_value?, goal_value?, optimization_goal?, conversion_pixel_id?, start_time?, end_time?, schedule?, product_set_id?, shopping_type?, shopping_targeting?)`: Change an ad group's targeting, bid, budget, schedule, dates or name. Set configured_status to PAUSED or ACTIVE to pause or resume it. - `list_ads(ad_account_id, campaign_id?, ad_group_id?, ids?, configured_status?, effective_status?, cursor?, page_size?)`: List the ads in an ad account, filtered by campaign, ad group or status. - `get_ad(ad_id)`: Get one ad with its post, click URL, review status and rejection reason. - `create_ad(ad_account_id, ad_group_id, name, configured_status?, type?, post_id?, profile_id?, click_url?, click_url_query_parameters?, event_trackers?, preview_expiry?, products?, shopping_creative?, asset_identifiers?, thumbnail_asset_identifiers?, destination?, supplementary_text?, enhancements?)`: Create an ad in an ad group that promotes a post (post_id, t3_...). Starts PAUSED unless configured_status is ACTIVE. - `update_ad(ad_id, clear_fields?, name?, configured_status?, post_id?, profile_id?, click_url?, click_url_query_parameters?, event_trackers?, preview_expiry?, products?, shopping_creative?, asset_identifiers?, thumbnail_asset_identifiers?, destination?, supplementary_text?, enhancements?)`: Change an ad's name, post, click URL or trackers. Set configured_status to PAUSED or ACTIVE to pause or resume it. - `get_third_party_trackers()`: List the domains Reddit accepts for click and impression trackers on ads. - `list_lead_gen_forms(ad_account_id, cursor?, page_size?)`: List the onsite lead generation forms in an ad account. - `get_lead_gen_form(lead_gen_form_id)`: Get one onsite lead generation form with its questions. - `get_report(ad_account_id, starts_at, ends_at, fields, breakdowns?, filter?, time_zone_id?, custom_column_ids?, conversion_metrics?, conversion_custom_events?, fetch_all?, cursor?, page_size?)`: Get ad performance metrics (spend, impressions, clicks, conversions and more) for an ad account over a time range, broken down by campaign, ad group, ad, date, country and other dimensions. Money is micro-currency. - `get_ad_account_history(ad_account_id, start_time?, end_time?, member_ids?, change_types?, entity_id_filters?, entity_name_filters?, cursor?, page_size?)`: Get the change log of an ad account: who changed which campaign, ad group, ad, budget, bid, targeting or status, with before and after values. - `list_product_catalogs(business_id)`: List the product catalogs in a business. - `create_product_catalog(business_id, name, default_language, default_currency, event_sources?)`: Create an empty product catalog in a business. Add products with upsert_products or create_product_feed afterwards. - `get_product_catalog(catalog_id)`: Get one product catalog with its product and approval counts. - `update_product_catalog(catalog_id, name?, event_sources?)`: Rename a product catalog or change its attached pixels. - `delete_product_catalog(catalog_id)`: Delete a product catalog. This cannot be undone. - `list_catalog_products(catalog_id, ids?, approval_decision?, search?, cursor?, page_size?)`: List the products in a catalog, with their approval decision and issues. - `upsert_products(catalog_id, products)`: Create or update up to 1,000 products in a catalog in one call. Prices are amounts with a currency code, such as "19.99 USD". - `delete_products(catalog_id, product_ids)`: Delete up to 1,000 products from a catalog by id. This cannot be undone. - `list_product_feeds(catalog_id)`: List the feeds (hosted product files Reddit fetches) in a catalog. - `create_product_feed(catalog_id, url, feed_mode, name?, username?, password?, schedule?)`: Add a feed to a catalog: a hosted product file Reddit fetches once or on a schedule. - `get_product_feed(feed_id)`: Get one product feed with its URL, mode and schedule. - `update_product_feed(feed_id, url?, feed_mode?, name?, username?, password?, schedule?)`: Change a product feed's name, URL, credentials, mode or schedule. - `delete_product_feed(feed_id)`: Delete a product feed from its catalog. This cannot be undone. - `list_product_sets(catalog_id, cursor?, page_size?)`: List the product sets (filtered groups of products) in a catalog. - `create_product_set(catalog_id, name, filter)`: Create a product set: the catalog products matching a filter rule, for use in product ads. - `get_product_set(product_set_id)`: Get one product set with its filter rule and product counts. - `update_product_set(product_set_id, name?, filter?)`: Rename a product set or replace its filter rule. - `delete_product_set(product_set_id)`: Delete a product set. This cannot be undone. - `list_product_set_products(product_set_id, ids?, approval_decision?, search?, issue_code?, cursor?, page_size?)`: List the products a product set's filter currently matches. - `list_catalog_imports(catalog_id, feed_ids?, statuses?, cursor?, page_size?)`: List a catalog's imports (each feed fetch or bulk upload) with their status and product counts. - `list_catalog_import_issues(import_id, code?, cursor?, page_size?)`: List the problems Reddit found in one catalog import, with the line, field and product each affects. - `get_catalog_import_report(import_id)`: Get a temporary download URL for a catalog import's full report of product statuses and issues. - `create_data_deletion_job(ad_account_id, identifiers)`: Permanently delete the ads data an ad account holds about specific people, by email, phone, mobile ad id or external id. Runs as a daily job and cannot be undone. - `create_pixel_data_deletion_job(pixel_id, identifiers)`: Permanently delete the data a Reddit Pixel collected about specific people, by email, phone, mobile ad id or external id. Runs as a daily job and cannot be undone. - `get_data_deletion_job(job_id)`: Check a data deletion job: QUEUED, COMPLETED or FAILED. Jobs run once a day, so check daily. ##### Salesforce (`qbash.integrations.salesforce`) Query Salesforce with SOQL, read and search records, run reports, and create or update records. - `run_soql(query, batch_size?, cursor?, include_deleted?)`: Run a SOQL query (Salesforce's SQL) and return one page of records. Use it for lists, filters, related fields and counts across standard and custom objects, for example SELECT Id, Name, StageName FROM Opportunity WHERE IsClosed = false. - `search(query)`: Search text across objects with SOSL, for example FIND {qbash} IN ALL FIELDS RETURNING Account(Id, Name), Contact(Id, Name, Email). Use it to find records by a name, email or phone when the object is unknown. - `get_record(object, record_id?, external_id_field?, external_id?, fields?)`: Get one Salesforce record by ID, or by an external ID field and value. - `list_objects(search?, custom_only?)`: List the org's objects, standard and custom, with whether the user can query, create and update each one. Use the search parameter to find one, for example invoice. - `describe_object(object, search?)`: Describe an object's fields: API names, labels, types, picklist values, lookups and which fields a create must set. Use it to find custom field names before run_soql, create_record or update_record. - `run_report(report_id)`: Run a saved Salesforce report and return its rows, grand totals and columns. Find report IDs with run_soql: SELECT Id, Name, FolderName FROM Report WHERE Name LIKE '%Pipeline%'. - `create_record(object, values, verify?)`: Create a Salesforce record from field values, for example a Lead, Task or custom object record. Every call creates a new record, so use upsert_record when a repeat run must not make a duplicate. Reads the record back after the write. - `update_record(object, record_id, values, if_last_modified?, verify?)`: Update fields on an existing Salesforce record by ID. Only the fields in values change. Pass if_last_modified to refuse the update when the record changed after an earlier read. Reads the record back after the write. - `upsert_record(object, external_id_field, external_id, values, verify?)`: Create or update the record whose external ID field holds the given value, so a repeat run updates the same record instead of creating a second one. Returns created as True when it made a new record. ##### SEC EDGAR (`qbash.integrations.sec_edgar`) SEC EDGAR public company filings: look up companies, read 10-K, 10-Q and 8-K filings, pull XBRL financial data and search filing text - `search_companies(query?, limit?, offset?)`: Find US public companies in SEC EDGAR by name, ticker or CIK, to get the CIK and ticker the other SEC EDGAR modes take. - `get_company(company)`: Get a company's SEC EDGAR profile: name, tickers, exchanges, industry (SIC code), filer category, fiscal year end, state of incorporation, addresses and former names. - `list_filings(company, form_types?, start_date?, end_date?, limit?, offset?)`: List a company's SEC filings, newest first, such as its 10-K annual reports, 10-Q quarterly reports, 8-K current reports, proxy statements or insider Form 4s, with a link to each document. - `get_filing(company, accession_number)`: List every document in one SEC filing, such as the main 10-K, its exhibits and the XBRL financial statement pages, with a link to each. - `read_filing_document(url, offset?, max_chars?)`: Read the text of an SEC filing document, such as a 10-K, 10-Q, 8-K or exhibit, from its www.sec.gov/Archives URL. Long documents come back in windows of 40,000 characters, so pass next_offset as offset to read on. - `get_company_concept(company, tag, taxonomy?, unit?, form_types?, all_filings?, limit?, offset?)`: Get the history of one financial figure a company reported to the SEC in XBRL, such as revenue, net income, total assets or earnings per share, one value per period, newest first. - `list_company_concepts(company, search?, taxonomy?, limit?, offset?)`: List the XBRL financial concepts a company reports to the SEC, such as Revenues or NetIncomeLoss, with their units and latest period, to find the tag get_company_concept takes. - `get_frame(tag, period, taxonomy?, unit?, sort_order?, limit?, offset?)`: Compare one XBRL financial figure, such as revenue or total assets, across every company that reported it for one calendar period, largest first. - `search_filings(query?, form_types?, company?, start_date?, end_date?, limit?, offset?)`: Search the full text of SEC EDGAR filings since 2001 for words or phrases, filtered by form type, company and filing date. Without a query, lists the latest filings, such as today's 8-Ks. ##### Segment (`qbash.integrations.segment`) Read Segment sources, destinations, warehouses and Reverse ETL models, and make safe changes such as creating sources and destinations - `list_sources(count?, cursor?)`: List the workspace's Sources. - `get_source(source_id)`: Get one Source with its settings and labels. - `create_source(slug, metadata_id, enabled?, settings?)`: Create a Source from a catalog entry. - `update_source(source_id, name?, slug?, enabled?, settings?)`: Rename, enable or disable a Source, or change its settings. - `replace_source_labels(source_id, labels)`: Replace all labels on a Source. - `list_destinations(count?, cursor?)`: List the workspace's Destinations. - `get_destination(destination_id)`: Get one Destination with its settings. - `create_destination(source_id, metadata_id, settings, name?, enabled?)`: Create a Destination on a Source. - `update_destination(destination_id, name?, enabled?, settings?)`: Rename, enable or disable a Destination, or change its settings. - `list_destination_subscriptions(destination_id, count?, cursor?)`: List the subscriptions of a Destination. - `create_destination_subscription(destination_id, name, action_id, trigger, enabled?, settings?, model_id?)`: Create a subscription that sends matching events to a Destination action. - `update_destination_subscription(destination_id, subscription_id, name?, trigger?, enabled?, settings?)`: Change a Destination subscription's name, trigger, enabled flag or settings. - `list_warehouses(count?, cursor?)`: List the workspace's Warehouses. - `get_warehouse(warehouse_id)`: Get one Warehouse with its settings. - `create_warehouse(metadata_id, settings, name?, enabled?)`: Create a Warehouse from a catalog entry. - `connect_source_to_warehouse(warehouse_id, source_id)`: Connect a Source to a Warehouse. - `list_reverse_etl_models(count?, cursor?)`: List the workspace's Reverse ETL models. - `get_reverse_etl_model(model_id)`: Get one Reverse ETL model. - `create_reverse_etl_model(source_id, name, description, query, query_identifier_column, enabled?)`: Create a Reverse ETL model from a SQL query on a Source. - `update_reverse_etl_model(model_id, name?, description?, query?, query_identifier_column?, enabled?)`: Change a Reverse ETL model's name, description, query or enabled flag. - `list_labels()`: List the labels defined in the workspace. - `list_functions(resource_type, count?, cursor?)`: List Functions of one type. - `list_catalog_sources(count?, cursor?)`: List the Source types Segment offers. - `list_catalog_destinations(count?, cursor?)`: List the Destination types Segment offers. - `list_catalog_warehouses(count?, cursor?)`: List the Warehouse types Segment offers. ##### SendGrid (`qbash.integrations.sendgrid`) Send email through SendGrid, read delivery stats, suppressions, templates and Email Activity, and manage Marketing Campaigns contacts and lists - `get_stats(start_date, end_date?, aggregated_by?, categories?)`: Get daily, weekly or monthly email stats (requests, delivered, opens, clicks, bounces, spam reports, unsubscribes) for the account or for up to 10 categories. - `list_categories(category?, limit?, cursor?)`: List the categories the account has used on email, with an optional name prefix. - `list_suppressions(type, start_time?, end_time?, email?, limit?, cursor?)`: List addresses on one suppression list: bounces, blocks, spam_reports, invalid_emails or unsubscribes (the global unsubscribe list). - `list_unsubscribe_groups()`: List the account's unsubscribe groups (suppression groups) with their unsubscribe counts. - `list_group_suppressions(group_id)`: List the addresses that unsubscribed from one unsubscribe group. - `list_templates(generations?, page_size?, cursor?)`: List transactional templates with their versions. - `get_template(template_id)`: Get one transactional template with every version's subject, HTML and plain text. - `search_messages(query, limit?)`: Search Email Activity for sent messages by recipient, subject, status or other fields. Needs the paid Email Activity add-on. - `get_message(msg_id)`: Get one message's Email Activity: every delivery, open, click, bounce and deferral event. Needs the paid Email Activity add-on. - `search_contacts(query)`: Search Marketing Campaigns contacts with an SGQL query. Returns at most 50 contacts and the total match count. - `get_contacts_by_emails(emails)`: Look up Marketing Campaigns contacts by exact email address, up to 100 addresses. - `list_contact_lists(page_size?, cursor?)`: List Marketing Campaigns contact lists with their contact counts. - `get_contact_import_status(job_id)`: Check a contact upsert or import job by the job_id that upsert_contacts returned. - `list_single_sends(page_size?, cursor?)`: List Marketing Campaigns Single Sends with status, categories and send time. - `get_single_send_stats(single_send_id?, single_send_ids?, start_date?, end_date?, aggregated_by?, timezone?, page_size?, cursor?)`: Get delivery, open, click, bounce and unsubscribe stats for Single Sends, for all of them or for chosen ids. - `list_segments(parent_list_ids?)`: List Marketing Campaigns segments with their contact counts, optionally only those built on given lists. - `list_custom_fields()`: List the custom and reserved contact fields, with the ids that upsert_contacts and SGQL searches use. - `list_verified_senders(limit?, cursor?)`: List the account's sender identities with their verified status. - `send_email(to, from_, from_name?, subject?, text?, html?, cc?, bcc?, reply_to?, template_id?, dynamic_template_data?, categories?, custom_args?, send_at?, asm_group_id?, sandbox?)`: Send one email to up to 1000 recipients across to, cc and bcc, with text, HTML or a dynamic template. sandbox=True checks the request without sending. - `upsert_contacts(contacts, list_ids?)`: Add or update Marketing Campaigns contacts, up to 30000 per call, and optionally add them to lists. SendGrid processes the job in the background. - `add_global_unsubscribes(emails)`: Add email addresses to the global unsubscribe list so SendGrid sends them nothing more. - `create_contact_list(name)`: Create a Marketing Campaigns contact list. - `remove_contacts_from_list(list_id, contact_ids)`: Take contacts off one Marketing Campaigns list. The contacts stay in the account and on their other lists. ##### SERP (`qbash.integrations.serp`) Search engine results page (SERP) API for web search - `search(search_string, search_engine?, location?, time_period?, zoom?, sort?, gl?, hl?)`: Search the web via SerpAPI and return structured results. ##### SFTP / FTP (`qbash.integrations.sftp`) Stream large CSV files from SFTP or FTP servers without loading them into memory - `list_files(path?, timeoutSeconds?, retryAttempts?)`: List directory entries on the SFTP/FTP server: name, type (file, dir, symlink, other), size in bytes and last-modified time. To explore a server, start at / and descend into any entry of type dir by passing its full path; a symlink is followed by listing its own path. On plain FTP, mtime is the server's local clock with no timezone offset and can be hours off. - `get_file_size(path, timeoutSeconds?, retryAttempts?)`: Return the byte size of a remote file. - `get_row_count(path, hasHeader?, chunkSize?, timeoutSeconds?, retryAttempts?)`: Count data rows in a remote CSV file. - `read_chunk(path, startRow, rowCount, hasHeader?, timeoutSeconds?, retryAttempts?)`: Read a bounded slice of rows from a remote CSV file. - `download_file(path, contentType?, timeoutSeconds?, retryAttempts?)`: Download a remote file and return it as a QBash file-reference object. - `read_lines(path, lineCount, offset?, timeoutSeconds?, retryAttempts?)`: Read raw text lines from a remote file: CSV, TSV, fixed-width, plain text or any line-delimited format, to inspect contents, check headers or validate a layout. Reading stops at lineCount lines or 64 KB, whichever comes first, and the result carries the total file size. ##### Shopify (`qbash.integrations.shopify`) Read orders, customers, products and inventory from a Shopify store, and tag orders, customers or products. - `get_shop()`: Get the connected Shopify store's name, myshopify domain, currency, timezone and plan. Use it to check the credential works. - `list_orders(created_since?, created_before?, updated_since?, updated_before?, financial_status?, fulfillment_status?, status?, query?, sort_key?, reverse?, include_line_items?, limit?, cursor?)`: List orders, newest first, filtered by created or updated time, financial status, fulfillment status or a Shopify order search query. Returns one page with totals as decimal strings in the shop currency. Only the last 60 days are visible unless the app has read_all_orders. - `get_order(order_id)`: Get one order with line items, addresses, shipping lines, fulfillments with tracking, and refunds. Accepts the GID, the numeric ID or the order name (#1001). - `list_customers(query?, sort_key?, reverse?, limit?, cursor?)`: List customers with email, order count and total spent, filtered by a Shopify customer search query. Returns one page. - `get_customer(customer_id)`: Get one customer with their default address and most recent order. - `list_products(query?, include_variants?, sort_key?, reverse?, limit?, cursor?)`: List products with price range, total inventory and, by default, their first 10 variants with SKU, price and stock. Returns one page. - `get_product(product_id)`: Get one product with description, options, up to 100 variants with SKU, price and stock, its featured image and the collections it belongs to. - `list_collections(query?, sort_key?, reverse?, limit?, cursor?)`: List product collections with their product counts. Returns one page. - `list_locations(include_inactive?, limit?, cursor?)`: List the store's inventory locations (warehouses, shops, apps that hold stock). Use a location id with list_inventory_levels. - `list_inventory_levels(location_id, max_available?, limit?, cursor?)`: List stock levels (available, on hand, committed, incoming) for every item at one location, with SKU and product title. Set max_available to keep only low-stock items. Returns one page. - `graphql_query(query, variables?)`: Run a read-only Shopify Admin GraphQL query for data the other modes do not cover (metafields, draft orders, discounts, gift cards). Mutations are refused. - `add_tags(id, tags, resource_type?)`: Add tags to an order, customer, product or draft order. Tags already present are left as they are. Needs the write scope for that resource. - `remove_tags(id, tags, resource_type?)`: Remove tags from an order, customer, product or draft order. Needs the write scope for that resource. ##### Slack (`qbash.integrations.slack`) Team communication and collaboration platform - `create_message(channel, text?, blocks?, attachments?, username?, icon_url?, icon_emoji?, markdown_text?, metadata?, unfurl_links?, unfurl_media?)`: Send a message to a channel. - `reply_to_thread(channel, thread_ts, text?, reply_broadcast?, blocks?, attachments?, username?, icon_url?, icon_emoji?, markdown_text?, metadata?, unfurl_links?, unfurl_media?)`: Reply to a message thread. - `get_user_profile(user_id)`: Get a user's profile information. - `look_up_user_by_email(email)`: Find a user by their email address. - `download_file(file)`: Download a file shared in Slack. - `get_conversation_history(channel, oldest?, latest?, limit?, cursor?, inclusive?)`: Fetch messages from a channel within a date range. - `get_conversation_replies(channel, thread_ts, oldest?, latest?, limit?, cursor?, inclusive?)`: Fetch replies in a thread. - `list_users(limit?, cursor?, include_locale?)`: List users in the workspace. - `list_conversations(types?, limit?, cursor?, exclude_archived?)`: List channels and conversations accessible to the bot. - `get_conversation_info(channel, include_locale?, include_num_members?)`: Get detailed information about a specific channel. - `get_conversation_members(channel, limit?, cursor?)`: List member user IDs in a channel. - `send_form(channel?, user?, text, blocks, handler_task?, context?, responders?, anyone?, expires_in_hours?, answered_text?)`: Send a message with buttons whose answer starts a task run. Task runs only. - `update_message(channel, ts, text?, blocks?, attachments?, markdown_text?, metadata?)`: Edit a message the app sent. - `delete_message(channel, ts)`: Delete a message the app sent. - `post_ephemeral(channel, user, text, thread_ts?, blocks?, username?, icon_url?, icon_emoji?)`: Send a message only one person in a channel can see. - `schedule_message(channel, text, post_at, thread_ts?, reply_broadcast?, blocks?, attachments?, unfurl_links?, unfurl_media?)`: Schedule a message for later. - `get_permalink(channel, message_ts)`: Get a link to a message. - `upload_file(file, channel?, title?, filename?, initial_comment?, thread_ts?)`: Upload a file and share it in a channel. - `open_conversation(users)`: Open a DM or group DM. - `add_reaction(channel, timestamp, name)`: Add an emoji reaction to a message. - `remove_reaction(channel, timestamp, name)`: Remove the app's emoji reaction from a message. - `create_channel(name, is_private?)`: Create a channel. - `invite_to_channel(channel, users)`: Invite people to a channel. - `set_channel_topic(channel, topic)`: Set a channel's topic. - `set_channel_purpose(channel, purpose)`: Set a channel's description. - `join_channel(channel)`: Add the app to a public channel. - `archive_channel(channel)`: Archive a channel. - `list_user_groups(include_users?, include_disabled?)`: List the workspace's user groups. ##### Snowflake (`qbash.integrations.snowflake`) Query Snowflake data warehouses and load rows into tables - `read_query(query, query_params?, output_format?, max_rows?, query_timeout?, warehouse?, database?, schema?, role?)`: Run one SQL statement that reads from Snowflake and return its rows. The statement must start with SELECT, WITH, SHOW, DESCRIBE or EXPLAIN. - `execute_query(query, query_params?, output_format?, max_rows?, query_timeout?, warehouse?, database?, schema?, role?, read_only?)`: Run one SQL statement that changes data in Snowflake. Use read_query to read and change_schema to change tables. Each call runs one statement. Don't split a transaction across calls. - `change_schema(query, query_params?, output_format?, max_rows?, query_timeout?, warehouse?, database?, schema?, role?)`: Run one SQL statement that changes the schema in Snowflake, such as CREATE, ALTER or DROP. Each call runs one statement. Don't split a transaction across calls. - `insert_rows(table, rows, database?, schema?, warehouse?, role?, query_timeout?)`: Insert rows into a Snowflake table. Each row is a dict keyed by column name. - `upsert_rows(table, rows, key_columns, database?, schema?, warehouse?, role?, query_timeout?)`: Update the rows of a Snowflake table that match on key_columns and insert the rest. Each row is a dict keyed by column name. - `list_databases()`: List the databases the credential's role can see. - `list_schemas(database?)`: List the schemas in a Snowflake database. - `list_tables(database?, schema?)`: List the tables and views in a Snowflake schema. - `describe_table(table, database?, schema?)`: Describe the columns of a Snowflake table or view. - `list_warehouses()`: List the Snowflake warehouses the credential's role can see, with their size and state. ##### Stripe (`qbash.integrations.stripe`) Read payments, subscriptions, invoices and payouts from a Stripe account, and manage customers - `get_balance()`: Get the Stripe account balance: funds available to pay out and funds still pending, per currency. - `list_balance_transactions(type?, payout?, source?, currency?, created_gte?, created_lte?, limit?, cursor?)`: List balance transactions (charges, refunds, fees, payouts, adjustments) with gross amount, fee and net. Use for revenue and fee reporting. - `list_customers(email?, created_gte?, created_lte?, limit?, cursor?)`: List customers, newest first, optionally filtered by exact email or creation date. - `get_customer(customer_id)`: Get one Stripe customer by id. - `search_customers(query, limit?, cursor?)`: Search customers with Stripe search syntax, for example email~'example.com' or metadata['plan']:'pro'. - `list_charges(customer?, payment_intent?, created_gte?, created_lte?, limit?, cursor?)`: List charges with status, amounts, failure code and message, and card details. Use for failed-payment monitoring and payment reporting. - `search_charges(query, limit?, cursor?)`: Search charges with Stripe search syntax, for example status:'failed' AND created>1700000000. - `list_payment_intents(customer?, created_gte?, created_lte?, limit?, cursor?)`: List PaymentIntents with status, amounts and the last payment error. - `list_subscriptions(customer?, price?, status?, collection_method?, created_gte?, created_lte?, limit?, cursor?)`: List subscriptions with status, billing period, items, cancellation details and a monthly list-price amount. Use for MRR, churn and trial reporting. - `get_subscription(subscription_id)`: Get one subscription by id with its items and billing period. - `search_subscriptions(query, limit?, cursor?)`: Search subscriptions with Stripe search syntax, for example status:'past_due' or metadata['team']:'acme'. - `list_invoices(customer?, subscription?, status?, collection_method?, due_date_gte?, due_date_lte?, created_gte?, created_lte?, limit?, cursor?)`: List invoices with status, amounts due and paid, due date and payment attempts. Use for invoice follow-up and dunning reports. - `get_invoice(invoice_id)`: Get one invoice by id, including its line items. - `search_invoices(query, limit?, cursor?)`: Search invoices with Stripe search syntax, for example status:'open' AND total>10000. - `list_payouts(status?, created_gte?, created_lte?, limit?, cursor?)`: List payouts to the bank account with amount, status, arrival date and failure details. - `list_refunds(charge?, payment_intent?, created_gte?, created_lte?, limit?, cursor?)`: List refunds with amount, status, reason and the charge they belong to. - `list_products(active?, created_gte?, created_lte?, limit?, cursor?)`: List products in the catalog with name, active flag and default price. - `list_prices(product?, active?, type?, currency?, created_gte?, created_lte?, limit?, cursor?)`: List prices with amount, currency, billing interval and the product they belong to. - `list_disputes(charge?, payment_intent?, created_gte?, created_lte?, limit?, cursor?)`: List disputes (chargebacks) with amount, status, reason and the evidence deadline. - `list_events(type?, types?, created_gte?, created_lte?, limit?, cursor?)`: List account events from the last 30 days, such as invoice.payment_failed, customer.subscription.deleted or charge.dispute.created. - `create_customer(email?, name?, phone?, description?, metadata?, idempotency_key?)`: Create a Stripe customer with email, name, phone, description and metadata. - `update_customer(customer_id, email?, name?, phone?, description?, metadata?)`: Update a Stripe customer's email, name, phone, description or metadata. - `send_invoice(invoice_id, idempotency_key?)`: Email an open invoice to its customer again, as a payment reminder. Works for invoices with collection_method send_invoice. ##### Supabase (`qbash.integrations.supabase`) Manage Supabase projects, databases, migrations, and query data via the Management API - `list_projects()`: List all accessible Supabase projects. - `get_project(projectRef?)`: Get details for a specific Supabase project. - `list_organizations()`: List organizations the user is a member of. - `get_organization(orgId)`: Get details for a specific Supabase organization. - `list_tables(projectRef?, schema?)`: List tables in a Supabase database schema. - `list_extensions(projectRef?)`: List installed PostgreSQL extensions for a Supabase project. - `list_migrations(projectRef?)`: List database migration history for a Supabase project. - `apply_migration(migrationName, statements, version?, projectRef?)`: Apply a SQL migration to a Supabase database. - `execute_sql(query, projectRef?)`: Execute a raw SQL query against a Supabase database. - `get_logs(projectRef?, isoTimestampStart?, isoTimestampEnd?)`: Retrieve project logs from Supabase for debugging. - `list_storage_buckets()`: List all storage buckets in a Supabase project. - `create_storage_bucket(bucketName, public?, fileSizeLimit?, allowedMimeTypes?)`: Create a new storage bucket in Supabase. - `get_storage_bucket(bucketId)`: Get details about a specific Supabase storage bucket. - `list_storage_files(bucketId, prefix?, limit?, offset?)`: List files in a Supabase storage bucket. ##### Supadata.ai (`qbash.integrations.supadata`) Scrape web pages, map websites, and extract YouTube content - `scrape_web(url)`: Scrape content from a single web page. - `map_website(url)`: Map a website to discover the URLs Supadata finds on it. - `scrape_youtube_transcript(videoId, lang?, text?, chunkSize?)`: Extract the transcript from a YouTube video. - `scrape_youtube_channel(channelId, limit?, channelType?)`: Get videos from a YouTube channel. ##### Supermetrics (`qbash.integrations.supermetrics`) Pull reporting data from the ad platforms and analytics tools connected to your Supermetrics team - `data_source_discovery(ds_id?, filter?)`: List Supermetrics data sources and which ones the team has connected, or return one source's report types and settings. - `accounts_discovery(ds_id, filter?, limit?)`: List the accounts the team's Supermetrics logins can query for a data source. - `field_discovery(ds_id, filter?, ds_accounts?, ds_user?)`: List the metrics and dimensions a Supermetrics data source offers. - `data_query(ds_id, ds_accounts?, fields?, date_range_type?, start_date?, end_date?, timezone?, filters?, settings?, compare_type?, compare_show?, compare_start_date?, compare_end_date?, max_rows?, ds_user?, order_rows?, cache_minutes?, offset_start?, offset_end?)`: Run a Supermetrics report query and return rows keyed by field ID. - `get_async_query_results(schedule_id, offset_start?, offset_end?)`: Wait for a Supermetrics query by schedule ID and return a page of its rows. ##### Telegram (`qbash.integrations.telegram`) Cloud messaging platform for automated notifications, group communication, and bot interactions - `send_message(chat_id, text, parse_mode?, disable_web_page_preview?, disable_notification?, reply_to_message_id?, reply_markup?)`: Send a text message to a chat. - `send_photo(chat_id, photo, caption?, parse_mode?, disable_notification?, reply_to_message_id?)`: Send a photo to a chat. - `send_document(chat_id, document, caption?, parse_mode?, disable_notification?, reply_to_message_id?)`: Send a document to a chat. - `edit_message(chat_id, message_id, text, parse_mode?, reply_markup?)`: Edit a previously sent message. - `delete_message(chat_id, message_id)`: Delete a message from a chat. - `send_poll(chat_id, question, options, is_anonymous?, type?, correct_option_id?)`: Send a poll to a chat. - `get_updates(offset?, limit?, timeout?, allowed_updates?)`: Poll for new incoming updates. - `get_chat(chat_id)`: Get detailed info about a chat. - `get_chat_member_count(chat_id)`: Get the member count of a chat. - `set_webhook(url, max_connections?, allowed_updates?, secret_token?)`: Configure a webhook URL for receiving updates. - `get_me()`: Get basic info about the bot (test connection). - `pin_message(chat_id, message_id, disable_notification?)`: Pin a message in a chat. - `unpin_message(chat_id, message_id?)`: Unpin a message in a chat. - `set_chat_title(chat_id, title)`: Set the title of a chat. - `set_chat_description(chat_id, description?)`: Set the description of a chat. - `leave_chat(chat_id)`: Leave a group, supergroup, or channel. - `send_chat_action(chat_id, action)`: Send a chat action like typing indicator. ##### Terraform (`qbash.integrations.terraform`) Read HCP Terraform workspaces, runs, plans, state outputs and variables, and make safe changes such as creating workspaces, variables and plan runs - `list_organizations(search?, page_size?, cursor?)`: List the organizations the token can see. - `get_organization(organization)`: Get one organization with its plan and settings. - `list_workspaces(organization, search_name?, project_id?, page_size?, cursor?)`: List the workspaces in an organization, filtered by name or project. - `get_workspace(workspace_id)`: Get one workspace with its settings, lock state and latest run. - `list_workspace_variables(workspace_id)`: List a workspace's Terraform and environment variables. - `list_variable_sets(organization, search?, page_size?, cursor?)`: List the variable sets in an organization. - `list_runs(workspace_id, status?, operation?, search?, page_size?, cursor?)`: List a workspace's runs, newest first, filtered by status or operation. - `get_run(run_id)`: Get one run with its status, trigger and the IDs of its plan and apply. - `get_plan(plan_id)`: Get a plan with its status and the count of resources it adds, changes and destroys. - `get_apply(apply_id)`: Get an apply with its status and the count of resources it added, changed and destroyed. - `list_configuration_versions(workspace_id, page_size?, cursor?)`: List a workspace's configuration versions, newest first. - `list_state_versions(organization, workspace_name, status?, page_size?, cursor?)`: List the state versions of one workspace, newest first. - `get_current_state_version(workspace_id)`: Get a workspace's current state version. - `list_state_version_outputs(state_version_id, page_size?, cursor?)`: List the outputs of one state version. - `list_projects(organization, search?, page_size?, cursor?)`: List the projects in an organization. - `list_notification_configurations(workspace_id, page_size?, cursor?)`: List a workspace's notification configurations. - `create_workspace(organization, name, description?, project_id?, terraform_version?, working_directory?, execution_mode?)`: Create a workspace in an organization. - `update_workspace(workspace_id, name?, description?, terraform_version?, working_directory?, execution_mode?)`: Change a workspace's name, description, Terraform version, working directory or execution mode. - `create_workspace_variable(workspace_id, key, value?, category, description?, hcl?, sensitive?)`: Add a Terraform or environment variable to a workspace. - `update_workspace_variable(workspace_id, variable_id, key?, value?, category?, description?, hcl?, sensitive?)`: Change a workspace variable's value or settings. - `create_variable_set(organization, name, description?, is_global?, priority?, workspace_ids?, project_ids?)`: Create a variable set in an organization, optionally attached to workspaces and projects. - `create_variable_set_variable(varset_id, key, value?, category, description?, hcl?, sensitive?)`: Add a variable to a variable set. - `create_run(workspace_id, message?, plan_only?, configuration_version_id?)`: Queue a run on a workspace, either a normal plan or a plan-only run. - `create_configuration_version(workspace_id, speculative?)`: Create a configuration version on a workspace and return its upload URL. - `create_project(organization, name, description?)`: Create a project in an organization. ##### Turbopuffer (`qbash.integrations.turbopuffer`) Query vector, full-text and hybrid indexes and write rows to Turbopuffer namespaces in Tasks. - `list_namespaces(prefix?, page_size?, cursor?)`: List namespaces in the region. - `get_namespace_metadata(namespace)`: Read a namespace's schema, size and index status. - `get_namespace_schema(namespace)`: Read a namespace's attribute schema. - `query_vectors(namespace, vector, vector_attribute?, top_k?, filters?, include_attributes?)`: Find the nearest rows to a vector (ANN). - `query_full_text(namespace, attribute, query, top_k?, filters?, include_attributes?)`: Rank rows by BM25 full-text relevance. - `query_hybrid(namespace, vector, vector_attribute?, attribute, query, top_k?, filters?, include_attributes?)`: Combine vector and BM25 results with reciprocal rank fusion. - `query_with_filters(namespace, filters?, rank_by?, aggregate_by?, group_by?, top_k?, include_attributes?)`: Query with filters, ordering, aggregations and group-by. - `upsert_rows(namespace, rows, distance_metric?, schema?)`: Create or fully overwrite rows by id. - `conditional_upsert_rows(namespace, rows, upsert_condition, distance_metric?, schema?)`: Upsert rows only where the stored row meets a condition. - `patch_rows(namespace, rows)`: Update only the listed attributes of existing rows. ##### Typeform (`qbash.integrations.typeform`) Create and manage forms, read responses, and manage images and themes. - `list_workspaces(page?, page_size?, search?)`: List all workspaces. - `get_workspace(workspace_id)`: Get a workspace by ID. - `list_forms(workspace_id?, search?, page?, page_size?)`: List forms, optionally filtered by workspace. - `get_form(form_id)`: Get a form definition by ID (fields, logic, settings). - `create_form(title, type?, fields, settings?, logic?, welcome_screens?, thankyou_screens?, theme_href?, workspace_href?, hidden?, variables?)`: Create a new form with fields, settings, and logic. - `update_form(form_id, title, type?, fields, settings?, logic?, welcome_screens?, thankyou_screens?, hidden?, variables?, theme_href?, workspace_href?)`: Full-replace a form definition (PUT). Use get_form first to preserve unchanged fields. - `delete_form(form_id)`: Delete a form. - `list_responses(form_id, page_size?, since?, until?, after?, before?, completed?, query?, fields?)`: List form responses with filtering and pagination. - `delete_responses(form_id, included_response_ids)`: Delete form responses by response ID(s). - `list_images()`: List all images in the account. - `get_image(image_id)`: Get image details and URLs by ID. - `upload_image(file_name, image?, url?)`: Upload an image (base64 or URL). - `delete_image(image_id)`: Delete an image. - `list_themes(page?, page_size?)`: List all themes. - `get_theme(theme_id)`: Get a theme by ID. - `create_theme(name, colors?, font?, has_transparent_button?, background?)`: Create a custom theme. - `update_theme(theme_id, name, colors, font, has_transparent_button?, background?, visibility?, rounded_corners?)`: Full-replace a theme (PUT). Use get_theme first to preserve unchanged fields. - `delete_theme(theme_id)`: Delete a theme. ##### Vimeo (`qbash.integrations.vimeo`) Read Vimeo videos, folders, showcases, comments, captions and Enterprise analytics - `get_account()`: Get the connected Vimeo account: name, plan, video count, storage use and the scopes the credential holds. - `list_videos(query?, sort?, direction?, filter?, filter_tag?, user_id?, cursor?, limit?)`: List the account's videos with name, link, duration, privacy, plays, likes, comments and tags. Filter by text or tag, and sort by date, plays, likes and more. - `get_video(video_id)`: Get one video by ID or URL with its details, privacy settings, play count and tags. - `list_folders(query?, sort?, direction?, user_id?, cursor?, limit?)`: List the account's folders with video and subfolder counts. - `list_folder_videos(folder_id, include_subfolders?, query?, sort?, direction?, filter_tag?, user_id?, cursor?, limit?)`: List the videos in one folder, optionally including its subfolders. - `list_showcases(query?, sort?, direction?, user_id?, cursor?, limit?)`: List the account's showcases with video counts and privacy. - `list_showcase_videos(showcase_id, query?, sort?, direction?, filter_tag?, user_id?, cursor?, limit?)`: List the videos in one showcase. - `list_comments(video_id, parent_comment_id?, direction?, cursor?, limit?)`: List the comments on a video, or the replies to one comment. - `list_text_tracks(video_id)`: List a video's captions and subtitles with language, type and a download link. - `get_transcript(video_id, text_track_id?, language?, include_segments?)`: Get a video's transcript as plain text from its captions or subtitles, optionally with timed segments. - `list_chapters(video_id)`: List a video's chapters with title and start time. - `search_videos(query, sort?, direction?, filter?, cursor?, limit?)`: Search public Vimeo videos by text, sorted by relevance, date, plays or likes. - `get_analytics(dimension, start_date, end_date, time_interval?, video_ids?, countries?, device_types?, embed_domains?, sort?, direction?, user_id?, cursor?, limit?)`: Get Vimeo analytics (views, impressions, finishes, watch time) for a date range, grouped by video, country, device or another dimension. Enterprise plans only. ##### Wistia (`qbash.integrations.wistia`) Read folders, videos, file versions and captions from a Wistia account - `list_folders(cursor?, limit?)`: List the account's folders with media counts. Wistia's API called folders projects before its 2026-01 release. - `list_media(folder_id, media_type?, archived?, cursor?, limit?)`: List the media in one folder, including its subfolders, with every field Wistia returns and each media's file versions (assets). - `get_media(media_id)`: Get one media by its hashed_id, with the same fields and file versions (assets) as list_media. - `list_captions(media_id)`: List a media's caption tracks, one per language, each with its full text in SRT format. - `get_captions(media_id, language, include_segments?)`: Get one caption track of a media by language, with its SRT text and optionally its timed segments. ##### WordPress (`qbash.integrations.wordpress`) Read posts, pages, comments, users, media and stats from a WordPress site, and draft posts and moderate comments - `get_site_info()`: Get the site's name, description, URL and timezone, and the connected user's name and roles. - `list_posts(status?, search?, after?, before?, modified_after?, author?, categories?, tags?, orderby?, order?, context?, include_content?, cursor?, limit?)`: List posts with title, status, dates, author, categories, tags and link. Filter by status, text, dates, author, category or tag. - `get_post(post_id, context?)`: Get one post by id, including its rendered content. - `list_pages(status?, search?, after?, before?, modified_after?, author?, parent?, orderby?, order?, context?, include_content?, cursor?, limit?)`: List pages with title, status, dates, parent page and link. - `get_page(page_id, context?)`: Get one page by id, including its rendered content. - `list_comments(post?, status?, search?, after?, parent?, context?, cursor?, limit?)`: List comments, for one post or across the site, by moderation status: approve, hold or spam. - `list_categories(search?, parent?, hide_empty?, cursor?, limit?)`: List post categories with their slug, parent and post count. - `list_tags(search?, hide_empty?, cursor?, limit?)`: List post tags with their slug and post count. - `list_users(search?, roles?, context?, cursor?, limit?)`: List the site's users. Emails, usernames and roles need context="edit" and an Administrator. - `list_media(search?, media_type?, parent?, after?, cursor?, limit?)`: List media library items with file URL, MIME type, size and alt text. - `search(query, type?, subtype?, cursor?, limit?)`: Search posts and pages by text and return each match's id, title, URL and type. - `create_post(title, status?, content?, excerpt?, categories?, tags?, slug?, date?, featured_media?)`: Create a post, saved as a draft unless status is set. Pass status="publish" to publish it. - `update_post(post_id, title?, status?, content?, excerpt?, categories?, tags?, slug?, date?, featured_media?)`: Update a post's title, content, status, excerpt, categories, tags, slug, date or featured image. Fields left out stay as they are. - `create_comment(post_id, content, parent?)`: Post a comment as the connected user, or reply to a comment by passing parent. - `moderate_comment(comment_id, status)`: Set a comment's status to approve, hold or spam. - `get_stats(report?, period?, date?, num?, max?)`: Get WordPress.com Stats: views and visitors for a period, or top posts by views. Needs a WordPress.com connection. ##### X (`qbash.integrations.x`) Search, read analytics, manage identity, and publish posts on X (formerly Twitter). - `get_me()`: Return the authenticated user's profile (requires OAuth user context). - `create_tweet(text, reply_to_tweet_id?, media_ids?)`: Publish a new tweet (requires OAuth user context). - `upload_media(file, media_category?, max_wait_seconds?)`: Upload a stored image, GIF or video to X and return a media_id for create_tweet. - `get_media_status(media_id)`: Check whether X has finished processing an uploaded media id. - `get_user(username)`: Look up a public user profile by username. - `get_tweet(tweet_id)`: Fetch a single tweet with public engagement metrics. - `get_tweet_metrics(tweet_id)`: Fetch a tweet with extended metrics including non_public_metrics and organic_metrics for tweets authored by the authenticated user. - `list_user_tweets(user_id, max_results?, pagination_token?, start_time?, end_time?)`: List recent tweets from a user by their numeric user ID. - `search(query, max_results?, allowed_x_handles?, excluded_x_handles?, from_date?, to_date?)`: Search recent posts on X using the X API v2. - `user_mentions(username, max_results?)`: Fetch recent @mentions of a user by username. - `tweet_counts(query, granularity?)`: Get recent tweet volume counts for a search query. - `user_timeline(username, max_results?, exclude?)`: Fetch recent posts from a user's timeline by username. - `trends(woeid?)`: Get trending topics for a location by WOEID. ##### Xero (`qbash.integrations.xero`) Cloud-based accounting software for small businesses - `create_invoice(contact_id, line_items?, due_date?, invoice_number?, reference?)`: Create a new sales invoice. - `update_invoice(invoice_id, status?, due_date?)`: Update an existing invoice. - `get_invoice(invoice_id)`: Get a single invoice by ID. - `list_invoices(status?, contact_id?, page?)`: List one page of sales invoices with optional filters. - `void_invoice(invoice_id)`: Void an existing invoice. - `send_invoice(invoice_id)`: Email an invoice to the contact. - `create_bill(contact_id, line_items?, due_date?, status?)`: Create a new bill (accounts payable). - `list_bills(page?)`: List one page of bills (accounts payable). - `create_contact(name, email_address?, phone?, is_customer?, is_supplier?)`: Create a new contact. - `update_contact(contact_id, name?, email_address?)`: Update an existing contact. - `get_contact(contact_id)`: Get a single contact by ID. - `list_contacts(where?, page?, page_size?, search_term?)`: List one page of contacts with an optional filter. - `create_payment(invoice_id, account_id, amount, date?, reference?)`: Record a payment against an invoice. - `list_payments(status?, page?)`: List one page of payments. - `create_credit_note(contact_id, line_items?, type?)`: Create a credit note. - `list_credit_notes(status?)`: List credit notes, one page only. - `create_purchase_order(contact_id, line_items?, delivery_date?)`: Create a purchase order. - `get_purchase_order(purchase_order_id)`: Get a purchase order by ID. - `create_item(code, name, description?, sales_unit_price?, purchase_unit_price?)`: Create a new item/product. - `list_items()`: List items, one page only. - `list_accounts(account_type?)`: List the chart of accounts, one page only. ##### YouTube (`qbash.integrations.youtube`) Upload and manage YouTube videos, playlists and comments, and pull channel and video analytics - `upload_video(title, file_id?, video_data?, description?, tags?, category_id?, privacy_status?, publish_at?, made_for_kids?, notify_subscribers?, content_type?)`: Upload a video to YouTube and return its ID. Defaults to private, and videos stay private until the Google project passes YouTube's API audit. - `get_upload_status(video_id)`: Check whether an uploaded video finished processing. Upload is asynchronous, so poll this after upload_video. - `set_thumbnail(video_id, file_id?, image_data?, content_type?)`: Set a custom thumbnail for a video. Max 2 MB, JPEG or PNG. - `publish_video(video_id, privacy_status?, publish_at?)`: Make a private video public, or schedule it to go public at a future time. - `list_videos(max_results?, page_token?, channel_id?, handle?)`: List the channel's uploaded videos, newest first. Reads the uploads playlist, so it costs no search quota and includes videos uploaded moments ago. - `get_video(video_id)`: Get one video's metadata, status and statistics. - `update_video(video_id, title?, description?, tags?, category_id?, privacy_status?, publish_at?, license?, embeddable?, public_stats_viewable?, made_for_kids?, contains_synthetic_media?)`: Update a video's metadata. Only the fields you pass change, and everything else is preserved. - `delete_video(video_id)`: Permanently delete a video from the channel. This cannot be undone. - `rate_video(video_id, rating)`: Like, dislike, or clear your rating on a video. - `search_videos(query?, type?, channel_id?, for_mine?, order?, max_results?, page_token?, published_after?, published_before?, video_duration?, region_code?)`: Search YouTube. Bills to a dedicated 100-calls-per-day bucket separate from the main quota pool. - `list_captions(video_id)`: List a video's caption tracks, with each track's language, whether it is standard, auto-generated (asr) or forced, and its status (serving, syncing or failed). Works on any video and costs 50 units. - `get_transcript(video_id, language?, format?)`: Get the transcript of a video the connected channel owns, as plain text and timed segments from one of its caption tracks. - `upload_caption(video_id, language, name?, file_id?, content?, is_draft?)`: Add a caption track to a video from an SRT or WebVTT file. Costs 400 units of the shared daily quota. - `delete_caption(caption_id)`: Delete a caption track. This cannot be undone. Costs 50 units. - `list_playlists(max_results?, page_token?, channel_id?)`: List playlists owned by the channel. - `create_playlist(title, description?, privacy_status?)`: Create a playlist and return its ID. - `delete_playlist(playlist_id)`: Delete a playlist. The videos in it are not deleted. - `list_playlist_items(playlist_id, max_results?, page_token?)`: List the videos in a playlist. - `add_video_to_playlist(playlist_id, video_id, position?, note?)`: Add a video to a playlist. - `remove_video_from_playlist(playlist_id, video_id)`: Remove a video from a playlist. Removes every occurrence if the video appears more than once. - `list_video_comments(video_id, max_results?, page_token?, order?, search_terms?, text_format?)`: List comment threads on a single video, with their replies. - `list_channel_comments(channel_id?, max_results?, page_token?, order?, search_terms?, text_format?)`: List comment threads across every video on a channel. Use list_video_comments for a single video. - `reply_to_comment(parent_id, text)`: Reply to a comment thread as the authenticated channel. Costs 50 units of the shared daily quota. - `list_comment_replies(parent_id, max_results?, page_token?, text_format?)`: List the replies to a top-level comment. Comment listings carry at most five replies per thread, so this reads the rest. - `post_comment(video_id, text)`: Post a top-level comment on a video as the authenticated channel. Costs 50 units of the shared daily quota. - `delete_comment(comment_id)`: Delete a comment the authenticated channel wrote. This cannot be undone. Costs 50 units. - `list_held_comments(video_id?, channel_id?, moderation_status?, max_results?, page_token?, text_format?)`: List comments waiting for review on a video or across the channel. Publish or reject them with set_comment_moderation. - `set_comment_moderation(comment_ids, status, ban_author?)`: Publish, reject or hold comments on the channel's videos, and optionally ban the author of rejected ones. Costs 50 units per call. - `get_channel(channel_id?, handle?)`: Get channel details: subscriber count, total views, video count and the uploads playlist ID. - `get_channel_analytics(start_date, end_date, metrics?, dimensions?, filters?, sort?, max_results?, channel_id?)`: Run a channel-level analytics report over a date range. Revenue metrics such as estimatedRevenue, cpm and adImpressions need a YouTube connection made with "Include revenue" turned on. For a connection made without it, add a new YouTube connection with that option on. - `get_video_analytics(video_id, start_date, end_date, metrics?, dimensions?, filters?, sort?, max_results?)`: Run an analytics report scoped to one video. Revenue metrics such as estimatedRevenue, cpm and adImpressions need a YouTube connection made with "Include revenue" turned on. For a connection made without it, add a new YouTube connection with that option on. Impressions and thumbnail click-through rate are not available from this API at all. - `get_top_videos(start_date, end_date, metrics?, sort?, max_results?)`: List the channel's best-performing videos for a period. Revenue metrics such as estimatedRevenue, cpm and adImpressions need a YouTube connection made with "Include revenue" turned on. For a connection made without it, add a new YouTube connection with that option on. - `get_traffic_sources(start_date, end_date, video_id?, metrics?, max_results?)`: Break views down by how viewers found the video: YouTube search, suggested videos, browse features, external sites and more. - `setup_reports(report_types?)`: Start YouTube's daily reports for this channel, including thumbnail impressions and CTR. - `list_report_types()`: List the bulk report types YouTube can produce for this channel. - `list_reports(report_type?, start_date?, end_date?)`: List the daily report files YouTube has produced, one per report type per day. - `get_impressions(start_date, end_date, video_id?)`: Get thumbnail impressions and click-through rate per video per day. - `download_report(download_url?, report_id?, job_id?, max_rows?)`: Download one daily report file and return its rows. ##### Zendesk (`qbash.integrations.zendesk`) Read tickets, conversations and routing values, add internal notes and update tickets - `get_current_user()`: Get the Zendesk user this connection acts as, with their role. - `get_ticket(ticket_id)`: Get one ticket with its status, routing fields, tags and custom field values. - `search_tickets(query, sort_by?, sort_order?, limit?, cursor?)`: Search tickets with Zendesk search syntax, such as status:open group:Billing or custom_field_360001:QB-42. - `list_ticket_comments(ticket_id, visibility?, limit?, cursor?)`: List a ticket's conversation, public replies and internal notes, each labeled with its visibility. - `list_side_conversations(ticket_id, include_events?)`: List a ticket's side conversations, the internal threads with other teams or outside contacts. - `list_ticket_audits(ticket_id, limit?, cursor?)`: List a ticket's change history: who changed which fields, through which channel, and whether qbash made the change. - `download_attachment(attachment_id)`: Download a ticket attachment into qbash file storage, to pass to a prompt or another connector. - `get_user(user_id)`: Get one Zendesk user: an end user, agent or admin. - `search_users(query, limit?, cursor?)`: Search users by name, email, phone or external id. - `get_organization(organization_id)`: Get one organization with its domains, tags, notes and custom fields. - `search_organizations(query, limit?, cursor?)`: Search organizations with Zendesk search syntax, such as a name or a domain. - `list_custom_fields(object_type?)`: List ticket, user or organization fields with their ids, types and dropdown options. - `get_routing_options()`: Get the valid routing and status values: priorities, types, statuses, custom statuses, groups, forms, brands, skills and queues. - `list_assignable_agents(group_id)`: List the agents who can be assigned tickets in a group. - `list_views(limit?, cursor?)`: List the active views the connected user can see. - `list_view_tickets(view_id, limit?, cursor?)`: List the tickets in a view, in the view's order. - `list_ticket_changes(since?, cursor?, limit?, exclude_own_changes?)`: List tickets changed since a time or a previous call's cursor, oldest first, for incremental intake. - `add_internal_note(ticket_id, body?, html_body?, dedupe_key?)`: Add an internal note to a ticket. Agents see it, and the requester and CCs are not notified. - `update_ticket(ticket_id, status?, custom_status_id?, priority?, type?, group_id?, assignee_id?, custom_fields?, add_tags?, remove_tags?, skill_value_ids?, internal_note?, expected_updated_at?, dedupe_key?)`: Change a ticket's status, priority, type, group, assignee, custom fields, tags or skills, with an optional internal note. ##### Zoom (`qbash.integrations.zoom`) Search meetings, fetch transcripts, polls, participants, chat, and AI summaries from Zoom - `search_meetings(from_date, to_date, topic?, limit?)`: Search past Zoom meetings by date range and optional topic keyword. - `get_meeting(meeting_id)`: Get details for a specific past Zoom meeting (topic, duration, host, time). - `list_participants(meeting_id, limit?)`: List participants of a past Zoom meeting with join/leave times. - `get_transcript(meeting_id, format?)`: Fetch the transcript of a recorded Zoom meeting. Returns speaker-labeled text by default, or raw VTT with format='vtt'. - `get_meeting_chat(meeting_id)`: Fetch the in-meeting chat log from a recorded Zoom meeting. - `get_meeting_polls(meeting_id)`: Get poll questions and participant responses from a past Zoom meeting. - `get_meeting_qa(meeting_id)`: Get Q&A questions and answers from a past Zoom meeting or webinar. - `get_meeting_summary(meeting_id)`: Get the Zoom AI-generated meeting summary (requires AI Companion enabled in Zoom settings). - `list_users(status?, limit?, page_size?, next_page_token?)`: List users in the Zoom account. Requires an Admin or Server-to-Server credential. - `search_account_meetings(from_date, to_date, type?, limit?)`: Search past meetings across all users in the Zoom account via the Dashboard API. Requires Business+ plan and an Admin or S2S credential. - `search_user_meetings(user_id, from_date, to_date, topic?, limit?)`: Search past meetings for a specific user in the Zoom account. Requires an Admin or S2S credential. ##### ZoomInfo (`qbash.integrations.zoominfo`) B2B data platform for contact and company intelligence, enrichment, and buyer intent signals - `search_contacts(firstName?, lastName?, email?, jobTitle?, companyName?, companyId?, department?, managementLevel?, country?, state?, page?, pageSize?)`: Search for B2B contacts by name, title, company, or location. - `search_companies(companyName?, website?, industry?, revenueMin?, revenueMax?, employeeCountMin?, employeeCountMax?, country?, state?, page?, pageSize?)`: Search for B2B companies by name, industry, revenue, or location. - `search_intent(topics, companyName?, companyId?, country?, page?, pageSize?)`: Search for buyer intent signals by topic. - `enrich_contact(contactIds?, email?, firstName?, lastName?, companyName?, outputFields?)`: Enrich a contact with full details including email, phone, and social profiles. - `enrich_company(companyIds?, companyName?, website?, outputFields?)`: Enrich a company with full firmographic details. - `enrich_intent(topics, companyId?, companyName?, companyWebsite?)`: Get buyer intent signals for a specific company and topics. - `get_usage()`: Check ZoomInfo API usage and remaining credits. ##### Zotero (`qbash.integrations.zotero`) Read Zotero libraries, collections, tags and notes, and make safe changes such as adding items, notes and tags - `check_key()`: Check the API key and read its user ID and privileges. - `list_items(collection_key?, top_level?, include_trashed?, item_keys?, limit?, cursor?, q?, qmode?, tag?, item_type?, sort?, direction?, since?, group_id?)`: List items in a library, optionally in one collection, filtered by search, tag or type. - `get_item(item_key, group_id?)`: Get one item with all of its fields. - `list_child_items(item_key, limit?, cursor?, group_id?)`: List an item's child notes and attachments. - `list_collections(top_level?, since?, limit?, cursor?, group_id?)`: List collections in a library, or only the top-level ones. - `get_collection(collection_key, group_id?)`: Get one collection. - `list_subcollections(collection_key, limit?, cursor?, group_id?)`: List the collections directly under one collection. - `list_tags(q?, sort?, direction?, limit?, cursor?, group_id?)`: List the tags used in a library or collection. - `list_item_tags(item_key, limit?, cursor?, group_id?)`: List the tags on one item. - `list_saved_searches(since?, limit?, cursor?, group_id?)`: List a library's saved searches (metadata only). - `list_groups(limit?, cursor?)`: List the group libraries the user belongs to. - `list_group_items(group_id, collection_key?, top_level?, limit?, cursor?, q?, qmode?, tag?, item_type?, sort?, direction?, since?)`: List items in a group library. - `list_publication_items(q?, limit?, cursor?)`: List the items in My Publications. - `list_item_types()`: List Zotero's item types. - `get_item_template(item_type, link_mode?)`: Get a blank item for one item type, listing its fields. - `create_items(items, write_token?, group_id?)`: Create up to 50 items in a library. - `update_item(item_key, version, fields, group_id?)`: Change some fields of one item, guarded by its last-known version. - `batch_update_items(items, group_id?)`: Change fields on up to 50 items in one call, each guarded by its version. - `create_collection(name, parent_collection?, write_token?, group_id?)`: Create a collection, optionally under another one. - `update_collection(collection_key, version, name, parent_collection, group_id?)`: Rename a collection or move it, guarded by its version. - `set_item_tags(item_key, version, tags, group_id?)`: Replace an item's tags with the list you give. - `set_item_collections(item_key, version, collections, group_id?)`: Replace the collections an item belongs to. - `create_child_note(parent_item_key, note, tags?, write_token?, group_id?)`: Add a note under an existing item. - `create_child_attachment_metadata(parent_item_key, url, title?, content_type?, tags?, write_token?, group_id?)`: Add a linked-URL attachment record under an existing item. --- ## Official MCP server Source: https://qbash.com/docs/mcp-servers/official-mcp-server Add qbash to Claude, ChatGPT, Codex, Cursor or any other MCP client at one URL and sign in with your qbash account. Server URL: `https://mcp.qbash.com/mcp` - **Build tasks.** Hand over a written set of requirements, or a SPEC.md with tests, and the task builder writes a qbash task for you in Python, with [inline prompts](https://qbash.com/docs/tasks/prompts) at the steps that need AI judgement. Your agent can put it on a schedule or behind a webhook, and every save is a version you can go back to. - **Run tasks and read the results.** Run any deployed task you have access to, check its output and read its logs step by step. - **Use your connectors.** Call the tools you already use, such as Reddit, HubSpot or Slack, through the accounts you have connected in qbash. The [connectors directory](https://qbash.com/connectors) lists every one. - **Share memories across agents.** Claude Code, Codex and your other agents read and write the same [memory folders](https://qbash.com/docs/memories/overview), so notes from one session are there for the next one and for the rest of your team. ### Connect a client ##### ChatGPT 1. In ChatGPT, open Plugins in the left sidebar, click "Add", and choose "Add custom MCP server". 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the server URL, choose OAuth, and click "Create as a plugin". 3. Install the plugin from the Personal tab and complete the qbash sign-in. 4. In a new chat, type @ and pick the plugin by its name. Any personal plan can add one, including Free. In a Business, Enterprise or Edu workspace, if the option isn't there, talk to your workspace owner. [Full guide for ChatGPT](https://qbash.com/docs/clients/chatgpt) ##### claude.ai 1. In Claude, go to Customize > Connectors, click "+ Add", and choose "Add custom connector". On a Team or Enterprise plan, an Owner adds it for everyone under Organization settings > Connectors, and members then connect it. 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the URL, and click "Continue". 3. Complete the qbash sign-in to authorize access. 4. In a chat, click the "+" button, choose "Connectors", and toggle the server on for that conversation. Custom connectors are available on Free (one connector), Pro, Max, Ultra, Team and Enterprise plans. [Full guide for Claude](https://qbash.com/docs/clients/claude) ##### Claude Code ```sh claude mcp add --transport http qbash https://mcp.qbash.com/mcp ``` Run this in your terminal, then inside Claude Code run /mcp, select the server, and complete the browser sign-in. [Full guide for Claude Code](https://qbash.com/docs/clients/claude-code) ##### Cursor In `~/.cursor/mcp.json`: ```json { "mcpServers": { "qbash": { "url": "https://mcp.qbash.com/mcp" } } } ``` Reload Cursor, then sign in with qbash when it prompts for authentication. [Full guide for Cursor](https://qbash.com/docs/clients/cursor) ##### VS Code In `.vscode/mcp.json`: ```json { "servers": { "qbash": { "type": "http", "url": "https://mcp.qbash.com/mcp" } } } ``` Start the server from the editor, then follow the browser sign-in prompt. [Full guide for VS Code](https://qbash.com/docs/clients/vscode) ##### Codex ```sh codex mcp add qbash --url https://mcp.qbash.com/mcp ``` Run this in your terminal, then run codex mcp login qbash and complete the qbash sign-in. The Codex CLI and IDE extension share this setup. For Codex in the ChatGPT app, add qbash as a ChatGPT plugin, the same as for ChatGPT. In `~/.codex/config.toml`: ```json [mcp_servers.qbash] url = "https://mcp.qbash.com/mcp" ``` Save the file, then run codex mcp login qbash and complete the qbash sign-in. [Full guide for Codex](https://qbash.com/docs/clients/codex) ##### Grok Bot 1. Open a Grok Bot chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Confirm the details and complete the qbash authorization flow presented by the Bot. [Full guide for Grok Bot](https://qbash.com/docs/clients/grok-bot) ##### dots 1. Open the dot and ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 2. Complete the qbash sign-in when the dot asks. 3. In a message inside the dot, type @ and pick the plugin by its name. Dots have the same plan and role limits as ChatGPT. A qbash plugin you already installed in ChatGPT works in the dot too. [Full guide for dots](https://qbash.com/docs/clients/chatgpt-dots) ##### Muse 1. Open a Muse chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Allow Muse to contact the server, choose "Connect" on the qbash card, and complete the qbash sign-in. [Full guide for Muse](https://qbash.com/docs/clients/muse) ##### Other 1. Add a remote MCP server in your client. If it asks for a transport, choose Streamable HTTP. 2. Paste the server URL: `https://mcp.qbash.com/mcp` 3. Choose OAuth when the client asks how to authenticate, then complete the qbash sign-in. [Full guide for other MCP clients](https://qbash.com/docs/clients/other) The first time a client signs in, qbash asks you to allow it. If you belong to more than one organization, you pick the one it uses there. In qbash, the **MCP Servers** page shows this setup under **Connect an app**, and the apps signed in as you under **Your apps**, where you can sign one out. [Connect an AI client](https://qbash.com/docs/clients/overview) has a guide for each client, including [dots](https://qbash.com/docs/clients/chatgpt-dots). A client that sends a header instead of signing in uses an access token. Create one on the same page and send it as `Authorization: Bearer `. Each token has your own access in that organization, the same as signing in, and you can revoke it there at any time. ### Connector approval The first time an agent calls `call_connector_read` or `call_connector_write` for one of your accounts, the result carries a link where you allow your apps on this server to use that account. You choose how long the approval lasts: 1 hour, 24 hours, 7 days, 30 days or Always. It covers reads and writes on that one account, from every app you connect to the official server. A custom server asks for its own approval. An approval ends when its time runs out or when you remove it. ### Editing memory documents `edit_memories` changes documents by id. Find-and-replace `edits` need no version. Each old text has to appear exactly once in the current body, and an edit whose text someone else has changed fails to match. `append` adds text to the end of the body on a new line and needs no version. Replacing the whole body with `content`, or renaming, needs `base_version`, the version the agent read. If the document has changed since then, nothing is edited and the result gives the current version to read again. In a folder that requires review, a write or edit opens a [review](https://qbash.com/docs/memories/reviewing-changes) for a person to accept in qbash. Writing or editing the same document again while your review is open updates that review, and its edits match against your proposed text. To withdraw it, call `edit_memories` with `withdraw_review: true` and the document id. A proposed new document has no id yet, so pass its `review_id` instead. `memory_reviews` with `mine: true` lists the reviews you have open. ### Dry runs `run_task` with `dry_run: true` runs the task's saved version with its writes held back. Connector writes, memory writes and web requests other than GET are not sent. A step that needs the result of a held-back write stops the run there. Reads, AI prompts and paid lookups still run and cost what they cost in a real run. A dry run needs the same access as a real one. `get_task_result` lists the held-back writes, each with the inputs it would have sent. Dry runs count as test runs, so they stay out of the task's run history. ### Custom servers A [custom server](https://qbash.com/docs/mcp-servers/overview) serves the tasks, connector accounts and memory folders you pick, under tool names and instructions you write, and you choose who in your organization can connect. Build one to give a team a fixed set of tools, to share a connector account without sharing its credentials, or to publish a task as a single tool. ### Tool reference Open a tool for an example call and its parameters. ##### Tasks Find, run, build and test tasks you can access, read their runs and change their triggers. - `list_tasks` (reads only): List tasks you can run, each with its latest run's status, a page at a time as columns and rows. Pass query to keep only tasks whose name or description contains it. Call read_task before reusing or revising one. - `cursor` (string): next_cursor from the previous page, for the page after it. - `limit` (integer): Rows per page. Default 50, max 200. - `query` (string): Words from the task name or description. - `run_task`: Start a production run of a task you may run. Returns execution_id for get_task_result and get_task_log. With dry_run, the run holds back connector writes, memory writes and web requests other than GET, and a step that needs a held-back write's result stops it there. Reads, AI prompts and paid lookups still run and cost what they cost in a real run, and get_task_result lists the held-back writes. A task set to confirm its runs starts only once the person checks the inputs and confirms: it answers with status awaiting_confirmation and a request_id instead. - `id_or_slug` (string, required): Task slug or id, or the task name in any case. - `dry_run` (boolean): Run the saved task with writes held back. Defaults to false. - `inputs` (object) - `build_task`: Build a new task with the task builder, starting from a message that says what to build, or from a SPEC.md contract and tests. A saved turn creates the task or saves its changes. An unchanged rejection, clarification or no-op can finish without saving. Returns session_id. Read progress with check_build. Call again with session_id and message to continue, or answer to reply to a question. The result of a saved turn carries the task_id. Start it without connecting accounts first: the build asks for each account it needs, with a connect_url that connects a new one, and saves a trigger that still needs a token or secret turned off. Each of those is listed in triggers_waiting_for_setup with a setup_url to give the person. When the person wants to connect an account without building a task, request_connector gets its link. Builder messages describe the Task Builder's available actions only. A task can use two accounts of one connector, such as two HubSpot portals: say so in the message and the builder asks for each. Check your own tools before reporting an action as unavailable. For a requested memory folder, use your own authorized folder-creation tool when available, then pass its id to the builder for attachment. Files the task reads go in its Package: put a public link to each file in the message and the builder downloads it there (up to 500 MB, private and internal addresses refused). A build can't take file bytes, so a file with no public link is uploaded by the person in the task editor. - `answer` (object): Reply to the builder's open question: gate_id from the question, and value. - `description` (string): Optional, for a new build. The task's saved description: what it does, shown with the task in qbash. When there is no message, the builder builds from it. - `message` (string): Your instruction to the builder for this turn: what to build in a new build, or what to change next in an existing session. - `name` (string): Task name for a new build. - `session_id` (string): Session id returned when the build started. - `spec` (string): SPEC.md contents. - `task_id` (string): Optional. The id of the task this build created. - `tests` (string): tests.py contents for a Python task. - `wait_seconds` (integer): Seconds to wait for the builder's turn to finish or ask a question before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `check_build` (reads only): Read the progress of a build_task or revise_task session, or the result of a run_tests job. Builder status reports completed, rejected, needs_clarification, no_change, partial, unknown or failed when the turn ends. Check draft_saved for persistence and diagnostics for a cause and next action. A saved result can list prompt_call_warnings: run_prompt or qbash.ai.raw calls in the script that would fail or pass the wrong thing, each with its file, line and fix. Continue the session to have the builder fix them. Pass session_id to wait for the builder's turn to finish or ask a question, answered as those tools do, or job_id to wait for the tests to finish and get their result. Call it right away again while the status is running. A running build's reply starts with a line on what the builder did during the check. A response with source task_builder describes the Task Builder's available actions only. Check your own tools before reporting an action as unavailable. - `job_id` (string): Job id run_tests returned. - `session_id` (string): Session id build_task or revise_task returned. - `task_id` (string): Optional. The task the session or job is for. Passed alone, it checks the newest build_task or revise_task session for that task. - `wait_seconds` (integer): Seconds to wait for the builder's turn or the tests to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `get_task_result` (reads only): Get the output of a task run. Pass task_id for its latest finished run, scheduled ones included, or execution_id for one run. With an execution_id from run_task, it waits for the run to finish before answering, so call it again right away while the run is still going. Pass a request_id from run_task as execution_id to wait for the person to confirm and then for the run. A long output comes in windows: pass output_offset for the next one. A run that failed answers with its error. - `execution_id` (string): Execution id of one run, such as one run_task returned. - `output_offset` (integer): Character offset into the output, for the next window of a long one. - `task_id` (string): Task id, for its latest finished run. - `wait_seconds` (integer): Seconds to wait for the run to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `get_task_log` (reads only): Get one task run's log: its status, revision, attempts, numbered step outline, errors and an output preview. Pass execution_id, or task_id and run for any recorded run. get_task_result has the full output. A request_id from run_task works as execution_id once the person confirms it. Pass after, the number of log lines you have already read (0 at first), to read the run's log lines past that point instead, while it runs or once it has finished. Pass steps to read step details instead: a page of steps with their inputs, results and ids, filtered by the # numbers from the outline, name, status or text. With steps.step_id and steps.field, it reads that step's full inputs or result a window at a time. Pass include_cost: true to read the saved provider-cost estimate in USD with coverage and pricing_basis. For saved cost per step, also pass steps.costs_only: true. Costs use standard provider rates, not customer charges. - `after` (integer): Number of log lines already read. Returns only the lines after them. - `attempt` (integer): Attempt number. - `execution_id` (string): Execution id, such as one run_task returned. - `include_cost` (boolean): Return the saved provider-cost estimate. Defaults to false. - `run` (string): Execution id, latest or latest_failed. Defaults to latest. - `steps` (object): Read step details instead of the summary. Pass {} for the first page of steps. - `task_id` (string): Task id for recorded history. - `wait_seconds` (integer): Seconds to wait for the run to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `read_task` (reads only): Read one task: its inputs, triggers (each with its type, status, settings, whether it waits for setup, and the URL and auth scheme a sender calls), tests, latest run and the MCP servers that serve it. When you may edit it, also its script, its inline prompts with their text and settings (model, built-in tools such as web search, agent settings), its inline scripts, the names of its Package files (a script reads one with qbash.files.package("name"), and revise_task adds one from a public link) and its connectors, each with its handle and provider, plus the account name for the task's creator. A second account of one connector has its own handle (hubspot-2), which the script passes as credential= or in connectors=. Secrets are never returned. - `task_id` (string, required): Task id. - `list_task_runs` (reads only): List recent runs, newest first, from any trigger, such as schedules and MCP calls, a page at a time as columns and rows. Without task_id, lists the runs of every task you can edit, as the qbash Build home does, and the runs you started over MCP of tasks you can only run. Pass task_id to list one task's runs. If you can only run that task, you see the runs you started over MCP. Test runs and dry runs are left out. Inputs are shown only for runs you started. For a run's result and steps, pass its execution_id to get_task_result or get_task_log. - `cursor` (string): next_cursor from the previous page, for the page after it - `limit` (integer): Rows per page (default 10, max 50) - `status` (string): Only runs with this status One of `queued`, `running`, `awaiting_retry`, `waiting`, `terminating`, `cancelled`, `stopped`, `success`, `error`, `timeout`. - `task_id` (string): A task id, such as one list_tasks returns, to list only that task's runs - `revise_task`: Change an existing task with the task builder: its script, inline prompts and scripts, inputs, settings and triggers. Use it for every schedule or webhook change, such as adding, moving, pausing or removing a schedule. To add a file to the task's Package, put a public link to it in the message and the builder downloads it (up to 500 MB, private and internal addresses refused). It can also remove a Package file by name. A file with no public link is uploaded by the person in the task editor. It can add another account of a connector the task already uses, bound under the next handle (hubspot-2). Each turn saves its changes to the task when it ends. Returns session_id. Read progress with check_build. Call again with task_id, session_id and message to continue, or answer to reply to a question. Builder messages describe the Task Builder's available actions only. Check your own tools before reporting an action as unavailable. For a requested memory folder, use your own authorized folder-creation tool when available, then pass its id to the builder for attachment. - `task_id` (string, required): Task id. - `answer` (object): Reply to the builder's open question: gate_id from the question, and value. - `message` (string): Requested changes, or a follow-up message. - `session_id` (string): Session id returned when the revision started. - `wait_seconds` (integer): Seconds to wait for the builder's turn to finish or ask a question before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `search_task_sdk` (reads only): Search the Task SDK reference, the qbash functions a task script calls, for reading or reasoning about a task's script. Returns up to 10 matching functions as rows of signature, summary and section, best match first. When query is one function's name, or function names one, the result also has that function's full entry. The function "Prompt settings" lists every inline prompt setting with its default and range, and how files reach a prompt. For a connector's operations and their parameters, call describe_connector. - `function` (string): One function's name, such as qbash.ai.run_prompt, for its full entry. - `query` (string): Words or a function name to find, such as run_prompt or memories search. - `list_requests` (reads only): List the requests from task runs that the person you act for can still answer, such as approvals. Returns a page of them as columns and rows, newest first, each with its request_id, title, body, details, choices and the task and run that sent it. The body is markdown unless body_format is "text", which shows it exactly as written. Details are labeled values such as an amount, some with a link. answer is "choice" for a request answered with one of its choices, or "send" for one with no choices, answered with its note or its fields. note says whether the request takes a note: "none" (leave it out), "optional" or "required". note_required_for lists the choices that need one, and note_label and note_placeholder are the request's words for it. fields, when not null, is a JSON Schema of the values the person fills in, with each field's title, default and allowed values. An answer with a choice in fields_skipped_for ignores them. Requests in other organizations are left out. To answer one with what the person told you, pass its request_id to answer_request when that tool is available. Otherwise the person answers it in qbash Activity. - `cursor` (string): next_cursor from the previous page, for the page after it. - `limit` (integer): Rows per page. Default 25, max 100. - `answer_request`: Answer a request a task run sent the person you act for, such as an approval, with the answer they gave you. Answer only with what they told you, and don't choose for them. list_requests, when that tool is available, lists the requests sent to them, with their ids and choices, and so does a waiting run's get_task_result. Otherwise they are listed in qbash Activity. Pass choice for a request with choices, or note for a request with no choices. For a request with fields, pass values by field name, with the values the person gave you. Send every required field without a default. A field you leave out takes its default. - `request_id` (string, required): The request's id, from list_requests (when available) or get_task_result, else from qbash Activity. - `choice` (string): One of the request's choices. - `note` (string): Text to add, at most 2000 characters. Required when the request's note is required or the choice is in note_required_for. Refused when note is none. - `values` (object): The request's field values by field name, as its fields schema describes. Null clears an optional field; leaving it out keeps its default. Ignored for a choice in fields_skipped_for. - `run_tests`: Start the task's tests, with calls to connected systems mocked. Returns job_id. Call check_build with job_id for the result. - `task_id` (string, required): Task id. - `prefill_custom_model` (reads only): For company admins: look up an OpenRouter, Hugging Face or DigitalOcean model qbash doesn't list in that gateway's public catalog, before adding it as a custom model with add_custom_model. Calls no model. Returns the settings qbash found in the catalog, the ones that are defaults the person must check, and the company's keys on the gateway. - `gateway` (string, required): The gateway the model comes from. One of `openrouter`, `huggingface`, `digitalocean`. - `model` (string, required): The gateway's own model id: "qwen/qwen3.8-27b" on OpenRouter, "Org/Model:provider" on Hugging Face (the provider is required), "kimi-k3" on DigitalOcean. - `add_custom_model`: For company admins: add a gateway model qbash doesn't list to the company, with the settings the person confirmed after prefill_custom_model, and turn it on for one key. Private to admins unless share_with_company is true. Returns the model_id a Task prompt uses. - `api_key_id` (string, required): The key to turn it on for, one of prefill_custom_model's api_keys. Its gateway is the model's. - `model` (string, required): upstream_model_id from prefill_custom_model. - `name` (string, required): The name people see in the model picker. - `settings` (object, required): The confirmed settings, the same keys prefill_custom_model returned: max_output_tokens (required), context_limit, structured_output, tools, reasoning_efforts, images, pdfs, input_per_million, output_per_million. - `share_with_company` (boolean): Let everyone in the company pick it. Defaults to false. ##### Connectors Find connectors and accounts, connect one, and look up and run their operations. - `list_connectors` (reads only): Find the person's apps and accounts in qbash, such as Gmail, Google Drive, Slack, HubSpot, GitHub, Reddit, Notion or a database, including apps this chat has no tool of its own for. Results come a page at a time as columns and rows. Connected apps come first, each with the person's accounts. An account's credential is the id call_connector_read and call_connector_write take, and describe_connector with the app's provider lists its operations. Without query or status, apps the person hasn't connected are listed by id only, with no link. A row with status not_connected or needs_reconnection, found by name with query or by that status, carries a connect_url, and request_connector gets the same link for one app. Connected rows carry none. Show the person that link to open. They connect the app in qbash themselves, so never ask them for keys or passwords. An account with allowed_here false needs the person to allow this app to use it, at its approval_url. A database account's login_level is what its login allows, and allowed_level is what this app is allowed to do with it so far. An account with status needs_reconnection is reconnected by its owner, at its reconnect_url when it is the person's own. With include_actions, each action is marked read or write, with the call tool that runs it. To build a task, call build_task directly: it asks for each account the task needs. - `cursor` (string): next_cursor from the previous page, for the page after it. - `include_actions` (boolean): Include each account's action names. Off by default. - `limit` (integer): Rows per page. Default 50, max 200. - `query` (string): Connector or account name to match. - `status` (string): Only connectors with this status. One of `connected`, `needs_reconnection`, `not_connected`. - `request_connector` (reads only): Get the link the person opens before you can use an app, such as Reddit. Call it when list_connectors shows a connector not_connected or needs_reconnection, or an account with allowed_here false. For an app not connected, connect_url opens its connect form in qbash. For one connected that this app is not allowed to use yet, status is needs_approval and approval_url opens the screen where the person allows it. Status needs_reconnection means only an account's owner can reconnect it, at reconnect_url when it is the person's own, and connect_url adds a new account. Status connected means call_connector_read and call_connector_write can use it now. Only the person can connect or allow it, in qbash, so never ask them for keys or passwords. - `provider` (string, required): Connector provider id or name, as list_connectors returns it, such as reddit. - `client` (string): Optional. The MCP client you are running in. The links carry it, so the qbash pages after connecting show that client's setup. One of `claude-code`, `codex`, `cursor`, `vscode`, `claude-ai`, `chatgpt`, `grok-bot`, `muse`, `other`. - `call_connector_read` (reads only): Run one read operation on one of your connected accounts, such as searching HubSpot contacts, and return its result. It runs operations whose side effect is read, and refuses a write. The first call for an account answers with a link where the person allows their apps on this MCP server to use that one account, for a time they pick from 1 hour to Always. That approval covers reads and writes. On a database account each operation needs an approval at its level. A call above what the person has allowed so far answers with a link that allows that level on the same account, up to the login_level list_connectors shows for it. Find accounts with list_connectors and operations with describe_connector, which marks each operation read or write. - `credential` (string, required): The account's credential id, as list_connectors returns it. - `operation` (string, required): The operation, as describe_connector lists it for the provider, such as search_contacts. - `params` (object): The operation's parameters, as describe_connector gives them. - `call_connector_write`: Run one write operation on one of your connected accounts, such as creating a HubSpot contact or sending a Slack message, and return its result. It runs operations whose side effect is write, and refuses a read. The first call for an account answers with a link where the person allows their apps on this MCP server to use that one account, for a time they pick from 1 hour to Always. That approval covers reads and writes. On a database account each operation needs an approval at its level. A call above what the person has allowed so far answers with a link that allows that level on the same account, up to the login_level list_connectors shows for it. Find accounts with list_connectors and operations with describe_connector, which marks each operation read or write. - `credential` (string, required): The account's credential id, as list_connectors returns it. - `operation` (string, required): The operation, as describe_connector lists it for the provider, such as search_contacts. - `params` (object): The operation's parameters, as describe_connector gives them. - `describe_connector` (reads only): List a connector's operations, or pass operation for one operation's parameters and results. Each operation is marked read or write, with the call tool that runs it: call_connector_read or call_connector_write. - `provider` (string, required): Connector provider id, as list_connectors returns it. - `operation` (string): Optional. One operation's id, as this tool lists them, for its parameters and results. ##### Memories Find memory folders you can access and read, search or update their contents. - `list_memory_folders` (reads only): List the memory folders you can access. For each folder: its slug (the name task code uses for it, unique in the org), its parent_id when it is a subfolder, whether you can write to it, whether it is Searchable by AI (vector search with grep_memories works only then), whether writes need review, how many documents it holds, and the metadata keys its documents use. Keys with up to 10 short values list all of them, and any other key has an empty list. Use those keys to filter list_memories. - `query` (string): Optional words from the folder name. - `create_memory_folder`: Create a memory folder owned by you, private to you until you share it in qbash. Pass parent_folder_id to make it a subfolder of a folder you can write to. A subfolder takes only a name and uses its top-level folder's settings. For a top-level folder, set searchable_by_ai to turn on vector search with grep_memories and vector, and require_review to have a person accept every write. Both are set when the folder is made. Returns the folder id. - `name` (string, required): Folder name. - `description` (string): Optional. What the folder is for. - `parent_folder_id` (string): Optional. The id of the folder to create this one in, from list_memory_folders. Leave it out for a top-level folder. - `require_review` (boolean): Optional, top-level folders only. A person accepts every write before it lands. Off by default. - `searchable_by_ai` (boolean): Optional, top-level folders only. Turn on vector search for the folder. Off by default. - `list_memories` (reads only): List documents in one or more folders without their bodies: id, slug, name, metadata, version, updated_at and updated_by, with the total and a cursor for the next page. Rows carry folder_id when you name more than one folder or a row is in a subfolder. Pass keys to return only those metadata keys. Filter on metadata and sort by name, updated_at or a metadata key. Use read_memories for a document's content. - `folders` (array, required): Folders to look in, by id, slug or name, as list_memory_folders returns them. Names match without case. Subfolders are included. - `cursor` (string): next_cursor from the previous page. - `filter` (object): Optional metadata filter. Each key is a metadata key: a value matches equal values, a list matches any of them, {"gte": a, "lte": b} matches a range, and {"exists": true} matches documents that have the key. Text compares without case, and "11" matches 11. Use name or name_contains to match the document name. - `keys` (array): Optional. The metadata keys to return in each row. Defaults to all of them. - `limit` (integer): Rows per page, from 1 to 200. Defaults to 50. - `sort` (string): Optional. name, updated_at or a metadata key, with a leading - for descending. Defaults to -updated_at. - `grep_memories` (reads only): Like grep, across memory documents: finds the lines that contain pattern and returns them with their document id, slug, name and line number, never whole documents. The pattern is matched as written, words in order. Set words to all to match lines that have every word of pattern, in any order. Set regex for a regular expression. output names lists only matching documents, count only the totals. Line 0 rows match the document's name, file name or metadata, not its body, and their text starts with name:, file: or metadata:. Documents made from an uploaded file match on their name, file name and metadata. With vector set to true, pattern is what to find in your own words, and the call searches by similar meaning in folders that are Searchable by AI, returning each matching document with a short snippet and a score. - `pattern` (string, required): Text to find, or a regular expression with regex. With vector, what to find in your own words. - `context` (integer): Lines to show before and after each match, from 0 to 10. Defaults to 0. - `filter` (object): Optional metadata filter, as list_memories takes it. - `folders` (array): Optional. Folders to look in, by id, slug or name, as list_memory_folders returns them. Names match without case and subfolders are included. Leave out to search every memory folder you can access. With vector, only folders that are Searchable by AI are searched. - `ignore_case` (boolean): Match without case. On by default. - `limit` (integer): Most matches to return, from 1 to 500. Defaults to 50. With vector, most documents, from 1 to 50, defaulting to 10. - `output` (string): lines (default) for matching lines, names for matching documents, count for totals per document. One of `lines`, `names`, `count`. - `regex` (boolean): Treat pattern as a regular expression. Off by default. - `threshold` (number): Optional, with vector only. Lowest score to return, from 0 to 1. Defaults to 0.3. - `vector` (boolean): Vector search by meaning, in folders that are Searchable by AI. Off by default. Takes no regex, ignore_case, context, output or words. - `words` (string): phrase (default) matches pattern as written. all matches a line that has every word of pattern in any order. all takes no regex. One of `phrase`, `all`. - `read_memories` (reads only): Read documents by id or slug: content, metadata, version, when and by whom it was last changed, whether writes to it need review, and the id of your open review on it if there is one. A slug is unique in the organization and needs no folder, and task code reads a document by it (qbash.memories.get("todays-news-3f9a")). Pass version for an earlier version, and lines (such as 120-240) for part of a long document. Or pass folders and names to read by exact name. Names may repeat, so a name more than one document uses returns an error listing their slugs and ids. Read the one you want by either. - `folders` (array): With names: the folders to find them in. - `ids` (array): Document ids, up to 20. - `lines` (string): Optional. A line range such as 120-240. - `names` (array): With folders: exact document names. - `slugs` (array): Document slugs, up to 20, in place of ids or names. Needs no folders. - `version` (integer): Optional. An earlier version to read, as memory_history lists them. - `write_memories`: Create Markdown documents, several at once. Each one names its folder, a name, and content or an uploaded file. Every item creates a new document, and names may repeat. To change a document that exists, use edit_memories. Returns, for each document, its id, slug and version, or pending_review with a review_id when the folder needs review (the document is created once a person accepts it). A slug is the name and the first characters of the document's id, and stays the same through renames and moves. A metadata key the folder already uses in another case keeps the folder's spelling. - `docs` (array, required): Documents to create, up to 100. - `edit_memories`: Change documents, several at once. For each one pass its id, then edits (find and replace pairs, each old text found exactly once), or content to replace the whole body, and optionally metadata to merge (a null value removes the key) or a new name. Edits and metadata changes can leave out base_version, since each old text must still match the current body. Replacing content or renaming needs base_version (the version you read), and a document changed since then is not edited: the result gives its current version, so read it again. append adds text to the end of the body on a new line and needs no base_version. Where writes need review, the change is proposed for review, and a second edit while your review is open updates that review. While it is open, edits apply to your proposed version, so old text must match that version, which can differ from the text read_memories returns. read_memories gives open_review_id, and memory_history with to set to review: shows the proposed text. Set archived to true to archive a document, or false to restore it. Set folder to move a document to another folder or subfolder. Set withdraw_review to true, with nothing else, to withdraw your open review on the document. For a proposed new document, which has no id yet, pass review_id in place of id, with edits, content, append, metadata or name to change what it proposes (base_version does not apply), or with withdraw_review to withdraw it. A metadata key the document already has in another case keeps its spelling. - `edits` (array, required): Documents to change, up to 100. - `memory_history` (reads only): A document's versions: number, author, time and what changed. Pass from and to for a diff between two versions, or to as review: to compare an open review with the current version. - `id` (string, required): Document id. - `from` (integer): Optional. The older version to diff. - `limit` (integer): Versions to list, newest first, from 1 to 200. Defaults to 50. - `to` (string): Optional. The newer version, or review:. Defaults to the current version. - `memory_reviews` (reads only): Changes proposed to folders that need review. Without id, lists reviews (open ones by default, mine for only yours). With id, shows each proposed change as a diff, its status, and who reviewed it and when, a page at a time with total and next_cursor. Only a person accepts or rejects a review, in qbash. To withdraw your own, use edit_memories with withdraw_review. - `cursor` (string): With id, next_cursor from the previous page of changes. - `folders` (array): Optional. Only reviews in these folders. - `id` (string): Optional. One review's id, for its changes. - `limit` (integer): Without id, reviews per call, from 1 to 100, defaulting to 50. With id, changes per page, from 1 to 500, defaulting to 100. - `mine` (boolean): Only reviews you opened. - `status` (string): open (default), accepted, rejected, withdrawn or all. One of `open`, `accepted`, `rejected`, `withdrawn`, `all`. ##### Support Ask qbash a question, report a bug, or request a feature or integration. Someone from qbash replies. - `contact_qbash`: Contact the qbash team for support questions, bug reports, feature requests and integration requests. Use question when the docs don't answer something, bug when something in qbash is broken, feature for something qbash doesn't do yet, and integration for a product to connect that list_connectors doesn't find. Someone from qbash replies to the person. Never include secrets, tokens or credential values. - `details` (string, required): The full description. For a question or bug, what the person was doing, what they tried and any error text. For a feature or integration, why the person wants it and what it should do. Never include secrets, tokens or credential values. - `kind` (string, required): question for something the person needs answered, bug for something broken, feature for a change to qbash, integration for a product qbash should connect to. One of `question`, `bug`, `feature`, `integration`. - `summary` (string, required): One line: the question, the problem, or the feature or product to integrate with, such as Pipedrive. - `execution_id` (string): Optional, for a question or bug. The execution_id of the run this is about. - `task_id` (string): Optional, for a question or bug. The id of the task this is about. --- ## Official MCP server Source: https://qbash.com/docs/mcp-servers/official-mcp-server Add qbash to Claude, ChatGPT, Codex, Cursor or any other MCP client at one URL and sign in with your qbash account. Server URL: `https://mcp.qbash.com/mcp` - **Build tasks.** Hand over a written set of requirements, or a SPEC.md with tests, and the task builder writes a qbash task for you in Python, with [inline prompts](https://qbash.com/docs/tasks/prompts) at the steps that need AI judgement. Your agent can put it on a schedule or behind a webhook, and every save is a version you can go back to. - **Run tasks and read the results.** Run any deployed task you have access to, check its output and read its logs step by step. - **Use your connectors.** Call the tools you already use, such as Reddit, HubSpot or Slack, through the accounts you have connected in qbash. The [connectors directory](https://qbash.com/connectors) lists every one. - **Share memories across agents.** Claude Code, Codex and your other agents read and write the same [memory folders](https://qbash.com/docs/memories/overview), so notes from one session are there for the next one and for the rest of your team. ### Connect a client ##### ChatGPT 1. In ChatGPT, open Plugins in the left sidebar, click "Add", and choose "Add custom MCP server". 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the server URL, choose OAuth, and click "Create as a plugin". 3. Install the plugin from the Personal tab and complete the qbash sign-in. 4. In a new chat, type @ and pick the plugin by its name. Any personal plan can add one, including Free. In a Business, Enterprise or Edu workspace, if the option isn't there, talk to your workspace owner. [Full guide for ChatGPT](https://qbash.com/docs/clients/chatgpt) ##### claude.ai 1. In Claude, go to Customize > Connectors, click "+ Add", and choose "Add custom connector". On a Team or Enterprise plan, an Owner adds it for everyone under Organization settings > Connectors, and members then connect it. 2. Enter a name, paste `https://mcp.qbash.com/mcp` as the URL, and click "Continue". 3. Complete the qbash sign-in to authorize access. 4. In a chat, click the "+" button, choose "Connectors", and toggle the server on for that conversation. Custom connectors are available on Free (one connector), Pro, Max, Ultra, Team and Enterprise plans. [Full guide for Claude](https://qbash.com/docs/clients/claude) ##### Claude Code ```sh claude mcp add --transport http qbash https://mcp.qbash.com/mcp ``` Run this in your terminal, then inside Claude Code run /mcp, select the server, and complete the browser sign-in. [Full guide for Claude Code](https://qbash.com/docs/clients/claude-code) ##### Cursor In `~/.cursor/mcp.json`: ```json { "mcpServers": { "qbash": { "url": "https://mcp.qbash.com/mcp" } } } ``` Reload Cursor, then sign in with qbash when it prompts for authentication. [Full guide for Cursor](https://qbash.com/docs/clients/cursor) ##### VS Code In `.vscode/mcp.json`: ```json { "servers": { "qbash": { "type": "http", "url": "https://mcp.qbash.com/mcp" } } } ``` Start the server from the editor, then follow the browser sign-in prompt. [Full guide for VS Code](https://qbash.com/docs/clients/vscode) ##### Codex ```sh codex mcp add qbash --url https://mcp.qbash.com/mcp ``` Run this in your terminal, then run codex mcp login qbash and complete the qbash sign-in. The Codex CLI and IDE extension share this setup. For Codex in the ChatGPT app, add qbash as a ChatGPT plugin, the same as for ChatGPT. In `~/.codex/config.toml`: ```json [mcp_servers.qbash] url = "https://mcp.qbash.com/mcp" ``` Save the file, then run codex mcp login qbash and complete the qbash sign-in. [Full guide for Codex](https://qbash.com/docs/clients/codex) ##### Grok Bot 1. Open a Grok Bot chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Confirm the details and complete the qbash authorization flow presented by the Bot. [Full guide for Grok Bot](https://qbash.com/docs/clients/grok-bot) ##### dots 1. Open the dot and ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 2. Complete the qbash sign-in when the dot asks. 3. In a message inside the dot, type @ and pick the plugin by its name. Dots have the same plan and role limits as ChatGPT. A qbash plugin you already installed in ChatGPT works in the dot too. [Full guide for dots](https://qbash.com/docs/clients/chatgpt-dots) ##### Muse 1. Open a Muse chat. 2. Ask: “Add this MCP server: `https://mcp.qbash.com/mcp`” 3. Allow Muse to contact the server, choose "Connect" on the qbash card, and complete the qbash sign-in. [Full guide for Muse](https://qbash.com/docs/clients/muse) ##### Other 1. Add a remote MCP server in your client. If it asks for a transport, choose Streamable HTTP. 2. Paste the server URL: `https://mcp.qbash.com/mcp` 3. Choose OAuth when the client asks how to authenticate, then complete the qbash sign-in. [Full guide for other MCP clients](https://qbash.com/docs/clients/other) The first time a client signs in, qbash asks you to allow it. If you belong to more than one organization, you pick the one it uses there. In qbash, the **MCP Servers** page shows this setup under **Connect an app**, and the apps signed in as you under **Your apps**, where you can sign one out. [Connect an AI client](https://qbash.com/docs/clients/overview) has a guide for each client, including [dots](https://qbash.com/docs/clients/chatgpt-dots). A client that sends a header instead of signing in uses an access token. Create one on the same page and send it as `Authorization: Bearer `. Each token has your own access in that organization, the same as signing in, and you can revoke it there at any time. ### Connector approval The first time an agent calls `call_connector_read` or `call_connector_write` for one of your accounts, the result carries a link where you allow your apps on this server to use that account. You choose how long the approval lasts: 1 hour, 24 hours, 7 days, 30 days or Always. It covers reads and writes on that one account, from every app you connect to the official server. A custom server asks for its own approval. An approval ends when its time runs out or when you remove it. ### Editing memory documents `edit_memories` changes documents by id. Find-and-replace `edits` need no version. Each old text has to appear exactly once in the current body, and an edit whose text someone else has changed fails to match. `append` adds text to the end of the body on a new line and needs no version. Replacing the whole body with `content`, or renaming, needs `base_version`, the version the agent read. If the document has changed since then, nothing is edited and the result gives the current version to read again. In a folder that requires review, a write or edit opens a [review](https://qbash.com/docs/memories/reviewing-changes) for a person to accept in qbash. Writing or editing the same document again while your review is open updates that review, and its edits match against your proposed text. To withdraw it, call `edit_memories` with `withdraw_review: true` and the document id. A proposed new document has no id yet, so pass its `review_id` instead. `memory_reviews` with `mine: true` lists the reviews you have open. ### Dry runs `run_task` with `dry_run: true` runs the task's saved version with its writes held back. Connector writes, memory writes and web requests other than GET are not sent. A step that needs the result of a held-back write stops the run there. Reads, AI prompts and paid lookups still run and cost what they cost in a real run. A dry run needs the same access as a real one. `get_task_result` lists the held-back writes, each with the inputs it would have sent. Dry runs count as test runs, so they stay out of the task's run history. ### Custom servers A [custom server](https://qbash.com/docs/mcp-servers/overview) serves the tasks, connector accounts and memory folders you pick, under tool names and instructions you write, and you choose who in your organization can connect. Build one to give a team a fixed set of tools, to share a connector account without sharing its credentials, or to publish a task as a single tool. ### Tool reference Open a tool for an example call and its parameters. ##### Tasks Find, run, build and test tasks you can access, read their runs and change their triggers. - `list_tasks` (reads only): List tasks you can run, each with its latest run's status, a page at a time as columns and rows. Pass query to keep only tasks whose name or description contains it. Call read_task before reusing or revising one. - `cursor` (string): next_cursor from the previous page, for the page after it. - `limit` (integer): Rows per page. Default 50, max 200. - `query` (string): Words from the task name or description. - `run_task`: Start a production run of a task you may run. Returns execution_id for get_task_result and get_task_log. With dry_run, the run holds back connector writes, memory writes and web requests other than GET, and a step that needs a held-back write's result stops it there. Reads, AI prompts and paid lookups still run and cost what they cost in a real run, and get_task_result lists the held-back writes. A task set to confirm its runs starts only once the person checks the inputs and confirms: it answers with status awaiting_confirmation and a request_id instead. - `id_or_slug` (string, required): Task slug or id, or the task name in any case. - `dry_run` (boolean): Run the saved task with writes held back. Defaults to false. - `inputs` (object) - `build_task`: Build a new task with the task builder, starting from a message that says what to build, or from a SPEC.md contract and tests. A saved turn creates the task or saves its changes. An unchanged rejection, clarification or no-op can finish without saving. Returns session_id. Read progress with check_build. Call again with session_id and message to continue, or answer to reply to a question. The result of a saved turn carries the task_id. Start it without connecting accounts first: the build asks for each account it needs, with a connect_url that connects a new one, and saves a trigger that still needs a token or secret turned off. Each of those is listed in triggers_waiting_for_setup with a setup_url to give the person. When the person wants to connect an account without building a task, request_connector gets its link. Builder messages describe the Task Builder's available actions only. A task can use two accounts of one connector, such as two HubSpot portals: say so in the message and the builder asks for each. Check your own tools before reporting an action as unavailable. For a requested memory folder, use your own authorized folder-creation tool when available, then pass its id to the builder for attachment. Files the task reads go in its Package: put a public link to each file in the message and the builder downloads it there (up to 500 MB, private and internal addresses refused). A build can't take file bytes, so a file with no public link is uploaded by the person in the task editor. - `answer` (object): Reply to the builder's open question: gate_id from the question, and value. - `description` (string): Optional, for a new build. The task's saved description: what it does, shown with the task in qbash. When there is no message, the builder builds from it. - `message` (string): Your instruction to the builder for this turn: what to build in a new build, or what to change next in an existing session. - `name` (string): Task name for a new build. - `session_id` (string): Session id returned when the build started. - `spec` (string): SPEC.md contents. - `task_id` (string): Optional. The id of the task this build created. - `tests` (string): tests.py contents for a Python task. - `wait_seconds` (integer): Seconds to wait for the builder's turn to finish or ask a question before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `check_build` (reads only): Read the progress of a build_task or revise_task session, or the result of a run_tests job. Builder status reports completed, rejected, needs_clarification, no_change, partial, unknown or failed when the turn ends. Check draft_saved for persistence and diagnostics for a cause and next action. A saved result can list prompt_call_warnings: run_prompt or qbash.ai.raw calls in the script that would fail or pass the wrong thing, each with its file, line and fix. Continue the session to have the builder fix them. Pass session_id to wait for the builder's turn to finish or ask a question, answered as those tools do, or job_id to wait for the tests to finish and get their result. Call it right away again while the status is running. A running build's reply starts with a line on what the builder did during the check. A response with source task_builder describes the Task Builder's available actions only. Check your own tools before reporting an action as unavailable. - `job_id` (string): Job id run_tests returned. - `session_id` (string): Session id build_task or revise_task returned. - `task_id` (string): Optional. The task the session or job is for. Passed alone, it checks the newest build_task or revise_task session for that task. - `wait_seconds` (integer): Seconds to wait for the builder's turn or the tests to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `get_task_result` (reads only): Get the output of a task run. Pass task_id for its latest finished run, scheduled ones included, or execution_id for one run. With an execution_id from run_task, it waits for the run to finish before answering, so call it again right away while the run is still going. Pass a request_id from run_task as execution_id to wait for the person to confirm and then for the run. A long output comes in windows: pass output_offset for the next one. A run that failed answers with its error. - `execution_id` (string): Execution id of one run, such as one run_task returned. - `output_offset` (integer): Character offset into the output, for the next window of a long one. - `task_id` (string): Task id, for its latest finished run. - `wait_seconds` (integer): Seconds to wait for the run to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `get_task_log` (reads only): Get one task run's log: its status, revision, attempts, numbered step outline, errors and an output preview. Pass execution_id, or task_id and run for any recorded run. get_task_result has the full output. A request_id from run_task works as execution_id once the person confirms it. Pass after, the number of log lines you have already read (0 at first), to read the run's log lines past that point instead, while it runs or once it has finished. Pass steps to read step details instead: a page of steps with their inputs, results and ids, filtered by the # numbers from the outline, name, status or text. With steps.step_id and steps.field, it reads that step's full inputs or result a window at a time. Pass include_cost: true to read the saved provider-cost estimate in USD with coverage and pricing_basis. For saved cost per step, also pass steps.costs_only: true. Costs use standard provider rates, not customer charges. - `after` (integer): Number of log lines already read. Returns only the lines after them. - `attempt` (integer): Attempt number. - `execution_id` (string): Execution id, such as one run_task returned. - `include_cost` (boolean): Return the saved provider-cost estimate. Defaults to false. - `run` (string): Execution id, latest or latest_failed. Defaults to latest. - `steps` (object): Read step details instead of the summary. Pass {} for the first page of steps. - `task_id` (string): Task id for recorded history. - `wait_seconds` (integer): Seconds to wait for the run to finish before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `read_task` (reads only): Read one task: its inputs, triggers (each with its type, status, settings, whether it waits for setup, and the URL and auth scheme a sender calls), tests, latest run and the MCP servers that serve it. When you may edit it, also its script, its inline prompts with their text and settings (model, built-in tools such as web search, agent settings), its inline scripts, the names of its Package files (a script reads one with qbash.files.package("name"), and revise_task adds one from a public link) and its connectors, each with its handle and provider, plus the account name for the task's creator. A second account of one connector has its own handle (hubspot-2), which the script passes as credential= or in connectors=. Secrets are never returned. - `task_id` (string, required): Task id. - `list_task_runs` (reads only): List recent runs, newest first, from any trigger, such as schedules and MCP calls, a page at a time as columns and rows. Without task_id, lists the runs of every task you can edit, as the qbash Build home does, and the runs you started over MCP of tasks you can only run. Pass task_id to list one task's runs. If you can only run that task, you see the runs you started over MCP. Test runs and dry runs are left out. Inputs are shown only for runs you started. For a run's result and steps, pass its execution_id to get_task_result or get_task_log. - `cursor` (string): next_cursor from the previous page, for the page after it - `limit` (integer): Rows per page (default 10, max 50) - `status` (string): Only runs with this status One of `queued`, `running`, `awaiting_retry`, `waiting`, `terminating`, `cancelled`, `stopped`, `success`, `error`, `timeout`. - `task_id` (string): A task id, such as one list_tasks returns, to list only that task's runs - `revise_task`: Change an existing task with the task builder: its script, inline prompts and scripts, inputs, settings and triggers. Use it for every schedule or webhook change, such as adding, moving, pausing or removing a schedule. To add a file to the task's Package, put a public link to it in the message and the builder downloads it (up to 500 MB, private and internal addresses refused). It can also remove a Package file by name. A file with no public link is uploaded by the person in the task editor. It can add another account of a connector the task already uses, bound under the next handle (hubspot-2). Each turn saves its changes to the task when it ends. Returns session_id. Read progress with check_build. Call again with task_id, session_id and message to continue, or answer to reply to a question. Builder messages describe the Task Builder's available actions only. Check your own tools before reporting an action as unavailable. For a requested memory folder, use your own authorized folder-creation tool when available, then pass its id to the builder for attachment. - `task_id` (string, required): Task id. - `answer` (object): Reply to the builder's open question: gate_id from the question, and value. - `message` (string): Requested changes, or a follow-up message. - `session_id` (string): Session id returned when the revision started. - `wait_seconds` (integer): Seconds to wait for the builder's turn to finish or ask a question before answering. Defaults to the longest wait. Pass 0 to check without waiting. - `search_task_sdk` (reads only): Search the Task SDK reference, the qbash functions a task script calls, for reading or reasoning about a task's script. Returns up to 10 matching functions as rows of signature, summary and section, best match first. When query is one function's name, or function names one, the result also has that function's full entry. The function "Prompt settings" lists every inline prompt setting with its default and range, and how files reach a prompt. For a connector's operations and their parameters, call describe_connector. - `function` (string): One function's name, such as qbash.ai.run_prompt, for its full entry. - `query` (string): Words or a function name to find, such as run_prompt or memories search. - `list_requests` (reads only): List the requests from task runs that the person you act for can still answer, such as approvals. Returns a page of them as columns and rows, newest first, each with its request_id, title, body, details, choices and the task and run that sent it. The body is markdown unless body_format is "text", which shows it exactly as written. Details are labeled values such as an amount, some with a link. answer is "choice" for a request answered with one of its choices, or "send" for one with no choices, answered with its note or its fields. note says whether the request takes a note: "none" (leave it out), "optional" or "required". note_required_for lists the choices that need one, and note_label and note_placeholder are the request's words for it. fields, when not null, is a JSON Schema of the values the person fills in, with each field's title, default and allowed values. An answer with a choice in fields_skipped_for ignores them. Requests in other organizations are left out. To answer one with what the person told you, pass its request_id to answer_request when that tool is available. Otherwise the person answers it in qbash Activity. - `cursor` (string): next_cursor from the previous page, for the page after it. - `limit` (integer): Rows per page. Default 25, max 100. - `answer_request`: Answer a request a task run sent the person you act for, such as an approval, with the answer they gave you. Answer only with what they told you, and don't choose for them. list_requests, when that tool is available, lists the requests sent to them, with their ids and choices, and so does a waiting run's get_task_result. Otherwise they are listed in qbash Activity. Pass choice for a request with choices, or note for a request with no choices. For a request with fields, pass values by field name, with the values the person gave you. Send every required field without a default. A field you leave out takes its default. - `request_id` (string, required): The request's id, from list_requests (when available) or get_task_result, else from qbash Activity. - `choice` (string): One of the request's choices. - `note` (string): Text to add, at most 2000 characters. Required when the request's note is required or the choice is in note_required_for. Refused when note is none. - `values` (object): The request's field values by field name, as its fields schema describes. Null clears an optional field; leaving it out keeps its default. Ignored for a choice in fields_skipped_for. - `run_tests`: Start the task's tests, with calls to connected systems mocked. Returns job_id. Call check_build with job_id for the result. - `task_id` (string, required): Task id. - `prefill_custom_model` (reads only): For company admins: look up an OpenRouter, Hugging Face or DigitalOcean model qbash doesn't list in that gateway's public catalog, before adding it as a custom model with add_custom_model. Calls no model. Returns the settings qbash found in the catalog, the ones that are defaults the person must check, and the company's keys on the gateway. - `gateway` (string, required): The gateway the model comes from. One of `openrouter`, `huggingface`, `digitalocean`. - `model` (string, required): The gateway's own model id: "qwen/qwen3.8-27b" on OpenRouter, "Org/Model:provider" on Hugging Face (the provider is required), "kimi-k3" on DigitalOcean. - `add_custom_model`: For company admins: add a gateway model qbash doesn't list to the company, with the settings the person confirmed after prefill_custom_model, and turn it on for one key. Private to admins unless share_with_company is true. Returns the model_id a Task prompt uses. - `api_key_id` (string, required): The key to turn it on for, one of prefill_custom_model's api_keys. Its gateway is the model's. - `model` (string, required): upstream_model_id from prefill_custom_model. - `name` (string, required): The name people see in the model picker. - `settings` (object, required): The confirmed settings, the same keys prefill_custom_model returned: max_output_tokens (required), context_limit, structured_output, tools, reasoning_efforts, images, pdfs, input_per_million, output_per_million. - `share_with_company` (boolean): Let everyone in the company pick it. Defaults to false. ##### Connectors Find connectors and accounts, connect one, and look up and run their operations. - `list_connectors` (reads only): Find the person's apps and accounts in qbash, such as Gmail, Google Drive, Slack, HubSpot, GitHub, Reddit, Notion or a database, including apps this chat has no tool of its own for. Results come a page at a time as columns and rows. Connected apps come first, each with the person's accounts. An account's credential is the id call_connector_read and call_connector_write take, and describe_connector with the app's provider lists its operations. Without query or status, apps the person hasn't connected are listed by id only, with no link. A row with status not_connected or needs_reconnection, found by name with query or by that status, carries a connect_url, and request_connector gets the same link for one app. Connected rows carry none. Show the person that link to open. They connect the app in qbash themselves, so never ask them for keys or passwords. An account with allowed_here false needs the person to allow this app to use it, at its approval_url. A database account's login_level is what its login allows, and allowed_level is what this app is allowed to do with it so far. An account with status needs_reconnection is reconnected by its owner, at its reconnect_url when it is the person's own. With include_actions, each action is marked read or write, with the call tool that runs it. To build a task, call build_task directly: it asks for each account the task needs. - `cursor` (string): next_cursor from the previous page, for the page after it. - `include_actions` (boolean): Include each account's action names. Off by default. - `limit` (integer): Rows per page. Default 50, max 200. - `query` (string): Connector or account name to match. - `status` (string): Only connectors with this status. One of `connected`, `needs_reconnection`, `not_connected`. - `request_connector` (reads only): Get the link the person opens before you can use an app, such as Reddit. Call it when list_connectors shows a connector not_connected or needs_reconnection, or an account with allowed_here false. For an app not connected, connect_url opens its connect form in qbash. For one connected that this app is not allowed to use yet, status is needs_approval and approval_url opens the screen where the person allows it. Status needs_reconnection means only an account's owner can reconnect it, at reconnect_url when it is the person's own, and connect_url adds a new account. Status connected means call_connector_read and call_connector_write can use it now. Only the person can connect or allow it, in qbash, so never ask them for keys or passwords. - `provider` (string, required): Connector provider id or name, as list_connectors returns it, such as reddit. - `client` (string): Optional. The MCP client you are running in. The links carry it, so the qbash pages after connecting show that client's setup. One of `claude-code`, `codex`, `cursor`, `vscode`, `claude-ai`, `chatgpt`, `grok-bot`, `muse`, `other`. - `call_connector_read` (reads only): Run one read operation on one of your connected accounts, such as searching HubSpot contacts, and return its result. It runs operations whose side effect is read, and refuses a write. The first call for an account answers with a link where the person allows their apps on this MCP server to use that one account, for a time they pick from 1 hour to Always. That approval covers reads and writes. On a database account each operation needs an approval at its level. A call above what the person has allowed so far answers with a link that allows that level on the same account, up to the login_level list_connectors shows for it. Find accounts with list_connectors and operations with describe_connector, which marks each operation read or write. - `credential` (string, required): The account's credential id, as list_connectors returns it. - `operation` (string, required): The operation, as describe_connector lists it for the provider, such as search_contacts. - `params` (object): The operation's parameters, as describe_connector gives them. - `call_connector_write`: Run one write operation on one of your connected accounts, such as creating a HubSpot contact or sending a Slack message, and return its result. It runs operations whose side effect is write, and refuses a read. The first call for an account answers with a link where the person allows their apps on this MCP server to use that one account, for a time they pick from 1 hour to Always. That approval covers reads and writes. On a database account each operation needs an approval at its level. A call above what the person has allowed so far answers with a link that allows that level on the same account, up to the login_level list_connectors shows for it. Find accounts with list_connectors and operations with describe_connector, which marks each operation read or write. - `credential` (string, required): The account's credential id, as list_connectors returns it. - `operation` (string, required): The operation, as describe_connector lists it for the provider, such as search_contacts. - `params` (object): The operation's parameters, as describe_connector gives them. - `describe_connector` (reads only): List a connector's operations, or pass operation for one operation's parameters and results. Each operation is marked read or write, with the call tool that runs it: call_connector_read or call_connector_write. - `provider` (string, required): Connector provider id, as list_connectors returns it. - `operation` (string): Optional. One operation's id, as this tool lists them, for its parameters and results. ##### Memories Find memory folders you can access and read, search or update their contents. - `list_memory_folders` (reads only): List the memory folders you can access. For each folder: its slug (the name task code uses for it, unique in the org), its parent_id when it is a subfolder, whether you can write to it, whether it is Searchable by AI (vector search with grep_memories works only then), whether writes need review, how many documents it holds, and the metadata keys its documents use. Keys with up to 10 short values list all of them, and any other key has an empty list. Use those keys to filter list_memories. - `query` (string): Optional words from the folder name. - `create_memory_folder`: Create a memory folder owned by you, private to you until you share it in qbash. Pass parent_folder_id to make it a subfolder of a folder you can write to. A subfolder takes only a name and uses its top-level folder's settings. For a top-level folder, set searchable_by_ai to turn on vector search with grep_memories and vector, and require_review to have a person accept every write. Both are set when the folder is made. Returns the folder id. - `name` (string, required): Folder name. - `description` (string): Optional. What the folder is for. - `parent_folder_id` (string): Optional. The id of the folder to create this one in, from list_memory_folders. Leave it out for a top-level folder. - `require_review` (boolean): Optional, top-level folders only. A person accepts every write before it lands. Off by default. - `searchable_by_ai` (boolean): Optional, top-level folders only. Turn on vector search for the folder. Off by default. - `list_memories` (reads only): List documents in one or more folders without their bodies: id, slug, name, metadata, version, updated_at and updated_by, with the total and a cursor for the next page. Rows carry folder_id when you name more than one folder or a row is in a subfolder. Pass keys to return only those metadata keys. Filter on metadata and sort by name, updated_at or a metadata key. Use read_memories for a document's content. - `folders` (array, required): Folders to look in, by id, slug or name, as list_memory_folders returns them. Names match without case. Subfolders are included. - `cursor` (string): next_cursor from the previous page. - `filter` (object): Optional metadata filter. Each key is a metadata key: a value matches equal values, a list matches any of them, {"gte": a, "lte": b} matches a range, and {"exists": true} matches documents that have the key. Text compares without case, and "11" matches 11. Use name or name_contains to match the document name. - `keys` (array): Optional. The metadata keys to return in each row. Defaults to all of them. - `limit` (integer): Rows per page, from 1 to 200. Defaults to 50. - `sort` (string): Optional. name, updated_at or a metadata key, with a leading - for descending. Defaults to -updated_at. - `grep_memories` (reads only): Like grep, across memory documents: finds the lines that contain pattern and returns them with their document id, slug, name and line number, never whole documents. The pattern is matched as written, words in order. Set words to all to match lines that have every word of pattern, in any order. Set regex for a regular expression. output names lists only matching documents, count only the totals. Line 0 rows match the document's name, file name or metadata, not its body, and their text starts with name:, file: or metadata:. Documents made from an uploaded file match on their name, file name and metadata. With vector set to true, pattern is what to find in your own words, and the call searches by similar meaning in folders that are Searchable by AI, returning each matching document with a short snippet and a score. - `pattern` (string, required): Text to find, or a regular expression with regex. With vector, what to find in your own words. - `context` (integer): Lines to show before and after each match, from 0 to 10. Defaults to 0. - `filter` (object): Optional metadata filter, as list_memories takes it. - `folders` (array): Optional. Folders to look in, by id, slug or name, as list_memory_folders returns them. Names match without case and subfolders are included. Leave out to search every memory folder you can access. With vector, only folders that are Searchable by AI are searched. - `ignore_case` (boolean): Match without case. On by default. - `limit` (integer): Most matches to return, from 1 to 500. Defaults to 50. With vector, most documents, from 1 to 50, defaulting to 10. - `output` (string): lines (default) for matching lines, names for matching documents, count for totals per document. One of `lines`, `names`, `count`. - `regex` (boolean): Treat pattern as a regular expression. Off by default. - `threshold` (number): Optional, with vector only. Lowest score to return, from 0 to 1. Defaults to 0.3. - `vector` (boolean): Vector search by meaning, in folders that are Searchable by AI. Off by default. Takes no regex, ignore_case, context, output or words. - `words` (string): phrase (default) matches pattern as written. all matches a line that has every word of pattern in any order. all takes no regex. One of `phrase`, `all`. - `read_memories` (reads only): Read documents by id or slug: content, metadata, version, when and by whom it was last changed, whether writes to it need review, and the id of your open review on it if there is one. A slug is unique in the organization and needs no folder, and task code reads a document by it (qbash.memories.get("todays-news-3f9a")). Pass version for an earlier version, and lines (such as 120-240) for part of a long document. Or pass folders and names to read by exact name. Names may repeat, so a name more than one document uses returns an error listing their slugs and ids. Read the one you want by either. - `folders` (array): With names: the folders to find them in. - `ids` (array): Document ids, up to 20. - `lines` (string): Optional. A line range such as 120-240. - `names` (array): With folders: exact document names. - `slugs` (array): Document slugs, up to 20, in place of ids or names. Needs no folders. - `version` (integer): Optional. An earlier version to read, as memory_history lists them. - `write_memories`: Create Markdown documents, several at once. Each one names its folder, a name, and content or an uploaded file. Every item creates a new document, and names may repeat. To change a document that exists, use edit_memories. Returns, for each document, its id, slug and version, or pending_review with a review_id when the folder needs review (the document is created once a person accepts it). A slug is the name and the first characters of the document's id, and stays the same through renames and moves. A metadata key the folder already uses in another case keeps the folder's spelling. - `docs` (array, required): Documents to create, up to 100. - `edit_memories`: Change documents, several at once. For each one pass its id, then edits (find and replace pairs, each old text found exactly once), or content to replace the whole body, and optionally metadata to merge (a null value removes the key) or a new name. Edits and metadata changes can leave out base_version, since each old text must still match the current body. Replacing content or renaming needs base_version (the version you read), and a document changed since then is not edited: the result gives its current version, so read it again. append adds text to the end of the body on a new line and needs no base_version. Where writes need review, the change is proposed for review, and a second edit while your review is open updates that review. While it is open, edits apply to your proposed version, so old text must match that version, which can differ from the text read_memories returns. read_memories gives open_review_id, and memory_history with to set to review: shows the proposed text. Set archived to true to archive a document, or false to restore it. Set folder to move a document to another folder or subfolder. Set withdraw_review to true, with nothing else, to withdraw your open review on the document. For a proposed new document, which has no id yet, pass review_id in place of id, with edits, content, append, metadata or name to change what it proposes (base_version does not apply), or with withdraw_review to withdraw it. A metadata key the document already has in another case keeps its spelling. - `edits` (array, required): Documents to change, up to 100. - `memory_history` (reads only): A document's versions: number, author, time and what changed. Pass from and to for a diff between two versions, or to as review: to compare an open review with the current version. - `id` (string, required): Document id. - `from` (integer): Optional. The older version to diff. - `limit` (integer): Versions to list, newest first, from 1 to 200. Defaults to 50. - `to` (string): Optional. The newer version, or review:. Defaults to the current version. - `memory_reviews` (reads only): Changes proposed to folders that need review. Without id, lists reviews (open ones by default, mine for only yours). With id, shows each proposed change as a diff, its status, and who reviewed it and when, a page at a time with total and next_cursor. Only a person accepts or rejects a review, in qbash. To withdraw your own, use edit_memories with withdraw_review. - `cursor` (string): With id, next_cursor from the previous page of changes. - `folders` (array): Optional. Only reviews in these folders. - `id` (string): Optional. One review's id, for its changes. - `limit` (integer): Without id, reviews per call, from 1 to 100, defaulting to 50. With id, changes per page, from 1 to 500, defaulting to 100. - `mine` (boolean): Only reviews you opened. - `status` (string): open (default), accepted, rejected, withdrawn or all. One of `open`, `accepted`, `rejected`, `withdrawn`, `all`. ##### Support Ask qbash a question, report a bug, or request a feature or integration. Someone from qbash replies. - `contact_qbash`: Contact the qbash team for support questions, bug reports, feature requests and integration requests. Use question when the docs don't answer something, bug when something in qbash is broken, feature for something qbash doesn't do yet, and integration for a product to connect that list_connectors doesn't find. Someone from qbash replies to the person. Never include secrets, tokens or credential values. - `details` (string, required): The full description. For a question or bug, what the person was doing, what they tried and any error text. For a feature or integration, why the person wants it and what it should do. Never include secrets, tokens or credential values. - `kind` (string, required): question for something the person needs answered, bug for something broken, feature for a change to qbash, integration for a product qbash should connect to. One of `question`, `bug`, `feature`, `integration`. - `summary` (string, required): One line: the question, the problem, or the feature or product to integrate with, such as Pipedrive. - `execution_id` (string): Optional, for a question or bug. The execution_id of the run this is about. - `task_id` (string): Optional, for a question or bug. The id of the task this is about. --- ## MCP Servers Source: https://qbash.com/docs/mcp-servers/overview A qbash MCP server is a remote MCP server that qbash hosts for you. You choose the Tasks, connector tools and memory folders it exposes, and each teammate connects it to ChatGPT, Claude, Grok Bot, Muse, Codex, Claude Code, Cursor or VS Code by signing in with their own qbash account. An application you build that supports MCP can connect to it too. You use one to give a team the same set of tools in every AI client. Several agents can share research, a team can reach a connector from different coding assistants, and a Task whose workflow you've already written in Python becomes a tool that anyone on the server can call. These can all live on one server. qbash runs the tools in the cloud, so there is no server to install or maintain on each person's computer. To use qbash from a client without building a server first, connect the [official qbash MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server). It serves your tasks, memories and the task builder at one URL. MCP (Model Context Protocol) is how those applications discover and call the tools. It is one way to distribute a task. Tasks can also run through [APIs, schedules, and triggers](https://qbash.com/docs/tasks/distribution) without an MCP client. ### Creating a server Open **MCP Servers → New server** and give the server a name, such as *Research tools*. qbash suggests a URL slug based on the name and shows the full address you'll use when connecting an application. Choose **Add tools**. Search or filter for the tasks, memory folders, and connector accounts you want to include. You can select several of each; there is no need to create a separate server for every connector or task. ![The Add tools step with a company-summary task selected and filters for Tasks, Memories, Connectors, and qbash tools](https://qbash.com/img/docs/mcp-servers/mcp-server-add-tools.jpg) #### Memory folders A [memory folder](https://qbash.com/docs/memories/overview) is a collection of documents that agents and people can share. Research saved by an agent in Claude Code can be read later in Codex or ChatGPT. A team can use the same folder for shared notes, runbooks, or instructions instead of keeping a separate copy in each application. Include read tools when the folder should be reference material. Include write tools when agents should also contribute documents or update them. You choose those tools on the **Review** step. If the folder has **Searchable by AI** enabled, its semantic search tools are available too. #### Tasks A [task](https://qbash.com/docs/tasks/task-editor) lets you distribute an automation you've written in Python, with prompts or agents used where the work needs AI. The calling assistant supplies the task's inputs; qbash runs the code and returns the value from `qbash.output(...)`. The assistant doesn't have to work out the process again on every request. For example, a task could research a company, prepare a report, or draft a LinkedIn post from supplied notes. The same task can be called from a chat application, a coding assistant, or another agent. Tasks are also useful for giving an agent a controlled way to use a connector. You could write a task that searches Gmail and returns relevant messages, then expose only that task. The caller can use your search workflow without receiving Gmail's send or delete tools. The task uses its attached Gmail connection directly, so you don't need to add the Gmail connector to the server as well. The same pattern works for an API of your own that needs a key. [Call your internal API from ChatGPT, Claude and Cursor](https://qbash.com/docs/tasks/call-internal-api-from-ai-tools) wraps the API call in a task and keeps the key in a Secret. #### Connector tools Adding a [connector](https://qbash.com/docs/features/mcp-connectors) lets the receiving assistant call that service directly - for example, look up issues in Linear or retrieve market data from Massive. Select the connected account you want the server to use. If you haven't connected it yet, **Add credential** opens the connector's setup. The connection stays in qbash, so your team can use its tools from different applications without copying the provider's credentials into each one. On **Review**, you can turn individual operations on or off. Use a connector directly when the assistant should choose the calls; wrap it in a task when you want your code to control the sequence, validate inputs, or limit what is returned. #### qbash tools The picker also includes general **qbash tools** for **Memories**, **Connectors**, **Tasks**, and **File Reader**. These let an assistant work with qbash itself: find available tasks, build and test them, work with memory documents, or read files returned by a task. These tools use the connecting person's own qbash access. That differs from adding a specific memory folder or connector account for the server's users to share. ### Reviewing tools and instructions Choose **Review** to see everything you've selected. Expand a memory folder or connector to inspect its tools. **Read** selects its read tools, **Write** selects its write tools, and the individual switches let you make a more specific selection. For a research server, you might allow reading notes and looking up issues without allowing either to be changed. ![The Review step with a memory folder expanded, read tools enabled, and create and update tools switched off](https://qbash.com/img/docs/mcp-servers/mcp-server-tool-access.jpg) Tool names and descriptions are what the receiving assistant uses to decide which tool to call. You can edit them here without renaming the original task or connector. Prefixes help distinguish tools when you include more than one account or folder with similar operations, such as [two Gmail accounts on one server](https://qbash.com/start/multiple-accounts). **Instructions** gives the assistant context for using the tools together. You could explain which task produces a company summary, which folder holds shared research, and when to look up an issue. Instructions guide the assistant; the enabled tools and their permissions control what it can actually do. ![The Review step combining a company-summary task, an Engineering notes folder, and a Linear connector, with instructions for using them together](https://qbash.com/img/docs/mcp-servers/mcp-server-review.jpg) Choose **Create server** when you're ready. You can return to the **Package** tab to add or remove sources, change tool access, or edit the instructions. These changes apply to the live server; a connected application may need to refresh its tools or reconnect to see them. **Preview** on the Package tab shows the tool names, descriptions, and inputs an application receives. It also has a JSON view for checking the tool definitions. The preview is built for your account; general qbash tools may expose different resources to someone with different access. ### Connecting applications Open **Connect** and choose the application you want to use. The tab provides client-specific instructions, install links, or configuration with your server address already filled in. **Other** covers clients without a dedicated setup option, including applications you build yourself. ![The Connect panel with chat and coding clients, showing the Add to Cursor option and OAuth sign-in guidance](https://qbash.com/img/docs/mcp-servers/mcp-server-connect-clients.jpg) With **OAuth**, each person signs in to qbash and authorizes the connection from their application. They need access to the server, which you manage on **Access**. They can connect that same server to several applications; there is no need to create a copy for each client. For clients or scripts that use an **access token**, create one on **Connect** and use the setup shown there. The value is only shown when it is created. A token is limited to this server, acts as the person who created it, and stops working if that person's access is removed. Keep it private rather than sharing one person's token with the whole team. Once connected, ask the assistant for something the server can do. In the [Grok Bot walkthrough](https://qbash.com/blog/grok-bot-mcp-server-with-qbash), Alex first asks for market data from a Massive connector, then asks the assistant to pass that data to a task that drafts a LinkedIn post. The connector and task are on the same server, and the same tools can be used from another supported application. ### Sharing with your team On **Access**, keep the server **Private** for yourself and individually invited users, or select **Organization** so anyone in your qbash organization can connect. Individual shares can grant **Can connect** or **Can connect and edit**; the latter also allows changes to the server's tools and instructions. Sharing a server grants access to the operations you've included. A selected connector account or memory folder uses the access of the person who added it, limited to the enabled tools. For example, enabling a folder's write tools lets the server's users update it through their assistants. They don't receive the connector credentials or permission to edit the underlying task code just because they can call its tool. If the person who added a folder or connector loses the necessary access, that source stops serving tools. A connector that needs reauthentication must be reconnected before it can be used again. General **qbash tools** continue to use each caller's own permissions. People can revoke their own tokens on **Connect**. Server managers can review and revoke tokens across the server on **Access**. ### Logs and settings **Logs** shows who called each tool, when it ran, how long it took, and whether it succeeded. Filter by caller, tool, or status, then expand a call for its argument names, response size, authentication method, and any error. The server log does not store argument values or response contents. For task calls, **View run** opens the task's own run history, where the available detail depends on its [data logging setting](https://qbash.com/docs/tasks/task-editor#data-logging). A longer task or connector call may return an execution ID while it continues running. The client can use the server's status tool to retrieve the result. This is separate from a failed call; the [protocol reference](https://qbash.com/docs/mcp-servers/overview#long-running-calls) covers it for custom clients. **Settings** lets you change the server's URL slug. Existing clients will need the new address if you change it. Deleting the server disconnects its clients and invalidates its tokens, but leaves the tasks, memory folders, and connector accounts themselves in place. ### FAQ #### What's the easiest way to host a remote MCP server and share it with my team? Create the server in qbash under **MCP Servers → New server**, add the Tasks, connector tools and memory folders it should expose, and set **Access** to **Organization** or invite people one at a time. qbash hosts the server at an `https://mcp.qbash.com` address, so there is no server for you to deploy or keep running. #### How do I share an MCP server without pasting one API key into everyone's config? Each person connects with OAuth and signs in with their own qbash account. The connector accounts on the server stay in qbash, and the people who use the server never receive those credentials. A connector account that you add to a server is shared by everyone who can connect to it, limited to the tools you enabled. The **Logs** tab shows who called each tool. #### How do I connect two Gmail accounts to Claude at the same time? Connect each Gmail account in qbash as its own connection, then add both to one server. Each account gets its own tools, and a prefix on the tool names tells the assistant which inbox it is using. [Use several accounts for the same service](https://qbash.com/start/multiple-accounts) walks through it. #### My AI client allows only one custom connector. Can one server cover several tools? One qbash MCP server can hold several connectors, Tasks and memory folders, so a single custom connector in the client reaches all of them. The client's plan and organization policy still decide whether you can add a custom connector at all. #### Which AI clients can connect to a qbash MCP server? The **Connect** tab has setup for ChatGPT, Claude, Grok Bot, Muse, Claude Code, Cursor, VS Code and Codex. **Other** covers any client that supports remote MCP servers over Streamable HTTP, with OAuth or an access token. ### Protocol reference If you're writing your own MCP client, use these details to authenticate, discover tools, and handle longer calls. For a supported application, use the setup on **Connect**. Custom client protocol details #### Endpoint and authentication Use the exact address shown on **Connect**. A hosted server has an endpoint in this form: ```text https://mcp.qbash.com/mcp/execution/ ``` The endpoint uses Streamable HTTP with JSON-RPC 2.0. Send `Content-Type: application/json` and `Accept: application/json, text/event-stream`. Negotiate the protocol version with `initialize`, honor the returned capabilities, send `notifications/initialized`, and then discover tools with `tools/list`. For OAuth 2.1, an unauthenticated request returns a `401` challenge pointing to protected-resource metadata at `/.well-known/oauth-protected-resource/mcp/execution/`. Follow the authorization-server metadata returned by discovery and request the `mcp:tools:call` scope. OAuth calls are attributed to the signed-in qbash user. A server access token uses `Authorization: Bearer ` and acts as its issuing user. It is restricted to that server and stops working when revoked. A qbash password or a provider credential is not an MCP access token. #### Tools and results `tools/list` returns the currently available tools with unique names of at most 64 characters, descriptions, and JSON Schema `inputSchema` definitions. Known read-only tools include the `readOnlyHint` annotation. Refresh the list after package or access changes and use the names and schemas it returns. Call a tool with its advertised name and an arguments object: ```json { "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "prepare_account_brief", "arguments": {"account_id": "acct_123"} } } ``` Results contain an MCP `content` array of text blocks. A tool failure uses the same result shape with `isError: true` and an explanatory text block. Authentication and transport failures use HTTP status codes. #### Long-running calls Task and connector calls wait for approximately 45 seconds before returning an active execution. The text result contains JSON such as: ```json { "status": "running", "execution_id": "", "elapsed_seconds": 45, "next": "Call check_task_status with this execution_id for the result..." } ``` `check_task_status` is available on servers with Tasks or connector tools. Each call waits for the run to finish and returns the output as soon as it completes. If the run is still active when the wait ends, it returns status, elapsed time and log-line count. The wait is 45 seconds, and it ends early when the same client has another call waiting. Pass `wait_seconds` to wait less, or `0` to check without waiting. For Task runs, `get_task_logs` returns `qbash.log` lines; pass `execution_id` and an optional non-negative `after` line count to retrieve only new lines. Connector calls do not produce Task logs. Task status and log requests must refer to a Task exposed by that server and are subject to retention settings. A connector call's result is available only to the caller who started it on that server. #### Server guide When `read_server_guide` is advertised, call it before the package tools. Its result includes a `guide_token`; supply that value wherever the advertised input schema requires it. Editing the guide invalidates the previous token. If a call reports an invalid guide token, read the guide again before retrying. The built-in names `read_server_guide`, `check_task_status`, and `get_task_logs` are reserved. #### HTTP errors | Status | Meaning | |---|---| | `401` | Authentication is missing or invalid, or the user cannot access the server. Inspect `WWW-Authenticate` for OAuth discovery. | | `403` | The OAuth token lacks `mcp:tools:call`, or the server address does not match the server authorized for the credential. | | `404` | The endpoint or server slug does not exist. | | `503` | The transport is temporarily unavailable. Retry with backoff. | --- ## Using memories Source: https://qbash.com/docs/memories/overview Memories give people, tasks, and agents a shared place to keep knowledge. A task can save its results, Claude can consult your team's documentation, and several Claude Code users can contribute to the same project notes. The documents live in qbash, where you can edit them and review their history. There are two main uses for a memory folder: 1. **Collaborative documents.** A collection of Markdown documents that people, tasks, and agents in tools such as Claude Code, Codex, or Grok Bot can read and update. Use it to share context, maintain contact notes, or continue work started in another session or application. 2. **Searchable knowledge.** A collection of Markdown documents and uploaded files, including PDFs, PowerPoint presentations, and Excel spreadsheets. Enabling RAG turns their contents into a knowledge base that agents and tasks can search for relevant passages. Both start with the same folder. Enabling RAG adds search by meaning; the documents can still be read and updated directly. [Distribution](https://qbash.com/docs/memories/mcp-server) covers using a folder with AI applications through MCP, sharing work between agent sessions, and reading or writing memories from a task. ### Folders and documents Open **Memories** and choose **New Folder**. Give it a name, such as **Engineering notes** or **Support knowledge**. The optional **Searchable by AI** setting enables RAG; you can leave it off and enable it later. ![The New Folder form with Engineering notes entered, Searchable by AI switched off, and Cancel and Create Folder buttons](https://qbash.com/docs-images/memories/new-memory-folder.jpg) Inside the folder, **New Document → Write a Document** opens the Markdown editor. **Upload Files** adds existing files, preserving the originals and extracting their text. Each uploaded file becomes a document in the folder. Tasks and agents can also create documents, so the collection can grow as they work. A document has a name, content, and optional metadata. Metadata gives you a way to find related documents later - for example, all notes with `account: acme` or all reports with `report_type: weekly`. The SDK and memory tools sometimes call a document a *record*; its ID identifies that document even if its name changes. **New Subfolder** organizes a larger collection. The root folder's **Search Scope** settings control which subfolders are included in its search. Archived documents are hidden from the file list by default; **Show archived** reveals them. ### Enabling RAG RAG - retrieval-augmented generation - lets an agent find relevant material from your documents and use it when answering. A support agent, for example, could find your duplicate-billing policy and a related resolution without reading every file in the folder. Search matches meaning, so the question does not need to use the document's exact wording. Enable **Searchable by AI** when creating the folder, or open its **Settings**, turn the setting on, and choose **Save**. qbash queues the existing documents for indexing and keeps the index updated as documents are added or accepted changes are published. ![Searchable by AI switched on in the folder settings, ready to save](https://qbash.com/docs-images/memories/memory-searchable-by-ai.jpg) qbash extracts text from uploaded files and indexes the documents as searchable passages. You can inspect the indexed content in a document's **Chunks** tab. The folder's optional **Vector Description** supplies context during indexing; an individual document's **Search Summary** can provide focused text for its search index. Indexing runs in the background. Published Markdown can be read immediately, while uploaded files first need text extraction. Semantic search may briefly return an older accepted passage after an edit. Pending review proposals are not indexed. Check the document's processing status if expected content is missing. Enabling RAG does not automatically load the folder into every conversation. An agent uses its memory search tools, or a task calls `qbash.memories.vector_search(...)`, to retrieve context when it needs it. Exact lookup and ordinary keyword search also remain available. See [reading and searching from a task](https://qbash.com/docs/memories/mcp-server#reading-and-searching) and the [memory tools](https://qbash.com/docs/memories/mcp-server#memory-tools). ### Version history and review qbash keeps a version history of published document changes. Open **Versions** on a document to see who changed it, read an earlier version, or compare edits. For material such as shared runbooks or policies, you can optionally require acceptance before an update is published. People, tasks, and agents then submit pull requests while readers continue receiving the last approved version. [Reviewing PRs](https://qbash.com/docs/memories/reviewing-changes) explains the folder policy, individual document overrides, and reviewing a proposal. --- ## Distribution Source: https://qbash.com/docs/memories/mcp-server A memory folder can be used by several applications, agents, and tasks at once. A task might save campaign results that an analyst reads in Claude, or a developer might leave investigation notes for the next Claude Code session. Each works with the documents stored in qbash, rather than a separate copy for each application. ### MCP and AI applications Add the folder to an [MCP server](https://qbash.com/docs/mcp-servers/overview) to use it from Claude, ChatGPT, Grok Bot, Claude Code, Codex, Cursor, or another MCP client. Choose which [memory tools](https://qbash.com/docs/memories/mcp-server#memory-tools) to include: a reference library might need only reading and search, while a shared working folder also needs tools to create and update documents. The same server can include tasks and connector tools. The [MCP server guide](https://qbash.com/docs/mcp-servers/overview#package) covers adding a folder, selecting its tools, and connecting your applications. You do not need RAG enabled to retrieve known documents or save notes. Enable it when you want agents to run vector search on the folder. ### Using memories with agents An agent can use memories as shared reference material and as a record of its work. Connecting the folder makes its tools available, but the agent still needs to know when to read or update a document. It does not automatically synchronize conversation transcripts or load every document into each session. #### Session handoffs Give ongoing work a stable document name, such as **Checkout incident investigation**. Ask the agent to read it before continuing and update it at useful checkpoints. For example, include this in the agent's instructions: ```text Before investigating checkout errors, read "Checkout incident investigation" from the Engineering memory tools. Check the date, affected release, and evidence before relying on earlier findings. After a test run or a useful finding, update the same document with the current conclusion, evidence, unresolved questions, and next action. Preserve relevant findings from other contributors. If the write needs review, report that it is pending rather than saying it is published. ``` A short handoff document is often enough: ```markdown # Checkout incident investigation Updated: Release or commit: ## Current finding ## Evidence ## Next action ## Changes since the last update ``` The agent can use `read_memories` to read the document by name or id, or `list_memories` to browse. To change part of it, `edit_memories` takes find-and-replace `edits`. Each old text must appear exactly once in the current document, so changes another contributor made elsewhere stay in place. To add to the end, `append` puts the text on a new line and needs no version. Replacing the whole body needs `base_version`, the version the agent read. If the document has changed since then, the edit is refused with the current version, and the agent reads it again. The document id keeps updates attached to the same document even if its name changes. For related runbooks or past incidents, [enable RAG](https://qbash.com/docs/memories/overview#enabling-rag) and include `grep_memories` on the server. With `vector: true`, it searches the handoff documents by meaning once they are indexed. If the folder requires review, a write opens a review instead of publishing. The result says `pending_review` and gives a `review_id`. Readers keep receiving accepted content until a person accepts the change. Writing or editing the same document again while that review is open updates it. `memory_reviews` with `mine: true` lists the agent's open reviews, and `edit_memories` with `withdraw_review: true` withdraws one. See [Task and agent writes](https://qbash.com/docs/memories/reviewing-changes#task-and-agent-writes). ### Using memories in tasks In the task editor, choose **Add memory folder** from the Package **+** menu and attach a folder. Enable **Read-only** for reference material, or allow writes when the task needs to save results. Save the task to keep the attachment. Name the attached folder by its slug in `folder=`. qbash makes the slug when the folder is created, from the folder's name and the first 4 characters of its ID, such as `reporting-7c2e` for **Reporting**, and keeps it when the folder is renamed. A task attaches top-level folders, and a subfolder of an attached folder works in `folder=` by its own slug, such as `archive-d93b` for **Archive** in **Reporting**. The slug is on the folder's settings page and in the task editor. Older scripts pass the folder's name, which still works when no slug matches. A document gets its own slug the same way, such as `metric-definitions-a41f` for **Metric definitions**, and keeps it when it is renamed or moved. Read a document by its slug with no `folder=`. In the rare case another folder or document already has a slug, the new one takes more characters of its ID. For example, create a **Reporting** folder containing a **Metric definitions** document, then attach it to a task with `figures` and `week` inputs. The task can read the definitions and earlier reports, write this week's report, and save it for future runs: ```python title="main.py" definitions = qbash.memories.get("metric-definitions-a41f") previous_reports = qbash.memories.query( metadata={"report_type": "weekly"}, folder="reporting-7c2e", ) report = qbash.ai.raw( f"Write this week's report using these metric definitions:\n" f"{definitions['content']}\n\n" f"Previous reports:\n{previous_reports}\n\n" f"This week's figures:\n{qbash.inputs.get('figures')}" ) result = qbash.memories.store( name=f"Weekly report - {qbash.inputs.get('week')}", content=report, metadata={"report_type": "weekly"}, folder="reporting-7c2e", ) if result.get("status") == "pending_review": print("Report submitted for review:", result["pull_request_id"]) ``` `store` creates a new document on every call and returns its `slug`, and `update` changes an existing one by ID. Use `update` when maintaining the same document between runs. `store(file=...)` accepts a qbash file reference instead of Markdown content. To let a prompt read and search the folder itself, pass it in the call with `memory=`, as in `qbash.ai.run_prompt("weekly-report", {...}, memory=[qbash.memories.folder("reporting-7c2e")])`. See [Prompts](https://qbash.com/docs/tasks/prompts#passing-resources). A memory-folder input can supply `folder_id=` at runtime when each person running the task should choose their own folder. Use either `folder` or `folder_id`, not both. Full signatures and response fields are in the [SDK reference](https://qbash.com/docs/tasks/sdk-reference#module-memories). The task's bundled Markdown files are separate from shared memory folders. A read without a folder targets those files. Writes require an explicit folder. #### Reading and searching Use the method that matches what you know about the document: | What you know | Task SDK | Result | |---|---|---| | Its slug | `qbash.memories.get(slug)` | One document and its content | | Its metadata | `qbash.memories.query(metadata={...}, folder=...)` | Documents matching every supplied field | | A word or phrase | `qbash.memories.search(query, folder=...)` | Whole documents matching the keyword | | The subject or question | `qbash.memories.vector_search(query, folder=...)` | Relevant chunks with similarity scores | Exact lookup, metadata filters, listing, and keyword search work without RAG enabled. Metadata filters compare exact values and types. Keyword search covers names, metadata, attached filenames, and Markdown bodies. Use semantic search to find passages in uploaded files. For example, attach **Support knowledge** with **Searchable by AI** enabled, then retrieve passages to supply to a prompt: ```python context = qbash.memories.vector_search( query="How do we handle duplicate billing?", folder="support-knowledge", limit=5, ) ``` Semantic search returns chunks, so several matches may come from the same document. Start with the default similarity threshold and retrieve the source document when a passage needs more context. ### Memory tools On a custom server, a memory folder's tools are limited to that folder, so calls don't name a folder. The server's owner chooses which tools to include and can rename them. Use the names and argument schemas shown in the connected client's tool list. The [official MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server) serves the same tools for every folder you can access, and there each call names its folders. | Tool | Arguments and result | |---|---| | `list_memories` | Lists documents without their bodies: id, name, metadata, version, and when and by whom each was last changed. Filter on metadata with a value, a list of values, a range, or whether a key exists. Sort by name, `updated_at`, or a metadata key. Results come a page at a time, with `limit` and `cursor`. | | `grep_memories` | Returns the lines that contain `pattern`, with each document's id, name, and line number. Set `regex` for a regular expression, `context` for surrounding lines, or `output` to `names` or `count`. In a folder with **Searchable by AI** enabled, `vector: true` treats `pattern` as a question or topic and returns matching documents with a snippet and a score. | | `read_memories` | Reads up to 20 documents by id, or by exact name. Returns content, metadata, `version`, and `open_review_id` when you have a review open on it. Pass `version` for an earlier version, or `lines` (such as `120-240`) for part of a long document. | | `write_memories` | Creates up to 100 Markdown documents, each with a name not already used in the folder. Returns each document's id and version, or `pending_review` with a `review_id` when the folder requires review. | | `edit_memories` | Changes up to 100 documents by id with find-and-replace `edits`, a new `content` body, text to `append` on a new line, `metadata` to merge (a null value removes a key), or a new `name`. Replacing the body or renaming needs `base_version`. `archived` archives or restores a document, and `withdraw_review` withdraws your open review. | | `memory_history` | Lists a document's versions with author, time, and what changed. `from` and `to` return a diff, and `to: "review:"` compares an open review with the current version. | | `memory_reviews` | Lists reviews in the folder, open ones by default, or only yours with `mine: true`. With `id`, it shows one review's changes as diffs. Only a person in qbash can accept or reject a review. | For a document made from an uploaded file, `grep_memories` matches its name, file name, and metadata. Vector search uses its indexed contents. Vector results may lag behind a published edit while indexing runs. --- ## Reviewing PRs Source: https://qbash.com/docs/memories/reviewing-changes Memory folders and documents can optionally require acceptance before changes are published, using pull requests (PRs). This is useful for shared runbooks, policies, or any material where you want to review updates from other users or agents. When this setting is enabled, changes open a pull request. Readers and agents continue to receive the last approved version until the request is accepted. A proposed new document stays unpublished until then. The policy applies to manual edits, Tasks, and MCP tools. ![A proposed document beside the accepted version, with Accept and Reject actions](https://qbash.com/img/docs/memories/pull-requests/compare.jpeg) ### Changing the review policy Open the folder's **Settings**, enable **Require review for writes**, and save. The setting is off by default. All subfolders and their documents inherit the root folder's policy unless a document has its own override. ![Folder settings with Require review for writes enabled](https://qbash.com/img/docs/memories/pull-requests/folder-settings.jpeg) You can set a different policy for an individual document. Open the document and use **Review writes** on its **Details** page: | Setting | Behavior | |---|---| | **Use folder setting** | Inherit the root folder's review requirement. | | **Always require review** | Stage changes even when the folder allows direct writes. | | **Allow direct writes** | Publish changes immediately even when the folder requires review. | ![The Review writes setting for an individual document](https://qbash.com/img/docs/memories/pull-requests/document-policy.jpeg) Turning review off leaves existing proposals open; it does not accept them. Review covers text changes and archive or unarchive operations. Attachment uploads and file replacements cannot be submitted for review. Protected document deletion and moves are blocked. Use a folder that allows direct writes when uploading files. ### Finding and reviewing changes Pending changes are listed in **Activity**, under **Needs you**, one row per folder. Use the **Memory reviews** filter to show only these rows, or to pick one folder. Choosing a row opens that folder's **Reviews** page. These controls are available to people with edit access. The **Reviews** page lists the folder's **Open** changes, which are pending, and its **Closed** changes, which were accepted or rejected. Switch between them with the tabs at the top. The document list shows proposals newest first, with their authors and submission dates. Search by name or filter for new and updated documents. Each file is reviewed independently. **Show diff** highlights added and removed text. Turn it off to read the resulting document. Expand **Document fields** to inspect proposed changes to the name, metadata, search summary, or agent access. **Accept** publishes the file and **Reject** discards its proposal. The decision is saved immediately and the next pending file opens. Other proposals remain pending. Closed requests retain the decision and accepted before-and-after content for later inspection. ### Version history qbash keeps a version history for memory documents, whether review is enabled or not. Each published update creates a version, including changes accepted through a pull request. Open a document and choose **Versions** to see its saved versions, who made each change, and when. **View Details** opens a version. Use **Content** to read it as it was saved, or **Changes** to compare it with the previous version, including changes to the document's name, content, and metadata. Changes to a document's review policy are recorded here too, with the previous and new settings. For the original proposal and review decision, open the **Closed** tab on the folder's **Reviews** page. ### Task and agent writes Existing write calls follow the policy automatically. The Task SDK's `store`, `update`, `archive`, and `unarchive` methods return `status: "pending_review"` and `pull_request_id` when the change is staged: ```python result = qbash.memories.store( name="Coverage hours", content="# Coverage hours\nMonday–Friday, 09:00–17:00 Eastern.", folder="support-knowledge", ) if result.get("status") == "pending_review": print("Submitted for review:", result["pull_request_id"]) else: print("Published:", result["id"]) ``` A pending creation returns `id: None`, because there is no published document yet. For a pending update, the existing ID still reads the accepted version. `store(await_embedding=True)` returns immediately for a pending proposal. It cannot wait for that unpublished document to be indexed. MCP memory tools call a pull request a review. A staged change returns `pending_review` with a `review_id`. An agent should describe it as submitted for review and keep using accepted content. A retry by the same person updates their open review, and `edit_memories` with `withdraw_review` withdraws it. After acceptance, ordinary reads return the published content immediately. Semantic search catches up through background indexing and can temporarily return an older accepted passage. Pending proposals are never indexed. Review settings and decisions are managed in qbash. The Python SDK does not provide methods to change policy, list pull requests, or accept them. Full write signatures are in the [SDK reference](https://qbash.com/docs/tasks/sdk-reference). --- ## Add an MCP server to ChatGPT, Claude and Cursor Source: https://qbash.com/docs/clients/overview ChatGPT, Codex in the ChatGPT app and dots add a remote MCP server on the Plugins page, Claude adds it under Connectors, the Codex CLI and Claude Code take a terminal command, and Cursor and VS Code read an `mcp.json` file. The table below links a step-by-step guide for each, with qbash's server as the example. Every client below connects to the same qbash server URL and signs in with your qbash account: ``` https://mcp.qbash.com/mcp ``` That is the [official MCP server](https://qbash.com/docs/mcp-servers/official-mcp-server), which gives the client your Tasks, connectors and memory folders under your own permissions. A [custom server](https://qbash.com/docs/mcp-servers/overview) you build in qbash has its own URL, in the form `https://mcp.qbash.com/mcp/execution/`. Open the server under **MCP Servers** in qbash and copy it from the top of the page. Use it in place of the official URL and the steps stay the same. | Client | Where you add qbash | Who gets it | Guide | |---|---|---|---| | ChatGPT | The Plugins page, as a custom MCP server | You, or your whole workspace if an admin publishes it | [ChatGPT](https://qbash.com/docs/clients/chatgpt) | | dots | A chat message asking the dot to add the URL, or a ChatGPT plugin you have installed | You, inside that dot | [dots](https://qbash.com/docs/clients/chatgpt-dots) | | Codex | A ChatGPT plugin in the ChatGPT app, or the `codex mcp add` command or `config.toml` for the CLI and IDE extension | You, in the ChatGPT app or on that computer | [Codex](https://qbash.com/docs/clients/codex) | | Claude | Customize, then Connectors, on claude.ai or the desktop app | You, or your organization if an Owner adds it | [Claude](https://qbash.com/docs/clients/claude) | | Claude Code | The `claude mcp add` command, or a claude.ai connector | You, one project, or everyone who clones the project | [Claude Code](https://qbash.com/docs/clients/claude-code) | | Cursor | An install link, or `mcp.json` | You, in every project or one | [Cursor](https://qbash.com/docs/clients/cursor) | | VS Code | An install link, the **MCP: Add Server** command, or `mcp.json` | You, or everyone who opens the workspace | [VS Code](https://qbash.com/docs/clients/vscode) | | Grok Bot | A chat message asking the Bot to add the URL | You, in every Bot you run, within your team's connector policy | [Grok Bot](https://qbash.com/docs/clients/grok-bot) | | Muse | A chat message asking Muse to add the URL | You | [Muse](https://qbash.com/docs/clients/muse) | | Muse Code | `~/.config/muse/settings.json`, then `muse mcp login` | You, on that computer | [Muse Code](https://qbash.com/docs/clients/muse#muse-code) | | Anything else | The client's remote MCP server setting | Depends on the client | [Other clients](https://qbash.com/docs/clients/other) | ### Do you need an admin? | Client | Personal plans | Team plans | |---|---|---| | ChatGPT | Yes, on any plan including Free | Depends on your role. If you can't, talk to your workspace owner | | dots | Pro, through your own plugin | An admin adds the plugin, and on Enterprise and Edu turns dots on | | Claude | Yes. Free allows one custom connector | Owners add it, members connect it | | Claude Code | Yes | Yes, unless managed settings restrict MCP servers | | Codex | Yes | In the ChatGPT app, the same as ChatGPT. For the CLI, an admin allows Codex locally and may set an MCP allowlist | | Cursor | Yes | Enterprise admins may set an MCP allowlist | | VS Code with Copilot | Yes | The **MCP servers in Copilot** policy must be on | | Grok Bot | Yes | The team connector policy must allow it | | Muse and Muse Code | Yes | No admin settings | Each guide covers the settings for its client, with sources. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. Each of these clients can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same place in each client. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Sign-in Each client opens a qbash sign-in page the first time it connects. If you belong to more than one qbash organization, you pick the one that client uses. A custom server belongs to one organization, so its sign-in skips that choice. To see which apps are signed in, or to sign one out, open **MCP Servers** in qbash and look under **Your apps**. Coding tools can also send a qbash [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) in an `Authorization` header in place of signing in. Each guide shows how. --- ## How to add a custom MCP server to ChatGPT Source: https://qbash.com/docs/clients/chatgpt To add a custom MCP server to ChatGPT, open [chatgpt.com/plugins](https://chatgpt.com/plugins), choose **Add**, then **Add custom MCP server**, and enter the server's URL. ChatGPT saves it as a plugin. Install the plugin, then type @ in a chat to use it. A personal account can do this on any plan, including Free. In a Business, Enterprise or Edu workspace, it depends on your role. The table below has the details. The screenshots use qbash's server URL. Use the URL of whichever MCP server you're adding. ### Who can add a custom MCP server Adding a server is the same for a personal plugin and a team plugin. Every new plugin starts private to you. What your plan and role allow decides whether you can create one at all: | Plan | Create a custom MCP plugin | Use one someone else added | |---|---|---| | Free, Go, Plus and Pro | Yes, for yourself | Not applicable | | Business and Business Premium | Owners and admins only | Yes, once an admin publishes it to the workspace | | Enterprise and Edu | Owners, admins, and roles an admin grants **Create plugins with MCPs** | Yes, once it is shared with you or published | If you're a member of a workspace and **Add custom MCP server** isn't there for you, talk to your workspace owner. They can add qbash and publish it, and you then install it from the workspace tab on the Plugins page. On Enterprise and Edu, an admin sets these under **Workspace settings**, then **Permissions & roles**, for the workspace default or a custom role: - **Use plugins**, on by default. - **Create plugins with MCPs**, off by default. - **Upload plugins**, off by default, and **Upload plugins with custom MCP servers** where it is listed separately. - **Share plugins** and **Publish plugins to workspace**, if the member should share what they add. Workspace security settings such as Lockdown can also block custom MCP servers. Sources: OpenAI's [plugin controls for workspaces](https://learn.chatgpt.com/docs/enterprise/apps-and-connectors), [MCP plugins guide](https://learn.chatgpt.com/docs/extend/mcp), [custom MCP server guide](https://developers.openai.com/api/docs/guides/custom-mcp-server) and help article [Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt), checked 2026-11-04. We added qbash from a personal Free account and from a Business workspace owner on 2026-11-11. ### Before you start You need the server's URL. The official qbash server is `https://mcp.qbash.com/mcp`, and a [custom qbash server](https://qbash.com/docs/mcp-servers/overview) has its own. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. ChatGPT can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same form. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Add qbash for yourself #### 1. Open the Plugins page Go to [chatgpt.com/plugins](https://chatgpt.com/plugins), or choose **Plugins** in the left sidebar. In a workspace, plugins are split across three tabs: Public, one named after your workspace, and Personal. ![The ChatGPT Plugins page with the Public, workspace and Personal tabs](https://qbash.com/img/docs/clients/chatgpt/plugins-page.png) #### 2. Choose Add custom MCP server Open the **Add** menu next to the search box and choose **Add custom MCP server**. **Create plugin** and **Upload plugin archive** are for plugins built from files. ![The Add menu with Create plugin, Upload plugin archive and Add custom MCP server](https://qbash.com/img/docs/clients/chatgpt/add-menu.png) #### 3. Fill in the form - **Name** is what you pick from the list when you type @ in a chat, such as "qbash". **Description** is optional. - **Connection** stays on **Server URL**. Paste the qbash URL. - **Authentication** depends on the server. qbash uses **OAuth**, and ChatGPT reads its sign-in details from the server, so **Advanced OAuth settings** can stay as they are. Another MCP server might use a different method. Check its own docs. - Tick **I understand and want to continue**, then choose **Create as a plugin**. ![The Add custom MCP server form with a qbash URL and OAuth](https://qbash.com/img/docs/clients/chatgpt/add-custom-mcp-server-form.png) The URL in this screenshot belongs to a custom qbash server. For the official server, paste `https://mcp.qbash.com/mcp`. #### 4. Install the plugin The new plugin is listed on the **Personal** tab under **Created by you**. ChatGPT can't use it until you open it there and install it. ![The Personal tab listing the qbash plugin under Created by you](https://qbash.com/img/docs/clients/chatgpt/personal-plugins.png) Installing opens a connect screen with ChatGPT's notes on permissions and data use. Choose the **Continue to** button, which carries your plugin's name. ![The ChatGPT connect screen for the qbash plugin](https://qbash.com/img/docs/clients/chatgpt/connect-plugin.png) #### 5. Sign in to qbash If you're adding qbash, it opens in your browser to sign in. Pick the qbash organization ChatGPT should use. Other servers have their own sign-in. ![The qbash sign-in page asking which organization ChatGPT should use, with other organization names blurred](https://qbash.com/img/docs/clients/chatgpt/qbash-sign-in.png) #### 6. Use it in a chat Start a new chat, type @ and pick the plugin by its name. Ask for what you want done, and approve each write action when ChatGPT asks. ### Share qbash or another MCP plugin with your whole workspace Plugins are private to you by default and aren't shared with the workspace. Workspace admins, and people whose role has the **Share plugins** or **Publish plugins to workspace** permission, can share a plugin with named people or publish it to the workspace tab for the whole team. Once it's published, an admin chooses how it reaches people under **Plugins** in the Admin console. **Available for installation** lets each person install it, **Installed for workspace** installs it for everyone, and **Customize by role** limits it to chosen roles. Business workspaces don't have that last option. Every person still signs in to qbash with their own account when they first use it, so each one works under their own qbash permissions. OpenAI's [plugins guide](https://learn.chatgpt.com/docs/build-plugins) covers sharing, and [plugin controls](https://learn.chatgpt.com/docs/enterprise/apps-and-connectors) covers the admin settings. ### Refresh the tool list ChatGPT keeps a copy of the tools it read from the server, and that copy can fall out of sync, for example after qbash adds a tool or you change what a custom server shares. Open the plugin's details page, refresh it, and start a new conversation. A conversation that was already open can keep the old list. On a workspace plugin, the admin's **New tools** setting decides whether new tools are allowed. ### Troubleshooting - **No Add custom MCP server option.** Your workspace role doesn't allow it. Talk to your workspace owner, who can add the server and publish it, or on Enterprise and Edu give your role **Create plugins with MCPs**. - **The plugin doesn't appear when you type @.** Check that it is installed, not only created. - **ChatGPT signs in to the wrong qbash organization.** Uninstall the plugin, install it again, and pick the right organization on the qbash sign-in page. --- ## How to add a custom MCP server to dots Source: https://qbash.com/docs/clients/chatgpt-dots A dot can use a custom MCP server once that server is installed as a plugin on your account. You can ask the dot to add the server's URL, or add it yourself on [chatgpt.com/plugins](https://chatgpt.com/plugins) with **Add custom MCP server** and install the plugin. Then tag it with @ in a message inside the dot. Dots run in the ChatGPT app, so they have the same plan and role limits as ChatGPT. On a Business or Enterprise workspace, if you can't add it yourself, talk to your workspace owner. A personal account that isn't part of a workspace can add it itself. A dot is ChatGPT's always-on agent. OpenAI describes it as an agent "that keeps work moving and asks for your input when a decision needs you", and each dot gets its own cloud computer. It reaches MCP servers through the plugins installed and enabled on your ChatGPT account. Adding and installing the plugin works the same as for a chat, and [How to add a custom MCP server to ChatGPT](https://qbash.com/docs/clients/chatgpt) has them with screenshots. ### Which plans have dots Dots are on Pro (outside the EEA, the UK and Switzerland), Business Premium, and Enterprise and Edu as a beta. On Enterprise and Edu an admin turns them on with **Use dots (Beta)**, under **Workspace settings**, **Permissions & roles**, **Workspace capabilities**. It is off by default. A dot also needs the custom MCP plugin, and that has its own rules: | Plan | Who adds the qbash plugin | |---|---| | Pro | You | | Business Premium | An owner or admin, who publishes it to the workspace. You then install it | | Enterprise and Edu | An admin, or you if your role has **Create plugins with MCPs** | OpenAI's dots documentation says a dot uses the plugins and app connections on your account. It doesn't mention custom MCP plugins. We tested qbash in a dot on our own workspace on 2026-11-01, installed as a plugin and tagged with @. Sources: OpenAI's [dots documentation](https://learn.chatgpt.com/docs/dots), [dots admin guide](https://learn.chatgpt.com/docs/enterprise/dots-admin-guide) and [plugin controls](https://learn.chatgpt.com/docs/enterprise/apps-and-connectors), and [Flavio Copes on dots plans](https://flaviocopes.com/openai-dots), checked 2026-11-04. ### Ask the dot to add qbash Open the dot and ask it: "Add this MCP server: https://mcp.qbash.com/mcp". The dot sets it up as a plugin, and you sign in to qbash when it asks. ### Or make qbash a plugin yourself :::note[Here from Google? Hi, we make the server in the screenshots] - qbash gives a dot Tasks it can run, which are Python programs with AI steps, plus your connected accounts and the memory folders your team shares. - You don't need qbash to follow this guide. Any remote MCP server goes in the same form on the Plugins page. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: Open [chatgpt.com/plugins](https://chatgpt.com/plugins), choose **Add**, then **Add custom MCP server**. Enter a name, paste `https://mcp.qbash.com/mcp` under **Connection**, choose **OAuth**, tick **I understand and want to continue** and choose **Create as a plugin**. ![The Add custom MCP server form with a qbash URL and OAuth](https://qbash.com/img/docs/clients/chatgpt/add-custom-mcp-server-form.png) The screenshot shows a custom qbash server's URL. ### Install it Creating the plugin doesn't install it, and a dot only sees installed plugins. Open the **Personal** tab, find the plugin under **Created by you**, install it, choose **Continue to** on the connect screen and sign in to qbash. If your workspace admin has already published qbash for the workspace, install it from the workspace tab instead. ![The Personal tab listing the qbash plugin under Created by you](https://qbash.com/img/docs/clients/chatgpt/personal-plugins.png) The plugin must also stay enabled for your account. If a workspace admin limits plugins by role, your role needs access to it. ### Tag it in the dot Open the dot and write a message that tags the plugin with @, using the name you gave it. For that work, the dot can run your Tasks, call the connectors you have connected in qbash, and read and write your memory folders. The dot works under your qbash account and the organization you picked at sign-in, with the same permissions you have in qbash. A dot that runs for hours can call qbash many times while you are away, so pick an organization and a server that only hold what the dot should touch. A [custom server](https://qbash.com/docs/mcp-servers/overview) that shares a few Tasks and one memory folder is a tighter fit than the official server. ### When qbash adds tools The dot uses the tool list ChatGPT read when the plugin was created or last refreshed. To pick up new tools, open the plugin's details page, refresh it, and start a new conversation in the dot. A conversation that is already open in a dot keeps its old tool list after a refresh ([reported here](https://github.com/openai/codex/issues/58619)). ### Troubleshooting - **The dot doesn't offer qbash after @.** The plugin is created but not installed, or it is disabled for your account. Check both on the Plugins page. - **qbash tools are missing from an older conversation.** Start a new conversation in the dot after a refresh. - **The dot works in the wrong qbash organization.** Uninstall the plugin, install it again and pick the organization on the qbash sign-in page. --- ## How to add an MCP server to Codex Source: https://qbash.com/docs/clients/codex To add an MCP server to Codex in the terminal or your editor, run `codex mcp add --url ` and then `codex mcp login `. Codex in the ChatGPT app adds it as a ChatGPT plugin, the same way ChatGPT does. The Codex CLI and the IDE extension keep their MCP servers in `~/.codex/config.toml`, so adding a server once makes it available in both on that computer. There is no separate Codex desktop app any more. Codex runs inside the ChatGPT app, which takes MCP servers as plugins from the Plugins page. Codex on the web doesn't read the local file. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, on its own servers, alongside your connected accounts and shared memory folders. Codex can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same `config.toml`. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### In the ChatGPT app Codex in the ChatGPT app uses the same plugins as ChatGPT. Open the Plugins page, choose **Add**, then **Add custom MCP server**, paste `https://mcp.qbash.com/mcp`, choose **OAuth** and create it as a plugin. Then install the plugin and sign in to qbash. [How to add a custom MCP server to ChatGPT](https://qbash.com/docs/clients/chatgpt) has each step with screenshots. The ChatGPT plan and role limits apply here too. On a Business or Enterprise workspace, if your role can't add it, talk to your workspace owner, who can add qbash and publish it to the workspace. A personal account that isn't part of a workspace can add it itself. The [ChatGPT guide](https://qbash.com/docs/clients/chatgpt#who-can-add-a-custom-mcp-server) has the table. ### From the terminal ```bash codex mcp add qbash --url https://mcp.qbash.com/mcp codex mcp login qbash ``` The second command opens the qbash sign-in in your browser. Pick the qbash organization Codex should use. ### With an access token To skip the browser sign-in, for example on a build machine, create a qbash [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) and add the server to `~/.codex/config.toml` yourself: ```toml [mcp_servers.qbash] url = "https://mcp.qbash.com/mcp" bearer_token_env_var = "QBASH_TOKEN" ``` Codex reads the token from the `QBASH_TOKEN` environment variable and sends it in the `Authorization` header, so the token stays out of the file. To keep the server to one project, put the same block in `.codex/config.toml` inside a project Codex trusts. ### If you use Codex in a ChatGPT workspace On Plus and Pro, nothing stops you adding a server to `config.toml`. In a Business or Enterprise workspace, two admin settings matter: - **Allow members to use Codex locally** (shown in some workspaces as **Allow members to use Codex and Work Locally**). Without it, Codex returns a 403 error. - Managed requirements under **Agent security** in the Admin console. If they include an `mcp_servers` list, only the servers on it load, and an empty list turns MCP off. With no list, any server is allowed. The workspace permission **Create plugins with MCPs** decides whether you can add qbash as a plugin for Codex in the ChatGPT app. It doesn't affect a server in your own `config.toml`. Sources: OpenAI's [Codex MCP docs](https://learn.chatgpt.com/docs/extend/mcp), [Codex admin setup](https://learn.chatgpt.com/docs/enterprise/admin-setup) and [managed configuration](https://learn.chatgpt.com/docs/enterprise/managed-configuration), checked 2026-11-04. ### Check it works Run `codex mcp list` to see qbash among your servers, or type `/mcp` in a Codex session. Then ask Codex to list the qbash tools. OpenAI's [Codex MCP documentation](https://learn.chatgpt.com/docs/extend/mcp) covers the other settings. --- ## How to add a custom connector to Claude Source: https://qbash.com/docs/clients/claude To add a custom connector to Claude, go to **Customize**, then **Connectors**, choose **+ Add**, then **Add custom connector**, and paste the remote MCP server's URL. On Team and Enterprise, an Owner adds it for the organization first. A connector added on claude.ai also appears in the Claude desktop app and the mobile apps, and in Claude Code when you sign in to it with the same Claude account. Add it on the web or the desktop app, then use it anywhere. ### Who can add a custom connector | Plan | Add a custom connector | Use one an Owner added | |---|---|---| | Free | Yes, one custom connector | Not applicable | | Pro, Max and Ultra | Yes | Not applicable | | Team | Owners and Primary Owners only | Yes. Each member connects it and signs in | | Enterprise | Owners, Primary Owners, and custom roles with Libraries set to **Manage** | Yes, if the member's role includes the connector | On Team and Enterprise, no organization setting lets every member add their own custom connectors. Members can ask for one when **Let members request connectors** is on. It is on by default for Team and off for Enterprise. Sources: Anthropic's [custom connectors guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp), [connectors help](https://support.claude.com/en/articles/11176164), [Enterprise custom roles](https://support.claude.com/en/articles/13930452) and [remote MCP connector docs](https://claude.com/docs/connectors/custom/remote-mcp), checked 2026-11-04. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. Claude can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same dialog. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Free, Pro, Max and Ultra 1. Go to **Customize**, then **Connectors**, choose **+ Add** and then **Add custom connector**. 2. Enter a name such as "qbash", paste `https://mcp.qbash.com/mcp` as the URL and choose **Continue**. 3. Claude shows the authentication settings it found on the server. Choose **Continue**. 4. Under **Authentication**, choose **Sign in now**. Under **OAuth client**, choose **Register automatically**, then choose **Add**. 5. Sign in to qbash in the window that opens, pick the qbash organization Claude should use and choose **Allow**. Some accounts show the name, URL and **Advanced settings** on one screen instead. Enter the name and URL there and choose **Add**. If the dialog has a **Request headers** section, leave it empty. qbash signs each person in through OAuth. ### Team and Enterprise An Owner can add a connector under **Customize**, then **Connectors**, the same way as on a personal plan, but that connector is only for the Owner. To add it for the whole organization: 1. Open **Organization settings**, then **Connectors**, and choose **Add**. 2. Choose **Custom**, then **Web**. 3. Enter the name and URL and finish the same screens as above. Members then go to **Customize**, then **Connectors**, find qbash (usually labelled **Custom**) and choose **Connect**. Each member signs in to qbash with their own account. On Team, only Owners and Primary Owners can add connectors. On Enterprise, a custom role that includes **Manage access to Libraries** can as well. Don't add a token under **Request headers** for an organization connector. Every member would then use that one qbash account. ### Use it in a chat Choose the **+** button at the bottom of the message box, then **Connectors**, and turn qbash on for that conversation. Anthropic's [custom connectors guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) has the full details. --- ## How to add a remote MCP server to Claude Code Source: https://qbash.com/docs/clients/claude-code To add a remote MCP server to Claude Code, run `claude mcp add --transport http `, then run `/mcp` inside Claude Code to sign in. Claude Code can reach qbash in two ways. Pick one, because a server added with `claude mcp add` at the same URL hides the claude.ai connector. - **Add it with a command**, as below. - **Use your claude.ai connector.** If you [added qbash on claude.ai](https://qbash.com/docs/clients/claude) and sign in to Claude Code with the same Claude subscription, it is already there. `/mcp` lists it as coming from claude.ai. Claude Code skips claude.ai connectors when it runs on an API key or a cloud provider such as Amazon Bedrock. :::note[Here from Google? Hi, we make the server in the screenshots] - Claude Code can build a qbash Task from a spec and deploy it, call your connected accounts, and read the knowledge bases your team keeps in memory folders. - You don't need qbash to follow this guide. Any remote MCP server goes in the same command. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Add it with a command ```bash claude mcp add --transport http qbash https://mcp.qbash.com/mcp ``` Then start Claude Code, run `/mcp`, select qbash and sign in to qbash in the browser. `claude mcp login qbash` runs the same sign-in from the shell. ### Choose who gets it `--scope` decides where the server is saved: | Scope | Who gets it | Saved in | |---|---|---| | `local` (default) | You, in the current project only | `~/.claude.json`, under that project | | `user` | You, in every project | `~/.claude.json` | | `project` | Everyone who works in the project | `.mcp.json` in the project root, committed with the code | To have qbash in every project: ```bash claude mcp add --transport http --scope user qbash https://mcp.qbash.com/mcp ``` A `project` server is shared as configuration only. Claude Code asks each person to approve it, and each person signs in to qbash with their own account. ### Without a browser On a machine with no browser, `claude mcp login qbash --no-browser` prints the sign-in URL. Open it on any device, sign in, then paste the address the browser ends up on back into the terminal. You can also create a qbash [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) and pass it as a header: ```bash claude mcp add --transport http qbash https://mcp.qbash.com/mcp \ --header "Authorization: Bearer " ``` Keep `--header` after the URL. It accepts several values, so before the name it would read the name as a second header. Keep token servers out of the `project` scope, since `.mcp.json` is committed to the repository. Anthropic's [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp) covers the other options. ### If your organization manages Claude Code Anyone can run `claude mcp add` unless the organization deploys managed settings. If the command fails with "enterprise MCP configuration is active and has exclusive control", ask your admin to allow qbash's URL. The controls are: | Setting | Effect | |---|---| | `managed-mcp.json` | Only the servers in this file load, and `claude mcp add` stops working | | `allowedMcpServers` and `deniedMcpServers` | Allow or block servers by URL, command or name. A deny always wins | | `allowManagedMcpServersOnly` | Users can't widen the allowlist from their own settings | | `managedMcpServers` | Adds remote servers for every user | A claude.ai connector that the organization added shows up in Claude Code for people signed in with a Claude subscription, with the organization's tool policies applied. Sources: Anthropic's [Claude Code MCP docs](https://code.claude.com/docs/en/mcp) and [managed MCP configuration](https://code.claude.com/docs/en/managed-mcp), checked 2026-11-04. --- ## How to add a remote MCP server to Cursor Source: https://qbash.com/docs/clients/cursor To add a remote MCP server to Cursor, add its URL under `mcpServers` in `~/.cursor/mcp.json`, or open an install link, then sign in when Cursor asks. The `mcp.json` file in your home folder applies to every project, and one inside a project applies to that project only. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, on its own servers, alongside your connected accounts and shared memory folders. Cursor's agent can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same `mcp.json`. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### With the install link [Add qbash to Cursor](https://qbash.com/docs/clients/cursor:/anysphere.cursor-deeplink/mcp/install?name=qbash&config=eyJ1cmwiOiJodHRwczovL21jcC5xYmFzaC5jb20vbWNwIn0=) Cursor opens and asks you to install the server. Confirm it, then sign in to qbash when Cursor asks you to authenticate, and pick the qbash organization Cursor should use. ### In mcp.json Add qbash to `~/.cursor/mcp.json` for every project, or to `.cursor/mcp.json` in a project's root for that project only: ```json { "mcpServers": { "qbash": { "url": "https://mcp.qbash.com/mcp" } } } ``` Open **Customize** in Cursor's sidebar, check that the qbash toggle is on, and complete the qbash sign-in when Cursor asks you to authenticate. If qbash doesn't appear, restart Cursor. ### With an access token To skip the browser sign-in, create a qbash [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) and send it as a header. Cursor can read it from an environment variable, which keeps the token out of the file: ```json { "mcpServers": { "qbash": { "url": "https://mcp.qbash.com/mcp", "headers": { "Authorization": "Bearer ${env:QBASH_TOKEN}" } } } } ``` Keep tokens out of a project's `.cursor/mcp.json` if the project is committed to a shared repository. Cursor's [MCP documentation](https://cursor.com/docs/mcp) covers the other settings. ### If your team manages Cursor Free, Pro and Teams plans can add any remote server. On Teams, admins can also share servers with the team under **Plugins & MCPs** in the dashboard. On Enterprise, an admin can set an MCP allowlist under **MCP Configuration** in the team dashboard, or push one to `~/.cursor/permissions.json` with device management. Any server that doesn't match the allowlist is blocked, so ask your admin to add `https://mcp.qbash.com/*`. Sources: Cursor's [MCP docs](https://cursor.com/docs/context/mcp) and [model and integration management](https://cursor.com/docs/enterprise/model-and-integration-management), checked 2026-11-04. --- ## How to add a remote MCP server to VS Code Source: https://qbash.com/docs/clients/vscode To add a remote MCP server to VS Code, run **MCP: Add Server** from the Command Palette, choose HTTP and paste the URL, then start the server from **MCP: List Servers** and sign in. VS Code gives MCP tools to its agent chat. A server can be global, where every workspace sees it, or live in one workspace's `.vscode/mcp.json`. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, on its own servers, alongside your connected accounts and shared memory folders. Copilot's agent can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same `mcp.json`. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### With the install link [Add qbash to VS Code](https://qbash.com/docs/clients/vscode:mcp/install?%7B%22name%22%3A%22qbash%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.qbash.com%2Fmcp%22%7D) VS Code opens and asks you to confirm before it adds the server. ### With the Add Server command 1. Open the Command Palette and run **MCP: Add Server**. 2. Choose **HTTP (HTTP or Server-Sent Events)** and enter `https://mcp.qbash.com/mcp`. 3. Enter `qbash` as the server ID. 4. For every workspace, choose **Global**, then **Copilot Global**. ### In mcp.json For one workspace, add qbash to `.vscode/mcp.json`: ```json { "servers": { "qbash": { "type": "http", "url": "https://mcp.qbash.com/mcp" } } } ``` **MCP: Open User Configuration** opens the user-profile `mcp.json`, which takes the same block. VS Code's guided flow labels both of these files deprecated, and they still work. ### Start it and sign in Run **MCP: List Servers**, select qbash and choose **Start Server**. VS Code may ask you to trust the server, then asks you to sign in and opens the qbash sign-in in your browser. Pick the qbash organization VS Code should use. ### With an access token For a token in place of the sign-in, add a header that reads it from an input, so VS Code prompts for the token and stores it. Inputs work in `.vscode/mcp.json` and the user-profile `mcp.json`. The Copilot Global file doesn't support them. ```json { "inputs": [ {"type": "promptString", "id": "qbash-token", "description": "qbash access token", "password": true} ], "servers": { "qbash": { "type": "http", "url": "https://mcp.qbash.com/mcp", "headers": {"Authorization": "Bearer ${input:qbash-token}"} } } } ``` The VS Code [MCP server guide](https://code.visualstudio.com/docs/agent-customization/mcp-servers), [server management guide](https://code.visualstudio.com/docs/agents/run/manage-mcp-servers) and [configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration) cover the other options. ### If your organization manages GitHub Copilot On Copilot Free, Pro and Pro+, you can add any server. On Copilot Business and Enterprise, two policies decide it: - **MCP servers in Copilot** must be enabled. Enterprise owners set it under **AI controls**, then **MCP**, and organization owners under **Copilot**, **Policies**, **Features**. Since 22 October 2026 its default follows the enterprise's default for new features, and an explicit **Disabled** stays in place. - **Restrict MCP access to registry servers** must be **Allow all**, or qbash must be in the organization's MCP registry. VS Code's own `chat.mcp.access` setting, which an organization can lock by policy, must not be set to none. Sources: GitHub's [MCP server access docs](https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-mcp-usage/configure-mcp-server-access) and [changelog on global feature defaults](https://github.blog/changelog/2026-10-22-global-default-for-copilot-features-generally-available), and VS Code's [enterprise AI settings](https://code.visualstudio.com/docs/enterprise/ai-settings), checked 2026-11-04. --- ## How to add a custom MCP server to Grok Bot Source: https://qbash.com/docs/clients/grok-bot To add a custom MCP server to Grok Bot, ask the Bot in a chat to add the server's URL, confirm it, and sign in when the Bot posts an authorize card. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. Your Bots can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same chat request. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Add it in a chat 1. Open a chat with your Bot. 2. Ask it: "Add this MCP server: https://mcp.qbash.com/mcp". 3. The Bot shows the server's name and URL and asks you to confirm. Confirm it. 4. The Bot posts a card asking you to authorize qbash. Choose it, and the qbash sign-in opens in your browser. 5. Sign in and pick the qbash organization the Bot should use. Ask the Bot to list its qbash tools to check the connection. [Build a Grok Bot MCP server with qbash](https://qbash.com/blog/grok-bot-mcp-server-with-qbash) shows the whole flow on video with a custom server. The connection belongs to your Grok Bot account, so every Bot you run can use it. A teammate's shared Bot asks before it uses your qbash connection, and each teammate signs in with their own qbash account. ### On a team Any plan that includes Grok Bot lets you add a server, and it is saved to your own account. On a team, the admin's connector policy applies to Bots too: - **Teams:** Grok Bot is on by default. Admins choose allowed MCP servers in the Team Marketplace, on the dashboard's **Plugins & MCPs** page. A blocked server shows **Disabled by team admin**. - **Enterprise:** an admin turns Grok Bot on and grants your group access. If the team uses an MCP allowlist, `https://mcp.qbash.com/mcp` must be on it. If a network policy has **Apply to MCP servers** on, qbash's host must be an allowed destination. Sources: xAI's [Grok Bot teams guide](https://docs.x.ai/grok-bot/teams-and-enterprises) and [computer and apps guide](https://docs.x.ai/grok-bot/computer-and-apps), and Cursor's [model and integration management](https://cursor.com/docs/enterprise/model-and-integration-management), checked 2026-11-04. ### Grok on grok.com Grok chat on grok.com adds MCP servers separately from Grok Bot. Open [grok.com/connectors](https://grok.com/connectors), choose **New Connector**, then **Custom**, and enter the qbash URL. xAI's [connectors guide](https://docs.x.ai/grok/connectors) has the details. On Grok Business and Enterprise, members can only connect connectors an admin has added. Someone with Team Read-Write permission adds qbash in the xAI console under **Grok Business**, **Connectors**, **+ Add Connector**, **Other**. Whether the free plan can add a custom connector is unclear: xAI says connectors are for all Grok users, and third-party guides say custom servers need a paid plan. See xAI's [connector management](https://docs.x.ai/grok/connector-management). --- ## Muse custom connector and Muse Code MCP server setup Source: https://qbash.com/docs/clients/muse To add a custom connector to Muse, ask it in a chat to add the MCP server's URL, allow it, and choose **Connect** on the card it shows. Muse Code, the coding tool, reads MCP servers from `~/.config/muse/settings.json`. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. Muse can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same chat request. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### Muse 1. Open a new Muse chat and ask: "Can you add this MCP server to your system for use: https://mcp.qbash.com/mcp". 2. Muse asks for permission to talk to the server. You can allow it once to test, or choose **Always allow**. 3. Muse lists the access it is requesting and shows a **Qbash** connector card. Choose **Connect**. 4. Sign in to qbash and pick the organization Muse should use. Muse then reports that qbash is connected and lists its tools. Meta doesn't review custom connectors, and Muse keeps their credentials in its Secure Credentials Store. [Connect Muse to the qbash MCP server](https://qbash.com/blog/connect-muse-to-qbash-mcp-server) shows the flow on video. Any Muse account can create a custom connector. Meta has no admin or business settings for it. Muse is offered in the US and Canada ([Meta help](https://www.meta.com/help/artificial-intelligence/1687253048996149/), [anythingmcp](https://anythingmcp.com/guides/clients/muse)). ### Muse Code Add qbash to the `mcp_servers` block of `~/.config/muse/settings.json`: ```json { "schema_version": 1, "mcp_servers": { "qbash": { "transport": "streamable_http", "url": "https://mcp.qbash.com/mcp" } } } ``` If the file already exists, add only the `qbash` entry. Then sign in: ```bash muse mcp login qbash ``` Run `/mcp` in a Muse Code session to see qbash and its tools. For an [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) in place of the sign-in, add a `headers` entry to the qbash server: ```json "headers": { "Authorization": "Bearer ${QBASH_TOKEN}" } ``` Muse Code fills in `${QBASH_TOKEN}` from the environment. Muse Code needs a Muse Code subscription or an API key. Its managed configuration for enterprise administrators isn't documented as restricting MCP servers. Meta's [Muse Code extending guide](https://dev.meta.ai/docs/muse-code/extending) covers the other options. --- ## How to connect any MCP client to a remote MCP server Source: https://qbash.com/docs/clients/other Any client that supports remote MCP servers can connect with a URL and a sign-in. 1. Add a remote MCP server in the client. If it asks for a transport, choose **Streamable HTTP**. 2. Enter `https://mcp.qbash.com/mcp` as the URL. 3. Choose OAuth when the client asks how to authenticate, then sign in to qbash and pick an organization. qbash publishes its OAuth settings on the server, so a client that discovers them needs no client ID or secret from you. :::note[Here from Google? Hi, we make the server in the screenshots] - qbash runs Tasks, which are Python programs with AI steps, alongside your connected accounts and shared memory folders. Your client can call all of it as tools. - You don't need qbash to follow this guide. Any remote MCP server goes in the same setting. [What the qbash server does](https://qbash.com/docs/mcp-servers/official-mcp-server) ::: ### With an access token If the client can't sign in through a browser, create an [access token](https://qbash.com/docs/mcp-servers/official-mcp-server#connect) in qbash and send it with every request: ``` Authorization: Bearer ``` A client that only runs local servers over standard input can't reach qbash directly. --- ## MCP Connectors Source: https://qbash.com/docs/features/mcp-connectors ![Connectors Directory](https://qbash.com/docs-images/features/connectors-directory.png) Connectors link qbash to external services - a CRM, a database, a project tool. Once you connect a service, its tools and data become available to your AI work. Under the hood these use MCP (Model Context Protocol): when a connector is active, the model can call its tools and use the results in its response. A connected service can be used in **Tasks and MCP servers**, subject to each feature's access controls. ### Finding connectors Open **Connectors** from the left sidebar (route `/test-company/connectors`). The page is a directory of every connector available to your organization. Use the search box to find one by name, and the **All Connectors / My Connectors** filter to switch between the full directory and the services you've already connected. Each card shows the service and a badge for how it can be used (for example, a Task integration or a trigger). Click a card to open its detail page. If the service you need isn't in the directory, click **Request Integration** in the top-right to ask the qbash team to add it. ![The Connectors directory: search, filter, and connect a service](https://qbash.com/img/docs/features/connectors.jpeg) ### Connecting a service On a connector's detail page, click **Connect** (or **Add another** if you already have a connection). What happens next depends on how the service authenticates: - **OAuth** - you're sent to the service's sign-in page to authorize qbash, then returned to the connector. Nothing to copy or paste. - **API key** - a dialog asks for the credential the service issues, such as a bearer token or an access key ID and secret. - **No authentication** - you confirm and the connection is created. Once connected, the connection appears on the detail page and can be selected in Tasks and MCP servers. ![A connector's detail page: Connect, the description, and the tools it provides](https://qbash.com/img/docs/features/connector-detail.jpeg) ### Custom connectors To connect a service qbash doesn't list, use the **Add Remote or Custom MCP Server** card in the directory (or the button on the Custom Connectors page). This connects any MCP-compatible server by URL. | Field | Description | |---|---| | **Name** | Display name for this connection | | **URL** | The MCP server endpoint | | **Transport** | `HTTP` or `SSE` (Server-Sent Events) - check the server's documentation | | **Auth method** | None, bearer token, API key pair, or OAuth - how the server expects to be authenticated | Once saved, qbash connects to the server and loads its tools. The connection status shows whether they loaded successfully. A custom connector is private to you. You can authorize it for your own chats and Tasks. ### Managing a connection A connector's detail page lists your connections to that service. From there you can: - **Add another** connection, or **disconnect** one you no longer need - **Edit** or **delete** a custom connector - **Share** a connection with teammates - **Reconnect** or re-authorize when a connection needs attention (a warning shows when it does) ### Organization connectors (admins) Admins decide which connectors the whole team can use. From **Org Settings → Integrations**, enable a connector to make it available for members to connect their own accounts. Enabling it does not connect on anyone's behalf - each person still connects their own account from the Connectors page. --- ## Connect Stripe Source: https://qbash.com/docs/connectors/stripe Tasks call Stripe through `qbash.integrations.stripe` with an API key you store on the Connectors page. A restricted key limits a task to the Stripe resources it reads, and a test mode key limits it to test data while you build. After you connect Stripe, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Stripe MCP server](https://qbash.com/connectors/stripe) page lists what the connector can do. ### Create a restricted key 1. Sign in to the [Stripe Dashboard](https://dashboard.stripe.com). To build against test data first, switch on **Test mode** or open a sandbox. Test keys start with `rk_test_` and read test data only. 2. Open **Developers**, then **API keys**, and click **Create restricted key**. 3. Set **Read** on each resource your task uses. A reporting task usually needs Balance, Charges, Customers, Invoices, PaymentIntents, Payouts, Prices, Products, Refunds and Subscriptions. Add Disputes and Events if the task reads them. 4. Set **Write** on Customers only if the task calls `create_customer` or `update_customer`, and on Invoices only if it calls `send_invoice`. No method in the integration moves money, so no other write permission is needed. 5. Create the key and copy it. A secret key (`sk_test_` or `sk_live_`) also works, but it grants full access to the account. ### Add the key in qbash 1. Open **Connectors**, then **Stripe**, and click **Connect**. 2. Give the credential a name and paste the key. qbash rejects publishable keys (`pk_`) and checks the key with Stripe before saving it. 3. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash credential form for Stripe](https://qbash.com/img/docs/connectors/stripe-qbash-credential.jpeg) ### Call Stripe from a task ```python report = qbash.integrations.stripe.list_invoices(status="open", limit=20) for invoice in report["invoices"]: print(invoice["number"], invoice["customer_email"], invoice["amount_remaining"] / 100) ``` Every list method takes `limit` and `cursor` and returns `next_cursor`. Pass `next_cursor` back as `cursor` to read the next page. The list methods also take `created_gte` and `created_lte` as an ISO date, an ISO datetime or a unix timestamp. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method. ### Add test data A new test mode account has no payments, so most list methods return empty pages. The [Stripe CLI](https://docs.stripe.com/stripe-cli) creates test objects from the command line: ```bash stripe login stripe trigger customer.subscription.created stripe trigger payment_intent.payment_failed stripe trigger charge.refunded ``` The first command creates a customer, product, price, subscription and invoice together. ### Details that affect results - Amounts are integers in the smallest currency unit, so 4990 is $49.90. Zero-decimal currencies such as JPY are already whole units. - The search methods read an index that can lag new writes by about a minute. - Stripe keeps events for 30 days, so `list_events` cannot reach further back. - `monthly_amount` on a subscription uses list prices. Discounts, tax and metered usage are left out. - If the key lacks a permission, that call fails with Stripe's error and the credential keeps working for the calls it is allowed to make. --- ## Connect Attio Source: https://qbash.com/docs/connectors/attio Connect an Attio workspace with a scoped API key. The connector reads CRM records, lists, notes and tasks. It can also upsert records and list entries, create notes and tasks, and change task completion. ### Create a workspace API key 1. Sign in to the Attio workspace you want to connect. A workspace admin creates the token. 2. Open **Workspace settings**, then **Developers**. 3. Create a new access token and choose the scopes needed by your Tasks. 4. Copy the key into the qbash credential form. Keep it out of Task code and run logs. Attio documents token creation in [Generating an API key](https://attio.com/help/apps/other-apps/generating-an-api-key). This connector uses workspace API keys. It does not register an OAuth app or run an OAuth consent flow. ### Choose scopes | Operations | Scopes | | --- | --- | | Identify the token | No additional scopes | | List objects or object attributes | `object_configuration:read` | | Query or get records | `object_configuration:read`, `record_permission:read` | | Upsert records | `object_configuration:read`, `record_permission:read-write` | | List lists or list attributes | `list_configuration:read` | | Query list entries | `list_configuration:read`, `list_entry:read` | | Upsert list entries | `list_configuration:read`, `list_entry:read-write` | | Read notes | `object_configuration:read`, `record_permission:read`, `note:read` | | Create notes | `object_configuration:read`, `record_permission:read`, `note:read-write` | | Read tasks | `object_configuration:read`, `record_permission:read`, `user_management:read`, `task:read` | | Create tasks or set completion | `object_configuration:read`, `record_permission:read`, `user_management:read`, `task:read-write` | | List workspace members | `user_management:read` | Grant write scopes only when a Task needs to change data. A workspace API key acts for the workspace rather than an individual member. See Attio's [authentication guide](https://docs.attio.com/rest-api/guides/authentication). ### Add the credential in qbash 1. Open **Connectors** and select **Attio**. 2. Add a credential with a name that identifies the workspace. 3. Paste the workspace API key and save. qbash calls Attio's identify endpoint and requires an active token. 4. Open the Task's **Tools → Integrations** settings and explicitly select this Attio credential. ![The Attio credential form with an empty API key field](https://qbash.com/img/docs/connectors/attio-credential.png) Saving a credential confirms that the token is active. Individual calls still require the relevant scopes. A permission error does not mean the token is invalid. When editing a credential, leave the key blank to keep it. Replacing the key runs the identity check again. ### Read records in a Task ```python result = qbash.integrations.attio.list_records( object="people", limit=100, ) qbash.output(result) ``` Each result contains `records` and `next_cursor`. Pass `next_cursor` as `cursor` with the same object, filters, sort and limit to read the next page. Continue until it is `None`. A full final page requires one more request, which returns an empty page. Each record query accepts 1 through 500 items, with a default of 100. Changes made while paging can shift offsets. `list_notes` defaults to 10 notes per page and accepts at most 50. Attribute, record, entry and task listings use a connector default of 100 and a safety bound of 500. Record values keep Attio's typed arrays. For example, an email address appears under `record["values"]["email_addresses"]`, and a record UUID appears under `record["id"]["record_id"]`. Call `list_attributes(target="objects", identifier="people")` to discover attribute slugs. See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for every method and its arguments. ### Prepare test data Use a dedicated test workspace or a list of isolated fixtures. Create at least two people with distinct email addresses and add one to a test list. Attach a note and an Attio task to a fixture person. This provides data for record reads, pagination, list membership, note reads and task completion. The repository's `test-tasks/attio-test.py` checks reads by default. Its optional writes require an explicit flag and a fixture email address. It leaves its fixtures in Attio for inspection. Remove them manually after testing. ### Write behavior and limits `upsert_record` matches on the supplied attribute. Prefer a unique attribute, such as `email_addresses` or `domains`. Attio rejects a match that finds several records. Supplied multiselect values overwrite existing values. `upsert_entry` matches list membership by its parent record and overwrites supplied entry attributes. `create_note` and `create_task` can create duplicates if repeated. The connector does not automatically retry requests. After a transport error or service failure, check Attio before repeating a write. Task links accept explicit object and record UUIDs, and assignees accept workspace-member UUIDs. Attio generally allows 100 read requests and 25 write requests per second. Listing notes has a separate temporary limit of 10 requests per second. Record and entry queries also have complexity limits. A 429 error includes Attio's `Retry-After` value when present. Wait before retrying, or simplify the query. See [Handling rate limits](https://docs.attio.com/rest-api/guides/rate-limiting). The connector does not expose deletion, schema administration, webhook setup or Enterprise SQL queries. --- ## Connect Brave Search Source: https://qbash.com/docs/connectors/brave-search Brave Search lets a Task retrieve web pages, news, images, videos and extracted web context. You connect it with an API key from the [Brave Search API dashboard](https://api-dashboard.search.brave.com/). ### Create a key 1. Create a Brave Search API account and verify your email. 2. Review the current plans in the dashboard. Activate the plan for the endpoints your Task needs. Brave requires a credit card for activation, and successful requests can incur usage charges. 3. Open **API Keys**, choose **Add API Key**, name the key and copy it securely. The Search plan includes Web Search and LLM Context. News, image and video reads were also verified with a Search-plan key. Suggestions and spellcheck returned `400 OPTION_NOT_IN_PLAN` with that key. They require endpoint entitlements beyond the tested plan. Rich suggestions require a paid Autosuggest subscription. Confirm endpoint access and spending limits in Brave before running a Task. See Brave's [quickstart](https://api-dashboard.search.brave.com/documentation/quickstart) and [authentication guide](https://api-dashboard.search.brave.com/documentation/guides/authentication). ### Add the credential in qbash 1. Open **Connectors**, find **Brave Search**, and add a credential. 2. Enter a name and paste the key into **API Key**. 3. Save it. qbash encrypts the key. Saving validates its format without calling Brave, so it does not confirm that the key or plan works. 4. In the Task editor, use **Add New → Connectors** to add Brave Search and select the saved credential explicitly. A Task cannot use an unselected company credential. ![Brave Search credential form with empty name and API-key fields](https://qbash.com/img/docs/connectors/brave-search-credential.png) When editing a credential, leave the key blank to retain it. Renaming sends only the name. The first Task request checks provider access and may incur a charge. ### Search from a Task ```python page = qbash.integrations.brave_search.web_search( q="Brave Search API documentation", count=5, country="US" ) for result in page["results"]: print(result.get("title"), result.get("url")) qbash.output(page) ``` For a small test, select your credential and run this query once. Search needs no private seed data. A successful result can be empty, and live results change over time. [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists `web_search`, `news_search`, `video_search`, `image_search`, `suggest`, `spellcheck` and `llm_context` with their parameters. ### Results and limits Web, news and video methods return `results`, `query` and `next_cursor`. Pass `next_cursor` as `cursor` to fetch another page while keeping the query and count fixed. Cursors are page numbers 0 through 9. Pages may overlap. News and video keep a next cursor for every nonempty page before page 9, even when the page is shorter than requested. An empty page ends pagination. Web search follows its end marker, or treats a full page as a continuation candidate when the marker is absent. A final request can return an empty page. Web search includes web results only. Images, suggestions and spelling return `results` and `query` without pagination. An empty spelling result means Brave suggested no correction. Image search supports up to 200 results, but does not grant rights to reuse images. `llm_context` returns `grounding` and `sources`. Extracted snippets are available in `grounding.generic` when Brave supplies them. It does not generate an answer. Content can be incomplete, and search dates reflect Brave's page-age metadata rather than a complete historical archive. Before retaining search results, confirm that your Brave plan includes [storage rights](https://brave.com/search/api/#faq). Every method makes one request without automatic retries. A 401 reports authentication failure. A 403 reports endpoint or plan access failure and does not by itself mark the credential for reauthorization. A 429 reports a rate or quota limit and includes numeric reset windows when available. Wait for the applicable window before retrying. Review Brave's [rate-limit guide](https://api-dashboard.search.brave.com/documentation/guides/rate-limiting). Answers generation, summarization, Place Search and enrichment, custom Goggles, location headers and streaming are not exposed by this connector. Requests use `/res/v1` without a dated `Api-Version` header, so Brave selects its latest revision. --- ## Connect Clay Source: https://qbash.com/docs/connectors/clay Clay lets a Task find people and companies, run enrichment routines and inspect results. The connector uses Clay's native [Public API](https://developers.clay.com/quickstart), with a personal API key tied to your Clay user and workspace. ### Add a credential 1. Sign in to your own Clay workspace. Review the workspace's plan and available credits before running searches or enrichment. 2. In Clay, open **API and CLI → API keys** and create a key with **Public API** selected under **Scopes**. A key scoped only to **Account prioritization** cannot perform these Public API checks. Keep it private. See Clay's [authentication guide](https://developers.clay.com/public-api/authentication). 3. In qbash, open **Connectors → Clay** and add a credential. Give it a name and paste the key into **API Key**. 4. Save the credential. qbash encrypts the key and checks its format. Saving does not contact Clay or prove that the key works. 5. Add Clay to your Task and explicitly select the saved credential. Start with the read-only check below. ```python identity = qbash.integrations.clay.get_me() qbash.output(identity) ``` Clay shows the full secret when a key is created and masks it in the key list afterward. Copy the full secret directly into qbash. The masked prefix and suffix will not authenticate. Clay’s current key-edit dialog changes the name only. To correct a scope mismatch, create a replacement with Public API selected and update the qbash credential. When editing a credential, leave **API Key** blank to keep the saved key. Paste a replacement only when you intend to change it. ### Search and enrich Fetch `get_search_reference()` before composing a query. `create_search(query=...)` returns a `search_id`. Call `run_search(search_id=..., limit=20)` to retrieve a page, then repeat only while `has_more` is true. This is a stateful iterator. A repeated call advances to the next page and can consume credits. There is no cursor and no automatic retry. Use a known Clay-managed or custom function routine ID with `run_routine(routine_id=..., items=[{"id": "row-1", "inputs": {"domain": "example.com"}}])`. Adapt the input names to your function. Custom function IDs use `function:t_...`. The connector accepts 1–100 items per run and an optional existing `webhook_id`. The returned `routine_run_id` identifies asynchronous work. Read it with `get_routine_results(routine_run_id=...)`, using a delay and a bounded timeout between polls. During processing, `data` can be absent. Completed results may have a `cursor`: pass it on the next request until omitted. Check each item's `status` and `error`, because a complete run can contain failures. `finished` includes failed items. See [Routines API](https://developers.clay.com/routines/api). For a small test, prepare one custom function in Clay with a known input and inspect its expected output there first. Use one synthetic item and approve its credit use before running it from qbash. Account creation, key creation and provider usage require the workspace owner's action. ### Tables and workflow runs `query_table(table_id=..., fields=["Domain"], limit=20)` reads one page from a known table on an Enterprise plan. Get its ID from the Clay URL after `/tables/`. Cells retain their `status`, `value` and `fields`, so empty, pending and error cells remain distinct. Pass the returned `cursor` to read another page. Concurrent edits can cause repeated rows. The connector does not discover tables or expose filters, joins, sorting or aggregation. See [Tables (Enterprise)](https://developers.clay.com/tables). `get_workflow_runs_reference()` supplies the current beta query syntax. Use `query_workflow_runs(query=...)` for a select or count query. Responses retain Clay's fields and optional cursor. These beta endpoints can change. ### Costs and limits `get_credit_balance()` reports remaining workspace credits and optional personal limits. Searches and routine runs can consume Actions and Data Credits. Plan limits can be lower than the API's maximum page size. A 402 reports a credit or plan limit. A 403 reports access or plan restrictions. A 429 includes numeric `Retry-After` seconds when supplied. Wait before retrying. See [Rate limits](https://developers.clay.com/public-api/rate-limits). Each method makes one request. A timeout or connection failure can leave a write's outcome unknown. Check provider state before repeating it. The connector exposes ten native Public API methods in the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference). It does not proxy Clay's hosted MCP server. That separate service uses OAuth. Batch JSONL upload/download, structured-filter searches, advanced table queries, Audiences deletion, webhook management and CLI-only administration are outside this connector's scope. Live provider behavior requires verification with your selected key and plan. --- ## Connect Turbopuffer Source: https://qbash.com/docs/connectors/turbopuffer Turbopuffer is a search database for vector, full-text and hybrid queries. The connector calls the native [Turbopuffer API](https://turbopuffer.com/docs/api-overview) with your own API key, so a Task can list namespaces, run queries and write rows. Turbopuffer has no free plan and no trial. You need a paid plan before you can create a key. The Launch plan has a $16 per month minimum usage commitment. ### Add a credential 1. Go to [turbopuffer.com/join](https://turbopuffer.com/join) and create an account. 2. Pick the Launch plan. 3. Finish the billing steps. Turbopuffer bills by usage for storage, writes and queries, and the monthly minimum applies even when usage is lower. 4. In the Turbopuffer dashboard, create an API key. Choose only the permissions that let the key list namespaces, query and write rows, where the dashboard offers them. Avoid admin keys. The Turbopuffer docs say that listing namespaces needs a key with list or admin permission. The full set of permission names is not confirmed here, so follow what your dashboard shows. 5. Copy the key when it is created. Also note the region of your namespaces, for example `gcp-us-central1`. 6. In qbash, open **Connectors → Turbopuffer** and add a credential. Give it a name, paste the key into **API Key** and enter the region. 7. Add Turbopuffer to your Task and select the saved credential. qbash encrypts the key. Saving checks the key format and the region format only. It does not contact Turbopuffer, so a wrong key or region shows up on the first call. When editing a credential, leave **API Key** blank to keep the saved key. ### Region Turbopuffer runs one API host per region. qbash builds the host from your region setting as `https://.turbopuffer.com`. Use the region your namespaces live in. A key used against a different region returns an error. ### Methods | Method | What it does | Type | | --- | --- | --- | | `list_namespaces` | Lists namespaces, with a prefix filter and paging | Read | | `get_namespace_metadata` | Reads a namespace's schema, size and index status | Read | | `get_namespace_schema` | Reads a namespace's attribute schema | Read | | `query_vectors` | Finds the nearest rows to a vector | Read | | `query_full_text` | Ranks rows by BM25 full-text relevance | Read | | `query_hybrid` | Combines vector and BM25 results with reciprocal rank fusion | Read | | `query_with_filters` | Runs filtered and ordered queries, aggregations and group-by, including regex filters | Read | | `upsert_rows` | Creates rows or replaces existing rows by id | Safe write | | `conditional_upsert_rows` | Upserts only where the stored row meets a condition | Safe write | | `patch_rows` | Updates only the listed attributes of existing rows | Safe write | Methods are in the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference). ```python page = qbash.integrations.turbopuffer.list_namespaces(prefix="docs-", page_size=50) qbash.output(page) ``` A query looks like this: ```python result = qbash.integrations.turbopuffer.query_full_text( namespace="docs", attribute="content", query="refund policy", top_k=5, include_attributes=["title"], ) qbash.output(result["rows"]) ``` ### Details that change results - A first write to a new namespace creates it. Pick a clear name for test namespaces. - `upsert_rows` replaces a row with the same id entirely. Use `patch_rows` to change a few attributes, or `conditional_upsert_rows` to skip stale updates. - Patches to ids that do not exist are ignored. - The schema is part of the namespace metadata. `get_namespace_schema` returns only that part. - Hybrid queries apply the same filters to both the vector and the text search. The fused ranking comes back as a single result, so read the rows from `results[0].rows`. - Each method makes one request. A timeout on a write can leave the outcome unknown, so read the rows back before repeating it. ### What the connector leaves out The connector cannot delete namespaces, delete rows, delete by filter or branch and copy namespaces. These can remove or overwrite data in bulk. Export, cache warming and recall evaluation are also not included. --- ## Connect PostHog Source: https://qbash.com/docs/connectors/posthog Connect a PostHog personal API key to manage saved insights, dashboards and feature flags from qbash Tasks. ### Create a personal API key 1. Open [PostHog](https://app.posthog.com/signup) and sign in or create your account. Choose the region that holds your project. 2. Open your account settings, then **Personal API keys**. Create a key restricted to the projects your Tasks need. 3. Select `organization:read` and `project:read` for discovery. Add `insight:read`, `dashboard:read` and `feature_flag:read` for the resources you want to inspect. Add the matching `:write` scopes only when your Tasks need to create, update or delete those resources. 4. Copy the personal key, which begins with `phx_`. Project ingestion keys (`phc_`) and project secret keys (`phs_`) are not supported by this connector. See PostHog's [personal API key instructions](https://posthog.com/docs/api/personal-api-keys) for account-specific restrictions. ### Add the credential in qbash Open **Connectors → PostHog → Add Credential**. Enter a name, your personal API key and the host for your account: | Deployment | Host | | --- | --- | | US Cloud | `https://us.posthog.com` | | EU Cloud | `https://eu.posthog.com` | | Self-hosted | Your public HTTPS origin, without a path | Self-hosted addresses must use port 443 and resolve to public IP addresses. Redirects are refused. Saving checks the fields without making a PostHog API call. Your first Task call checks access. When editing, leave the key blank to retain it. Check the host carefully: changing it sends the saved key to the new host on the next call. ### Read saved insights Select the credential under your Task's **Tools → Integrations**, then use your project's numeric ID: ```python page = qbash.integrations.posthog.list_insights(project_id="123", limit=25) qbash.output(page) ``` List methods return `items` and `next_cursor`. Pass `next_cursor` back as `cursor` for the next page, using the same credential, host and resource. A cursor retains its original page size. Stop when it is `None`. Use `list_organizations`, then `list_projects(organization_id="...")` to discover projects. Organization and project responses return discovery metadata only, excluding embedded project tokens. Insight methods use numeric IDs, not short IDs from share links. See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for method parameters. ### Test with a small project Create a dashboard and saved insight in a dedicated PostHog test project to exercise list and get methods. Feature-flag checks need a flag in that project. Start with read scopes. Test writes only on disposable resources you own, and inspect each result before retrying a failed write. Before updating or deleting a feature flag, call `get_feature_flag` and pass its top-level `version` to `update_feature_flag` or `delete_feature_flag`. This is the resource revision, not `filters.version`; flags with `filters.version=2` require it. A `409` may indicate a stale version or an approval policy. Read the flag again and reconsider the change; the connector does not fetch a replacement version or retry the write automatically. Older flags can omit the version, but sending it protects against concurrent changes. Delete methods soft-delete resources with PATCH and verify the returned deletion flag; they do not hard-delete them. The connector makes one HTTP request per call and does not retry or page automatically. A `403` means the key lacks access or a required scope. A `401` means authentication failed. PostHog's [API limits](https://posthog.com/docs/api) apply. Responses larger than 5 MB are refused. ### Scope This connector manages saved resource definitions. It does not run `/query`, export events or evaluate flags for an end user. PostHog's [Query API guidance](https://posthog.com/docs/api/queries) directs third-party connectors to batch or file exports. Those export workflows are not implemented here. The native methods cover part of PostHog's official MCP resource-management capabilities, not full MCP parity. --- ## Connect Affinity Source: https://qbash.com/docs/connectors/affinity Affinity connects with an API key issued by your Affinity account. Calls use that key owner's permissions and your Affinity account's API quota. After you connect Affinity, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Affinity MCP server](https://qbash.com/connectors/affinity) page lists what the connector can do. ### Create an Affinity API key 1. Sign in to Affinity and open **Settings → Manage Apps**. 2. Create an app with a name that identifies its use in qbash, then generate its API key. Affinity's [key setup instructions](https://support.affinity.co/s/article/How-to-Create-and-Manage-API-Keys) cover the current form. 3. Copy the API key. Keep it private. 4. If you cannot create a key, ask your Affinity admin for the **Generate an API key** permission and confirm your plan includes API access. Affinity's [published API limits](https://developer.affinity.co/pages/external-api-v2/rate-limits) list no API calls for Essentials, 100,000 calls per month for Scale and Advanced, and unlimited monthly calls for Enterprise. All eligible plans still have per-user minute limits and account concurrency limits. Confirm your own contract with Affinity if you use a legacy plan. Your key can access only records the key owner can see in Affinity. Export reads, including saved-view entries, require **Export data from Lists**. Some fields depend on the data sources and features licensed to your account. A permission refusal does not mean that the key has expired. ### Add the connection in qbash 1. Open **Connectors → Affinity → Connect**. 2. Enter a credential name and paste the API key into **API Key**. 3. If the key has an IP allowlist, select **Requires static egress IP** and confirm that your Affinity allowlist includes qbash's static egress addresses. 4. Save the connection. qbash checks the key with Affinity's account endpoint and encrypts the stored key. 5. In each task, choose **Add connector** from the Package **+** menu and explicitly select this Affinity credential. ![Affinity connection form with empty credential fields](https://qbash.com/img/docs/connectors/affinity-credential.jpg) ### Read organizations This task reads one page without changing your CRM: ~~~python result = qbash.integrations.affinity.search_organizations( page_size=10, with_interaction_dates=True, ) organizations = result["organizations"] print("Organizations on this page:", len(organizations)) print("More pages:", result.get("next_page_token") is not None) ~~~ To continue, pass `next_page_token` as `page_token` with the same search filters. The printed organization count covers the current page. For a filtered list with inline fields, call `list_saved_views(list_id=...)`, choose an existing **sheet** view, then call `get_saved_view_entries(list_id=..., view_id=..., limit=10)`. Saved-view filters and selected columns apply. View sort order is not preserved. These V2 reads return `next_cursor`, which you pass as `cursor`, and keep Affinity's camelCase field names and typed value objects. See the [Task SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for all methods and parameters. ### Records, limits and errors - V1 person and organization enrichment flags retain the related data supplied by Affinity. Null attributes may be omitted, so use `.get()` for optional fields. - Interaction reads require one type and a start/end time range of at most one year. Use meeting, call, chat or email, and ISO 8601 timestamps such as `2026-09-01T00:00:00Z`. - Notes may contain HTML, Markdown or plain text. File reads return metadata, including size in bytes, rather than file contents. - `get_fields()` returns all accessible global and list definitions when no list ID is given. Definitions and field-value reads are complete collections without paging. - V1 inline field reads stop after 50 entries. Failed field reads return `field_values="not_fetched"` with `field_values_error`. Entity membership fallback scans at most 20 lists and one page per list, and reports `truncated=True` when coverage is incomplete. - Field-name filters resolve names from field definitions when needed. This can add an API request. Field history works only for definitions with `track_changes=True`. - V2 enriched-field endpoints are vendor beta endpoints. qbash pins V2 requests to 2026-09-17. - `get_rate_limit()` reports available quota. Its reset values are seconds until reset. V1 and V2 use the same quota pool. A 429 requires waiting for capacity to reset. ### Replace or reconnect a key If a key is revoked or Affinity returns 401, generate a replacement in **Manage Apps**, then edit the qbash connection and replace its API key. qbash validates the replacement. Renaming the connection preserves the stored key. For 403 errors, check the key owner's record access, export permission, plan and IP allowlist before replacing the key. Affinity's public REST API documents API-key authentication. qbash does not require a separate OAuth app for this connector. --- ## Connect Linear Source: https://qbash.com/docs/connectors/linear Tasks call Linear through `qbash.integrations.linear` with a personal API key saved on the Connectors page. The key can read only the data its owner can access, with further restrictions for the permissions and teams you select. After you connect Linear, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Linear MCP server](https://qbash.com/connectors/linear) page lists what the connector can do. ### Create a personal API key 1. Sign in to [Linear](https://linear.app). To test writes, create a dedicated test team or workspace first. 2. Open **Settings**. Under **Personal**, select **Security & access**. ![Security & access in Linear settings](https://qbash.com/img/docs/connectors/linear-security-access.png) 3. Open **Personal API keys**, then click **New API key**. ![Personal API keys and the New API key button](https://qbash.com/img/docs/connectors/linear-new-api-key.png) 4. Give the key a name and **Read** permission. Restrict it to the teams your task uses. 5. Add **Create issues** for `create_issue` and **Create comments** for `create_comment`. `update_issue` requires **Write**, which grants broader write access. **Admin** permission is not needed. 6. Create and copy the key. If you cannot create a key, ask a workspace admin to enable **Member API keys** under **Settings → Administration → API**. Linear documents the controls in [API and Webhooks](https://linear.app/docs/api-and-webhooks). ### Add the key in qbash 1. Open **Connectors**, then **Linear**, and click **Connect**. 2. Enter a credential name and paste the personal API key. qbash reads the authenticated user's profile to check the key before saving it. The connector requires Read permission for this check. 3. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash credential form for Linear](https://qbash.com/img/docs/connectors/linear-qbash-credential.jpg) When editing a credential, leave the key blank to keep the saved key. Renaming the credential preserves its authentication status. ### Read issues from a task ```python report = qbash.integrations.linear.list_issues( state_type="started", limit=50, ) for issue in report["issues"]: print(issue["identifier"], issue["title"], issue["url"]) ``` `list_issues` supports team, project, assignee, workflow category, priority, title substring and an inclusive `updated_since` timestamp. It returns the most recently updated issues first. Every list method reads one page and returns `next_cursor` and `has_more`. Pass `next_cursor` back as `cursor` until it is `None` to read subsequent pages. Keep the same filters while paging. Find UUIDs with `list_teams`, `list_users`, `list_projects`, `list_cycles`, `list_workflow_states` and `list_labels`. In Linear, **Cmd/Ctrl+K → Copy model UUID** also copies the UUID of the current resource. Issue lookup, updates and comments accept an issue identifier such as `ENG-123` as well as a UUID. ### Create and update issues ```python created = qbash.integrations.linear.create_issue( team_id="YOUR_TEST_TEAM_UUID", title="Review the weekly bug report", description="Created by the qbash test task.", ) issue_id = created["issue"]["id"] qbash.integrations.linear.update_issue(issue_id=issue_id, priority=3) qbash.integrations.linear.create_comment( issue_id=issue_id, body="The weekly report is ready for review.", ) ``` Updates change only supplied fields. `None` leaves a field alone. To remove an assignee, project, cycle, due date, estimate or description, pass its SDK field name in `clear_fields`, such as `clear_fields=["assignee_id"]`. `label_ids` replaces the entire label list. Pass `[]` to remove all labels. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and parameter. ### Prepare test data Create a test team with a project, a label and a few issues in different workflow states. Assign one issue, attach it to the project, and add a comment. Enable cycles for the team and create or use a cycle to test `list_cycles`. A team without cycles can return an empty page. The repository's `test-tasks/linear-test.py` exercises every read mode. Its write flag defaults to false. When enabled with a test team UUID, it creates one issue and updates and comments only on that issue. ### Details that affect results - The key's permissions and team restrictions determine the records a task can reach. A permission refusal does not invalidate the key. - Archived resources are excluded by default. Pass `include_archived=True` to include them. User lists exclude disabled users. - `query` matches issue titles only. It does not search descriptions or comments. - Priority is 0 for none, 1 urgent, 2 high, 3 normal and 4 low. Due dates use `YYYY-MM-DD`, while `updated_since` requires an ISO 8601 timestamp with a timezone. - A team filter on `list_labels` includes that team's labels and workspace labels. Project progress is the value Linear reports, not a percentage computed by qbash. - Linear limits personal API key calls per user, so multiple keys share the quota. Query complexity and individual operations have additional limits. See [Rate limiting](https://linear.app/developers/rate-limiting). - The connector reports GraphQL errors even if Linear returns HTTP 200 with partial data. Writes are not retried automatically. After a timeout or service error, check Linear before retrying to avoid a duplicate issue or comment. --- ## Connect Shopify Source: https://qbash.com/docs/connectors/shopify Tasks read a Shopify store through `qbash.integrations.shopify`, which calls the Admin GraphQL API. You create an app for the store in the Shopify Dev Dashboard, install it, and give qbash the app's client ID and secret. qbash exchanges them for an access token and gets a new one when Shopify reports the old one expired. After you connect Shopify, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Shopify MCP server](https://qbash.com/connectors/shopify) page lists what the connector can do. The app and the store must belong to the same Shopify organization. To connect a store that belongs to someone else, its owner creates the app in their own Dev Dashboard and shares the client ID and secret. ### Create the app 1. Open the [Shopify Dev Dashboard](https://dev.shopify.com/dashboard) and choose the organization that owns the store. 2. Open **Apps** and click **Create app**. Give it a name. 3. In **Scopes**, paste the scopes your task needs: ``` read_orders,read_customers,read_products,read_inventory,read_locations ``` Add `write_orders`, `write_customers` or `write_products` only if a task calls `add_tags` or `remove_tags` on that kind of record. Leave out `read_all_orders`. The Dev Dashboard rejects it with "Contains invalid scopes". Without it, Shopify returns only the last 60 days of orders. 4. qbash does not use the app URL or redirect URLs, so their values do not matter here. 5. Create the app, then release its version. 6. On the app's **Overview** page, click **Install app** and choose your store. 7. Copy the **Client ID** and **Client secret** from the same page. ![A Shopify Dev Dashboard app overview, with Install app, the client credentials and the active version](https://qbash.com/img/docs/connectors/shopify-app-overview.jpeg) If you change scopes later, release a new version and approve it on the store. ### Add the app in qbash 1. Open **Connectors**, then **Shopify**, and click **Connect**. 2. Enter the store's `.myshopify.com` domain. A custom storefront domain does not work here. 3. Keep **Dev Dashboard app** selected and paste the client ID and secret. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash credential form for Shopify](https://qbash.com/img/docs/connectors/shopify-qbash-credential.jpeg) A store with a custom app made in the Shopify admin before January 2026 can use that app's Admin API access token instead. Choose the custom app option and paste the token, which starts with `shpat_`. ### Allow customer data Shopify treats customer records as protected customer data. Until the app has that access, `list_customers` and `get_customer` fail with "This app is not approved to access the Customer object". Request protected customer data access from the app's API access settings in the Dev Dashboard and fill in the form Shopify shows. The other methods work without it. ### Call Shopify from a task ```python orders = qbash.integrations.shopify.list_orders(created_since="2026-09-01", limit=25) for order in orders["orders"]: print(order["name"], order["total_price"], order["financial_status"]) ``` List methods take `cursor` and return `next_cursor`. Money comes back as a decimal string in the shop's currency. `graphql_query` runs any read query against the Admin API and refuses mutations. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method. ### Add test data A development store is free and has no time limit. Create one from **Stores** in the Dev Dashboard and add products, a customer and a few orders. In the store admin, open **Orders**, click **Create order**, and mark it as paid to get an order without a checkout. --- ## Connect Notion Source: https://qbash.com/docs/connectors/notion Tasks call Notion through `qbash.integrations.notion` with a token from Notion's Developer tools. Notion issues two kinds, and qbash accepts either one. After you connect Notion, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Notion MCP server](https://qbash.com/connectors/notion) page lists what the connector can do. | | Personal access token | Connection token | |---|---|---| | Reaches | Every page and database you can see | Only the pages and databases you add it to | | Setup | Create the token | Create the connection, then add it to each page | | `list_users` | Not allowed | Allowed when user information is turned on | A personal access token is the quickest way to start. A connection token suits a task that should only reach one database. ![Notion Developer tools, with the Connections and Personal access tokens tabs](https://qbash.com/img/docs/connectors/notion-developer-tools.jpeg) ### Create a personal access token 1. In Notion, open [Developer tools](https://app.notion.com/developers). 2. Open **Personal access tokens** and create a token for your workspace. 3. Copy the token. The token acts as you, so a task can read and edit anything you can. Notion does not let personal access tokens list workspace users, so `list_users` returns a 403 with this kind of token. ### Create a connection token 1. In Developer tools, open **Connections** and click **New connection**. Choose an internal connection for your workspace. 2. Turn on read, update and insert content. Turn on user information as well if a task calls `list_users`. 3. Copy the connection's token. 4. Open each page or database a task will use, choose **Connections** from the ••• menu, and add the connection. Adding a parent page also adds the pages under it. Calls to anything the connection has not been added to return 404, and those pages do not appear in `search`. ### Add the token in qbash 1. Open **Connectors**, then **Notion**, and click **Connect**. 2. Give the credential a name and paste the token. 3. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash credential form for Notion](https://qbash.com/img/docs/connectors/notion-qbash-credential.jpeg) ### Call Notion from a task ```python found = qbash.integrations.notion.search(query="Content calendar", object_type="data_source") source_id = found["results"][0]["id"] rows = qbash.integrations.notion.query_data_source( data_source_id=source_id, filter={"property": "Status", "status": {"equals": "Ready"}}, ) for page in rows["pages"]: print(page["title"], page["properties"]) ``` Notion now calls a database's rows a data source. `query_data_source` takes either `data_source_id` or `database_id`, and looks up the first data source when you pass a database. Rows come back with plain values keyed by property name, and `create_page` and `update_page` accept the same values. `get_page_content` returns a page body as markdown. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method. ### Details that affect results - Notion allows about three requests a second. qbash retries a rate-limited call after the wait Notion asks for. - `search` matches titles only. - A 403 for one call leaves the credential working for every other call. --- ## Connect WordPress Source: https://qbash.com/docs/connectors/wordpress Tasks read and write WordPress posts, pages and comments through `qbash.integrations.wordpress`. How you connect depends on where the site runs: After you connect WordPress, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [WordPress MCP server](https://qbash.com/connectors/wordpress) page lists what the connector can do. | Where the site runs | How to connect | |---|---| | WordPress.com, any plan | Sign in with WordPress.com and pick the site | | Self-hosted WordPress, a multisite subsite, WordPress VIP | Application password | | WordPress.com Business or Commerce with plugins | Either. Sign in with WordPress.com to get site stats as well | Both give a task the same methods, apart from `get_stats`, which needs the WordPress.com sign-in. A credential covers one site. Add another credential for each extra site. ### Connect a WordPress.com site 1. Open **Connectors**, then **WordPress**, and click **Connect**. 2. Choose **WordPress.com** and click **Connect with WordPress.com**. 3. Sign in to WordPress.com if asked, pick the site, and click **Approve**. The credential can do what your WordPress.com account can do on that site. An Editor or Administrator account reaches every method. To disconnect qbash, remove the credential here, or open **Security**, then **Connected applications** in your WordPress.com account settings. ### Connect a self-hosted site The site needs WordPress 5.6 or later and HTTPS. qbash signs in as a WordPress user with an application password, so the credential has that user's role. #### Create an application password 1. In wp-admin, open **Users**, then **Profile**. Use an Editor account if a task updates posts or moderates comments. An Author can create and edit only their own posts. 2. Scroll to **Application Passwords**, enter `qbash` as the name, and click **Add New Application Password**. 3. Copy the password. WordPress shows it once. The spaces in it are fine to paste. If the **Application Passwords** section is missing, something on the site has turned the feature off: - **Wordfence** turns it off by default. Open **Wordfence**, then **All Options**, then **Brute Force Protection**, and clear **Disable WordPress application passwords**. - **Solid Security** and other hardening plugins have a similar setting. - A site served over plain HTTP does not offer application passwords. On WordPress.com Business or Commerce, open the site's own wp-admin and turn on hosting features first. The application passwords in your WordPress.com account security settings are a different kind and do not work here. #### Check the password Run this before adding the password to qbash. It returns your user as JSON when the password works: ```bash curl --user "USERNAME:APPLICATION PASSWORD" "https://example.com/wp-json/wp/v2/users/me?context=edit" ``` A 401 with the code `rest_not_logged_in` means the request arrived without its login. Some hosts and security plugins strip the `Authorization` header before WordPress sees it. Ask your host to pass it through, or look for a setting in the plugin. #### Add the password in qbash 1. Open **Connectors**, then **WordPress**, and click **Connect**. 2. Choose **Self-hosted or plugin-enabled site**. 3. In **Site URL**, enter the address of the site's home page, for example `https://example.com` or `https://example.com/blog` for a site in a subdirectory. Use the address the site ends up on after any redirect, including whether it starts with `www`. qbash does not follow redirects, and the error names the address to use. 4. In **Username**, enter the login or email of the account. Paste the password into **Application Password**. qbash checks them with the site before saving. ![The qbash credential form for WordPress, with the self-hosted option selected](https://qbash.com/img/docs/connectors/wordpress-qbash-credential.jpeg) ### Use the credential in a task In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ```python posts = qbash.integrations.wordpress.list_posts(status="publish", limit=20) for post in posts["posts"]: print(post["id"], post["title"], post["link"]) qbash.integrations.wordpress.create_post( title="Weekly roundup", content="

Drafted by a task.

", ) ``` `create_post` saves a draft unless you pass `status="publish"`. List methods take `cursor` and return `next_cursor`. To pick up changes since the last run, pass `modified_after` and sort by `modified`, because page numbers move when posts are added during a run. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method. Firewalls such as Wordfence and Cloudflare bot protection can block requests from cloud servers. If a task gets an HTML page back in place of data, allow qbash's requests to `/wp-json/` in the firewall. ### Add test data [InstaWP](https://instawp.com) creates a temporary WordPress site with HTTPS in about a minute, which is enough to try the connector. qbash cannot reach a site on `localhost`. For a site that stays up, use a staging site on your host. On the test site: 1. Open **Settings**, then **Permalinks**, and choose **Post name**. 2. Create an Editor user and an application password for it. 3. Add three published posts and give each a category, a tag and a featured image. Then add one draft post, a page with a child page, and one image in the media library. 4. Approve two comments and leave a third pending. A comment posted while logged out is held for moderation by default. --- ## Connect X Source: https://qbash.com/docs/connectors/x The X connector uses your own developer app with OAuth 2.0 user authorization. Your X developer account supplies the API access and pays for requests. qbash stores the Client Secret and tokens encrypted, and manages token refresh. After you connect X, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [X MCP server](https://qbash.com/connectors/x) page lists what the connector can do. ### Create your X app 1. Sign in to the [X Developer Console](https://console.x.com). If you do not have developer access, complete X's registration and describe your use case. 2. For a new app, open **Apps**, then **Create App**. Enter an application name, select a project with the API access you need, and choose its environment. Create the app. The current console requires at least one project connection. For an existing app, open it from **Apps**. 3. On the app's **Keys & Tokens** page, click **Settings** at the top right. Both new and existing apps need this step to reach **App info**. Under **Type of App**, select **Web App, Automated App or Bot**, the confidential client option. This enables OAuth 2.0 and gives the app a Client Secret. ![The confidential client option in X authentication settings](https://qbash.com/img/docs/connectors/x-oauth-app-type.jpg) 4. In qbash, open **Connectors → X → Connect** and copy the required **Callback URL** from the credential form. In X's **Settings**, scroll to **App info** and paste it into **Callback URI / Redirect URL**. For the qbash production installation, the URL is: ```text https://app.qbash.com/oauth/x/callback ``` Match the URL exactly, including the protocol and path. Do not add a trailing slash. The form displays the callback configured by your qbash backend, including for local and staging installations. 5. Enter your website's HTTPS URL in **Website URL**. Fill in organization, terms and privacy URLs if your app or X's review process requires them. Click **Save Changes**. 6. Return to **Keys & Tokens**. Under **OAuth 2.0 Keys**, copy the **Client ID** and **Client Secret**. These are separate from the Consumer Key, the OAuth 1.0 Access Token and the app-only Bearer Token. Store the secret securely when X shows it. 7. Check your project's API access and your account's credit balance. Configure your own spending limit in the console. Adding credentials to qbash does not buy API credits or enable auto-recharge. The **App permissions** choices above **Type of App** configure OAuth 1.0a. OAuth 2.0 permissions come from the scopes requested during consent. qbash does not request email or Direct Message access. X documents [app configuration](https://docs.x.com/fundamentals/developer-apps), [developer access](https://docs.x.com/x-api/getting-started/getting-access) and [API billing](https://docs.x.com/x-api/getting-started/pricing). A working app still needs the relevant endpoint access and credits. This guide does not promise approval for every account or use case. ### Connect the app in qbash 1. Open **Connectors → X**, then click **Connect**. 2. Enter a credential name, your OAuth 2.0 **Client ID**, and **Client Secret**. 3. Click **Connect with X**. Sign in to the X account whose identity and posts your task should use, then review and authorize the requested permissions. 4. In the task editor, choose **Add connector** from the Package **+** menu and explicitly select this X credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash X form with numbered setup steps and a copyable callback URL](https://qbash.com/img/docs/connectors/x-qbash-oauth.jpg) The consent flow requests `tweet.read`, `users.read`, `tweet.write`, `media.write` and `offline.access`. The connector currently requests publishing permission even for tasks that only read. `media.write` lets a task upload images, GIFs and video, so your X app must also allow media upload, and a connection made before qbash requested `media.write` must reconnect before it can upload. `offline.access` supplies the refresh token used for scheduled tasks. Access tokens normally last two hours, and refresh uses the same app credentials. Revoking consent or changing the app secret can require reconnecting. ### Authentication coverage Both app-only tokens and OAuth user tokens use a Bearer authorization header. Their permissions differ: | Capability | App-only token | OAuth 2.0 user token | | --- | --- | --- | | Recent search, public profile/post lookup, timelines, mentions, recent counts and trends | Supported by X | Supported by X | | Connected user's identity (`get_me`) | Unavailable | Supported | | Private post metrics | Unavailable | For the authenticated author's eligible posts from the last 30 days | | Publishing (`create_tweet`) | Unavailable | Requires `tweet.write` | | Media upload (`upload_media`, `get_media_status`) | Unavailable | Requires `media.write` | OAuth 2.0 user tokens cover all thirteen current qbash X methods, subject to scopes, ownership and API access. qbash accepts customer-owned OAuth connections only. Manually pasted app-only and OAuth 1.0 tokens are unsupported. This coverage applies to the connector's methods. X also has app-only endpoints outside this connector, including filtered streams, compliance jobs, full-archive counts and API usage reports. They would need a separate app-only authorization path if added. See [X's current endpoint specification](https://docs.x.com/openapi.json). ### Read from a task ```python profile = qbash.integrations.x.get_me()["user"] page = qbash.integrations.x.list_user_tweets( user_id=profile["id"], max_results=5, ) print({"post_count": page["count"]}) cursor = page["meta"].get("next_token") if cursor: following = qbash.integrations.x.list_user_tweets( user_id=profile["id"], max_results=5, pagination_token=cursor, ) print({"next_page_count": following["count"]}) ``` `list_user_tweets` returns one page and preserves X's pagination metadata. The other search and timeline methods currently return one page without a continuation cursor. Recent search and recent counts cover the last seven days. Private metrics are not guaranteed for another user's post or an older post. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists the methods, arguments and result fields. The repository's `test-tasks/x-test.py` exercises existing reads and one available continuation. It never publishes or creates test posts. Use an account with existing posts if you want the post lookup and private metrics checks to run. ### Replace an old connection Connections created with qbash's former OAuth app must be replaced. Create a new connection using your own Client ID and Secret, authorize your account, then select that credential in each task or MCP server that uses X. The old app's tokens cannot be transferred to your app. Renaming a connection does not replace its app credentials. ### Local and staging setup For local testing, use your public HTTPS tunnel hostname followed by `/oauth/x/callback`, such as `https://YOUR-TUNNEL.ngrok.app/oauth/x/callback`. Register the exact URL that the backend sends as `redirect_uri`. The backend constructs it from `HOST_URL` plus `/oauth/x/callback`. Have the local operator configure that public host and its routing before starting consent. Do not register `localhost` as the hostname. For staging, register `https://YOUR-STAGING-HOST/oauth/x/callback`. X permits multiple callbacks per app, though separate apps make environment billing and access easier to inspect. Production uses `https://app.qbash.com/oauth/x/callback` unless your installation has a different public host. Customers enter their app credentials in qbash. They do not need server environment variables. The X integration deliberately prevents fallback to the old `X_CLIENT_ID` and `X_CLIENT_SECRET` environment values. ### When a call fails - **401:** The user token may be expired or revoked. Reconnect the customer-owned credential. - **403:** Check granted scopes, post ownership and the project's endpoint access. A refusal for one resource does not establish that the token expired. - **402 or exhausted credits:** Review your own developer account's balance and spending limit. - **429:** Respect the endpoint's rate limit before retrying. - **Callback mismatch:** Compare the registered URL to the authorization request's `redirect_uri`, including the hostname, protocol, path and trailing slash. --- ## Connect ActiveCampaign Source: https://qbash.com/docs/connectors/active-campaign Tasks call ActiveCampaign through `qbash.integrations.active_campaign` with an API URL and API key stored on the Connectors page. The same connection reads contacts, campaigns and campaign reports, including the contacts who opened a campaign. After you connect ActiveCampaign, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [ActiveCampaign MCP server](https://qbash.com/connectors/active-campaign) page lists what the connector can do. ### Find your API URL and key 1. Sign in to your ActiveCampaign account. 2. Open **Settings** using the gear icon, then select **Developer**. 3. Under **API Access**, click **Copy API Url** and **Copy API Key**. ![ActiveCampaign Settings → Developer, showing the API Access URL and masked key](https://qbash.com/img/docs/connectors/active-campaign-api-settings.png) Copy the complete URL shown in your account. ActiveCampaign uses account-specific API hosts, including different hosts for some regions. qbash adds the endpoint paths when it makes a request. See ActiveCampaign's [API URL guidance](https://developers.activecampaign.com/reference/url). ActiveCampaign calls this credential an **API Key**. The qbash form calls the same value **API Token**. This connection uses that key, so you do not need to register an OAuth app. Keep the key in the credential form rather than putting it in task code. See [ActiveCampaign API authentication](https://developers.activecampaign.com/reference/authentication). ### Add the connection in qbash 1. Open **Connectors**, select **ActiveCampaign**, then click **Connect**. 2. Enter a **Credential Name** that identifies the account. 3. Paste the copied URL into **API URL** and the key into **API Token**. 4. Leave **Event Key** and **Account ID (actid)** blank for read tasks. These optional fields are used by `track_event`, which writes an event to ActiveCampaign. 5. Save the connection. 6. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ![The qbash ActiveCampaign credential form](https://qbash.com/img/docs/connectors/active-campaign-qbash-credential.jpeg) ### Read a campaign's open report This example finds a recent completed campaign, reads its open report and prints the number of returned records. Both calls read existing data. ```python result = qbash.integrations.active_campaign.list_campaigns( status="5", limit=20, orders_sdate="DESC" ) if result["campaigns"]: campaign = result["campaigns"][0] report = qbash.integrations.active_campaign.list_campaign_opens( campaign_id=campaign["id"], page=1 ) print("Campaign:", campaign["name"]) print("Open records on this page:", len(report["opens"])) # report["opens"] contains the returned contact-level open records. # Pass report["next_page"] as page to continue until it is None. else: print("No completed campaigns found.") ``` Choose the specific campaign ID when building a newsletter report. A contact's last-opened date can include other campaigns and automation emails. `list_campaigns` uses `limit` and an offset supplied as `cursor`, returning `next_cursor`. Campaign open reports use `page` and return `next_page`. The report API can return larger pages than its documented page size, so follow the returned continuation. A final empty-page request may be needed. `list_campaign_link_clicks` returns its complete link report with clicker records in each link's `info` list. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists the read methods, parameters and response fields. Open and click reports use the API URL and key already selected for the task. No separate report token is required. ### Troubleshoot the connection - **No campaign or open records:** Check that the account has a sent campaign with tracked opens and that your task selected its credential. Empty results can be valid for an account with no matching data. - **A permission error on CRM data:** Check access to that resource and the account's plan. A refused deal or account request can occur while campaign reports still work. - **The URL fails:** Copy it again from **Settings → Developer**. Use the account's full HTTPS API URL. - **The key stops working:** Edit the qbash connection after an API key reset or change of key owner. Each ActiveCampaign user has their own API credentials. Deleting that user breaks integrations using their key. ActiveCampaign's [API setup guide](https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API) covers key resets and ownership. Recorded opens can include automated email activity. Treat the report as evidence of tracked opens when interpreting engagement. --- ## Connect Ahrefs Source: https://qbash.com/docs/connectors/ahrefs Use an Ahrefs API v3 key to read Site Explorer and Keywords Explorer data from Python tasks in qbash. API requests use API units from the Ahrefs workspace that owns the key. After you connect Ahrefs, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Ahrefs MCP server](https://qbash.com/connectors/ahrefs) page lists what the connector can do. ### Create an Ahrefs API key 1. Sign in to the Ahrefs workspace that will pay for the API usage. API access is available on eligible paid plans; workspace owners and admins can check API access and usage in Account settings. 2. Open [Ahrefs API keys](https://ahrefs.com/account/api), then create a key for qbash. Give the key a descriptive name and set a per-key usage limit if your plan offers that control. 3. Copy the key. Ahrefs displays it only when you create it. API keys expire one year after creation and are invalidated if the user who created them is removed from the workspace. Ahrefs API keys and MCP keys are different credentials. Use the API key on this page for Python SDK methods. The separate Ahrefs chat connection uses an MCP key. ### Add the key to qbash 1. On the **Connectors** page, select **Ahrefs**. 2. Add a credential name and paste the API v3 key, then save it. 3. In the task editor, choose **Add connector** from the Package **+** menu and select the Ahrefs API-key credential. A task uses only the credential selected for it. ### Read keyword data ```python report = qbash.integrations.ahrefs.organic_keywords( target="example.com", country="us", limit=100, ) for keyword in report["keywords"]: print(keyword.get("keyword"), keyword.get("position"), keyword.get("volume")) ``` Replace `example.com` with the domain, subdomain, URL prefix, or URL you want to inspect. The method returns a bounded page. Ahrefs removed the `offset` parameter from API v3, so the connector cannot fetch a later page through offset or a cursor. Use the endpoint's filters and a smaller `limit` to keep requests focused. ### API units and access Most API v3 report calls consume units from the connected Ahrefs workspace. Cost depends on the rows returned and the requested fields, with a 50-unit minimum for most paid requests. Keep limits small and select only the reads your task needs. Ahrefs provides a limited set of free test queries on paid plans, including Site Explorer requests for Ahrefs-owned domains and Keywords Explorer requests using only its documented test terms. Mixing other targets or terms can make a request billable. If a call returns 401, create a replacement key and update the qbash credential. A 403 can mean the plan, API units, or requested resource does not allow that call; check Ahrefs access and usage settings before replacing a key. Workspace owners can revoke keys in Account settings. See the [Ahrefs API reference](https://docs.ahrefs.com/en/api/reference) for endpoint fields and the [API key guide](https://docs.ahrefs.com/en/api/docs/api-keys-creation-and-management) for key lifecycle and usage controls. --- ## Connect MySQL Source: https://qbash.com/docs/connectors/mysql Tasks query MySQL through `qbash.integrations.mysql` with a database user you save on the Connectors page. The connector works with MySQL 5.7 and later and with MariaDB, including managed services such as Amazon RDS, Aurora, Google Cloud SQL and Azure Database for MySQL. After you connect MySQL, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [MySQL MCP server](https://qbash.com/connectors/mysql) page lists what the connector can do. Every statement runs with the rights of that user. A user granted only `SELECT` cannot change data, whatever SQL a task sends. ### Create a read-only user Connect to the server as an administrator and create a user for qbash. Replace `shop` with your database name and choose a long random password. ```sql CREATE USER 'qbash_reader'@'%' IDENTIFIED BY 'a-long-random-password'; GRANT SELECT ON shop.* TO 'qbash_reader'@'%'; ``` `'%'` lets the user sign in from any address. To limit it to qbash, create one user per address in [Let qbash reach the server](https://qbash.com/docs/connectors/mysql#let-qbash-reach-the-server) in place of `'%'`. To report across several databases, repeat the `GRANT` for each one. Grant `INSERT`, `UPDATE` or `DELETE` on specific tables only if a task needs to write. On Amazon RDS, Cloud SQL and Azure, run the same statements as the admin user the service created for you. ### Let qbash reach the server The server must accept connections on a public address. qbash cannot reach it through a private or loopback address, such as `10.0.0.5`, `192.168.1.20` or `localhost`. For a managed database, turn on public access and add an inbound rule for the MySQL port, which is 3306 unless you changed it. If the firewall admits only known addresses, add these to the inbound rule: - `69.55.55.112` - `157.230.11.12` - `3.131.208.66` qbash uses these addresses for every connection once the credential has **Requires static egress IP** selected. ### Add the user in qbash 1. Open **Connectors**, then **MySQL**, and click **Connect**. 2. Enter a credential name, then the host, port, database, username and password. The database you enter is the default for `list_tables` and `describe_table`. 3. Under **Access level**, select the most that AI tools and tasks can do with this credential. See [Choose the access level](https://qbash.com/docs/connectors/mysql#choose-the-access-level). The user's grants still apply. 4. Choose an **SSL Mode**: - **Required** encrypts the connection without checking the server's certificate. It is the default. - **Verify CA** also checks that the certificate was issued by a trusted authority. - **Verify CA and host name** checks the authority and that the certificate names the host you entered. - **Disabled** sends traffic, including the password, unencrypted. Use it only for a server that does not support TLS. 5. For the two verify modes, paste your provider's CA certificate, such as the Amazon RDS certificate bundle, into **CA Certificate** in PEM format. Without one, qbash checks against public certificate authorities, which a self-signed server certificate fails. 6. Select **Requires static egress IP** if your firewall allows only the addresses above, and save. 7. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Choose the access level The connector has three SQL tools, and the access level decides which of them run: | Tool | What it runs | Access levels that allow it | |---|---|---| | `read_query` | A statement in a read-only transaction that is always rolled back | All three | | `execute_query` | A statement that changes data | Read and change data, Full access | | `change_schema` | A statement that changes tables, such as `CREATE`, `ALTER` or `DROP` | Full access | AI tools see only the tools the access level allows. A task that calls a tool above the access level gets an error that names the access level. **Full access, including schema changes** adds no limit from qbash, so AI tools and tasks can do whatever the user's grants allow. A credential saved before the access level existed has **Full access**. A read-only transaction does not stop every change, so `read_query` also checks the statement text before it sends it. Select **Read only** for a user granted only `SELECT`. With that access level, the user's grants keep AI tools to reads, and their `read_query` calls skip the text check. Tasks and test runs always get the check. For AI tools, `execute_query` refuses statements that change the schema and names `change_schema`. It reads the first word and refuses `CREATE`, `ALTER`, `DROP`, `TRUNCATE`, `RENAME`, `GRANT`, `CALL`, `PREPARE` and `EXECUTE`, among others. It refuses MariaDB compound statements too (`BEGIN NOT ATOMIC`, `IF`, `CASE`, `LOOP`, `WHILE`, `REPEAT`, `FOR`, `DECLARE` and labelled blocks), since they can hold DDL. It also refuses `INTO OUTFILE`, `INTO DUMPFILE` and executable comments (`/*! ... */`) anywhere in the statement. Tasks get the same check on a **Read and change data** login. The check is best effort. To be sure, use a login that cannot change the schema, and select **Read and change data**. Test runs allow `read_query` and refuse `execute_query` and `change_schema`, so a task that reads should call `read_query`. ### Query MySQL from a task ```python report = qbash.integrations.mysql.read_query( query="""SELECT order_id, total, created_at FROM orders WHERE status = ? AND shipped_at IS NULL ORDER BY created_at LIMIT 25""", query_params=["paid"], ) for row in report["result"]: qbash.log(f'{row["order_id"]} {row["total"]} {row["created_at"]}') ``` Bind values with `?` placeholders and `query_params` rather than formatting them into the SQL string. `output_format` also accepts `single_value`, which returns the first column of the first row, and `columns_and_rows`, which returns column names and rows as lists. To find table and column names, call `list_schemas()` for the databases the user can see, `list_tables(schema=None)` for the tables and views in one, and `describe_table(table="orders")` for its columns, indexes, foreign keys and check constraints. `schema` defaults to the database on the credential. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and parameter. #### Run several statements on one connection `qbash.integrations.mysql.connect()` opens a direct connection with the same credential, using [PyMySQL](https://pymysql.readthedocs.io). Use it when a script needs several statements in one transaction. Statements inside `with db:` commit together, or roll back together if one raises. DDL statements such as CREATE TABLE commit on their own in MySQL, and MyISAM tables do not roll back. This connection uses `%s` placeholders rather than `?`. ```python db = qbash.integrations.mysql.connect() paid = db.scalar("SELECT COUNT(*) FROM orders WHERE status = %s", ("paid",)) with db: db.execute("UPDATE orders SET status = %s WHERE order_id = %s", ("held", 1042)) db.execute("INSERT INTO order_notes (order_id, note) VALUES (%s, %s)", (1042, "Held for review")) ``` The `UPDATE` and `INSERT` above need a user with write grants on those tables. ### Add test data Create a small table in a test database and grant the qbash user `SELECT` on that database: ```sql CREATE TABLE orders ( order_id INT PRIMARY KEY AUTO_INCREMENT, status VARCHAR(20) NOT NULL, total DECIMAL(10, 2) NOT NULL, created_at DATETIME NOT NULL, shipped_at DATETIME NULL ); INSERT INTO orders (status, total, created_at, shipped_at) VALUES ('paid', 189.50, '2026-09-28 09:00:00', NULL), ('paid', 42.00, '2026-09-30 14:10:00', NULL), ('paid', 75.25, '2026-09-25 11:30:00', '2026-09-26 08:00:00'); ``` ### Details that affect results - Each SQL tool runs one statement per call. The server refuses a second statement after a semicolon, so split the work across calls or use `connect()`. - `DECIMAL` values come back as strings, such as `"189.50"`, to keep their precision. Convert them with `float()` or `Decimal()` before doing arithmetic. - `DATE`, `DATETIME`, `TIMESTAMP` and `TIME` values come back as ISO 8601 strings. `TIMESTAMP` values are in the session time zone and carry no offset. A `TIME` that is negative or 24 hours or more fails the call, so select it as `CAST(duration AS CHAR)`. - `JSON` columns come back as dicts or lists on MySQL. MariaDB stores `JSON` as `LONGTEXT`, so there they come back as JSON text that needs parsing before you index into it. `TINYINT(1)` columns come back as `0` or `1` rather than `True` or `False`, and `BIT` columns come back as integers unless their width is a multiple of 8, such as `BIT(8)`. Those come back as raw bytes, so select `flags + 0` to get the integer. - With the default `json_rows` format, `row_count` is the number of rows returned, so an `UPDATE` reports 0 even when rows changed. Use `output_format="columns_and_rows"` to get MySQL's count of affected rows. - `read_query` refuses a statement that changes a permanent table, and the transaction is always rolled back. A read-only transaction does not stop a stored procedure that commits inside itself, `SET GLOBAL`, `KILL` or `SELECT ... INTO OUTFILE`, so `read_query` also checks the statement text. The statement must start with `SELECT`, `WITH`, `SHOW`, `DESCRIBE`, `EXPLAIN`, `TABLE`, `VALUES` or a parenthesis. The words `OUTFILE` and `DUMPFILE` and executable comments (`/*!` and `/*M!`) are refused anywhere in the statement, inside strings too. AI tools on a **Read only** login skip the check, and there the user's grants decide what runs. Older scripts can still pass `read_only=True` to `execute_query`. That call runs in the same read-only transaction and always gets the text check. - `list_tables` and `describe_table` return empty lists for a database or table that does not exist or that the user cannot read. Treat empty `columns` from `describe_table` as not found. - Check constraints are listed only on MySQL 8.0.16 and later and on MariaDB 10.2 and later. Older servers accept them in `CREATE TABLE` but do not store them. - `retry_attempts` retries refused or timed-out connections up to 4 times, waiting 15 to 60 seconds between attempts. A query that fails is never retried. --- ## Connect Snowflake Source: https://qbash.com/docs/connectors/snowflake Tasks query Snowflake through `qbash.integrations.snowflake` with a credential you save on the Connectors page. The connector sends each statement to the Snowflake SQL API over HTTPS. That API accepts no password, and Snowflake is phasing out password sign-in for non-human users through 2026, so the credential stores an RSA key pair or a programmatic access token. After you connect Snowflake, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Snowflake MCP server](https://qbash.com/connectors/snowflake) page lists what the connector can do. Every statement runs with the privileges of the credential's role. A role granted only `SELECT` cannot change data, whatever SQL a task sends. ### Find your account identifier The account identifier has the form `orgname-account_name`. To print yours, run this in a Snowsight SQL worksheet: ```sql SELECT CURRENT_ORGANIZATION_NAME() || '-' || CURRENT_ACCOUNT_NAME(); ``` Snowsight also shows it when you open the account selector and select **View account details**. There it is written `ORGNAME.ACCOUNT_NAME`, which qbash accepts. qbash also takes the account URL or a legacy locator with its region, such as `xy12345.us-east-2.aws`. qbash connects over the public internet, so a PrivateLink address cannot be used. Accounts on `snowflakecomputing.cn` are not supported. ### Create a role and a service user Run these statements in a worksheet with the `ACCOUNTADMIN` role. Replace `reporting_wh` with your warehouse and `analytics.fx` with the database and schema your tasks read. ```sql CREATE ROLE qbash_reader; GRANT USAGE ON WAREHOUSE reporting_wh TO ROLE qbash_reader; GRANT USAGE ON DATABASE analytics TO ROLE qbash_reader; GRANT USAGE ON SCHEMA analytics.fx TO ROLE qbash_reader; GRANT SELECT ON ALL TABLES IN SCHEMA analytics.fx TO ROLE qbash_reader; CREATE USER qbash_service TYPE = SERVICE DEFAULT_ROLE = qbash_reader DEFAULT_WAREHOUSE = reporting_wh; GRANT ROLE qbash_reader TO USER qbash_service; ``` `TYPE = SERVICE` marks the user as a program, so Snowflake refuses password sign-in for it. `ALL TABLES` covers the tables in the schema today. For tables created later, also run `GRANT SELECT ON FUTURE TABLES IN SCHEMA analytics.fx TO ROLE qbash_reader;`. Grant `SELECT ON ALL VIEWS` the same way if a task reads views. If a task calls `insert_rows`, grant `INSERT` on the table it writes, as in `GRANT INSERT ON TABLE analytics.fx.daily_rates TO ROLE qbash_reader;`. For `upsert_rows`, grant `INSERT, UPDATE, SELECT` on the table instead. ### Admit qbash with a network policy By default, Snowflake accepts a programmatic access token only from a user that a network policy covers. Key pair sign-in needs a policy only when the account or user already has one, and then that policy must list qbash's addresses. A network rule belongs to a schema, so give it a full name in a schema you administer. This example uses `analytics.public`. ```sql CREATE NETWORK RULE analytics.public.qbash_egress MODE = INGRESS TYPE = IPV4 VALUE_LIST = ('69.55.55.112', '157.230.11.12', '3.131.208.66'); CREATE NETWORK POLICY qbash_policy ALLOWED_NETWORK_RULE_LIST = ('analytics.public.qbash_egress'); ALTER USER qbash_service SET NETWORK_POLICY = qbash_policy; ``` A policy set on a user replaces the account's policy for that user, so the service user can sign in only from these three addresses. Select **Requires static egress IP** on the qbash credential so its calls come from them. An admin can lift the network policy requirement for tokens with an authentication policy that sets `PAT_POLICY = (NETWORK_POLICY_EVALUATION = ENFORCED_NOT_REQUIRED)`. With the network policy in place, a leaked token cannot be used from any other address. ### Sign in with a key pair Follow this section or the token section after it. A key pair is the recommended sign-in for a service user. qbash signs each request with the private key, and Snowflake checks the signature against the public key set on the user. The key has no expiry date. 1. Generate a private key. This command encrypts it and asks for a passphrase: ```bash openssl genrsa 2048 | openssl pkcs8 -topk8 -v2 aes-256-cbc -inform PEM -out rsa_key.p8 ``` For a key without a passphrase, run this instead: ```bash openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt ``` 2. Write out the public key: ```bash openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub ``` 3. Copy the contents of `rsa_key.pub` between the `BEGIN PUBLIC KEY` and `END PUBLIC KEY` lines and set them on the user: ```sql ALTER USER qbash_service SET RSA_PUBLIC_KEY = 'MIIBIjANBgkqh...'; ``` `DESCRIBE USER qbash_service` then shows the key's fingerprint in `RSA_PUBLIC_KEY_FP`. Keep `rsa_key.p8` private. qbash needs the whole file, plus its passphrase if you encrypted it. ### Sign in with a programmatic access token A token is the alternative to a key pair. It is created entirely in Snowsight, and it expires after a set number of days. 1. In Snowsight, open **Users & roles**, select `QBASH_SERVICE`, and click **Generate new token**. 2. Name the token, choose `QBASH_READER` as its role, and set how many days it lasts. A token for a service user must name a role. 3. Generate the token and copy its secret. Snowflake shows the secret once. To create the token in a worksheet instead: ```sql ALTER USER qbash_service ADD PROGRAMMATIC ACCESS TOKEN qbash_token ROLE_RESTRICTION = 'QBASH_READER' DAYS_TO_EXPIRY = 90; ``` The secret is in the `token_secret` column of the result. A token lasts 15 days by default and up to 365 with `DAYS_TO_EXPIRY`, and an account policy can change both limits. Once it expires, calls fail with a 401 error until you paste a new token into the credential. The token runs as the role it names, so leave the role on the credential blank or set it to that role. ### Add the credential in qbash 1. Open **Connectors**, then **Snowflake**, and click **Connect**. 2. Enter a **Credential Name** and the **Account identifier**. 3. Under **Authentication**, choose the sign-in method: - For **Key pair**, enter the **User name**, `qbash_service`, and paste the whole `rsa_key.p8` file into **Private key**, including its `BEGIN` and `END` lines. Fill in **Private key passphrase** if the key is encrypted. - For **Programmatic access token**, paste the token secret. 4. Under **Access level**, select the most that AI tools and tasks can do with this credential. See [Choose the access level](https://qbash.com/docs/connectors/snowflake#choose-the-access-level). The role's grants still apply. 5. Under **Query defaults**, optionally enter a warehouse, database, schema and role. A call that leaves one out uses the credential's value, then the user's default. `list_schemas`, `list_tables`, `describe_table` and `insert_rows` read the database from the call or the credential, and all but `list_schemas` read the schema the same way. Names follow Snowflake's rules, so `reporting_wh` matches the warehouse `REPORTING_WH` and a name in double quotes keeps its case. 6. Select **Requires static egress IP** if a network policy covers the user, and click **Add Credential**. qbash checks the credential with Snowflake before saving it, using a query that needs no warehouse. 7. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). To edit the credential later, leave a secret blank to keep the saved one. ### Choose the access level The connector has three SQL tools, and the access level decides which of them run: | Tool | What it runs | Access levels that allow it | |---|---|---| | `read_query` | A statement that starts with `SELECT`, `WITH`, `SHOW`, `DESCRIBE` or `EXPLAIN` | All three | | `execute_query` | A statement that changes data | Read and change data, Full access | | `change_schema` | A statement that changes tables, such as `CREATE`, `ALTER` or `DROP` | Full access | `insert_rows` and `upsert_rows` need **Read and change data** or **Full access**. AI tools see only the tools the access level allows. A task that calls a tool above the access level gets an error that names the access level. **Full access, including schema changes** adds no limit from qbash, so AI tools and tasks can do whatever the role's grants allow. A credential saved before the access level existed has **Full access**. Snowflake has no read-only transaction, so `read_query` checks the statement text before it sends it. Select **Read only** for a role granted only `SELECT`. With that access level, the role's grants keep AI tools to reads, and their `read_query` calls skip the text check. Tasks and test runs always get the check. For AI tools, `execute_query` refuses statements that change the schema and names `change_schema`. It refuses a statement that starts with `CREATE`, `ALTER`, `DROP`, `TRUNCATE`, `UNDROP`, `GRANT`, `REVOKE`, `COMMENT`, `CALL`, `EXECUTE`, `BEGIN` or `DECLARE`, and the `->>` pipe operator. An anonymous procedure (`WITH x AS PROCEDURE ... CALL x()`) can run DDL in its body, so the check refuses `PROCEDURE` in a statement that starts with `WITH`. A column with that name needs double quotes there. A `COPY` with `MATCH_BY_COLUMN_NAME` is refused, since it can add columns to a table with schema evolution on. A plain `COPY INTO` is allowed. Tasks get the same check on a **Read and change data** login. The check is best effort. To be sure, use a role that cannot change the schema, and select **Read and change data**. Test runs allow `read_query` and refuse `execute_query` and `change_schema`, so a task that reads should call `read_query`. ### Query Snowflake from a task ```python report = qbash.integrations.snowflake.read_query( query="""SELECT currency_pair, COUNT(*) AS trades, SUM(notional_usd) AS notional_usd FROM fx_trades WHERE trade_date = ? AND desk = ? GROUP BY currency_pair ORDER BY notional_usd DESC""", query_params=["2026-10-14", "G10 spot"], database="analytics", schema="fx", ) for row in report["result"]: qbash.log(f'{row["CURRENCY_PAIR"]} {row["TRADES"]} {row["NOTIONAL_USD"]}') ``` Bind values with `?` placeholders and `query_params` rather than formatting them into the SQL string. Snowflake returns unquoted column names and aliases in upper case, which is why the loop reads `row["CURRENCY_PAIR"]`. Write an alias in double quotes, such as `AS "trades"`, to keep its case. `output_format` also accepts `single_value`, which returns the first column of the first row, and `columns_and_rows`, which returns column names and rows as lists. To write rows, pass dicts keyed by column name to `insert_rows`. The role needs `INSERT` on the table. ```python qbash.integrations.snowflake.insert_rows( table="daily_rates", rows=[ {"rate_date": "2026-10-14", "currency_pair": "EUR/USD", "close_rate": "1.0874"}, {"rate_date": "2026-10-14", "currency_pair": "USD/JPY", "close_rate": "149.62"}, ], database="analytics", schema="fx", ) ``` To load the same rows again without duplicating them, call `upsert_rows` with the columns that identify a row. A row that matches an existing one on every key column updates it, and the rest are inserted. The role needs `INSERT`, `UPDATE` and `SELECT` on the table. ```python result = qbash.integrations.snowflake.upsert_rows( table="daily_rates", key_columns=["rate_date", "currency_pair"], rows=[ {"rate_date": "2026-10-14", "currency_pair": "EUR/USD", "close_rate": "1.0876", "source": {"feed": "ecb", "fixed_at": "16:00"}}, {"rate_date": "2026-10-15", "currency_pair": "EUR/USD", "close_rate": "1.0861", "source": {"feed": "ecb", "fixed_at": "16:00"}}, ], database="analytics", schema="fx", ) qbash.log(f'{result["rows_inserted"]} inserted, {result["rows_updated"]} updated') ``` If `source` is a `VARIANT` column, each dict is stored as a JSON object, so `SELECT source:feed::string FROM daily_rates` reads it. To find names, call `list_databases()`, `list_schemas(database=...)`, `list_tables(database=..., schema=...)` and `describe_table(table=..., database=..., schema=...)`. `list_warehouses()` returns each warehouse's size and whether it is running. The database and schema default to the credential's. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and parameter. ### Add test data A [Snowflake trial](https://signup.snowflake.com/) runs for 30 days and needs no card. Trial accounts come with a warehouse named `COMPUTE_WH`, so use it in place of `reporting_wh` above. On a new account, create the test table before you run [Create a role and a service user](https://qbash.com/docs/connectors/snowflake#create-a-role-and-a-service-user), so its grants cover the table: ```sql USE ROLE SYSADMIN; CREATE DATABASE IF NOT EXISTS analytics; CREATE SCHEMA IF NOT EXISTS analytics.fx; CREATE TABLE analytics.fx.fx_trades ( trade_id NUMBER(38, 0), trade_date DATE, desk VARCHAR, currency_pair VARCHAR, notional_usd NUMBER(18, 2) ); INSERT INTO analytics.fx.fx_trades VALUES (1, '2026-10-14', 'G10 spot', 'EUR/USD', 25000000.00), (2, '2026-10-14', 'G10 spot', 'EUR/USD', 12500000.00), (3, '2026-10-14', 'G10 spot', 'USD/JPY', 18000000.00), (4, '2026-10-14', 'G10 spot', 'GBP/USD', 7250000.50), (5, '2026-10-13', 'G10 spot', 'EUR/USD', 31000000.00); ``` Newer accounts also include the shared database `SNOWFLAKE_SAMPLE_DATA`. After you create the role, let it read the share: ```sql GRANT IMPORTED PRIVILEGES ON DATABASE snowflake_sample_data TO ROLE qbash_reader; ``` `snowflake_sample_data.tpch_sf1.orders` has 1.5 million rows. Selecting all of it returns the first 10,000 with `truncated` set to `True`. ### Details that affect results - Each SQL tool runs one statement per call and refuses a second statement after a semicolon. The SQL API does not run `PUT`, `GET`, `USE`, `ALTER SESSION`, `BEGIN`, `COMMIT` or `ROLLBACK`. Pass `warehouse`, `database`, `schema` and `role` as arguments in place of `USE`. - `NUMBER` values with a scale, such as a `NUMBER(18, 2)` column or a `SUM` over one, come back as strings like `"37500000.00"` to keep every digit. Convert them with `Decimal()` before doing arithmetic. `NUMBER` with no scale, which includes `COUNT(*)`, comes back as an int, and `FLOAT` as a float. - `DATE`, `TIME` and `TIMESTAMP` values come back as ISO 8601 strings. `TIMESTAMP_TZ` keeps its offset and `TIMESTAMP_LTZ` is converted to UTC. `TIMESTAMP_NTZ` has no offset. Fractions finer than a microsecond are dropped. - `CURRENT_DATE()` and `CURRENT_TIMESTAMP()` follow the session time zone, which is `America/Los_Angeles` unless the account or user sets `TIMEZONE`. For UTC trade dates, run `ALTER USER qbash_service SET TIMEZONE = 'UTC';`. - `VARIANT`, `OBJECT` and `ARRAY` values come back as parsed JSON, as dicts, lists or scalars. `BINARY` comes back as a hex string. - Results stop at `max_rows`, which is 10,000 by default and up to 100,000. `row_count` is the number of rows returned and `total_rows` is the number Snowflake produced. `truncated` is `True` when rows were cut, though Snowflake still runs the whole statement. - A statement still running after `query_timeout` is cancelled in Snowflake and the call fails. The timeout is 60,000 ms by default and up to 3,600,000. - The SQL tools, `insert_rows` and `upsert_rows` run on the call's warehouse, then the credential's, then the user's default. If that warehouse is suspended and has auto-resume on, which is the default, Snowflake resumes it and bills at least 60 seconds of credits each time. `list_databases`, `list_schemas`, `list_tables`, `list_warehouses` and `describe_table` need no warehouse and do not resume one. - Every statement carries the query tag `qbash`, so an admin can find qbash's queries in `SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY` with `WHERE query_tag = 'qbash'`. The `query_id` in each result finds that statement in Snowsight's query history. - `rows_affected` is Snowflake's count of changed rows for `INSERT`, `UPDATE`, `DELETE` and `MERGE`, and is `None` for other statements. - The text check in `read_query` requires a statement that starts with `SELECT`, `WITH`, `SHOW`, `DESCRIBE` or `EXPLAIN`. A `SELECT` or `WITH` containing `INSERT`, `UPDATE`, `DELETE`, `MERGE`, `CALL`, `PROCEDURE` or a DDL keyword is refused, so put a column with one of those names in double quotes. `SYSTEM$` functions and the `->>` pipe operator are refused too. External functions the role can call still run. - A **Test run** sends `read_query` and does not send `execute_query`, `change_schema`, `insert_rows` or `upsert_rows`. **Test run (allow writes)** sends them all as written. Older scripts can still pass `read_only=True` to `execute_query`, which then runs the same check as `read_query`. - `insert_rows` takes up to 1,000 rows and 50,000 values per call and inserts them in one statement, so either all of them are inserted or none are. Values are sent as text and Snowflake converts each to its column's type, so ISO 8601 strings work for dates and timestamps. In a `VARIANT`, `OBJECT` or `ARRAY` column a value is stored as JSON: a dict becomes an object, a list an array, and a str or number keeps its JSON type. A str holding JSON text stays a string, so pass the parsed dict to get an object. When Snowflake refuses a value, the error names the row as `rows[i]` and the column, and says nothing was written. - `upsert_rows` has the same limits and runs one `MERGE`. Every row needs a value in each key column, and two rows in one call may not share a key. Either problem fails the call before anything is sent. Keys compare after conversion to the column's type, so `7` and `"7.0"` are one `NUMBER` key. A column a row leaves out keeps its current value on an update and is `NULL` on an insert. A column that no row names keeps the table's default. `rows_updated` counts every matched row, changed or not, so loading the same rows twice reports them all as updated the second time. - `describe_table` reports primary and unique keys, which Snowflake records but does not enforce on standard tables. --- ## Connect DigitalOcean Source: https://qbash.com/docs/connectors/digitalocean Tasks call DigitalOcean through `qbash.integrations.digitalocean` with a personal access token you store on the Connectors page. The token covers the account, billing, Droplets, App Platform, managed databases, Kubernetes, DNS and uptime checks. Spaces object storage uses a separate access key pair, which you add to the same credential only if a task reads or writes Spaces. After you connect DigitalOcean, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [DigitalOcean MCP server](https://qbash.com/connectors/digitalocean) page lists what the connector can do. The writes are limited to Droplet power actions, starting an app deployment, DNS record changes and Spaces object uploads and deletes. No method creates or destroys a Droplet, app, database or cluster. ### Create a personal access token 1. Sign in to the [DigitalOcean control panel](https://cloud.digitalocean.com) and select the team the task should read. 2. Open **API** in the left menu. On the **Tokens** tab, click **Generate New Token**. 3. Name the token and choose when it expires. When the token expires, calls fail until you paste a new one into the credential. 4. Choose the scopes. **Full Access** grants every read and write on the team. **Read Only** grants every read and no writes. **Custom Scopes** lets you pick each resource, which is the safer choice for a task. 5. For a reporting task, select the read scope of each resource it uses, such as `account:read`, `droplet:read`, `monitoring:read`, `app:read`, `database:read`, `kubernetes:read`, `domain:read`, `uptime:read` and `billing:read`. Keep `account:read`, because qbash checks a new token by reading the account. 6. Add write scopes only for the methods a task calls: `droplet:update` for `droplet_action`, `app:update` for `create_app_deployment`, and `domain:create`, `domain:update` or `domain:delete` for the DNS record methods. 7. Click **Generate Token** and copy it. DigitalOcean shows the token once, and it starts with `dop_v1_`. ### Create Spaces keys (optional) The Spaces methods (`list_spaces_buckets`, `list_spaces_objects`, `get_spaces_object`, `put_spaces_object` and `delete_spaces_object`) sign their requests with a Spaces key pair. Skip this section if no task uses them. 1. In the control panel, open **Spaces Object Storage**, then the **Access Keys** tab, and click **Create Access Key**. 2. Choose **Full Access** to reach every bucket, or **Limited Access** to grant access to named buckets. Limited access is either read only or read, write and delete. A task that only reads needs read access on its buckets. A limited key cannot list buckets, so `list_spaces_buckets` returns an access error for it, while the other Spaces methods work on the buckets it was granted. 3. Name the key and create it. Copy the access key and the secret key. The secret key is shown once. 4. Note the region slug of the buckets, such as `nyc3` or `fra1`. It appears in each bucket's URL, as in `my-bucket.nyc3.digitaloceanspaces.com`. One credential reads one region, so buckets in another region need a second credential. ### Add the credential in qbash 1. Open **Connectors**, then **DigitalOcean**, and click **Connect**. 2. Give the credential a name and paste the personal access token. qbash checks the token with DigitalOcean before saving it. 3. To use Spaces, paste the Spaces access key and secret key and enter the region slug, such as `nyc3`. Fill in all three Spaces fields or leave all three blank. qbash checks new Spaces keys with DigitalOcean before saving them. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). To edit the credential later, leave a secret blank to keep the saved one. ### Call DigitalOcean from a task This task checks an App Platform app's latest deployment and logs the end of its build output when the deployment failed. `list_apps` returns app ids. ```python app_id = "4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf" result = qbash.integrations.digitalocean.list_app_deployments(app_id=app_id, per_page=1) if not result["deployments"]: qbash.log("The app has no deployments yet.") else: latest = result["deployments"][0] qbash.log(f'{latest["id"]} {latest["phase"]} {latest.get("cause")}') if latest["phase"] == "ERROR": build = qbash.integrations.digitalocean.get_deployment_logs( app_id=app_id, deployment_id=latest["id"], log_type="BUILD", ) qbash.log(build["logs"][-4000:]) ``` Deployments come back newest first. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method with its parameters and return values. ### Add test data A new team has nothing to list, so most list methods return empty pages until you create these: - **A Droplet.** Create the smallest Basic Droplet in any region and turn on **Monitoring** under advanced options, which installs the metrics agent that `get_droplet_metrics` reads. Droplets bill by the hour, so destroy it when you finish testing. - **An App Platform app.** Create an app from a static site repository, such as DigitalOcean's [sample HTML app](https://github.com/digitalocean/sample-html). Static sites fall within App Platform's free allowance. To see a failed build, push a commit that breaks the build and read the ERROR deployment's logs. - **A domain.** Open **Networking**, then **Domains**, and add a domain you own. DigitalOcean stores its records even before the registrar points at DigitalOcean's name servers, so `create_domain_record` and `list_domain_records` work on a test domain. - **An uptime check.** Open **Monitoring**, then **Uptime**, and create a check against the app's URL for `list_uptime_checks` and `get_uptime_check_state`. - **A Spaces bucket.** Create a bucket in the region on the credential and upload a small file, or write one with `put_spaces_object`. ### Details that affect results - List methods take `page` and `per_page`, with up to 200 items per page, and return `next_page`. Pass `next_page` back as `page` until it is `None`. `list_databases` and `list_spaces_buckets` return everything in one call. `list_spaces_objects` pages differently: pass `next_marker` back as `marker` while `is_truncated` is `True`. - `cpu` values from `get_droplet_metrics` are cumulative CPU seconds per mode. Compute usage from the change between two points. `filesystem_free` and `filesystem_size` are bytes, with one series per mounted filesystem. The window defaults to the last hour. An empty series list usually means the Droplet does not run the metrics agent. - `get_deployment_logs` reads the app's active deployment when you leave out `deployment_id`, and the latest deployment when none is active. A failed deployment is never the active one, so pass its id from `list_app_deployments` to read why it failed. - Only the last 1 MB of logs comes back, and `truncated` is `True` when earlier lines were cut. RUN logs of a running app can come back empty, because DigitalOcean serves those as a live stream that this method does not read. - `droplet_action` returns as soon as DigitalOcean accepts the action. `action.status` starts as `in-progress`, so read the Droplet with `get_droplet` to see when its status changes. - DigitalOcean allows each token 5,000 requests per hour and 250 per minute. A task that walks every page of a large list on a frequent schedule can reach the limit. - `list_spaces_buckets` returns only the buckets in the credential's region. - `get_spaces_object` and `put_spaces_object` handle objects up to qbash's 5 GB file limit. `get_spaces_object` returns a qbash file reference, which other methods accept as a file. Text passed as `content` is limited to 500 MB. - Balance and invoice amounts are decimal strings in US dollars, such as `"23.44"`. - `get_database` and `list_databases` remove credentials before the result reaches the task: passwords, connection URIs, and Kafka access keys and certificates. --- ## Connect Vimeo Source: https://qbash.com/docs/connectors/vimeo Tasks call Vimeo through `qbash.integrations.vimeo`. The connector reads an account's videos, folders, showcases, comments, captions and chapters, and on Enterprise plans its analytics. It makes no changes to the account. After you connect Vimeo, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Vimeo MCP server](https://qbash.com/connectors/vimeo) page lists what the connector can do. There are two ways to connect: - **Sign in with Vimeo** connects in one step. qbash asks Vimeo for the Public, Private and Stats scopes. - **Personal access token** uses a token you generate on your own Vimeo app. Enterprise accounts on a custom `vimeo.work` subdomain need this option. ### Sign in with Vimeo 1. Open **Connectors**, then **Vimeo**, and click **Connect**. 2. Keep **Sign in with Vimeo** selected, enter a credential name and click **Connect Vimeo**. 3. Vimeo opens in a new window. Sign in to the account the tasks should read and click **Allow**. Leave every listed permission ticked. Without Private the connector cannot read your videos, and without Stats it cannot read analytics. 4. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). The token that sign-in creates has no expiry date. Vimeo still removes it after a long time unused, and the credential then shows **Needs Re-auth** until you reconnect it from the Connectors page. ### Create a personal access token 1. Sign in to [Vimeo](https://vimeo.com) and verify your email address. Vimeo will not create an app for an unverified account. On a team account, sign in as the team owner, because Vimeo only lets the owner create apps. 2. Open [developer.vimeo.com/apps](https://developer.vimeo.com/apps) and click **Create an app**. Enter a name and description, answer **No** to whether people besides you will access the app, and accept the terms. 3. On the app's page, find **Generate an access token**. Choose **Authenticated (you)** and tick **Public**, **Private** and **Stats**. qbash needs Private to read your own videos, and Stats for analytics. 4. Click **Generate** and copy the token. Vimeo shows it once. ### Add the token in qbash 1. Open **Connectors**, then **Vimeo**, and click **Connect**. 2. Choose **Personal access token**, enter a credential name and paste the token. 3. Leave **API Host** blank unless your Enterprise account uses a custom subdomain such as `qbash.vimeo.work`. In that case enter `api.qbash.vimeo.work`, because Vimeo refuses calls to `api.vimeo.com` for those accounts. 4. Click **Add Credential**. qbash checks the token with Vimeo before saving it and refuses a token without the Private scope or one generated as **Unauthenticated**. 5. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). When editing the credential, leave the token blank to keep the saved one. Renaming the credential keeps its authentication status. Vimeo does not set an expiry on personal access tokens. It removes a token that goes unused for a long time, and the credential then shows **Needs Re-auth**. Generate a new token and paste it into the credential. ### Read videos from a task ```python page = qbash.integrations.vimeo.list_videos(sort="plays", direction="desc", limit=10) for video in page["videos"]: print(video["name"], video.get("plays"), video["link"]) ``` `list_videos` filters by text (`query`), tag (`filter_tag`) and kind (`filter`), and sorts by date, plays, likes, duration and more. Each call reads one page of up to 100 videos. Pass `next_cursor` back as `cursor` until it is `None`. Keys whose value Vimeo left empty are missing from each video, so read optional ones with `.get()`. `get_video`, `list_comments`, `list_text_tracks`, `get_transcript` and `list_chapters` take a video ID or the video's URL. `list_folders` and `list_showcases` return the IDs that `list_folder_videos` and `list_showcase_videos` need. ### Get a transcript ```python transcript = qbash.integrations.vimeo.get_transcript(video_id="https://vimeo.com/76979871", language="en") print(transcript["text"][:500]) ``` `get_transcript` downloads a caption or subtitle track and returns its text. Pass `include_segments=True` for start and end times in seconds. A video needs a text track first: upload a caption file, or wait for Vimeo's automatic captions to finish. Only the video's owner can read its tracks. ### Read a team's content A team member's credential reads the team's videos, folders and showcases when the call passes the team owner's numeric user ID: ```python page = qbash.integrations.vimeo.list_folders(user_id="12345678") ``` To find the ID, call `get_video` on a team video and read the number at the end of `owner_uri`. ### Analytics on Enterprise plans `get_analytics` returns views, impressions, finishes and watch time for a date range, grouped by video, country, device or another dimension. Vimeo serves it only on Enterprise plans, and only to an app that Vimeo Support has enabled for analytics: - With **Sign in with Vimeo**, the token comes from qbash's Vimeo app, so Vimeo has to enable analytics for that app. Vimeo has not enabled analytics for qbash's app yet, so use a personal access token for analytics for now. - With a **personal access token**, ask Vimeo Support to enable API analytics for your own app, giving its name and client ID, and generate the token with the Stats scope. Without that, the call returns an error that names what is missing. ```python report = qbash.integrations.vimeo.get_analytics( dimension="video", start_date="2026-09-01", end_date="2026-09-30", sort="views", direction="desc", limit=20, ) for row in report["rows"]: print(row) ``` Dates are UTC days and `end_date` is inclusive. Add `time_interval="week"` to split each row by week. ### Seed a test account A free Vimeo account covers everything except analytics. Upload a short video, add a caption file to it from the video's settings, put it in a folder and a showcase, and leave a comment on it. ### Limits - Vimeo limits requests per token per minute by plan. Every method except `get_analytics` asks only for the fields it returns, which Vimeo counts at half cost, so their limits are 50 on Free, 250 on Starter, 500 on Standard, 1,500 on Advanced and 5,000 on Enterprise. Over the limit, calls fail with a 429 until the minute resets. - `plays` is the lifetime play count Vimeo shows on the video. - Caption download links in `list_text_tracks` expire. Read a fresh link each run instead of storing one. - Vimeo sometimes turns off public search, and `search_videos` then returns a 503. - Durations are in seconds, and times are ISO 8601 in UTC. --- ## Connect Zoom Source: https://qbash.com/docs/connectors/zoom Connect your Zoom account inside qbash to use meeting details, participants, transcripts, saved chat, poll results, Q&A, and available AI Companion summaries in your tasks. The connector reads Zoom data; it does not create, change, or delete meetings. After you connect Zoom, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Zoom MCP server](https://qbash.com/connectors/zoom) page lists what the connector can do. ### Before you connect You need a [qbash account](https://app.qbash.com) and a Zoom account. Your Zoom administrator may need to approve qbash before you can authorize it. This guide covers the **User** connection for the user-managed qbash app. It reads data available to the authorizing user, not every user's meetings across an account. Availability depends on your Zoom plan, permissions, and meeting settings. A transcript requires a cloud recording with transcription enabled. Saved chat, polls, Q&A, and AI Companion summaries must exist for the meeting you select. ### Add Zoom inside qbash 1. Sign in to [qbash](https://app.qbash.com) and select your organization. 2. Open **Connectors**, find **Zoom**, and select **Connect** (or **Add another** for an additional connection). 3. Give the connection a recognizable name. Under **Connection Type**, choose **User - Access your own meetings**. 4. Select **Connect with Zoom**. Sign in to the intended Zoom account, review the requested permissions, and authorize qbash. 5. Return to qbash. The saved connection is available for your tasks. If Zoom requires administrator approval, request it from your Zoom account administrator and then start the connection again. Start this process inside qbash, rather than by opening a copied Zoom authorization URL. qbash creates a temporary authorization session to return the connection to the correct organization. ### Use meeting data In the task editor, choose **Add connector** from the Package **+** menu, find Zoom, and select the saved connection. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources) for task setup. Search meetings hosted by the connected Zoom user with a date range and, optionally, a topic keyword. Meetings you only attended do not appear in this search. Use a returned meeting ID or UUID with the meeting-detail, participant, transcript, chat, poll-result, Q&A, or AI-summary action. The [SDK reference](https://qbash.com/docs/tasks/sdk-reference) documents the available methods and parameters. For example, create a task that searches last week's meetings, retrieves an available transcript, and produces a recap with decisions and follow-ups. Run it manually first, then add a schedule if you want recurring execution. When your task uses an AI model, the meeting content you pass to that model is shared with the selected provider. ### Remove access 1. Sign in to the [Zoom App Marketplace](https://marketplace.zoom.us) with the account that authorized qbash. 2. Open **Manage → Added Apps**, locate **qbash**, and choose **Remove**. Complete Zoom's removal confirmation. If your administrator controls removal, ask them to remove the app for you. 3. Disable or update any scheduled qbash tasks that use this connection. Zoom revokes the authorization. For connections saved with Zoom identity information, qbash processes the signed removal notification, clears matching access and refresh tokens, and marks the connection as requiring authorization again. 4. If you no longer need the saved connection, remove it from the Zoom connector's connection management controls in qbash. Older saved connections created before Zoom identity tracking was introduced cannot be matched to removal notifications. Zoom still revokes their access, but qbash cannot automatically clear their stored tokens or mark them for reauthorization. Remove those saved connections in qbash, or reconnect them to record the identity needed for future removal handling. Deleting a saved connection in qbash is not a substitute for revoking the app in Zoom. To reconnect, start **Connect with Zoom** inside qbash again and grant fresh authorization. Zoom also documents [adding and removing apps for personal use](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0062865). ### Retained content and privacy Disconnecting Zoom stops future access through that authorization. It does not automatically delete previously saved conversations, task outputs, run logs, or copies sent to destinations you configured. qbash cannot reliably trace transformed content back to an individual Zoom API retrieval. When **Data Logging** is enabled, run logs can retain full integration results, including transcripts, chat, polls, and participant data, even if the final output is only a summary. **Settings → Details → Data logging** controls retention of task run content. Turning it off prevents future task content logging; it does not erase existing records. Review [Runs and logs](https://qbash.com/docs/tasks/task-editor#versions-and-logs) and your organization’s retention settings. Model providers and configured destinations have their own retention policies. Delete retained records using the relevant qbash controls, or ask your organization administrator for assistance with shared records. For privacy requests, contact [legal@qbash.com](mailto:legal@qbash.com). See the [Privacy Policy](https://qbash.com/privacy) for retention and deletion information, including account-deletion timing and backups. ### Troubleshooting and support - **No meetings found:** check the date range, topic filter, and which Zoom account you connected. User searches only return meetings hosted by the connected user, not meetings they merely attended. - **No transcript or other meeting content:** confirm that Zoom has that data and that the connected user can access it. A meeting without a cloud transcript cannot return one. - **Authorization expired or removed:** reconnect from qbash. Older connections may also need reconnection after a permission update. - **Authorization window does not return:** allow the sign-in window, return to qbash, and start a fresh connection rather than reusing an old authorization link. - **Administrator approval required:** ask your Zoom administrator to approve qbash. For help, use [qbash support](https://qbash.com/contact) or email [alex@qbash.com](mailto:alex@qbash.com). Include the action you tried, approximate time, and error message. Do not include passwords, access tokens, refresh tokens, or meeting content that is unnecessary for the support request. --- ## Connect NetSuite Source: https://qbash.com/docs/connectors/netsuite Tasks reach NetSuite through `qbash.integrations.netsuite`, which calls NetSuite's SuiteTalk REST web services. qbash signs in with OAuth 2.0 client credentials. You create an integration record, upload a certificate for an employee and a role, and give qbash the account ID, client ID, certificate ID and the certificate's private key. qbash uses the key to get a new access token whenever the hour-long one runs out, so scheduled tasks keep running without anyone signing in. After you connect NetSuite, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [NetSuite MCP server](https://qbash.com/connectors/netsuite) page lists what the connector can do. Tasks can reach only what the mapped role can reach. Give the role the permissions your tasks need and no others. Each NetSuite account is set up on its own. A sandbox has its own account ID, integration record and certificate mapping. Refreshing a sandbox removes its mapping. ### Turn on REST web services and OAuth 2.0 1. Go to **Setup > Company > Enable Features** and open the **SuiteCloud** subtab. 2. Under **SuiteTalk (Web Services)**, check **REST Web Services**. 3. Under **Manage Authentication**, check **OAuth 2.0**. 4. Click **Save**. ### Create a role and give it to an employee 1. Go to **Setup > Users/Roles > Manage Roles > New** and name the role, for example qbash. 2. On the **Permissions** subtab, add these on **Setup**: **REST Web Services** and **Log in using OAuth 2.0 Access Tokens**, both at Full. 3. On **Reports**, add **SuiteAnalytics Workbook** at View. SuiteQL queries need it. 4. On **Transactions** and **Lists**, add each record type your tasks read at View, and each one they create or change at Create or Edit. 5. In a OneWorld account, set the role's subsidiary restrictions to the subsidiaries tasks should see. 6. Save the role, open the employee that tasks will act as, and add the role on the employee's **Access** subtab. NetSuite's system notes record each change a task makes under that employee, so an employee kept for integrations makes those changes easy to tell apart. ### Create the integration record 1. Go to **Setup > Integration > Manage Integrations > New**. 2. Name it qbash and leave **State** at Enabled. 3. On the **Authentication** subtab, clear the token-based authentication options and **Authorization Code Grant**, then check **Client Credentials (Machine to Machine) Grant**. 4. Under **Scope**, check **REST Web Services**. 5. Click **Save** and copy the **Client ID** from the confirmation page. NetSuite shows it only once. qbash does not use the client secret. ### Create a certificate Run this on your computer. It writes a private key and a certificate that is valid for two years, the longest NetSuite accepts: ```bash openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -nodes -days 730 \ -subj "/CN=qbash" -keyout netsuite-qbash-key.pem -out netsuite-qbash-cert.pem ``` NetSuite also accepts RSA keys of 3072 or 4096 bits, if your security policy calls for RSA. Keep `netsuite-qbash-key.pem` private. Only qbash needs it. ### Map the certificate 1. Go to **Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup** and click **Create New**. 2. Choose the employee as **Entity**, the new role as **Role**, and the qbash integration record as **Application**. 3. Upload `netsuite-qbash-cert.pem` and click **Save**. 4. Copy the **Certificate ID** from the new row. A certificate serves one combination of integration record, role and employee. An integration record can hold five active certificates, so a replacement can be mapped and switched over in qbash before the old certificate expires. ### Add the account in qbash 1. Open **Connectors**, then **NetSuite**, and click **Connect**. 2. Enter the account ID from **Setup > Company > Company Information**. Sandbox IDs look like `1234567_SB1`. The form also accepts the address of any NetSuite page in that account, such as `https://1234567.app.netsuite.com/app/center/card.nl`. 3. Paste the client ID, the certificate ID and the whole of `netsuite-qbash-key.pem`, including its BEGIN and END lines. 4. Save. qbash asks NetSuite for an access token before saving, so a wrong value or an inactive mapping shows up in the form, before any task runs. 5. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Call NetSuite from a task `run_suiteql` runs SuiteQL, NetSuite's SQL dialect, for reports and lookups across records: ```python orders = qbash.integrations.netsuite.run_suiteql( query=( "SELECT id, tranid, TO_CHAR(trandate, 'YYYY-MM-DD') AS trandate, foreigntotal " "FROM transaction WHERE type = 'SalesOrd' AND trandate >= TO_DATE(?, 'YYYY-MM-DD') ORDER BY id" ), query_params=["2026-10-01"], ) for row in orders["items"]: print(row["tranid"], row["trandate"], row["foreigntotal"]) ``` `create_record` with an `external_id` creates a record once. A second call with the same external ID writes nothing and returns the existing record with `created` set to False: ```python result = qbash.integrations.netsuite.create_record( record_type="salesOrder", external_id="EDI-850-4471", values={ "entity": {"id": "1042"}, "memo": "EDI 850 4471", "item": {"items": [{"item": {"id": "77"}, "quantity": 12}]}, }, ) print(result["created"], result["id"]) ``` To change a line on an existing order, read the order with its lines and send the line's `line` value with the new quantity. With `if_last_modified`, qbash compares the order's `lastModifiedDate` just before the update and refuses the update if the order changed after the task read it: ```python order = qbash.integrations.netsuite.get_record( record_type="salesOrder", external_id="EDI-850-4471", expand_sub_resources=True )["record"] for line in order["item"]["items"]: if line["item"]["id"] == "77" and line["quantity"] != 10: qbash.integrations.netsuite.update_record( record_type="salesOrder", record_id=order["id"], values={"item": {"items": [{"line": line["line"], "item": {"id": "77"}, "quantity": 10}]}}, if_last_modified=order["lastModifiedDate"], ) ``` Both write methods read the record back after the write and return it as `record`, so the task can check what NetSuite stored. If that read fails, `record` is None and `warnings` says why. `list_record_types` and `describe_record_type` find the account's custom record types and field IDs. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method. ### Details that change results - SuiteQL returns column names in lowercase and checkboxes as `'T'` or `'F'`. Dates come back in the account's date format unless the query converts them with `TO_CHAR`. - A SuiteQL query pages through at most 100,000 rows. For more, order by `id` and filter on the last `id` of the previous page. - `get_record` includes sublists, such as an order's lines or a fulfillment's packages, only with `expand_sub_resources=True`. `update_record` matches lines by their `line` value and adds any line sent without one. - External IDs can contain letters, numbers, underscores and hyphens. - `create_record` and `update_record` refuse payments, refunds, deposits, checks, fund transfers, cash sales, credit card transactions and journal entries, which move money or post to the general ledger. - Transaction amounts are in the transaction's currency. GL lines in `transactionaccountingline` are in the base currency. - NetSuite caps how many requests an account runs at once, across all of its integrations. qbash waits and retries when NetSuite reports the cap, but a task that fires many calls at once can still hit it. - When the certificate expires or a sandbox refresh clears the mapping, NetSuite stops issuing tokens. Map a new certificate, then update the certificate ID and private key in qbash. ### Add test data Run tasks against a sandbox before production. A sandbox is a copy of production from its last refresh, so it has customers, items and transactions to read. Writes made there never reach production. When you test writes, give every record an external ID that starts with `TEST-`, so the test records are easy to find and delete afterwards. Oracle and NetSuite are registered trademarks of Oracle and/or its affiliates. --- ## Connect Jira Source: https://qbash.com/docs/connectors/jira Tasks call Jira Cloud through `qbash.integrations.jira` with a credential saved on the Connectors page. A credential connects one Jira site, through Sign in with Atlassian or with an account email and an Atlassian API token. Both ways give tasks the same modes. Tasks act as the account that connected, so a task sees the projects that account can browse and changes only what that account may change. After you connect Jira, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Jira MCP server](https://qbash.com/connectors/jira) page lists what the connector can do. ### Choose the account Connect as a dedicated Jira account, such as an integration user that belongs to no one person. Every issue, comment and link a task writes names that account as its author, and the credential keeps working when people leave. Give the account these project permissions for the modes your tasks call: - **Browse Projects** for every read - **Create Issues** for `create_ticket` - **Edit Issues** for `update_ticket` - **Transition Issues** for `transition_ticket` - **Add Comments** for `add_comment` - **Link Issues** for `link_tickets` and `add_remote_link` To post internal comments on Jira Service Management requests, the account also needs an agent seat on that service project. ### Sign in with Atlassian 1. Open **Connectors**, then **Jira**, and click **Connect**. 2. Enter a credential name. **Sign in with Atlassian** is already selected. If your tasks post internal comments on Jira Service Management requests, tick **This site uses Jira Service Management**. Then click the **Sign in with Atlassian** button. 3. In the Atlassian window, sign in as the account you chose for qbash, pick the Jira site and click **Accept**. 4. If that account has allowed qbash on more than one Jira site, the form lists them. Pick the site for this credential and click **Add Credential**. 5. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). qbash renews the sign-in every hour, so scheduled tasks keep running without anyone signing in again. The sign-in ends when someone removes qbash from the account's connected apps at [id.atlassian.com](https://id.atlassian.com), or when a site administrator removes qbash from the site. qbash then marks the credential as needing reconnection, and **Reconnect** on the credential opens the Atlassian window again. To connect a second site, add another credential. With the Jira Service Management box ticked, Atlassian lists only sites that have Jira Service Management. Leave it clear on a site without it. A credential connected without it runs every mode except internal comments, and `add_comment` with `is_internal=True` returns an error that says to reconnect with the box ticked. ### Connect with an API token instead An API token suits a site whose administrators do not allow apps like qbash, or a team that already manages Atlassian tokens. 1. Sign in to [id.atlassian.com](https://id.atlassian.com) as the account you chose for qbash. 2. Open **Security**, then **API tokens**. 3. Click **Create API token**. The option with scopes calls Jira through a different address, which the connector does not support yet. 4. Name the token and pick an expiry date. Atlassian allows up to one year. 5. Copy the token. Atlassian shows it once. When the token expires, Jira refuses it and qbash marks the credential as needing reconnection. Scheduled tasks that use it fail until you paste a new token into the credential, so note the expiry date and replace the token before it arrives. Then add it in qbash: 1. Open **Connectors**, then **Jira**, and click **Connect**. 2. Enter a credential name and choose **API token**. Enter your site URL, such as `https://your-site.atlassian.net`, then the account's email, and paste the API token. qbash asks Jira which account the token belongs to before saving the credential. 3. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). When editing a credential, leave a field blank to keep its saved value. qbash connects to the site over https, on port 443 or 80, and only to a public host. A Jira site on a private network or another port cannot be connected. ### Read and search issues from a task ```python report = qbash.integrations.jira.get_ticket(ticket_id="PROJ-123", comment_limit=5) ticket = report["ticket"] print(ticket["key"], ticket["summary"], ticket["status"]["name"]) for comment in ticket["comments"]: print(comment["created"], comment["author"]["displayName"], comment["body"]) ``` `get_ticket` returns the issue with its newest comments, attachments, issue links and the custom fields that have a value. `comments_total` counts every comment, and `list_comments` pages through the rest. Pass an attachment id to `download_attachment` to fetch the file. Descriptions and comment bodies arrive as plain text. ```python found = qbash.integrations.jira.search_tickets( text="export timeout", project="PROJ", updated_within_days=30, ) for issue in found["tickets"]: print(issue["key"], issue["summary"], issue["status"]["name"]) ``` `search_tickets` takes a JQL query on its own, or any of `text`, `project` and `updated_within_days`, which it joins with AND. It reads one page per call. Pass `next_cursor` back as `cursor` with the same query until it is `None`. Before writing to a project, read how it is set up. `list_projects` and `list_issue_types` return the keys and issue types. `get_create_fields` lists the fields a new issue needs, with their allowed values, and `get_edit_fields` lists what the account may change on an existing issue. `list_transitions` shows the workflow steps open to an issue right now. `list_fields` and `list_link_types` cover the whole site. `get_ticket_history` reads status changes, or changes to any other field, for up to 1000 issues per call. ### Draft an issue for a person to approve All six write modes (`create_ticket`, `update_ticket`, `transition_ticket`, `add_comment`, `link_tickets` and `add_remote_link`) accept `read_only=True`. The connector then checks the request against the site's fields, workflow and tickets, and returns the exact body without sending it to Jira. A task can show that draft to a person and file the issue on a later run, once they approve it. ```python jira = qbash.integrations.jira case_id = qbash.inputs.get("case_id") if not str(case_id).isdigit(): raise ValueError("case_id must be digits") source_label = f"src-zendesk-{case_id}" existing = jira.search_tickets(jql=f'labels = "{source_label}"') if existing["count"] > 0: qbash.output({"already_filed": existing["tickets"][0]["key"]}) else: request = dict( project="SUP", issue_type="Bug", summary=qbash.inputs.get("summary"), description=qbash.inputs.get("description"), labels=[source_label], ) if not qbash.inputs.get("approved"): qbash.output({"draft": jira.create_ticket(**request, read_only=True)}) else: created = jira.create_ticket(**request) jira.add_remote_link( ticket_id=created["ticket_id"], url=qbash.inputs.get("case_url"), title=f"Zendesk ticket {case_id}", global_id=f"zendesk-ticket-{case_id}", ) qbash.output({"filed": created["ticket_id"]}) ``` The source label is the duplicate guard. The task searches for it before creating anything and stops when an issue already carries it. `add_remote_link` attaches the support record to the issue. Jira keys a remote link by its `global_id`, so sending the same `global_id` again updates the existing link. `update_ticket` sets several fields in one call and can add or remove labels without replacing the whole list. `transition_ticket` fills the fields on the transition's screen and can add a comment in the same step. `add_comment` posts a public comment by default. With `is_internal=True` it posts an internal comment on a Jira Service Management request, and `visibility` limits a comment to a role or a group. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and parameter. ### Start a task from Jira A Jira webhook can start a task. Add the Jira integration event in the task's **Triggers** panel, then register the URL qbash generates as a webhook in Jira's system settings, which needs a Jira administrator. The run's inputs carry the event type, the issue key, its status and its project. An issue update also carries `previous_status` and `changed_fields`, which lists each changed field with its old and new value. ### Prepare test data Create a test project with a few issues in different statuses. On one issue, add a comment, an attachment, a link to another issue and a value in a custom field, so a single `get_ticket` call returns every section. To test internal comments, add a Jira Service Management project with one request. Run each write with `read_only=True` first. Then give a test issue a label such as `src-test-1` and confirm the duplicate guard finds it. ### Details that affect results - Jira's search index can lag behind a new issue, so a search right after `create_ticket` can miss it. Two runs for the same source record in quick succession can both pass the duplicate guard and file two issues. - `text` matches keywords after stemming. An issue that describes the same problem in other words does not match. To find duplicate candidates, search for a few key terms and rank the results in the task, for example with an [inline prompt](https://qbash.com/docs/tasks/prompts). - Internal comments exist only on Jira Service Management requests, and `add_comment` returns an error for any other issue instead of posting a public comment. A comment without `is_internal` or `visibility` is visible to everyone who can see the issue. - Jira Cloud allows at most 2000 issue links, 2000 remote links and 5000 comments on one issue, and refuses further ones. - Jira answers with 429 when a site goes over its rate limit. Reads retry twice, waiting as long as Jira asks, up to 10 seconds. Writes are never retried, because the first attempt may have gone through. After a failed create, search for the source label before trying again. - A 403 means the account lacks a permission for that call, and the credential stays connected. Only a rejected token or an ended sign-in marks the credential for reconnection. - Rich text loses its formatting on read. Links, mentions and tables arrive as plain text. - Jira Server and Data Center are not supported. Every mode calls REST API v3 paths that only Jira Cloud serves. --- ## Connect Zendesk Source: https://qbash.com/docs/connectors/zendesk Tasks call Zendesk Support through `qbash.integrations.zendesk` with a credential saved on the Connectors page. A credential connects one Zendesk account through Zendesk's own sign-in, and tasks act as the agent or admin who signed in. A task sees the tickets, groups and views that user can see. Its notes and ticket changes appear in Zendesk under that user's name. After you connect Zendesk, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. The [Zendesk MCP server](https://qbash.com/connectors/zendesk) page lists what the connector can do. ### Choose the account Connect as a Zendesk agent or admin. qbash checks the role before it saves the credential and refuses an end user's sign-in. A dedicated agent account named for the integration makes the notes and changes a task writes easy to tell apart from your team's. The credential also keeps working when people leave. Agents can use every mode within the groups and tickets they can see. Two reads depend on the role or the plan: - `get_routing_options` returns queues and brands only to an admin, and skills only on accounts with skills-based routing. A section it can't read comes back empty, and `unavailable` gives Zendesk's reason. - `list_side_conversations` needs Zendesk's Collaboration add-on or a plan that includes it. qbash asks Zendesk for two scopes: `read` for every read mode, and `tickets:write` for internal notes and ticket updates. ### Connect in qbash 1. Open **Connectors**, then **Zendesk**, and click **Connect**. 2. Enter a credential name and your Zendesk subdomain, the part of your Zendesk address before `.zendesk.com`. For `https://acme.zendesk.com`, enter `acme`. If your help center uses its own domain, still enter the zendesk.com subdomain, because qbash can't connect through a custom domain. 3. If your account limits access by IP address, select **Requires static egress IP**. Then add the addresses shown in the form to the allowed ranges on the **IP restrictions** tab, under **Account → Security → Advanced** in Zendesk Admin Center. Zendesk refuses API calls from addresses outside those ranges. 4. Click **Connect with Zendesk**. In the Zendesk window that opens, sign in as the agent or admin you chose and allow the access qbash requests. qbash confirms the user's role and saves the credential. 5. In the task editor, choose **Add connector** from the Package **+** menu and select this credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). qbash renews the connection before it expires, so scheduled tasks keep running without anyone signing in again. If Zendesk stops accepting it, for example after the token is revoked, qbash marks the credential as needing reconnection. **Reconnect** on the credential opens the Zendesk sign-in again for the same subdomain. To connect another Zendesk account, add another credential. Editing a credential changes its name or its static egress setting, and the subdomain stays the one it was connected with. ### Read a ticket and its conversation ```python zd = qbash.integrations.zendesk ticket = zd.get_ticket(ticket_id=12345)["ticket"] print(ticket["id"], ticket.get("subject"), ticket["status"], ticket["url"]) thread = zd.list_ticket_comments(ticket_id=12345) for comment in thread["comments"]: print(comment["created_at"], comment["visibility"], comment.get("author_name")) print(comment.get("body", "")) ``` `get_ticket` returns the ticket's status, routing fields, tags, custom field values and a `url` that opens the ticket in the agent workspace. It leaves out Zendesk's `description` field, which repeats the first comment and can contain an internal note. Keys whose value is null are left out too, so read optional fields with `.get()`. `list_ticket_comments` returns public replies and internal notes, oldest first. Each comment and each attachment has a `visibility` of `public` or `internal`, so a task can keep internal notes out of anything it sends to the requester. Pass `visibility="public"` to read only what the requester can see. A long conversation comes in pages: pass `next_cursor` back as `cursor` until it is `None`. `download_attachment` copies an attachment into qbash file storage and returns a file reference to pass to a prompt or to a connector mode that takes files. Convert a Word, Excel or PowerPoint attachment with `qbash.files.convert` before passing it to a prompt. It refuses files over 50 MB and files Zendesk flagged as malware. To find tickets, `search_tickets` takes Zendesk search syntax such as `status= now("-7d")` work as they do in Confluence's advanced search. `get_content` takes a content id or a page link and returns the body as markdown. Pass `body_format="storage"` for Confluence's XHTML, with macros intact. List methods return `next_cursor`. Pass it back as `cursor` until it is `None`. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and its parameters. ### Write a page ```python qbash.integrations.confluence.create_page( space="ENG", title="Weekly incident summary", body="## Incidents\n\n| Date | Service | Minutes down |\n| --- | --- | --- |\n| Dec 1 | api | 12 |", parent_id="123456", ) ``` Bodies are markdown by default. Headings, lists, tables, links and code blocks carry over. For panels, mentions, task lists or other macros, write Confluence's storage format and pass `body_format="storage"`. Every write method accepts `read_only=True`, which checks the call and returns the request it would send without changing anything. ### Methods | Method | Resource | Access | | --- | --- | --- | | `search` | Content | Read | | `search_users` | Users | Read | | `get_content` | Content | Read | | `list_spaces` | Spaces | Read | | `get_space` | Spaces | Read | | `list_space_content` | Content | Read | | `get_children` | Page tree | Read | | `get_descendants` | Page tree | Read | | `get_ancestors` | Page tree | Read | | `list_versions` | Versions | Read | | `list_comments` | Comments | Read | | `list_attachments` | Attachments | Read | | `download_attachment` | Attachments | Read | | `list_labels` | Labels | Read | | `list_tasks` | Tasks | Read | | `list_database_entries` | Databases | Read | | `get_users` | Users | Read | | `create_page` | Content | Write | | `update_page` | Content | Write | | `create_folder` | Content | Write | | `add_comment` | Comments | Write | | `update_comment` | Comments | Write | | `add_labels` | Labels | Write | | `remove_label` | Labels | Write | | `upload_attachment` | Attachments | Write | | `update_task` | Tasks | Write | | `trash_content` | Content | Write | ### Limits and details - `update_page` replaces the whole body. To change one section, read the page with `body_format="storage"`, edit the XHTML and write it back with the same format. Pass the version you read as `expected_version` and the update is refused if someone saved the page in between. - `list_comments` returns footer comments by default. Call it again with `kind="inline"` for comments on highlighted text. - `get_content` reads a whiteboard's title and place in the tree, but not its drawing. - `trash_content` moves content to the space's trash, where a space admin can restore it. - `upload_attachment` takes files up to 50 MB. A file with the same name as one already on the page becomes its new version. - Confluence's search index can lag behind a page saved seconds ago. - A 401 marks the credential as needing a new token, which happens when the token expires or is revoked. Create a new token and update the credential. A 403 means the account cannot see or change that content, and the message includes Confluence's reason. - Error messages never contain the token. --- ## Connect Granola Source: https://qbash.com/docs/connectors/granola Tasks call Granola through `qbash.integrations.granola` with a personal or workspace API key you store on the Connectors page. The connector reads notes with their AI summaries, attendees and calendar details, reads transcripts, searches notes and transcripts, and lists folders and spaces. Its only writes manage webhook endpoints: create, update and delete. Granola's API is read-only for notes and transcripts, so no method creates, edits or deletes a note. The Audit API and the Legal Holds API are left out. The full [Granola API documentation](https://docs.granola.ai/introduction) covers the rest. After you connect Granola, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. ### Get a plan with API access API keys need a paid Granola plan. The free Basic plan has no API access. 1. Install the Granola desktop app and sign in. 2. Move the workspace to **Business** or **Enterprise**. Granola's billing help page lists Business at $14 per user per month and Enterprise from $35 per user per month. Upgrades go through a checkout that takes a card. 3. On Enterprise, a workspace admin must first enable the API scopes for members. Granola's billing page also mentions time-limited Business and Enterprise trials. Check it for the current terms. ### Create an API key 1. For a personal key, open the Granola desktop app and go to **Settings**, then **Connectors**, then **API keys**. 2. Create a key. Keys start with `grn_`. 3. Select the **Personal notes** and **Public notes** scopes. Personal keys can hold only those two scopes. 4. Copy the key and paste it into qbash. A workspace API key works too. A workspace admin creates it in the Granola desktop app under **Settings**, then **Connectors**, then **Workspace API keys**. Paste it into qbash the same way. A personal key covers the notes its owner can read. ### Add the key in qbash 1. Open **Connectors**, then **Granola**, and click **Connect**. 2. Fill in **Credential Name**, such as "My meetings", and paste the key into **API Key**. 3. Save. qbash checks the key format only and does not call Granola on save. The first call from a task shows whether Granola accepts the key. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Read this week's meetings from a task ```python week = qbash.integrations.granola.list_notes(created_after="2026-11-09", page_size=30) for note in week["notes"]: detail = qbash.integrations.granola.get_note(note_id=note["id"]) qbash.output({"title": detail["title"], "summary": detail["summary_text"], "attendees": [a["email"] for a in detail["attendees"]]}) ``` List and search methods return `has_more` and `next_cursor`. Pass `next_cursor` back as `cursor` until `has_more` is `False`. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and its parameters. ### Methods | Method | Resource | Access | | --- | --- | --- | | `list_notes` | Notes | Read | | `get_note` | Notes | Read | | `search_notes` | Note search | Read | | `get_note_transcript` | Transcripts | Read | | `search_transcripts` | Transcripts | Read | | `list_folders` | Folders | Read | | `list_spaces` | Spaces | Read | | `list_webhook_endpoints` | Webhook endpoints | Read | | `create_webhook_endpoint` | Webhook endpoints | Write | | `update_webhook_endpoint` | Webhook endpoints | Write | | `delete_webhook_endpoint` | Webhook endpoints | Write | `search_notes` filters by keyword, participant, folder, space and date. `get_note` returns the summary, attendees, calendar event, folders and spaces. Pass `include_transcript=True` to add the transcript, or use `get_note_transcript` for a long one. ### Limits and details - Only notes with an AI summary are returned. A note without one reads as not found, and recent notes can be missing from search until their summary exists. - Granola allows a burst of 25 requests and 5 requests per second. The limit applies per user or workspace, depending on the key's scope, so all keys for the same user or workspace share it and a new key does not avoid a 429. A 429 reaches your task with that limit and the wait Granola asks for. - Granola has no sandbox or test mode. Every call reads or changes real workspace data. - Page sizes top out at 30 for notes, folders, spaces and searches, and at 100 for transcripts. Search cursors expire after 15 minutes. - Keyword search needs every word of an entry to match. `participant` matches calendar invitees, so a person who only spoke in the meeting is not found by `search_notes`. - A 403 on transcripts can mean a workspace admin turned off transcript access over the API. An IP allowlist, a suspended account or an inactive subscription also return 403, on every method. A 404 on `list_spaces` means spaces are not enabled for the workspace. - `create_webhook_endpoint` returns a `signing_secret` once. Store it right away. Webhook URLs must use HTTPS. - A 401 marks the credential as needing a new key. A 403 does not. --- ## Connect QuickBooks Source: https://qbash.com/docs/connectors/quickbooks Tasks call QuickBooks Online through `qbash.integrations.quickbooks`. You sign in with Intuit on the Connectors page, and each credential covers the one company you pick during sign-in. The connector runs reports and queries, and reads any record by ID. It creates and updates customers, invoices, payments, bills, journal entries and the other QuickBooks records. It also voids transactions and attaches files. It emails invoices, estimates, sales receipts, credit memos and payment receipts, one per call. The connector uses the QuickBooks Online Accounting API, so QuickBooks Desktop companies can't connect. After you connect QuickBooks, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. ### What you need - A QuickBooks Online sign-in for the company you want to connect. - To know whether it is a production company or a sandbox company. Sandbox companies hold test data, so they suit a first try of a task that writes. ### Connect in qbash 1. Open **Connectors**, then **QuickBooks**, and click **Connect**. 2. Fill in **Credential Name**, such as "qbash books", then pick the **Company type**. 3. Click **Connect to QuickBooks**. Intuit asks you to sign in and choose the company. qbash saves the company you choose. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). To work with another company, add another credential. When you reconnect a credential, qbash refuses a sign-in that picks a different company. ### Methods | Resource | Methods | Read or write | | --- | --- | --- | | Company | `get_company_info`, `get_preferences` | Read | | Any entity | `query`, `get_record`, `list_changes` | Read | | Customers, vendors, items, accounts | `list_customers`, `list_vendors`, `list_items`, `list_accounts` | Read | | Customers | `get_customer` | Read | | Customers | `create_customer`, `update_customer` | Write | | Invoices | `get_invoice` | Read | | Invoices | `create_invoice`, `update_invoice`, `send_invoice`, `void_invoice` | Write | | Payments, bills, journal entries | `create_payment`, `create_bill`, `create_journal_entry` | Write | | Other entities | `create_record`, `update_record`, `send_transaction`, `void_transaction` | Write | | Reports | `get_profit_and_loss`, `get_balance_sheet`, `get_cash_flow`, `get_aged_receivables`, `get_aged_payables`, `run_report` | Read | | Files | `get_pdf`, `download_attachment` | Read | | Files | `upload_attachment` | Write | See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for parameters and return shapes. ### Task example ```python qb = qbash.integrations.quickbooks customer = qb.list_customers(search="qbash")["customers"][0] service = qb.list_items(search="Consulting")["items"][0] invoice = qb.create_invoice( customer_id=customer["Id"], lines=[{"item_id": service["Id"], "quantity": 4, "unit_price": 150, "description": "November support"}], due_date="2026-12-15", )["invoice"] pdf = qb.get_pdf(entity="Invoice", record_id=invoice["Id"]) qbash.output({"invoice": invoice["DocNumber"], "total": invoice["TotalAmt"], "pdf": pdf["file"]}) ``` The invoice stays unsent until the task calls `send_invoice`. ### Try it on a sandbox company Intuit creates a sandbox company with sample data when you sign up at developer.intuit.com. Clearing a sandbox from the developer dashboard deletes its sample data, and Intuit can't put it back. Connect it with **Company type** set to **Sandbox company**. Intuit caps a sandbox company at 40 emails a day. Past that, `send_invoice` and `send_transaction` stop working for the rest of the day. ### Details that change results - QuickBooks has no undo for a delete, so the connector has no delete methods. `void_invoice` and `void_transaction` keep a transaction on record with its amounts at zero. Setting `{"Active": False}` with `update_customer` or `update_record` makes a customer, vendor, item or account inactive, which is how QuickBooks removes one. - Updates need the record's current `SyncToken`. Pass the one from your last read as `sync_token` and QuickBooks refuses the change when someone edited the record in between. Without it the connector reads the current one first. - `update_customer` and `update_invoice` change only the fields you pass. `update_record` keeps the fields you leave out and replaces each field you pass whole, so passing `Line` replaces every line. - `query` accepts `SELECT` statements only, one entity at a time, with no `OR` or joins. Leave `STARTPOSITION` and `MAXRESULTS` out of the statement and use `start_position` and `max_results`. Pass `next_start_position` back as `start_position` until it is `None`. A page holds up to 1000 rows. - `list_changes` reaches back 30 days at most and returns up to 1000 records per call. - `create_journal_entry` checks that debits equal credits before it sends anything. - `get_pdf` and `download_attachment` return a qbash file that other connectors, such as Gmail or Slack, can send as an attachment. - Access tokens last one hour. When a call gets a 401, qbash refreshes the token once and retries. If the refresh fails, the credential shows as needing re-authentication and you reconnect. - Intuit allows 500 requests a minute and 10 a second for each company. A 429 means wait a minute and run the call again. --- ## Connect Terraform Source: https://qbash.com/docs/connectors/terraform Tasks call HCP Terraform through `qbash.integrations.terraform` with an API token you store on the Connectors page. The connector reads organizations, workspaces, variables, variable sets, runs with their plans and applies, configuration versions, state versions and their outputs, projects and notification configurations. Its writes create and update workspaces and workspace variables, create variable sets and their variables, queue runs, create configuration versions and create projects. It covers HCP Terraform (formerly Terraform Cloud) only. Self-hosted Terraform Enterprise and the open-source Terraform CLI are different products and are not supported. No method deletes anything, applies or discards a run, changes state, or manages teams and tokens. After you connect Terraform, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. ### Get an HCP Terraform account 1. Create an account at [app.terraform.io](https://app.terraform.io/public/signup/account). The sign-up form asks for a username, email address and password. HashiCorp's docs do not say whether the Free plan needs a credit card. 2. Create an organization and choose the **Free** plan. It costs nothing for up to 500 managed resources, with one concurrent remote run. It includes unlimited workspaces and projects and API access, but not teams. Teams are a paid-plan feature, and so are policies and policy sets, which this connector does not cover. 3. Open **Account settings**, then **Tokens**, and click **Create an API token**. 4. Choose a short expiration, such as 30 days. 5. Copy the token. HCP Terraform shows it once, so paste it straight into qbash or keep it somewhere safe. 6. Confirm the token can write. In the organization, create a test workspace in the HCP Terraform UI, or run `create_project` from a task and check the project appears. Essentials is pay-as-you-go per managed resource per hour, and HashiCorp's docs point to the pricing page on its [Terraform site](https://www.hashicorp.com/products/terraform) for current rates. Standard and Premium need a conversation with HashiCorp sales. HCP Europe organizations use contract billing through sales. ### Pick a token type HCP Terraform has no scopes, so the token's owner decides what qbash can do. | Token | Permissions | Notes | | --- | --- | --- | | User | The permissions of the user who made it | The practical choice on the Free plan, which has no teams | | Team | The access of the team on its workspaces | Needs a paid plan. A team token can start runs and create configuration versions | | Organization | Can create and configure workspaces and teams | Cannot start runs or create configuration versions | Avoid a token from an organization owner. Create it from a user or team that has only the workspaces your tasks need. An organization can disable user tokens, and HCP Terraform then refuses them on that organization's resources. The API allows 30 requests per second per user, counted across all of that user's tokens. Some endpoints allow fewer. List runs allows 30 requests per minute. A 429 reaches your task as a rate limit error, and the task should wait a few seconds before calling again. ### Add the token in qbash 1. Open **Connectors**, then **Terraform**, and click **Connect**. 2. Fill in **Credential Name**, such as "qbash platform workspaces", and paste the token into **API Token**. 3. Save. qbash checks the token with HCP Terraform and saves it only if HCP Terraform accepts it. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Check recent runs from a task ```python workspaces = qbash.integrations.terraform.list_workspaces(organization="my-organization") for workspace in workspaces["workspaces"]: runs = qbash.integrations.terraform.list_runs( workspace_id=workspace["id"], status=["errored"], page_size=5, ) qbash.output({"workspace": workspace["name"], "errored_runs": runs["runs"]}) ``` Each response is JSON:API flattened to plain keys. An item has `id`, `type` and its attributes with `-` changed to `_`, and a `relationships` map of related IDs. A run's `relationships.plan` and `relationships.apply` go to `get_plan` and `get_apply`. List methods return `next_cursor`. Pass it back as `cursor` until it is `None`. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists every method and its parameters. ### Methods | Method | Resource | Access | | --- | --- | --- | | `list_organizations` | Organizations | Read | | `get_organization` | Organizations | Read | | `list_workspaces` | Workspaces | Read | | `get_workspace` | Workspaces | Read | | `create_workspace` | Workspaces | Write | | `update_workspace` | Workspaces | Write | | `list_workspace_variables` | Workspace variables | Read | | `create_workspace_variable` | Workspace variables | Write | | `update_workspace_variable` | Workspace variables | Write | | `list_variable_sets` | Variable sets | Read | | `create_variable_set` | Variable sets | Write | | `create_variable_set_variable` | Variable sets | Write | | `list_runs` | Runs | Read | | `get_run` | Runs | Read | | `create_run` | Runs | Write | | `get_plan` | Plans | Read | | `get_apply` | Applies | Read | | `list_configuration_versions` | Configuration versions | Read | | `create_configuration_version` | Configuration versions | Write | | `list_state_versions` | State versions | Read | | `get_current_state_version` | State versions | Read | | `list_state_version_outputs` | State version outputs | Read | | `list_projects` | Projects | Read | | `create_project` | Projects | Write | | `list_notification_configurations` | Notification configurations | Read | ### Details that affect results - `create_run` queues a plan and always sends auto-apply as false, so the run waits for a person to confirm it in HCP Terraform even on a workspace with auto-apply on. `plan_only=True` queues a plan that can never apply. Destroy runs cannot be requested, and `update_workspace` cannot turn auto-apply on. - `create_run` and `create_configuration_version` need a user or team token. An organization token gets a 403. - `create_configuration_version` returns an `upload_url` only in that response. This connector does not upload the configuration archive. The version is always created with `auto_queue_runs` set to `False`, so uploading it never starts a run. Use `create_run` to plan it. - The value of a sensitive variable or sensitive output is `None` in every read. A sensitive variable is write-only once saved. - `list_notification_configurations` shows only the host of each webhook URL and leaves out the token. - `list_state_versions` needs both `organization` and `workspace_name`. The state version upload and download URLs are left out of the results, because a download URL opens the raw state, which can hold secrets, without a token. - A 404 can mean the token's user or team lacks permission to see the resource, because HCP Terraform hides what a token cannot read. - A 401 marks the credential as needing a new token. A 403 does not, and its message points to the token type, its expiration date and its permissions. - Saving a token checks it against the organizations list. A 403 or 404 there still lets the token save, because an organization token cannot list organizations. Only a 401 rejects it. - `list_workspace_variables` returns every variable in one response and has no paging. --- ## Connect Zotero Source: https://qbash.com/docs/connectors/zotero Tasks call Zotero through `qbash.integrations.zotero` with an API key and user ID you store on the Connectors page. The connector reads items with their child notes and attachment records, collections and subcollections, tags, saved search definitions, groups and group libraries, My Publications and the key's own privileges. Its writes create items, notes, collections and linked attachment records, update items and collections, and set an item's tags and collections. The key is the only credential, with no OAuth step and no app to register. A free Zotero account can create a key. No method deletes anything, empties the trash, replaces a whole item with PUT, uploads a file or changes the key. After you connect Zotero, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. ### Create the key 1. Register at [zotero.org](https://www.zotero.org/user/register), or log in to your existing account. 2. Open [zotero.org/settings/keys/new](https://www.zotero.org/settings/keys/new). 3. Give the key a name such as "qbash". 4. For the personal library, allow library access. Allow write access only if your tasks add or change things, and allow notes access if they read or write notes. 5. Give group access only if your tasks need a group library, and pick the specific groups. Do not grant access to all groups or to everything. 6. Save the key, then copy it. 7. Open [zotero.org/settings/keys](https://www.zotero.org/settings/keys) and copy the number shown as "Your userID for use in API calls". It is a number, not your username. ### Add the key in qbash 1. Open **Connectors**, then **Zotero**, and click **Connect**. 2. Fill in **Credential Name**, such as "Research library", paste the key into **API Key** and enter the number in **User ID**. 3. Save. qbash asks Zotero which account owns the key and saves the credential only if the key works and belongs to that user ID. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Methods Every method takes an optional `group_id` to work in a group library instead of your personal one, except where noted. Get group IDs from `list_groups`. | Resource | Method | Read or write | | --- | --- | --- | | Key | `check_key` | Read | | Items | `list_items` | Read | | Items | `get_item` | Read | | Items | `list_child_items` (child notes and attachment metadata) | Read | | Collections | `list_collections` | Read | | Collections | `get_collection` | Read | | Collections | `list_subcollections` | Read | | Tags | `list_tags` | Read | | Tags | `list_item_tags` | Read | | Saved searches | `list_saved_searches` (definitions only) | Read | | Groups | `list_groups` (personal library only) | Read | | Groups | `list_group_items` (requires `group_id`) | Read | | Publications | `list_publication_items` (personal library only) | Read | | Item types | `list_item_types` | Read | | Item types | `get_item_template` | Read | | Items | `create_items` | Write | | Items | `update_item` | Write | | Items | `batch_update_items` | Write | | Collections | `create_collection` | Write | | Collections | `update_collection` | Write | | Items | `set_item_tags` | Write | | Items | `set_item_collections` | Write | | Items | `create_child_note` | Write | | Items | `create_child_attachment_metadata` | Write | The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) lists each method's parameters and return values. #### What is left out - **Deletes.** No method deletes items, collections, tags or searches, and `update_item` refuses the `deleted` field, which would move an item to the trash. - **Whole-item replace.** Zotero's PUT on an item removes every field you leave out. All item updates use PATCH, which changes only the fields you send. - **File upload and download.** `create_child_attachment_metadata` creates a linked-URL record only. No file is uploaded or fetched. - **Saved search results, full-text content, exports and citations.** The Web API does not run saved searches, and this connector does not read formatted output. ### Versions and write tokens Zotero numbers every change with a library version. Each item and collection has its own `version`, and `update_item`, `set_item_tags`, `set_item_collections` and `update_collection` send it as `If-Unmodified-Since-Version`. If the object changed after you read it, Zotero refuses the write with a 412 and the task gets a version conflict error. Read the object again and retry with its new version. `batch_update_items` checks each object's own `version` and reports a stale one in `failed` with code 412, while the others still go through. `create_items`, `create_collection`, `create_child_note` and `create_child_attachment_metadata` send a `Zotero-Write-Token`. Zotero remembers a token for 12 hours and answers a reused token with a 412, so a repeated call cannot create duplicates. The connector generates a token when you omit `write_token` and returns it as `write_token`. To retry safely after a timeout, pass the same `write_token` again. A 412 on that retry means the first call went through. Item arrays such as `tags` and `collections` replace the whole list. Read the item first, then send the full list you want. ### Rate limits The connector sends one request per call and never retries on its own. Zotero answers with a 429 and a `Retry-After` header when you go too fast, and may send a `Backoff` header on any response. A 429 reaches your task as a retryable error that states the wait, for example "Wait 30 seconds". A successful read includes `backoff_seconds` when Zotero asked for one, and the connector then refuses further calls for that key until the wait is over, without sending a request. At most 4 requests run at once across all Zotero keys on a server. A fifth waits a few seconds for a free slot, then fails with a retryable error. A create that fails also names the write token it used, so you can retry with the same token and not create a duplicate. ### Read a collection from a task ```python result = qbash.integrations.zotero.list_items( collection_key="QK7V2N8B", top_level=True, sort="date", direction="asc", limit=100, ) for item in result["items"]: qbash.output({"key": item["key"], "title": item.get("title"), "date": item.get("date")}) ``` Each item has its fields at the top level, next to `key` and `version`, and `meta` with counts such as `numChildren`. List methods return `next_cursor`, `total_results` and `library_version`. Pass `next_cursor` back as `cursor` until it is `None`. ### Add a note and a tag from a task ```python item = qbash.integrations.zotero.get_item(item_key="X42A7DEE")["item"] qbash.integrations.zotero.create_child_note( parent_item_key=item["key"], note="

Read in full. Method section is the useful part.

", ) qbash.integrations.zotero.set_item_tags( item_key=item["key"], version=item["version"], tags=[tag["tag"] for tag in item.get("tags", [])] + ["read"], ) ``` --- ## Connect Etsy Source: https://qbash.com/docs/connectors/etsy Tasks call Etsy through `qbash.integrations.etsy` with the keystring and shared secret of an Etsy app that you store on the Connectors page. The connector reads public data for shops, shop sections, listings and listing images. Etsy does not charge for API access. Private shop data, orders and every write are unavailable because Etsy requires an OAuth token for them, and this connector sends the key alone. That rules out receipts, transactions, shipping profiles, tracking, draft and inactive listings, and any change to a listing, section or shop. Etsy limits each key to a single app. Each team registers its own app and uses its own key. After you connect Etsy, you can add its tools to a [qbash MCP server](https://qbash.com/docs/mcp-servers/overview#package) for ChatGPT, Claude and other MCP clients, or call it from a Python task. ### Create the key 1. Sign in to Etsy, then open [etsy.com/developers/register](https://www.etsy.com/developers/register). 2. Create a Seller App, which covers your own shop, and fill in the form. 3. Wait for Etsy to approve the app. The key does not work until Etsy approves it, and the status shows under **Your Apps**. 4. Open [Your Apps](https://www.etsy.com/developers/your-apps), pick the app, and copy the keystring. Click the visibility icon beside the shared secret and copy that too. Do not publish the shared secret. 5. Get your numeric shop ID. Tasks pass it as `shop_id`, and it is not the shop's name. Etsy's `findShops` endpoint returns it for a shop name, and this connector does not call that endpoint, so look the ID up outside qbash. ### Add the key in qbash 1. Open **Connectors**, then **Etsy**, and click **Connect**. 2. Fill in **Credential Name**, such as "My Etsy shop", then paste the keystring into **Keystring** and the shared secret into **Shared Secret**. 3. Save. qbash stores both values encrypted. Saving does not call Etsy, so a call from a task is the first test of the key. 4. In the task editor, choose **Add connector** from the Package **+** menu and select the credential. See [Task resources](https://qbash.com/docs/tasks/task-editor#resources). ### Methods | Resource | Method | Read or write | | --- | --- | --- | | Shops | `get_shop` | Read | | Shop sections | `list_shop_sections` | Read | | Listings | `list_listings` (active listings only) | Read | | Listings | `get_listing` | Read | | Listing images | `list_listing_images` | Read | See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for parameters and return shapes. ### Task example ```python page = qbash.integrations.etsy.list_listings(shop_id=12345678, limit=100, keywords="mug", sort_on="updated") for listing in page["listings"]: images = qbash.integrations.etsy.list_listing_images(listing_id=listing["listing_id"]) qbash.output({"title": listing["title"], "tags": len(listing["tags"]), "images": images["count"]}) ``` ### Details that change results - `list_listings` returns 25 listings by default and up to 100. Pass `next_cursor` back as `cursor` until it is `None`. Etsy serves at most 12000 listings by offset. Past that, `next_cursor` is `None` and `truncated` is `True`, so narrow the search with `keywords`. - `sort_on` and `sort_order` only work together with `keywords`. Without it the call is rejected. Etsy returns `score` results best match first, so `sort_on="score"` with an ascending `sort_order` is rejected. - `price` on a listing is a dict with `amount`, `divisor` and `currency_code`. Divide `amount` by `divisor` for the price in major units. - Inactive, draft, expired and sold out listings do not appear in `list_listings`, and `get_listing` answers 404 for a listing that is not public. - A 401 means Etsy rejected the keystring or shared secret. A 403 means Etsy refused the call, which can happen while the app is still waiting for approval. Only a 401 marks the credential as needing re-authentication. - Etsy applies per-second and per-day limits to each key. A 429 reply says how many seconds to wait. --- ## Connect Pinterest Source: https://qbash.com/docs/connectors/pinterest Tasks call Pinterest through `qbash.integrations.pinterest`. The connector reads the signed-in account's boards, sections, Pins, followers and analytics, and finds trending searches. It also creates and deletes boards and sections, saves and deletes Pins, and uploads videos for video Pins. Pinterest Ads is a separate connector. See [Connect Pinterest Ads](https://qbash.com/docs/connectors/pinterest-ads). ### Use a Pinterest business account Pinterest lets new apps read Pins and boards only for the business account that signed in, and some of its analytics need a business account too. A personal account can sign in, but its Pin and board calls fail with a message about pinner data access. To switch a personal account, open Pinterest's **Settings → Account management** and convert it to a business account. It's free, and the account keeps its boards and Pins. ### Add the credential in qbash 1. Open **Connectors → Pinterest → Connect**. 2. Name the credential, for example after the account, and select **Connect Pinterest**. 3. Sign in to Pinterest in the popup and select **Give access**. Pinterest asks for read and write access to the account's boards and Pins, secret ones included, and read access to the account itself. The credential stays connected as long as a task or chat uses it at least every 60 days, because each refresh extends Pinterest's sign-in. ### Read analytics Select the credential under your task's **Tools → Integrations**, then call the connector: ```python end = (datetime.now(timezone.utc) - timedelta(days=1)).date() stats = qbash.integrations.pinterest.get_account_analytics( start_date=(end - timedelta(days=29)).isoformat(), end_date=end.isoformat(), metric_types=["IMPRESSION", "SAVE", "OUTBOUND_CLICK"], ) qbash.output(stats["analytics"]["all"]["summary_metrics"]) ``` `get_pin_analytics` does the same for one Pin, and `get_top_pins` ranks the account's Pins by impressions, saves or clicks. See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for every method. ### Boards, Pins and videos - `create_board` and `create_board_section` add boards and sections. A board can be public, protected or secret. - `save_pin` saves an existing Pin to one of the account's boards or sections. - `upload_video` takes a video URL or a qbash file (.mp4, .mov or .m4v) and returns a `media_id`. `get_video_upload_status` says when Pinterest has finished processing it. - `delete_board` deletes the board and every Pin on it, and Pinterest can't restore either. `create_pin` publishes a new Pin to one of the account's boards from an image URL, two to five images or an uploaded video. Pinterest refuses it until it approves qbash's Pinterest app for standard access. `update_pin` is a feature Pinterest turns on for each app on request, and it refuses that call for qbash's app for now. Pinterest asks that each Pin a task publishes is one the account owner chose to post, from content they made. ### Seed test data Make a secret board in Pinterest and add a Pin or two with your own images. Secret boards stay off your profile, and `list_pins` only returns their Pins with `pin_type="PRIVATE"`. A new business account shows no analytics until its Pins get impressions. ### Limits - List methods return up to 250 items a page. Pass `next_cursor` back as `cursor` for the next page. - Analytics cover at most 90 days and start no more than 90 days back. - Pinterest limits how many calls qbash's Pinterest app makes each day across all accounts. A call over the limit fails with a rate limit error until the limit resets. --- ## Connect Pinterest Ads Source: https://qbash.com/docs/connectors/pinterest-ads Tasks call the Pinterest Ads API through `qbash.integrations.pinterest_ads`. The connector reads ad accounts, campaigns, ad groups, ads, audiences, keywords and conversion tags. It pulls analytics and longer reports, sends conversion events, and updates status, budgets and bids. It can't create campaigns, ad groups or ads, and it doesn't touch billing. For Pins and boards, use [Connect Pinterest](https://qbash.com/docs/connectors/pinterest). ### Check your ad account access The connector acts as the Pinterest user who signs in, and reaches every ad account that user owns or was given through Business Access. Reports need the Owner, Admin, Analyst or Campaign Manager role on the ad account. Updates need a role that can edit campaigns in Ads Manager. ### Add the credential in qbash 1. Open **Connectors → Pinterest Ads → Connect**. 2. Name the credential, for example after the ad account, and select **Connect Pinterest Ads**. 3. Sign in to Pinterest in the popup and select **Give access**. Pinterest asks for read and write access to ads and read access to the account. The credential stays connected as long as a task or chat uses it at least every 60 days. ### Pull a report Select the credential under your task's **Tools → Integrations**. Find the ad account ID with `list_ad_accounts`, then: ```python end = (datetime.now(timezone.utc) - timedelta(days=1)).date() report = qbash.integrations.pinterest_ads.get_campaign_analytics( ad_account_id="549755885175", campaign_ids=["626735432189"], start_date=(end - timedelta(days=6)).isoformat(), end_date=end.isoformat(), columns=["SPEND_IN_DOLLAR", "PAID_IMPRESSION", "TOTAL_CLICKTHROUGH", "TOTAL_CONVERSIONS"], granularity="DAY", ) qbash.output(report["rows"]) ``` The analytics methods cover up to 90 days. For longer ranges, `create_report` starts a report of up to 186 days and returns a token. Call `get_report` with that token until it finishes, and it saves the report to qbash as a JSON or CSV file. See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for every method. ### Change campaigns, ad groups and ads `update_campaigns`, `update_ad_groups` and `update_ads` change up to 30 items per call: - status: `ACTIVE`, `PAUSED` or `ARCHIVED` - name, start time and end time - budgets, bids and spend caps, in micro-currency where 1,000,000 is 1 unit of the ad account's currency Changes reach live ads at once and can raise or stop spend. When Pinterest refuses some items, the call returns `"status": "partial"` with an error for each one. ### Send conversion events `send_conversion_events` sends up to 1,000 events to the ad account through Pinterest's Conversions API. qbash hashes emails, phone numbers and the other personal fields with SHA-256 before sending and keeps them out of the task log. Pass `test=True` to check a batch without recording it. ### Seed test data Create an ad account in [Pinterest Ads Manager](https://ads.pinterest.com/). The account itself needs no billing details. A campaign saved as a draft in Ads Manager shows up in `list_campaigns` with `entity_statuses=["DRAFT"]` and never spends, so it is a safe target for update tests. ### Limits - Reports and analytics return only days with recorded delivery. `get_metrics_ready_state` says whether a day's numbers are final. - Analytics take at most 250 campaign, ad group or ad IDs per call. - Pinterest limits how many calls qbash's Pinterest app makes each day across all accounts. A call over the limit fails with a rate limit error until the limit resets. --- ## Connect Google Tag Manager Source: https://qbash.com/docs/connectors/google-tag-manager Sign in with Google to let qbash Tasks read your Tag Manager containers and change the tags, triggers and variables in a workspace. Tasks can also create and publish versions. ### Check your Tag Manager permissions The connector acts as the Google account you sign in with, so it reaches the Tag Manager accounts and containers that account can open, at the permission level it has in each one. In Tag Manager, open **Admin → Container User Management** to see it: | Container permission | What Tasks can do | | --- | --- | | Read | List and read tags, triggers, variables, workspaces and versions | | Edit | Also create workspaces and create, update or delete tags, triggers and variables | | Approve | Also create versions | | Publish | Also publish versions | A call above the account's permission fails with a 403 error for that container. The credential keeps working for everything else. ### Add the credential in qbash 1. Open **Connectors → Google Tag Manager → Add Credential**. 2. Name the credential, for example after the site it manages, and select **Connect Tag Manager**. 3. Sign in with Google and allow the four Tag Manager permissions Google lists: view containers, manage containers, manage container versions and publish container versions. Until Google finishes verifying qbash for these permissions, the sign-in screen shows a warning that Google hasn't verified the app. ### Read what is live Select the credential under your Task's **Tools → Integrations**. Find the numeric IDs with `list_accounts` and `list_containers`, or look a container up by the GTM- ID in its snippet: ```python container = qbash.integrations.google_tag_manager.lookup_container(tag_id="GTM-QB4SH12")["container"] live = qbash.integrations.google_tag_manager.get_live_version( account_id=container["accountId"], container_id=container["containerId"], ) qbash.output([tag["name"] for tag in live["version"].get("tag", [])]) ``` Results keep Google's field names (`tagId`, `firingTriggerId`, `parameter`), so a tag you read can be changed and passed back. See the [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) for every method. ### Change tags and publish Changes go into a workspace and reach the site only when a version is created and published: 1. `list_workspaces` returns the container's workspaces. A new container starts with one called Default Workspace. Free Tag Manager accounts allow three workspaces per container. 2. `create_tag`, `update_tag` and the trigger and variable methods change entities in that workspace. `update_tag` reads the tag first and applies only the fields you pass, so to edit one setting inside `parameter`, pass the whole `parameter` list. 3. `get_workspace_status` lists the changes waiting in the workspace and any merge conflicts. 4. `create_version` turns the workspace into a version. Google then deletes that workspace and can return a new one in `new_workspace_path`. 5. `publish_version` makes the version live. Pass the version's `fingerprint` so Google refuses the publish if someone changed the version after your Task read it. To roll back, publish an earlier version from `list_version_headers`. ### Seed test data Create a separate container for testing in [Tag Manager](https://tagmanager.google.com/) (**Admin → Create Container**, target platform Web) and point it at a page you control, or leave it uninstalled. Add a Google tag and a Click trigger in the Default Workspace, then create and publish one version so `get_live_version` has something to return. Run writes against that container before you run them on a site's real container. ### Limits - Google allows 25 Tag Manager API requests per 100 seconds for each app, and every qbash connection shares that allowance. Beyond it, calls fail with a quota error. Wait a minute before retrying, and have Tasks that audit many containers read only the versions they need. - List methods return one page. Pass `next_page_token` back as `page_token` for the next one. - IDs are numbers. `container_id` is the numeric container ID from `list_containers`, not the GTM- public ID. - The connector can't delete containers, manage users or change account settings. Do those in the Tag Manager web app. --- ## Organization Settings Source: https://qbash.com/docs/org-settings/admin Organization Settings is where admins manage team members, invitations, and shared defaults. Click your name or avatar at the bottom of the left sidebar and select **Org Settings**. This option is available to admins of the current organization. The **Users** and **Invites** tabs cover [team access and invitations](https://qbash.com/docs/org-settings/users). **Pins** controls shared shortcuts, and **Company Settings** controls who can invite new members. AI providers and their API keys are configured separately under **Models** in the main sidebar. See [Model Providers](https://qbash.com/docs/org-settings/models) for setup and trial access. Connections to other services live under **Connectors**; see [MCP Connectors](https://qbash.com/docs/features/mcp-connectors). ### Pins Pinned items appear at the top of the chat launcher for everyone in the organization, before personal pins and recently used items. Use them for tasks and tools your team reaches for often. Open **Pins**, find an item under **Available Items**, and click **Pin**. Search or **Filter by** can help narrow the list. To remove a shared pin, click **Unpin** beside it under **Pinned Items**. ![Available Items on the Pins tab, with a search field, type filter, and Pin controls beside example tasks](https://qbash.com/docs-images/org-settings/organization-pins.jpg) ### Company Settings The **Company Settings** tab controls who can invite new members. With **Allow all users to invite** enabled, any member can send an invitation. Turn it off to limit invitations to admins. If members can invite, you can also enable **Restrict invites to allowed domains**. Add at least one domain, such as `example.com`, to limit the addresses members can invite. Admins can still invite people from any domain. Click **Save Settings** to apply changes. --- ## Users & Invitations Source: https://qbash.com/docs/org-settings/users Admins manage team access from **Org Settings**, available in the account menu at the bottom of the sidebar. **Users** shows who's already in the organization; **Invites** is where you invite someone new and follow up on pending invitations. ### Users The **Users** tab lists each person's email and role: **Admin** or **Member**. Invited and disabled accounts are marked beside their email. To change someone's role, open the **⋯** menu on their row and choose **Grant admin** or **Revoke admin**. Admins can manage the organization's settings, members, and model-provider keys. If someone leaves the team, choose **Disable user** to remove their access to this organization. Their tasks, memories, and other content stay in place. **Enable user** restores access if they return. qbash asks you to confirm your identity before changing an admin role or disabling a user. You can't disable your own account. ![A member's row menu showing Grant admin and Disable user, with email addresses cropped out](https://qbash.com/docs-images/org-settings/user-role-menu.jpg) ### Invites Open **Invites**, click **Invite**, enter the person's email, and select **Send Invite**. They'll receive a link to join your organization. Pending invitations appear in the table with their status, who sent them, and when. The **⋯** menu lets you **Copy Invite** to share the link directly, **Resend** the email, or **Cancel** an invitation that's no longer needed. If an invitation has expired, use **Resend** to send a fresh link. Admins can also allow members to send invitations and restrict which email domains members can invite. These options are under [Company Settings](https://qbash.com/docs/org-settings/admin#company-settings). --- ## Model Providers Source: https://qbash.com/docs/org-settings/models qbash provides access to selected AI models during your trial. After the trial, your organization needs to connect its own API keys for the providers it uses. Open **Models** in the main sidebar to see providers and their available models. Everyone in the organization can view this page, but only admins can add or replace keys and change which models are enabled. Providers include Anthropic, OpenAI, Google Gemini, xAI, TypeSafe, and OpenRouter. Each has a card showing its connection status and selected models. ![The Models page with Anthropic and OpenAI provider cards, selected and available models, provider access switches, and Configure buttons](https://qbash.com/docs-images/org-settings/model-providers.jpg) ### Setting up a provider Click **Set Up** on a new provider, or **Configure** on an existing one. Enter an **API Key** from your account with that provider. The **Get API key** link opens the provider's key-management page. Choose the models your team needs under **Available Models**, then click **Save**. **Enable all** selects all models available to your configuration. You can return to **Configure** whenever you need to change the selection or replace the key. The key is shared across the organization's calls to that provider; each team member doesn't need to add their own. Usage through your key is billed to your provider account and is subject to that account's limits. ### Moving off trial access Providers using qbash trial keys show the time remaining. Some models are unavailable during the trial and marked **Add your own API key to unlock**. Add your own key through **Configure** before trial access ends to keep using that provider. Saving your key replaces its trial key, and subsequent calls use your provider account. Repeat this for each provider you want to use. If trial access has already ended, the card may show **Needs API key**. Add your key, choose the models you need, and enable the provider. A paid qbash plan alone does not replace this setup. ### Model availability The switch on a configured provider's card enables or disables the provider. To change individual models, open **Configure** and adjust the checkboxes. These choices apply across the organization. Task authors can choose an enabled model in their [prompt settings](https://qbash.com/docs/tasks/prompts#models-and-settings). Before disabling a provider or model, check whether any existing tasks still rely on it. --- ## Connect Datadog Source: https://qbash.com/docs/connectors/datadog The Datadog connector lets qbash Tasks inspect monitors, dashboards, logs, metrics, events, incidents, hosts, notebooks, spans and Software Catalog entities through Datadog's native REST API. It authenticates with an API key and an application key. ### Prepare the key pair 1. Sign in to your [Datadog account](https://app.datadoghq.com/) on the site that holds your organization. If you need a new account, sign up on Datadog, review its terms and choose a plan. 2. Open **Organization Settings → API Keys**. Use an API key created for this connector. 3. Open **Organization Settings → Application Keys**. Create a scoped application key for the same organization. A service account avoids tying Task access to an individual employee. 4. Grant only the read permissions your Tasks require. The application key's owner must also have permission to read those resources. Some products and datasets depend on your Datadog plan. Application keys in newer organizations are shown only at creation time. Store the key through the credential form and keep it out of Task code and messages. API and application keys belong to one organization and site. New keys may need a few seconds to propagate. See Datadog's [API and Application Keys](https://docs.datadoghq.com/account_management/api-app-keys/) for key ownership, scoping and one-time visibility. ### Choose read permissions | Operations | Permissions to check on the application key and its owner | | --- | --- | | List, get and search monitors | `monitors_read` | | List and get dashboards | `dashboards_read` | | Search and aggregate logs | `logs_read_data`, with access to the required indexes | | List metrics | `metrics_read` | | Query metric timeseries | `timeseries_query` | | List and get events | `events_read` | | List and get incidents | `incident_read` | | List hosts | `hosts_read` | | List and get notebooks | `notebooks_read` | | Search and aggregate spans | `apm_read` | | List Software Catalog entities | `apm_service_catalog_read` | Log restriction queries, index permissions and resource restrictions can further narrow results. A valid key pair does not guarantee that every operation is available. Consult Datadog's [Role Permissions](https://docs.datadoghq.com/account_management/rbac/permissions/) and the endpoint's [API Reference](https://docs.datadoghq.com/api/latest/) when a request is refused. ### Add the credential in qbash Open **Connectors → Datadog → Connect**. Enter a name, choose your Datadog site and enter both keys. Saving sends the key pair to the selected Datadog API to validate it. | Site | Site parameter | | --- | --- | | US1 | `datadoghq.com` | | US3 | `us3.datadoghq.com` | | US5 | `us5.datadoghq.com` | | EU1 | `datadoghq.eu` | | AP1 | `ap1.datadoghq.com` | | AP2 | `ap2.datadoghq.com` | | UK1 | `uk1.datadoghq.com` | | US1-FED | `ddog-gov.com` | | US2-FED | `us2.ddog-gov.com` | Datadog's [Getting Started with Datadog Sites](https://docs.datadoghq.com/getting_started/site/) explains how to find your site's parameter. The selector accepts these official sites. Custom domains must use the underlying site's parameter. When editing, leave either secret blank to retain it. A name-only change preserves the existing credential data. Changing the site checks the saved or replacement keys against the newly selected site. ### Use the credential in a Task Select the credential under the Task's **Tools → Integrations**, then call the connector: ```python page = qbash.integrations.datadog.list_monitors(limit=20) qbash.output(page) ``` List and search operations make one bounded page request. Use the returned `next_cursor` with the same operation and filters to continue, and stop when it is `None`. Some Datadog APIs return a complete non-paginated response instead. The [SDK Reference](https://qbash.com/docs/tasks/sdk-reference) describes each method's parameters and result shape. Keep query windows short and result limits small during testing. Metrics can aggregate points over longer periods, and spans and logs reflect the data retained and accessible in your account. An empty result means the chosen query returned no accessible data. A `401` means authentication failed. A `403` can mean that the key, its owner or the selected product lacks access. Rate-limit errors need backoff before a new attempt. The connector does not retry requests automatically or follow redirects. ### Scope The selected operations support read-only diagnosis based on Datadog's [MCP Server Tools](https://docs.datadoghq.com/mcp_server/tools/) and public REST endpoint contracts. The connector calls REST endpoints directly. It covers part of the core toolset and does not claim full MCP parity. Writes, account and key management, ingestion, OAuth setup, hosted MCP access, synthetics, security products and deployment workflows are outside this connector's scope. These need separate permissions or product flows. ### Read one event Use `items[].attributes.attributes.evt.uid` from `list_events` as the `event_id` for `get_event`. The top-level list item `id` is a search-result identifier and may return 404 when used for event lookup. The returned event can retain a different top-level identifier; compare `attributes.attributes.evt.uid` to confirm identity. See the official [event response fields](https://docs.datadoghq.com/api/latest/events/get-a-list-of-events/).