# Sazabi: Reference ## Reference ### API - [API](https://docs.sazabi.com/reference/api/index.md): Base URL, authentication, errors, rate limits, and pagination for the Sazabi public API, plus generated reference for every endpoint. - [Streaming](https://docs.sazabi.com/reference/api/streaming.md): Stream Sazabi agent run and thread events over Server-Sent Events. - [Webhook payload](https://docs.sazabi.com/reference/api/webhooks/payload.md): Envelope delivered to webhook endpoints for Sazabi notification events. #### Ship fixes ##### AgentDispatches - [List agent dispatches](https://docs.sazabi.com/reference/api/agent-dispatches/list.md): Read the coding agent attempts in a project, on an issue or in a thread. - [Hand a task to a coding agent from a thread](https://docs.sazabi.com/reference/api/agent-dispatches/create.md): Hand work to a connected coding agent from any thread, with no issue. The attempt's brief carries the task and a link to the thread; the agent's questions and result land in the thread, and `agentDispatches.get`, `replies.create` and `cancel` follow it like an issue fix's attempt. The requester is t… - [Get an agent dispatch](https://docs.sazabi.com/reference/api/agent-dispatches/get.md): Read an existing attempt and all its linked pull requests. - [Reply to an agent dispatch](https://docs.sazabi.com/reference/api/agent-dispatches/replies-create.md): Explicitly send a follow-up to the coding agent as the authenticated person. - [Cancel an agent dispatch](https://docs.sazabi.com/reference/api/agent-dispatches/cancel.md): Request cancellation of an existing attempt; acknowledgement is not terminal completion. - [Read the project's fix setting](https://docs.sazabi.com/reference/api/agent-dispatches/project-default-get.md): The project's fix setting: the agent `issues.fixes.create` hands off to when it names no `agent`, a connected coding agent account (with the vendor environment the next launch prefers) or Sazabi's agent, and whether every new issue starts a fix. Set only by a person, with `agentDispatches.projectDef… - [Set or clear the project's fix setting](https://docs.sazabi.com/reference/api/agent-dispatches/project-default-update.md): Set the agent the project's fixes go to, a coding agent account or Sazabi's agent, whether every new issue starts a fix (`autoFix`), and the lowest severity a new issue needs for that (`autoFixMinSeverity`); null clears the selection and the switch. A coding agent account must be an active connectio… ##### Pull Requests - [List pull requests](https://docs.sazabi.com/reference/api/pull-requests/list.md): List pull requests that Sazabi opened, optionally filtered by status, repository, and requesting user. ##### Repos - [Get repository capacity usage](https://docs.sazabi.com/reference/api/repos/get-usage.md): Organization-wide distinct repository usage and repositories only mapped to this project. Requires settings write permission; removing an exclusive mapping releases one slot. - [List repositories](https://docs.sazabi.com/reference/api/repos/list.md): List the repositories available to a project — every repository reachable through the organization's GitHub App installations, the caller's personal forge connections, and integrations — with each one's linked status. - [Link repositories to a project](https://docs.sazabi.com/reference/api/repos/add.md): Link repositories to a project by access source id, optionally unlinking removeIds in the same transaction. Plan admission uses the final organization-wide distinct count; a refusal preserves every mapping. Select only one access source per repository; re-linking an already-linked repository refresh… - [Unlink a repository from a project](https://docs.sazabi.com/reference/api/repos/remove.md): Unlink a repository from a project by repository row id. #### Organization and access ##### Auth - [Get the current credential](https://docs.sazabi.com/reference/api/auth/get.md): Return the identity and available context for the current credential. ##### Support Tickets - [List your support tickets](https://docs.sazabi.com/reference/api/support-tickets/list.md): List the support tickets the authenticated person filed, optionally filtered by state or feature request. - [File a support ticket](https://docs.sazabi.com/reference/api/support-tickets/create.md): File a support ticket or feature request with Sazabi support. The requester is the authenticated person; replies arrive in the dashboard support widget and by email. - [Check whether support tickets can be filed](https://docs.sazabi.com/reference/api/support-tickets/availability.md): Report whether this environment can file support tickets: the support desk is configured and reachable. - [Get one of your support tickets](https://docs.sazabi.com/reference/api/support-tickets/get.md): Get a support ticket the authenticated person filed, by ticket number or id. A ticket someone else filed is reported as not found. ##### Organizations - [List organizations](https://docs.sazabi.com/reference/api/organizations/list.md): List organizations available to the current credential. - [Create an organization](https://docs.sazabi.com/reference/api/organizations/create.md): Create an organization for the authenticated user. - [Get an organization](https://docs.sazabi.com/reference/api/organizations/get.md): Get one organization by ID. - [Update an organization](https://docs.sazabi.com/reference/api/organizations/update.md): Update one organization. ##### Members - [List members](https://docs.sazabi.com/reference/api/members/list.md): List members in an organization. - [Update a member's role](https://docs.sazabi.com/reference/api/members/update-role.md): Update a member's organization role. - [Remove a member](https://docs.sazabi.com/reference/api/members/remove.md): Remove a member from an organization. - [List invitations](https://docs.sazabi.com/reference/api/members/list-invitations.md): List pending invitations for an organization. - [Invite a member](https://docs.sazabi.com/reference/api/members/invite.md): Invite a person to the organization by email. - [Revoke an invitation](https://docs.sazabi.com/reference/api/members/revoke-invitation.md): Revoke a pending invitation. ##### Teams - [List teams](https://docs.sazabi.com/reference/api/teams/list.md): List teams in an organization. - [Create a team](https://docs.sazabi.com/reference/api/teams/create.md): Create a team in an organization. - [Get a team](https://docs.sazabi.com/reference/api/teams/get.md): Get one team with its active members. The team is read in the organization the credential acts in. - [Delete a team](https://docs.sazabi.com/reference/api/teams/delete.md): Delete a team, its memberships, and its component-ownership assignments. Fails with team_in_use (409) while a notification delivery rule, webhook subscription, or task-creation rule names the team in its condition. - [Update a team](https://docs.sazabi.com/reference/api/teams/update.md): Rename a team or update its description. - [List team members](https://docs.sazabi.com/reference/api/teams/list-members.md): List a team's active members. - [Add team members](https://docs.sazabi.com/reference/api/teams/add-member.md): Add up to 100 active organization members to a team atomically. Existing memberships are unchanged and previously removed memberships are restored. - [Remove a team member](https://docs.sazabi.com/reference/api/teams/remove-member.md): Remove a member from a team. ##### SSO - [Get the SSO connection](https://docs.sazabi.com/reference/api/sso/connections-get.md): Get the organization's SSO connection, if any, and the service-provider metadata to register with the identity provider. - [Create or update the SSO connection](https://docs.sazabi.com/reference/api/sso/connections-upsert.md): Create the organization's SSO connection or change it. Identity fields need an owner or a key that can manage SSO; other fields need an admin. - [Delete the SSO connection](https://docs.sazabi.com/reference/api/sso/connections-delete.md): Delete the organization's SSO connection and end the sessions and MCP access of the people who signed in through it. Refused while any domain enforces SSO. - [Test the SSO connection](https://docs.sazabi.com/reference/api/sso/connections-test.md): Start a test sign-in through the SSO connection. Open the returned URL in a browser and sign in at the identity provider; a successful round trip marks the connection tested. - [Get SSO status](https://docs.sazabi.com/reference/api/sso/get-status.md): Get the SSO connection's state, the organization's domains and whether SSO is enforced. - [List SSO domains](https://docs.sazabi.com/reference/api/sso/domains-list.md): List the domains the organization has claimed for single sign-on, with each one's TXT verification record and status. - [Claim an SSO domain](https://docs.sazabi.com/reference/api/sso/domains-claim.md): Claim a domain for single sign-on and get the TXT record to publish. Claiming a domain again returns the existing claim. A domain another organization has verified can't be claimed. - [Verify an SSO domain](https://docs.sazabi.com/reference/api/sso/domains-verify.md): Look up the domain's TXT record now. The domain is verified when the record holds the claim's value. A DNS error changes nothing and answers `dns_error`; try again later. - [Remove an SSO domain](https://docs.sazabi.com/reference/api/sso/domains-remove.md): Remove a claimed domain. A domain that enforces single sign-on can't be removed; turn enforcement off first. - [List break-glass owners](https://docs.sazabi.com/reference/api/sso/break-glass-list.md): List the owners who can sign in with an email code and an authenticator while single sign-on is enforced. - [Set break-glass owners](https://docs.sazabi.com/reference/api/sso/break-glass-set-owners.md): Name up to two owners, by email, who can sign in with an email code and an authenticator while single sign-on is enforced. Only an owner signed in to the dashboard can make this change; any other caller is refused. An address that isn't an owner of the organization with an authenticator set up answe… - [Get SCIM state](https://docs.sazabi.com/reference/api/sso/scim-get.md): Get whether SCIM is on for the organization's SSO connection, and its live tokens' prefixes, expiries, last use time and IP address. `scim` is null when the organization has no SSO connection. - [Turn SCIM on](https://docs.sazabi.com/reference/api/sso/scim-enable.md): Turn SCIM on for the organization's SSO connection and return its first token. The token is shown only in this answer. Needs an owner or a key that can manage SSO, a connection that is turned on, and a plan that includes SSO. When SCIM is already on, the answer has `enabled: false`, no token, and ch… - [Rotate the SCIM token](https://docs.sazabi.com/reference/api/sso/scim-rotate-token.md): Issue a new SCIM token, shown only in this answer, and set the current one to expire in 24 hours so the identity provider can be updated. Needs an owner or a key that can manage SSO. Answers `scim_token_limit` while the connection already has two live tokens. - [Turn SCIM off](https://docs.sazabi.com/reference/api/sso/scim-disable.md): Turn SCIM off and revoke every token at once. Users, memberships and SCIM records are kept. Needs an owner or a key that can manage SSO. Answers `scim_only` while the connection is SCIM only. - [Pause SCIM](https://docs.sazabi.com/reference/api/sso/scim-pause.md): Pause SCIM writes. While paused, every SCIM write answers 503 with Retry-After, so the identity provider retries, and reads still work. SCIM also pauses itself when deactivations cross the threshold. Needs an owner or a key that can manage SSO. Answers `scim_not_enabled` while SCIM is off. - [Resume SCIM](https://docs.sazabi.com/reference/api/sso/scim-resume.md): Resume SCIM writes after a pause. Deactivations before the resume no longer count toward the threshold. Needs an owner or a key that can manage SSO. - [Set the SCIM deactivation threshold](https://docs.sazabi.com/reference/api/sso/scim-set-threshold.md): Set how many SCIM deactivations a rolling hour allows before SCIM pauses, or null for the default. Needs an owner or a key that can manage SSO. - [Get the SCIM mismatch report](https://docs.sazabi.com/reference/api/sso/scim-mismatch-report-get.md): List members who signed in by SSO in the last 30 days with no SCIM record, and active SCIM records whose user never signed in by SSO. Each list holds at most 500 rows; `truncated` says whether it was cut. `report` is null when the organization has no SSO connection or SCIM is off. - [List SCIM-provisioned members](https://docs.sazabi.com/reference/api/sso/scim-list-members.md): List the organization's members who have a SCIM record, including after SCIM is turned off or the SSO connection is deleted, so you can review whom to remove by hand. `connectionState` says whether SCIM still manages each member. ##### Secret Keys - [List secret keys](https://docs.sazabi.com/reference/api/secret-keys/list.md): List secret keys within the organization. - [Create a secret key](https://docs.sazabi.com/reference/api/secret-keys/create.md): Create one secret key within the organization. - [Get a secret key](https://docs.sazabi.com/reference/api/secret-keys/get.md): Get one secret key within the organization. - [Delete a secret key](https://docs.sazabi.com/reference/api/secret-keys/delete.md): Delete one secret key within the organization. - [Update a secret key](https://docs.sazabi.com/reference/api/secret-keys/update.md): Update one secret key within the organization. ##### Projects - [Get issue detection settings](https://docs.sazabi.com/reference/api/projects/get-issue-detection-settings.md): Read the project's issue detection toggle. Requires access to the project; changing the toggle requires settings:write permission. - [Update issue detection settings](https://docs.sazabi.com/reference/api/projects/update-issue-detection-settings.md): Enable or disable issue detection without changing customer automations. User credentials require settings:write permission. Pass the latest settings revision to prevent overwriting a concurrent edit. - [Get agent tool settings](https://docs.sazabi.com/reference/api/projects/get-agent-tool-settings.md): Get whether a project's agents may use web search, and whether its background runs and new foreground threads may run every tool. Requires access to the project. - [List web search domain rules](https://docs.sazabi.com/reference/api/projects/list-agent-tool-domain-rules.md): List the web search domain rules in effect for a project, its own when it has any, otherwise its organization's, and whether they are enforced. Requires access to the project. - [Add a web search domain rule](https://docs.sazabi.com/reference/api/projects/add-agent-tool-domain-rule.md): Allow or deny a domain for a project's web search; adding a removed rule again restores it. A project's own rules replace its organization's. Requires settings:write permission in the project. Adding an allow rule, or a project's first rule while its organization has rules, widens. A secret key can… - [Remove a web search domain rule](https://docs.sazabi.com/reference/api/projects/remove-agent-tool-domain-rule.md): Remove one of a project's own web search domain rules. Requires settings:write permission in the project. Removing a deny rule, or the project's last allow rule, widens. A secret key can only narrow what agents may do; a change that widens it needs a signed-in user. - [Turn web search domain rules on or off](https://docs.sazabi.com/reference/api/projects/set-agent-tool-domain-rules-enabled.md): Set whether a project's web search domain rules are enforced. Requires settings:write permission in the project. Turning them off widens. A secret key can only narrow what agents may do; a change that widens it needs a signed-in user. - [Turn web search on or off](https://docs.sazabi.com/reference/api/projects/set-web-search-enabled.md): Set whether a project's agents may use web search, overriding its organization's setting. Requires settings:write permission in the project. Turning it on widens. A secret key can only narrow what agents may do; a change that widens it needs a signed-in user. - [Set whether background runs may run every tool](https://docs.sazabi.com/reference/api/projects/set-background-runs-all-tools-allowed.md): Set whether a project's background runs (the background investigation, automations) may run every tool, or only allowlisted ones. Requires settings:write permission in the project. Allowing every tool widens. A secret key can only narrow what agents may do; a change that widens it needs a signed-in… - [Set whether new foreground threads may run every tool](https://docs.sazabi.com/reference/api/projects/set-foreground-default-all-tools-allowed.md): Set whether new foreground threads in a project may run every tool by default, or ask first. Requires settings:write permission in the project. Allowing every tool widens. A secret key can only narrow what agents may do; a change that widens it needs a signed-in user. - [List projects](https://docs.sazabi.com/reference/api/projects/list.md): List projects in an organization. - [Create a project](https://docs.sazabi.com/reference/api/projects/create.md): Create one project in an organization. - [Get a project](https://docs.sazabi.com/reference/api/projects/get.md): Get one project by ID. - [Delete a project](https://docs.sazabi.com/reference/api/projects/delete.md): Delete one project by ID. User credentials require the `settings:write` organization permission (admin or owner role). - [Update a project](https://docs.sazabi.com/reference/api/projects/update.md): Update (rename) one project by ID. User credentials require the `settings:write` organization permission (admin or owner role). #### Ask Sazabi ##### Artifacts - [List artifacts](https://docs.sazabi.com/reference/api/artifacts/list.md): List artifacts in a project with optional issue and date filters - [List artifacts for an issue](https://docs.sazabi.com/reference/api/artifacts/list-issue-artifacts.md): List artifacts referenced by an issue report - [Get an artifact](https://docs.sazabi.com/reference/api/artifacts/get.md): Get public metadata for an artifact - [Delete an artifact](https://docs.sazabi.com/reference/api/artifacts/delete.md): Soft-delete an artifact from a project - [Download an artifact](https://docs.sazabi.com/reference/api/artifacts/download.md): Create a short-lived signed URL for an artifact ##### Sandbox Environment Variables - [List sandbox environment variables](https://docs.sazabi.com/reference/api/sandbox-environment-variables/list.md): List configured custom sandbox environment variable keys for a project without exposing secret values. - [Upsert sandbox environment variables](https://docs.sazabi.com/reference/api/sandbox-environment-variables/upsert.md): Set or update custom sandbox environment variables for a project. Merges provided variables with existing ones. Values are encrypted server-side and never returned. - [Get sandbox environment variable](https://docs.sazabi.com/reference/api/sandbox-environment-variables/get.md): Check whether a specific custom sandbox environment variable is configured for a project. - [Delete sandbox environment variable](https://docs.sazabi.com/reference/api/sandbox-environment-variables/delete.md): Delete a custom sandbox environment variable from a project by key name. ##### Sandbox Init Script - [Get sandbox init script](https://docs.sazabi.com/reference/api/sandbox-init-script/get.md): Fetch the custom sandbox initialization script configured for a project. - [Upsert sandbox init script](https://docs.sazabi.com/reference/api/sandbox-init-script/upsert.md): Set or replace the custom sandbox initialization script for a project. - [Delete sandbox init script](https://docs.sazabi.com/reference/api/sandbox-init-script/delete.md): Delete the custom sandbox initialization script from a project. ##### Memory - [List memory documents](https://docs.sazabi.com/reference/api/memory/list.md): List project memory catalog rows without embedding search. - [Create or replace a memory document](https://docs.sazabi.com/reference/api/memory/put.md): Create or replace a curated project memory document. Embeds on success. - [Create a memory document](https://docs.sazabi.com/reference/api/memory/create.md): Create a curated project memory document at a path that holds no document. Fails with a conflict when the path already exists; never replaces a document. Embeds on success. - [Get a memory document](https://docs.sazabi.com/reference/api/memory/get.md): Get one project memory document by id or path. - [Delete a memory document](https://docs.sazabi.com/reference/api/memory/delete.md): Soft-delete a curated project memory document by id or path. - [Update a memory document](https://docs.sazabi.com/reference/api/memory/update.md): Replace the body of an existing curated project memory document. Fails with not found when no document exists at the path; never creates one. Embeds on success. - [Search project memory](https://docs.sazabi.com/reference/api/memory/search.md): Hybrid semantic and keyword search over project memory documents. ##### Tool permissions - [List tool permissions](https://docs.sazabi.com/reference/api/tool-permissions/list.md): List the tool calls a project's agents may run without asking, newest first. Requires access to the project. - [List pending tool permission requests](https://docs.sazabi.com/reference/api/tool-permissions/list-pending.md): List the tool calls a thread's agent paused on that no one has allowed or denied yet, oldest first. Requires access to the project and to the thread. - [Revoke a tool permission](https://docs.sazabi.com/reference/api/tool-permissions/revoke.md): Remove a rule from a project's tool permissions, so its agents ask before running that call again. Requires settings:write on the project. ##### Search - [Search threads](https://docs.sazabi.com/reference/api/search/threads.md): Search threads within one project. - [Search messages](https://docs.sazabi.com/reference/api/search/messages.md): Search messages within one project. ##### Messages - [List messages in a thread](https://docs.sazabi.com/reference/api/messages/list.md): List messages in a thread with cursor pagination. - [Append a message to a thread](https://docs.sazabi.com/reference/api/messages/append.md): Append a user message to an existing thread and trigger a deferred run. When the thread already has a run in flight the message is queued, not refused: the response reports `queued` with the run ID the message's own run will start under after the earlier run ends. Queued messages run one at a time i… ##### Threads - [List threads](https://docs.sazabi.com/reference/api/threads/list.md): List threads in a project, optionally filtered by status. - [Create a thread](https://docs.sazabi.com/reference/api/threads/create.md): Create a thread with an initial message and optionally wait for the agent response. - [Get a thread](https://docs.sazabi.com/reference/api/threads/get.md): Get a thread and its messages. - [Update a thread](https://docs.sazabi.com/reference/api/threads/update.md): Update a thread's status. - [Get a thread's status](https://docs.sazabi.com/reference/api/threads/get-status.md): Get the current processing status for a thread. - [Stop a thread's run](https://docs.sazabi.com/reference/api/threads/stop.md): Stop a thread's in-flight run. Idempotent and best-effort: returns success even when the thread has no active run. - [Fork a thread](https://docs.sazabi.com/reference/api/threads/fork.md): Fork a thread from a specific message, creating a new thread that copies messages up to that point. - [Set a thread's visibility](https://docs.sazabi.com/reference/api/threads/set-visibility.md): Set a thread's visibility to private or organization. - [List thread share links](https://docs.sazabi.com/reference/api/threads/list-share-links.md): List active public share links for a thread. - [Create a thread share link](https://docs.sazabi.com/reference/api/threads/create-share-link.md): Create a public read-only share link for a thread's current messages. - [Revoke a thread share link](https://docs.sazabi.com/reference/api/threads/revoke-share-link.md): Revoke a public share link for a thread. ##### Runs - [List runs](https://docs.sazabi.com/reference/api/runs/list.md): List deferred runs within one project. - [List runs for a thread](https://docs.sazabi.com/reference/api/runs/list-for-thread.md): List deferred runs for one thread. - [Get a run](https://docs.sazabi.com/reference/api/runs/get.md): Get the current result for a deferred run by run ID. A run ID handed out for a queued follow-up reports `queued` until its run starts. - [Cancel a run](https://docs.sazabi.com/reference/api/runs/cancel.md): Request cancellation of an in-flight run. Idempotent and best-effort: returns success even when the run has already reached a terminal status. A queued follow-up is withdrawn from the thread's queue and never runs; the run in flight ahead of it is not touched. Cancelling a run that has ended never s… #### Explore logs ##### Dashboards - [List dashboards](https://docs.sazabi.com/reference/api/dashboards/list.md): List the project's available dashboards: title, description, revision, timestamps, and your capabilities. Metadata only; never runs queries. - [Create a dashboard](https://docs.sazabi.com/reference/api/dashboards/create.md): Save a new dashboard from one MDX document (DashboardMeta, layout, and inline Log Query Spec v2 artifacts) plus any static files it references by path. Generate the id yourself and reuse it on retries: an identical retry returns the original result. The response's editBase goes into DashboardMeta be… - [Get a dashboard](https://docs.sazabi.com/reference/api/dashboards/get.md): Read a dashboard's current MDX source, metadata, and static file descriptors. Editable dashboards include an edit base so their source can be passed back to dashboards.update. Set includeFiles to also receive static file contents. Built-in dashboards are read-only; create an independent copy with da… - [Delete a dashboard](https://docs.sazabi.com/reference/api/dashboards/delete.md): Delete a dashboard if expectedRevision is still its current revision. Deleting an already-deleted dashboard succeeds again. - [Update a dashboard](https://docs.sazabi.com/reference/api/dashboards/update.md): Save the next revision from a complete edited MDX document. DashboardMeta.editBase must name the revision you edited (from dashboards.get or the last create/update); if the dashboard changed since, the update is rejected with 409 and the current revision so you can reconcile. - [Validate a dashboard](https://docs.sazabi.com/reference/api/dashboards/validate.md): Check dashboard MDX, static files, layout, query shapes, and your permission without saving or running queries. Optional: create and update always validate too and return nonblocking warnings on success. Diagnostics include a code and message, with source line and column, component id, and repair hi… - [Render a dashboard](https://docs.sazabi.com/reference/api/dashboards/render.md): Run a saved dashboard's queries over one time window and return its layout with one outcome per requested component (ok, empty, rejected, or error). Omit timeRange for the dashboard's default window, revision for the current one, and componentIds for every bound component. ##### Logs - [Ask about logs](https://docs.sazabi.com/reference/api/logs/ask.md): Answer a natural-language question about one project's stored logs. Returns a plain-language `answer`, what was measured over which window (`explanation`, `window`), the part of the window the numbers cover (`meta`), and a `queryId`. An overview (what is broken, recent errors, what changed, what is… - [Run a log query](https://docs.sazabi.com/reference/api/logs/execute-query.md): Run a log query with no model involved, given either the `queryId` of an earlier `logs.ask` answer or `logs.executeQuery` run, or a `spec` written in the log query spec (its JSON Schema is this operation's `spec` input; `sazabi logs query schema` prints it). Runs over `window` (by default the same a… - [Run an earlier log query (deprecated)](https://docs.sazabi.com/reference/api/logs/execute-query-by-id.md): Deprecated alias for `POST /logs/queries/execute` with a `queryId`; removed on 2027-03-01. Run the query behind an earlier `logs.ask` answer again, by its `queryId`, with no model involved: over the window the answer covered or a new one, with a new `limit`, or narrowed to the log lines of one `grou… - [Get a log query](https://docs.sazabi.com/reference/api/logs/queries-get.md): Get one stored log query by its `queryId`: the question it answered (or the spec's plain-words reading), how it was read, the times it read, the kind of results it returned, and its log query spec. Any `queryId` a `logs.ask` answer or `logs.executeQuery` run returned can be read, runs included. Run… - [List log queries](https://docs.sazabi.com/reference/api/logs/queries-list.md): List the project's stored log queries, newest first: every `logs.ask` question that ran a query and every spec run with `logs.executeQuery`. Runs of an earlier query by its `queryId` are not listed; each names the query it ran as `parentId` and is read with `logs.queries.get`. Items carry no spec; r… #### Send data ##### Log Sources - [List log source providers](https://docs.sazabi.com/reference/api/log-sources/list-providers.md): List all supported log source providers with their setup modes and metadata requirements. - [List log sources](https://docs.sazabi.com/reference/api/log-sources/list.md): List log sources within one project. - [Create a log source](https://docs.sazabi.com/reference/api/log-sources/create.md): Create a log source. Native mode takes vendor credentials in `metadata`, validates them, and provisions delivery behind the log source. Manual mode mints the log source plus a keyed log stream and returns the intake key and endpoint card(s) to point the sender at. - [Get a log source](https://docs.sazabi.com/reference/api/log-sources/get.md): Get one log source by ID, including its log streams and their endpoint card(s). - [Delete a log source](https://docs.sazabi.com/reference/api/log-sources/delete.md): Delete a log source. Tombstones the log source and its log streams, deactivates their intake keys (already-ingested data is preserved with its attribution), and runs vendor-side cleanup for native log sources when the provider supports it. - [Update a log source](https://docs.sazabi.com/reference/api/log-sources/update.md): Update a log source: pause or resume ingestion across its log streams, and/or set or clear its ongoing auto-provisioning filter. Log sources cannot be renamed — their generated names are immutable. - [Check saved log source credentials](https://docs.sazabi.com/reference/api/log-sources/verify.md): Verify the saved native credentials without provisioning or changing vendor resources. Unknown and transient outcomes preserve previous evidence. ##### Log Streams - [List log streams](https://docs.sazabi.com/reference/api/log-streams/list.md): List the log streams that belong to a log source. - [Create a log stream](https://docs.sazabi.com/reference/api/log-streams/create.md): Create a new log stream under a native log source. Triggers async provisioning; poll the log stream to track it. Manual log sources are single-stream — create another log source instead. - [Batch-create log streams](https://docs.sazabi.com/reference/api/log-streams/create-batch.md): Create multiple log streams under a native log source in one call. Every accepted stream gets a durable row immediately; provisioning happens asynchronously — poll each log stream to track it. API-created streams are always nameless, so there is no per-item rejection: every request item is either ac… - [Volume stats](https://docs.sazabi.com/reference/api/log-streams/volume-stats.md): Get bytes, log count, intake rate, and last-received time for each log stream in a log source over a bounded window. - [Get a log stream](https://docs.sazabi.com/reference/api/log-streams/get.md): Get one log stream by ID. Use to poll provisioning status. - [Delete a log stream](https://docs.sazabi.com/reference/api/log-streams/delete.md): Delete a log stream. Tombstones the log stream and deactivates its intake key. Deleting a manual log source's only log stream tombstones the log source too. - [Update a log stream](https://docs.sazabi.com/reference/api/log-streams/update.md): Update a log stream: pause or resume its ingestion, or turn webhook signature verification on, change its scheme, or turn it off. Log streams cannot be renamed. - [Reassign a log stream](https://docs.sazabi.com/reference/api/log-streams/reassign.md): Move a log stream to a different manual log source in the same project. Preserves the stream's ID, intake key credential, and ingested data; rebinds the key's intake adapter to the target log source's provider so future data is processed as that provider's format. - [Rotate a log stream's verification secret](https://docs.sazabi.com/reference/api/log-streams/rotate-secret.md): Add a new webhook verification secret to a verified log stream. The new secret takes effect within about a minute, so wait that long before switching the sender. The current secret keeps being accepted until the grace period ends, so the sender can switch without rejected deliveries; with a grace pe… - [Remove a log stream's verification secret](https://docs.sazabi.com/reference/api/log-streams/signature-secrets-remove.md): Stop accepting one webhook verification secret, e.g. to end a rotation's grace period early. The last active secret of a verified stream cannot be removed: turn verification off first. Requires the webhook signature verification feature on the organization. ##### Public Keys - [List public keys](https://docs.sazabi.com/reference/api/public-keys/list.md): List public keys within one project. - [Get a public key](https://docs.sazabi.com/reference/api/public-keys/get.md): Get one public key within one project. - [Update a public key](https://docs.sazabi.com/reference/api/public-keys/update.md): Update one public key within one project. - [Ensure a log forwarding public key](https://docs.sazabi.com/reference/api/public-keys/ensure-log-forwarding.md): Ensure a reusable project-scoped public key exists for CLI log forwarding. - [Deactivate a public key](https://docs.sazabi.com/reference/api/public-keys/deactivate.md): Deactivate one public key within one project. Recently validated requests may continue to authenticate for a short period after deactivation. #### Integrations ##### Connected Accounts - [Begin a connected account connect flow](https://docs.sazabi.com/reference/api/connected-accounts/begin-connect.md): Begin a browser connect flow for a connected-account provider. Returns a vendor URL to open in a browser and an attempt to poll; the vendor exchange completes server-side and no token ever reaches the caller. - [Get a connect attempt](https://docs.sazabi.com/reference/api/connected-accounts/get-connect-attempt.md): Poll a browser connect attempt started with `connectedAccounts.beginConnect`. Visible only to the user who began it. - [List connected accounts](https://docs.sazabi.com/reference/api/connected-accounts/list.md): List the calling user's connected accounts for the organization. - [Disconnect a connected account](https://docs.sazabi.com/reference/api/connected-accounts/disconnect.md): Disconnect the calling user's connected account for a provider (soft delete). ##### Integrations - [List integration providers](https://docs.sazabi.com/reference/api/integrations/list-providers.md): List supported integration providers and how many connections the organization has for each. - [List integration connections](https://docs.sazabi.com/reference/api/integrations/list-connections.md): List integration connections and their connection state for the organization. - [Create an integration connection](https://docs.sazabi.com/reference/api/integrations/create-connection.md): Create an integration connection. API-key credentials and supported Claude or Codex subscription credentials are validated, then stored encrypted. - [Get an integration connection](https://docs.sazabi.com/reference/api/integrations/get-connection.md): Get one integration connection by ID (non-secret config only). - [Disconnect an integration connection](https://docs.sazabi.com/reference/api/integrations/disconnect-connection.md): Disconnect an integration connection (soft delete). Always succeeds regardless of stored credential state; cached vendor catalogs and routing derived from the connection are removed. - [List the repositories a coding agent connection reaches](https://docs.sazabi.com/reference/api/integrations/coding-agent-repositories-list.md): List the GitHub repositories a coding agent connection's key can reach at the vendor. Read live from the vendor; never launches work. An agent that reaches repositories through Sazabi's GitHub App lists none here. For an agent with its own GitHub integration, a fix can only be handed off in a reposi… - [List the environments a coding agent connection may launch in](https://docs.sazabi.com/reference/api/integrations/coding-agent-environments-list.md): List the vendor environments a coding agent connection's key may launch a fix in (Replicas organization environments), each with the GitHub repositories it holds. Read live from the vendor; never launches work; personal environments are left out. Pass one's `id` as `environmentId` to `issues.fixes.c… - [Get Linear issue automation configuration](https://docs.sazabi.com/reference/api/integrations/get-linear-automation-configuration.md): Read the Linear team, project, and severity rules used to automatically create tickets for detected issues. - [Update Linear issue automation configuration](https://docs.sazabi.com/reference/api/integrations/update-linear-automation-configuration.md): Set the Linear team, optional project, and per-severity ticket creation rules for detected issues. - [Begin a browser connect flow](https://docs.sazabi.com/reference/api/integrations/begin-connect.md): Begin a browser connect flow for an OAuth or app-installation provider. Returns a vendor URL to open in a browser and an attempt to poll; the vendor exchange completes server-side and no token ever reaches the caller. - [Start Codex sign-in with ChatGPT](https://docs.sazabi.com/reference/api/integrations/codex-device-login-begin-connect.md): Start a temporary Codex device-code sign-in for a project. Answers with the code to enter in ChatGPT; poll the status for approval. - [Get Codex sign-in status](https://docs.sazabi.com/reference/api/integrations/codex-device-login-get-status.md): Check the status of a Codex sign-in started by this organization: code_shown (with the URL and code) while the person approves, then approved, expired or failed. - [Complete Codex sign-in](https://docs.sazabi.com/reference/api/integrations/codex-device-login-finish.md): Save an approved Codex sign-in as an encrypted connection. - [Connect Codex with an access token](https://docs.sazabi.com/reference/api/integrations/codex-device-login-create.md): Validate a Codex access token and save it as an encrypted connection. - [Start Claude subscription sign-in](https://docs.sazabi.com/reference/api/integrations/claude-begin-connect.md): Create a short-lived Claude Code OAuth authorization request. - [Complete Claude subscription sign-in](https://docs.sazabi.com/reference/api/integrations/claude-finish.md): Exchange an Anthropic authorization code and save its encrypted credential. - [Get a connect attempt](https://docs.sazabi.com/reference/api/integrations/get-connect-attempt.md): Poll a browser connect attempt started with `integrations.beginConnect`. Visible only to the user who began it. - [Get an active CLI connect attempt](https://docs.sazabi.com/reference/api/integrations/get-active-cliattempt.md): Return the newest pending, non-expired CLI-initiated connect attempt for the given provider, or null if none exists. Used by the dashboard to show a 'connection in progress from your terminal' message. - [Update integration connection credentials](https://docs.sazabi.com/reference/api/integrations/update-connection-credentials.md): Replace an api_key connection's credentials in place — the reconnect path for a connection that needs attention. Keeps connection-scoped configuration. - [Get the organization external-identity JIT policy](https://docs.sazabi.com/reference/api/integrations/get-organization-external-identity-jit-policy.md): Read the organization's stored external-identity JIT policy. - [Update the organization external-identity JIT policy](https://docs.sazabi.com/reference/api/integrations/update-organization-external-identity-jit-policy.md): Enable or disable external-identity JIT across an organization. - [Get a connection external-identity JIT policy](https://docs.sazabi.com/reference/api/integrations/get-connection-external-identity-jit-policy.md): Read stored and effective JIT policy for one connection. - [Update a connection external-identity JIT policy](https://docs.sazabi.com/reference/api/integrations/update-connection-external-identity-jit-policy.md): Enable or disable external-identity JIT for one connection. - [Get the Microsoft Teams tenant admin-consent status](https://docs.sazabi.com/reference/api/integrations/get-microsoft-teams-admin-consent.md): Read the recorded Microsoft tenant admin-consent status for a Teams connection, with a consent URL for retrying the grant. - [Get Slack connection configuration](https://docs.sazabi.com/reference/api/integrations/get-slack-configuration.md): Read Slack connection configuration (default project, automatic responses, acknowledgement message). - [Update Slack connection configuration](https://docs.sazabi.com/reference/api/integrations/update-slack-configuration.md): Update Slack connection configuration. Omitted fields are left unchanged. - [Create a Slack channel](https://docs.sazabi.com/reference/api/integrations/create-slack-channel.md): Create a public channel in the organization's connected Slack workspace and invite the calling user. Requires the Slack connection to hold the channels:manage bot scope. The new channel appears as an alert destination once the channel catalog refresh completes. - [List Slack channel-to-project mappings](https://docs.sazabi.com/reference/api/integrations/list-slack-channel-project-mappings.md): List channel-to-project mappings for a Slack connection. - [Set a Slack channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/set-slack-channel-project-mapping.md): Create or update the channel-to-project mapping for one Slack channel. Idempotent on (connection, channel). - [Delete a Slack channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/delete-slack-channel-project-mapping.md): Delete a channel-to-project mapping. - [List Microsoft Teams channel-to-project mappings](https://docs.sazabi.com/reference/api/integrations/list-microsoft-teams-channel-project-mappings.md): List the channel-to-project mention routes of a Microsoft Teams connection. A mention of the bot in a mapped channel runs in the mapped project; other mentions use the connection's default project. - [Set a Microsoft Teams channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/set-microsoft-teams-channel-project-mapping.md): Create or update the mention route of one Teams channel. The channel name and team are resolved from the connection's channel catalog. Idempotent on (connection, channel). - [Delete a Microsoft Teams channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/delete-microsoft-teams-channel-project-mapping.md): Delete a Teams channel's mention route; deleting one that does not exist succeeds. - [Get Microsoft Teams connection configuration](https://docs.sazabi.com/reference/api/integrations/microsoft-teams-configuration-get.md): Read a Microsoft Teams connection's configuration: the default project bot mentions run in when no channel mapping matches, and whether automatic responses are on. - [Update Microsoft Teams connection configuration](https://docs.sazabi.com/reference/api/integrations/microsoft-teams-configuration-update.md): Update a Microsoft Teams connection's configuration. Omitted fields are left unchanged. - [Get Discord bot connection configuration](https://docs.sazabi.com/reference/api/integrations/discord-configuration-get.md): Read a Discord bot connection's configuration: the default project conversations run in when no channel mapping matches, and whether automatic responses are on. - [Update Discord bot connection configuration](https://docs.sazabi.com/reference/api/integrations/discord-configuration-update.md): Update a Discord bot connection's configuration. Omitted fields are left unchanged. - [List a Discord bot connection's channels](https://docs.sazabi.com/reference/api/integrations/discord-channels-list.md): List the text and announcement channels the Sazabi bot can see in a Discord bot connection's server, in Discord's order. These are the channels a channel-to-project mapping can name. - [List Discord channel-to-project mappings](https://docs.sazabi.com/reference/api/integrations/discord-channel-project-mappings-list.md): List a Discord bot connection's channel-to-project mappings, by channel name. - [Set a Discord channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/discord-channel-project-mappings-upsert.md): Create or replace one Discord channel's mapping. Idempotent on (connection, channel). New conversations in the channel and its threads then run in the project; existing conversations keep theirs. - [Delete a Discord channel-to-project mapping](https://docs.sazabi.com/reference/api/integrations/discord-channel-project-mappings-delete.md): Delete a Discord channel's mapping; its new conversations then run in the connection's default project. Deleting one that does not exist succeeds. ##### MCP Connectors - [List MCP connector providers](https://docs.sazabi.com/reference/api/mcp-connectors/list-providers.md): List all supported MCP connector providers with their auth mode, setup skill, and about page. - [List MCP connectors](https://docs.sazabi.com/reference/api/mcp-connectors/list.md): List configured MCP connectors within one project with provider, status, and enabled-tool count. - [Create an MCP connector](https://docs.sazabi.com/reference/api/mcp-connectors/create.md): Create a preset MCP connector with header-based, AWS SigV4, or no authentication. The server URL and transport default to the preset's; a server URL given must match the selected provider's supported endpoints. Connects immediately and returns the connector with its discovered tool snapshot. - [Get an MCP connector](https://docs.sazabi.com/reference/api/mcp-connectors/get.md): Get one configured MCP connector by connection ID. - [Disconnect an MCP connector](https://docs.sazabi.com/reference/api/mcp-connectors/disconnect.md): Disconnect and permanently remove an MCP connector. - [Update an MCP connector](https://docs.sazabi.com/reference/api/mcp-connectors/update.md): Replace credentials on an existing preset MCP connector and retry discovery while preserving its identity and tool policy. Supply providerId to reject a connector from a different provider before any credentials are used. Omit credentials to retry discovery with saved credentials. OAuth connectors u… - [Inspect an MCP connector's tools](https://docs.sazabi.com/reference/api/mcp-connectors/details.md): Inspect one MCP connector's tool surface, including each tool's name, description, and read-only status. - [Search MCP connector tools](https://docs.sazabi.com/reference/api/mcp-connectors/search.md): Search executable third-party MCP connector tools by free-text query. Empty query lists connectors; empty query plus namespace enumerates that connector. Hits omit input schemas unless includeInputSchema is true, which requires one exact namespaced tool and always returns at most one hit. - [Describe an MCP connector tool](https://docs.sazabi.com/reference/api/mcp-connectors/describe.md): Load one executable third-party MCP connector tool, including its input schema. - [Call an MCP connector tool](https://docs.sazabi.com/reference/api/mcp-connectors/call.md): Invoke one executable third-party MCP connector tool using that connection's stored credential. - [Toggle an MCP connector's read-only mode](https://docs.sazabi.com/reference/api/mcp-connectors/set-read-only.md): Toggle the read-only restriction on an MCP connector. - [Begin an MCP connector OAuth install](https://docs.sazabi.com/reference/api/mcp-connectors/begin-oauth-install.md): Begin an OAuth browser flow to install or reconnect a preset MCP connector. Open the authorization URL in the user's browser, then poll getMcpOAuthInstallAttempt with the returned connectionId and requestId to check this attempt's completion. - [Get an MCP connector OAuth install attempt](https://docs.sazabi.com/reference/api/mcp-connectors/get-oauth-install-attempt.md): Poll the status of an in-progress OAuth MCP connector install. Returns authorizing while the user completes the browser flow, connected on success, or error on failure. ##### Sandbox CLIs - [Disconnect CLI](https://docs.sazabi.com/reference/api/sandbox-clis/delete-cli.md): Delete a project's stored CLI connection. Integration-managed access remains available until its owning integration is disconnected. - [List CLI connections](https://docs.sazabi.com/reference/api/sandbox-clis/list-connections.md): List a project's stored and integration-backed sandbox CLI connections without returning secret values. - [List CLI types](https://docs.sazabi.com/reference/api/sandbox-clis/list-types.md): List all supported sandbox CLI types with their environment variable requirements, setup skills, and about pages. - [Test CLI connection](https://docs.sazabi.com/reference/api/sandbox-clis/test-cli.md): Validate unsaved CLI credentials in a read-only ephemeral sandbox without persisting them. - [Check saved CLI credentials](https://docs.sazabi.com/reference/api/sandbox-clis/verify.md): Check the current saved credentials and record authoritative results. Transient failures leave prior evidence unchanged. - [Upsert CLI connection](https://docs.sazabi.com/reference/api/sandbox-clis/upsert-cli.md): Set or replace a project's CLI connection credentials (e.g. the kubectl CLI's KUBECONFIG_CONTENTS). The credentials are tested in a read-only ephemeral sandbox first unless `skipTest` is set: a failed test saves nothing and is refused with `reason: connection_test_failed`, and a passed test records… #### Triage issues ##### Notification channels - [List project notification channels](https://docs.sazabi.com/reference/api/notification-channels/get-project.md): List a project's notification channels with preferences, prerequisites, connection state, configured destinations, and supported notification types. The personal channel cards (in-app, email, SMS, and Slack) describe the signed-in user, so a session, OAuth, or MCP token shows that user's own state w… ##### Notification delivery rules - [List delivery rules](https://docs.sazabi.com/reference/api/notification-delivery-rules/list.md): List the positive delivery rules for a project. - [Create a delivery rule](https://docs.sazabi.com/reference/api/notification-delivery-rules/create.md): Create a positive project notification delivery rule. - [Get delivery rule options](https://docs.sazabi.com/reference/api/notification-delivery-rules/options.md): List available destinations, events, and conditions for project delivery rules. - [Update a delivery rule](https://docs.sazabi.com/reference/api/notification-delivery-rules/update.md): Replace a positive delivery rule atomically. - [Delete a delivery rule](https://docs.sazabi.com/reference/api/notification-delivery-rules/delete.md): Delete a positive delivery rule without deleting its reusable destinations. ##### Task creation rules - [List task creation rules](https://docs.sazabi.com/reference/api/task-creation-rules/list.md): List the automatic task creation rules for a project in evaluation priority order. - [Create a task creation rule](https://docs.sazabi.com/reference/api/task-creation-rules/create.md): Create an automatic task creation rule that files tickets in a connected tracker when issues trigger. - [Get a task creation rule](https://docs.sazabi.com/reference/api/task-creation-rules/get.md): Get a single task creation rule by ID. - [Delete a task creation rule](https://docs.sazabi.com/reference/api/task-creation-rules/delete.md): Soft-delete an automatic task creation rule. - [Update a task creation rule](https://docs.sazabi.com/reference/api/task-creation-rules/update.md): Update an automatic task creation rule. - [Reorder task creation rules](https://docs.sazabi.com/reference/api/task-creation-rules/reorder.md): Atomically reorder all task creation rules for a project, assigning priorities matching the array order. ##### Task status mapping - [Get the status mapping](https://docs.sazabi.com/reference/api/task-status-mapping/get.md): The toggle, the team whose states the rows name, and the three rows (Open, Resolved, Ignored), each a tracker state or empty. - [Change the status mapping](https://docs.sazabi.com/reference/api/task-status-mapping/update.md): Turn the mapping on or off, set or empty any of the three rows, and on Jira pick the resolution a Resolved or an Ignored move closes with. Requires settings:write on the organization. - [List the tracker states a mapping row may take](https://docs.sazabi.com/reference/api/task-status-mapping/options.md): The connection's default team (Linear), project (Jira) or repository (GitHub), its workflow states, and the tracker's resolutions where it has them, read live from the tracker. ##### Issues - [List issues](https://docs.sazabi.com/reference/api/issues/list.md): List issues in a project, optionally filtered by status and severity. - [Create an issue](https://docs.sazabi.com/reference/api/issues/create.md): Create an issue in a project. When root-cause deduplication finds a match, no issue is created: the existing open issue is returned with `created: false` and records the report as a recurrence. - [Search issues](https://docs.sazabi.com/reference/api/issues/search.md): Search issues in a project by ranked text over name and description, status, and severity. - [Get an issue](https://docs.sazabi.com/reference/api/issues/get.md): Get a single issue by ID. - [Update an issue](https://docs.sazabi.com/reference/api/issues/update.md): Change an issue's severity, types or categories, with an optional note recorded in its history. A severity or category change notifies no one. - [Get an issue's agent prompt](https://docs.sazabi.com/reference/api/issues/get-agent-prompt.md): Get the prompt that hands an open, resolved, or ignored issue to your own coding agent, including its current status: it tells the agent to set up the Sazabi CLI, load the analysis, verify it against live logs, fix the code, and open a pull request linked to the issue. - [Link a pull request to an issue](https://docs.sazabi.com/reference/api/issues/link-pull-request.md): Link a GitHub or Bitbucket pull request to an issue as a fix or suspected cause. Linking is idempotent and never bills. - [Unlink a pull request from an issue](https://docs.sazabi.com/reference/api/issues/unlink-pull-request.md): Remove one exact fixing or suspected-cause relationship. Unlinking is idempotent and never removes a Sazabi Fix PR derived from a Fix request. - [Link a task to an issue](https://docs.sazabi.com/reference/api/issues/link-task.md): Link an existing task in the connected Linear, Jira, or GitHub workspace to an issue. The issue shows the task and follows its status like a task Sazabi filed. Linking is idempotent. - [Create a task for an issue](https://docs.sazabi.com/reference/api/issues/tasks-create.md): File a task for the issue in the Linear team the project files into and link it to the issue. The task carries the issue's brief for a coding agent and links back to the issue. An issue that already has a task gets that task back. - [Get issue rejection eligibility](https://docs.sazabi.com/reference/api/issues/get-rejection-context.md): Get the rejection deadline, cycle quota, and billing effect for an issue. - [Reject an issue](https://docs.sazabi.com/reference/api/issues/reject.md): Permanently reject an eligible issue and correct one issue usage unit. - [Resolve an issue](https://docs.sazabi.com/reference/api/issues/resolve.md): Resolve an open issue. - [Ignore an issue](https://docs.sazabi.com/reference/api/issues/ignore.md): Ignore an open issue. - [Reopen an issue](https://docs.sazabi.com/reference/api/issues/reopen.md): Reopen a resolved or ignored issue. - [Reassign and reopen an issue](https://docs.sazabi.com/reference/api/issues/reassign-and-reopen.md): Atomically reassign a resolved or ignored issue to an active component and reopen it. - [Mute an issue](https://docs.sazabi.com/reference/api/issues/mute.md): Mute an issue, suppressing future re-fires without changing status. - [Unmute an issue](https://docs.sazabi.com/reference/api/issues/unmute.md): Unmute an issue, preserving its current status. - [Mark an issue read](https://docs.sazabi.com/reference/api/issues/read.md): Mark an issue read for the calling user, up to its latest activity, as opening the issue page does. Only a person has read state; a key is refused. Answers the user's read cursor. - [Mark an issue unread](https://docs.sazabi.com/reference/api/issues/unread.md): Mark an issue unread for the calling user, whatever its activity, as the issue page's Mark unread action does. Only a person has read state; a key is refused. Answers the user's read cursor. - [List an issue's history](https://docs.sazabi.com/reference/api/issues/history-list.md): List an issue's activity oldest first, as the issue page shows it: who did what and when, with the note and the document each entry carries. The `created` entry carries the issue's report. - [Request a fix for an issue](https://docs.sazabi.com/reference/api/issues/fixes-create.md): Ask Sazabi's agent to fix an open issue in its issue thread, as the issue page's Fix button does, or hand the fix to a connected coding agent with `agent`. Only a person may request a fix; the issue must be open and have a thread. The fix is queued and answers with the thread it runs in. ##### Work Items - [Create a work item (deprecated)](https://docs.sazabi.com/reference/api/work-items/create.md): Deprecated alias for `POST /tasks` (create a task); removed in v2.0 (2027-03-01). Create a work item (e.g. a Linear issue) in a connected issue tracker, attributing the write to the requesting user. - [Comment on a work item (deprecated)](https://docs.sazabi.com/reference/api/work-items/comment.md): Deprecated alias for `POST /tasks/{taskId}/comment` (comment on a task); removed in v2.0 (2027-03-01). Add a comment to an existing work item. - [Transition a work item (deprecated)](https://docs.sazabi.com/reference/api/work-items/transition.md): Deprecated alias for `POST /tasks/{taskId}/transition` (transition a task); removed in v2.0 (2027-03-01). Move a work item to a target workflow state. ##### Tasks - [Create a task](https://docs.sazabi.com/reference/api/tasks/create.md): Create a task (e.g. a Linear issue) in a connected external tracker, attributing the write to the requesting user. - [Comment on a task](https://docs.sazabi.com/reference/api/tasks/comment.md): Add a comment to an existing task. - [Transition a task](https://docs.sazabi.com/reference/api/tasks/transition.md): Move a task to a target workflow state. ##### Components - [List components](https://docs.sazabi.com/reference/api/components/list.md): List status page components in a project. - [Register a component](https://docs.sazabi.com/reference/api/components/register.md): Register a status page component in a project, or refresh an existing active component with the same name. A person with settings write access, where component deregistration is enabled, who registers an inactive component's name reactivates it and reattaches nothing it detached; a secret key regist… - [Get a component](https://docs.sazabi.com/reference/api/components/get.md): Get a single component by ID. - [Update a component](https://docs.sazabi.com/reference/api/components/update.md): Set or clear a component's description. Unlike registration, which never lets a key overwrite a description, this is an explicit edit by a person with settings write access or by a secret key (for example Terraform). A merged component's description is read-only. - [Deregister a component](https://docs.sazabi.com/reference/api/components/deregister.md): Withdraw this credential's component observation, or — for a human caller — preview the deregistration and confirm it by resubmitting with the previewed componentRevisions. - [Rename a component](https://docs.sazabi.com/reference/api/components/rename.md): Rename an active component while reserving its previous exact name as an alias. - [Assign a component to a team](https://docs.sazabi.com/reference/api/components/assign-team.md): Assign a component to an owning team, reassign it, or unassign it. A component is owned by at most one team. - [Preview a component reactivation](https://docs.sazabi.com/reference/api/components/reactivation-preview.md): Preview unchanged deregistration-owned dependents that remain eligible for explicit reactivation. - [Reactivate a component](https://docs.sazabi.com/reference/api/components/reactivate.md): Reactivate an inactive canonical component and only the explicitly selected eligible dependents. Prior rules and automations stay detached unless explicitly selected. - [Preview a component merge](https://docs.sazabi.com/reference/api/components/merge-preview.md): Preview one-hop redirects, historical preservation, operational rebinding, and policy dispositions for component consolidation. - [Merge a component](https://docs.sazabi.com/reference/api/components/merge.md): Consolidate a source into an active terminal target without rewriting historical issue or observation attribution. - [List status-page issues](https://docs.sazabi.com/reference/api/components/incidents-list.md): List status-page issues in a project. - [Get a component status timeline](https://docs.sazabi.com/reference/api/components/timeline.md): Get the dense status timeline and incidents for a component over a time window. #### CLI onboarding support ##### Onboarding - [Ensure the default project](https://docs.sazabi.com/reference/api/onboarding/ensure-default-project.md): Create the organization's default project unless it already has an active one, and return whichever applies. Atomic per organization, so concurrent onboarding surfaces cannot create duplicates. Requires settings write permission. - [Get onboarding state](https://docs.sazabi.com/reference/api/onboarding/get-state.md): Read onboarding progress for the authenticated user. - [Skip an integration step](https://docs.sazabi.com/reference/api/onboarding/skip-integration.md): Skip a GitHub or Slack integration step during onboarding. - [Skip GitHub App installation](https://docs.sazabi.com/reference/api/onboarding/skip-github-app-installation.md): Skip GitHub App installation during onboarding. - [Skip the test issue](https://docs.sazabi.com/reference/api/onboarding/skip-sample-issue.md): Deprecated: the test issue step no longer offers Skip, and a recorded skip reads the step complete in onboarding state and on the task checklist. Skip the optional test issue during onboarding. - [Complete the test issue step](https://docs.sazabi.com/reference/api/onboarding/complete-sample-issue.md): Mark the sample-issue onboarding step complete after viewing the test issue. - [Finish the Slack Connect step](https://docs.sazabi.com/reference/api/onboarding/slack-connect-finish.md): Mark the Connect with us on Slack onboarding step complete after reading where the invitation went. - [Finish onboarding](https://docs.sazabi.com/reference/api/onboarding/finish.md): Mark onboarding complete when all prerequisites are satisfied. ##### Onboarding Tasks - [List onboarding tasks](https://docs.sazabi.com/reference/api/onboarding-tasks/list.md): List all onboarding and setup tasks for a project, including their current completion status and a description of what is required to complete each task. - [Skip an onboarding task](https://docs.sazabi.com/reference/api/onboarding-tasks/skip.md): Record an organization-wide skip for an optional onboarding task. The skip is shared across surfaces and teammates; completing the task through any door still outranks a recorded skip. Idempotent — re-skipping keeps the original skip record. - [Reopen a skipped onboarding task](https://docs.sazabi.com/reference/api/onboarding-tasks/unskip.md): Remove the organization-wide skip record for an onboarding task, reopening it in every onboarding walk. Idempotent — unskipping a task that is not skipped is a no-op. ##### Recommendations - [List recommendations](https://docs.sazabi.com/reference/api/recommendations/list.md): List a project's configuration recommendations (data sources, MCP connectors, sandbox CLIs, and integrations) with each item's live connection status. #### Webhooks and events ##### Webhooks - [List webhook endpoints](https://docs.sazabi.com/reference/api/webhooks/list.md): List webhook endpoints in the organization - [Create a webhook endpoint](https://docs.sazabi.com/reference/api/webhooks/create.md): Create an endpoint and return its signing secret once - [Get a webhook endpoint](https://docs.sazabi.com/reference/api/webhooks/get.md): Get a webhook endpoint and its subscriptions - [Update a webhook endpoint](https://docs.sazabi.com/reference/api/webhooks/update.md): Update endpoint metadata, URL, or static authentication header - [Delete a webhook endpoint](https://docs.sazabi.com/reference/api/webhooks/delete.md): Tombstone an endpoint, its destinations, and its rules - [Rotate a webhook signing secret](https://docs.sazabi.com/reference/api/webhooks/rotate-secret.md): Rotate and return the signing secret once - [Enable a webhook endpoint](https://docs.sazabi.com/reference/api/webhooks/enable.md): Re-enable an endpoint disabled after delivery failures. Enabling an endpoint that is already active succeeds. - [Send a test webhook delivery](https://docs.sazabi.com/reference/api/webhooks/test.md): Send a signed test envelope to an endpoint in any status, including a disabled one, without re-enabling it. Requires permission to change organization settings. - [Subscribe a webhook](https://docs.sazabi.com/reference/api/webhooks/subscribe.md): Create a project notification rule for a webhook - [Unsubscribe a webhook](https://docs.sazabi.com/reference/api/webhooks/unsubscribe.md): Remove a project notification rule for a webhook - [List webhook deliveries](https://docs.sazabi.com/reference/api/webhooks/list-deliveries.md): List delivery history for an endpoint ##### Webhook events - [Issue triggered](https://docs.sazabi.com/reference/api/issue_triggered.md) - [Issue resolved](https://docs.sazabi.com/reference/api/issue_resolved.md) - [Issue ignored](https://docs.sazabi.com/reference/api/issue_ignored.md) - [Issue rejected](https://docs.sazabi.com/reference/api/issue_rejected.md) - [Issue updated](https://docs.sazabi.com/reference/api/issue_updated.md) - [Issue reopened](https://docs.sazabi.com/reference/api/issue_reopened.md) - [Issue ongoing](https://docs.sazabi.com/reference/api/issue_ongoing.md) - [Signal created](https://docs.sazabi.com/reference/api/signal_created.md) - [Test](https://docs.sazabi.com/reference/api/test.md) #### Billing ##### Billing - [Get billing summary](https://docs.sazabi.com/reference/api/billing/get-summary.md): Get a billing summary for the current organization, including plan, balance, and cycle information. - [Get billing usage](https://docs.sazabi.com/reference/api/billing/get-usage.md): Get per-dimension usage breakdown for the current or previous billing cycle. - [Get accrued usage charges](https://docs.sazabi.com/reference/api/billing/get-accrued-usage-charges.md): Get usage charges accrued so far in the open billing cycle, priced under the cycle's plan terms. These settle on the cycle-end usage invoice. - [Get rated usage](https://docs.sazabi.com/reference/api/billing/rated-usage-get.md): Estimate gross USD consumption value and net usage cost for eight non-AI products from corrected observed ledger quantities. Every period uses the current effective commercial plan prices and recurring allowances on the current billing schedule. Omit dates for its current cycle; without a current pl… - [List usage grants](https://docs.sazabi.com/reference/api/billing/list-usage-grants.md): List the organization's usage grants, newest first, with what settled cycles used and what is left. - [List usage invoices](https://docs.sazabi.com/reference/api/billing/list-usage-invoices.md): List cycle-end usage invoices — the local settlement record, one per settled billing cycle, zero-total settlements included. - [List billing transactions](https://docs.sazabi.com/reference/api/billing/list-transactions.md): List recent credit ledger transactions with pagination. - [Get auto top-up settings](https://docs.sazabi.com/reference/api/billing/get-auto-top-up.md): Get the organization's credit auto top-up settings (trigger balance, top-up amount, cycle spending limit). - [Update auto top-up settings](https://docs.sazabi.com/reference/api/billing/update-auto-top-up.md): Enable/disable and configure credit auto top-up. Requires a user credential with `billing:manage`. - [Purchase credits](https://docs.sazabi.com/reference/api/billing/purchase-credits.md): Purchase a one-time amount of credits against the saved payment method. Requires a user credential with `billing:manage` and a stable idempotency key. - [List plans](https://docs.sazabi.com/reference/api/billing/list-plans.md): List the self-serve credit plans available for checkout, including the current plan. - [Preview a plan change](https://docs.sazabi.com/reference/api/billing/preview-plan-change.md): Preview the cost and effect of changing to a plan without applying it. Requires a user credential with `billing:manage`. - [Preview subscription cancellation](https://docs.sazabi.com/reference/api/billing/preview-subscription-cancellation.md): Preview period-end subscription cancellation without changing billing state. - [Schedule subscription cancellation](https://docs.sazabi.com/reference/api/billing/schedule-subscription-cancellation.md): Schedule cancellation at the end of the paid billing cycle. - [Resume subscription renewal](https://docs.sazabi.com/reference/api/billing/resume-subscription-cancellation.md): Resume renewal before a scheduled cancellation takes effect. - [Change the plan](https://docs.sazabi.com/reference/api/billing/change-plan.md): Apply a plan upgrade or schedule a downgrade. Requires a user credential with `billing:manage`. - [Create a checkout session](https://docs.sazabi.com/reference/api/billing/create-checkout-session.md): Create a hosted Stripe Checkout session for first-time subscribe from the terminal. Requires a user credential with `billing:manage`. - [Get checkout session status](https://docs.sazabi.com/reference/api/billing/get-checkout-session-status.md): Poll the completion status of a checkout session created by this organization. - [Create a billing portal session](https://docs.sazabi.com/reference/api/billing/create-portal-session.md): Create a Stripe Customer Portal session for updating the payment method. Requires a user credential with `billing:manage`. - [Get the payment method](https://docs.sazabi.com/reference/api/billing/get-payment-method.md): Get a summary of the organization's saved payment method (brand and last 4 digits). - [List usage budgets](https://docs.sazabi.com/reference/api/billing/list-usage-budgets.md): List the organization's hard per-cycle usage budgets with current-cycle used, reserved, and remaining amounts plus per-scope eligibility. - [Create a usage budget](https://docs.sazabi.com/reference/api/billing/create-usage-budget.md): Create a hard per-cycle USD budget for one supported fixed-unit product, or across all budgetable operations. Covered work reserves its exact charge before starting. Requires a user with billing:manage or an organization-wide secret key (for example Terraform). - [Delete a usage budget](https://docs.sazabi.com/reference/api/billing/delete-usage-budget.md): Delete a usage budget. The next covered admission observes the deletion. Requires a user with billing:manage or an organization-wide secret key. - [Update a usage budget](https://docs.sazabi.com/reference/api/billing/update-usage-budget.md): Change a usage budget's limit or enabled state. The next covered admission observes the committed change. Requires a user with billing:manage or an organization-wide secret key. #### Detect issues ##### Signals - [List signals](https://docs.sazabi.com/reference/api/signals/list.md): List a project's signals, newest first, filtered by type or creation time. - [Get a signal](https://docs.sazabi.com/reference/api/signals/get.md): Get one of a project's signals by id. ### CLI - [CLI](https://docs.sazabi.com/reference/cli/index.md): Install and authenticate the Sazabi CLI, then look up every command, subcommand, and flag. - [sazabi agent-dispatches](https://docs.sazabi.com/reference/cli/agent-dispatches.md): Command reference for sazabi agent-dispatches. - [sazabi artifacts](https://docs.sazabi.com/reference/cli/artifacts.md): Command reference for sazabi artifacts. - [sazabi auth](https://docs.sazabi.com/reference/cli/auth.md): Command reference for sazabi auth. - [sazabi billing](https://docs.sazabi.com/reference/cli/billing.md): Command reference for sazabi billing. - [sazabi completions](https://docs.sazabi.com/reference/cli/completions.md): Command reference for sazabi completions. - [sazabi connected-accounts](https://docs.sazabi.com/reference/cli/connected-accounts.md): Command reference for sazabi connected-accounts. - [sazabi dashboards](https://docs.sazabi.com/reference/cli/dashboards.md): Command reference for sazabi dashboards. - [sazabi env](https://docs.sazabi.com/reference/cli/env.md): Command reference for sazabi env. - [sazabi integrations](https://docs.sazabi.com/reference/cli/integrations.md): Command reference for sazabi integrations. - [sazabi issues](https://docs.sazabi.com/reference/cli/issues.md): Command reference for sazabi issues. - [sazabi log-sources](https://docs.sazabi.com/reference/cli/log-sources.md): Command reference for sazabi log-sources. - [sazabi log-streams](https://docs.sazabi.com/reference/cli/log-streams.md): Command reference for sazabi log-streams. - [sazabi logs](https://docs.sazabi.com/reference/cli/logs.md): Command reference for sazabi logs. - [sazabi mcp](https://docs.sazabi.com/reference/cli/mcp.md): Command reference for sazabi mcp. - [sazabi mcp-connectors](https://docs.sazabi.com/reference/cli/mcp-connectors.md): Command reference for sazabi mcp-connectors. - [sazabi members](https://docs.sazabi.com/reference/cli/members.md): Command reference for sazabi members. - [sazabi memory](https://docs.sazabi.com/reference/cli/memory.md): Command reference for sazabi memory. - [sazabi messages](https://docs.sazabi.com/reference/cli/messages.md): Command reference for sazabi messages. - [sazabi notifications](https://docs.sazabi.com/reference/cli/notifications.md): Command reference for sazabi notifications. - [sazabi onboarding](https://docs.sazabi.com/reference/cli/onboarding.md): Command reference for sazabi onboarding. - [sazabi organizations](https://docs.sazabi.com/reference/cli/organizations.md): Command reference for sazabi organizations. - [sazabi profiles](https://docs.sazabi.com/reference/cli/profiles.md): Command reference for sazabi profiles. - [sazabi projects](https://docs.sazabi.com/reference/cli/projects.md): Command reference for sazabi projects. - [sazabi public-keys](https://docs.sazabi.com/reference/cli/public-keys.md): Command reference for sazabi public-keys. - [sazabi pull-requests](https://docs.sazabi.com/reference/cli/pull-requests.md): Command reference for sazabi pull-requests. - [sazabi recommendations](https://docs.sazabi.com/reference/cli/recommendations.md): Command reference for sazabi recommendations. - [sazabi repos](https://docs.sazabi.com/reference/cli/repos.md): Command reference for sazabi repos. - [sazabi runs](https://docs.sazabi.com/reference/cli/runs.md): Command reference for sazabi runs. - [sazabi sandbox-clis](https://docs.sazabi.com/reference/cli/sandbox-clis.md): Command reference for sazabi sandbox-clis. - [sazabi secret-keys](https://docs.sazabi.com/reference/cli/secret-keys.md): Command reference for sazabi secret-keys. - [sazabi settings](https://docs.sazabi.com/reference/cli/settings.md): Command reference for sazabi settings. - [sazabi setup-tasks](https://docs.sazabi.com/reference/cli/setup-tasks.md): Command reference for sazabi setup-tasks. - [sazabi sign-in](https://docs.sazabi.com/reference/cli/sign-in.md): Command reference for sazabi sign-in. - [sazabi sign-out](https://docs.sazabi.com/reference/cli/sign-out.md): Command reference for sazabi sign-out. - [sazabi sign-up](https://docs.sazabi.com/reference/cli/sign-up.md): Command reference for sazabi sign-up. - [sazabi signals](https://docs.sazabi.com/reference/cli/signals.md): Command reference for sazabi signals. - [sazabi sso](https://docs.sazabi.com/reference/cli/sso.md): Command reference for sazabi sso. - [sazabi start](https://docs.sazabi.com/reference/cli/start.md): Command reference for sazabi start. - [sazabi support](https://docs.sazabi.com/reference/cli/support.md): Command reference for sazabi support. - [sazabi tasks](https://docs.sazabi.com/reference/cli/tasks.md): Command reference for sazabi tasks. - [sazabi teams](https://docs.sazabi.com/reference/cli/teams.md): Command reference for sazabi teams. - [sazabi threads](https://docs.sazabi.com/reference/cli/threads.md): Command reference for sazabi threads. - [sazabi tool-permissions](https://docs.sazabi.com/reference/cli/tool-permissions.md): Command reference for sazabi tool-permissions. - [sazabi update](https://docs.sazabi.com/reference/cli/update.md): Command reference for sazabi update. - [sazabi webhooks](https://docs.sazabi.com/reference/cli/webhooks.md): Command reference for sazabi webhooks. ### SDKs - [TypeScript SDK](https://docs.sazabi.com/reference/sdk.md): Install, authenticate, and use the Sazabi TypeScript SDK (@sazabi/sdk) — threads, logs, issues, streaming, and device authorization. - [Browser SDK](https://docs.sazabi.com/reference/browser-sdk.md): Reference for the Sazabi browser SDK (@sazabi/browser) — init, identify, custom events, logs, and automatic capture. - [React Native SDK](https://docs.sazabi.com/reference/react-native-sdk.md): Reference for the Sazabi React Native SDK (@sazabi/react-native), covering init, SazabiRoot, trackNavigation, identify, custom events, logs, and automatic capture. ### MCP server - [MCP server](https://docs.sazabi.com/reference/mcp-server.md): Connect a coding agent or AI client to Sazabi over the Model Context Protocol using the search and execute tools. ### Terraform provider - [Terraform provider](https://docs.sazabi.com/reference/terraform/index.md): Manage Sazabi projects, keys, log sources, dashboards, teams, and more as code with the Sazabi Terraform provider. - [sazabi_project](https://docs.sazabi.com/reference/terraform/sazabi_project.md): Terraform resource for a Sazabi project. - [sazabi_component](https://docs.sazabi.com/reference/terraform/sazabi_component.md): Terraform resource for a Sazabi component. - [sazabi_secret_key](https://docs.sazabi.com/reference/terraform/sazabi_secret_key.md): Terraform resource for a Sazabi secret key. - [sazabi_log_source](https://docs.sazabi.com/reference/terraform/sazabi_log_source.md): Terraform resource for a Sazabi log source. - [sazabi_log_stream](https://docs.sazabi.com/reference/terraform/sazabi_log_stream.md): Terraform resource for a Sazabi log stream. - [sazabi_dashboard](https://docs.sazabi.com/reference/terraform/sazabi_dashboard.md): Terraform resource for a saved Sazabi project dashboard. - [sazabi_team](https://docs.sazabi.com/reference/terraform/sazabi_team.md): Terraform resource for an organization team. - [sazabi_team_membership](https://docs.sazabi.com/reference/terraform/sazabi_team_membership.md): Terraform resource adding a member to a team. - [sazabi_member](https://docs.sazabi.com/reference/terraform/sazabi_member.md): Terraform resource for an organization member's role. - [sazabi_member_invitation](https://docs.sazabi.com/reference/terraform/sazabi_member_invitation.md): Terraform resource for a pending organization invitation. - [sazabi_notification_delivery_rule](https://docs.sazabi.com/reference/terraform/sazabi_notification_delivery_rule.md): Terraform resource for a project notification delivery rule. - [sazabi_integration](https://docs.sazabi.com/reference/terraform/sazabi_integration.md): Terraform resource for an API-key integration connection. - [sazabi_integration_jit_policy](https://docs.sazabi.com/reference/terraform/sazabi_integration_jit_policy.md): Terraform resource for per-connection JIT provisioning policy. - [sazabi_integration_slack_configuration](https://docs.sazabi.com/reference/terraform/sazabi_integration_slack_configuration.md): Terraform resource for connection-level Slack settings. - [sazabi_integration_slack_channel_project_mapping](https://docs.sazabi.com/reference/terraform/sazabi_integration_slack_channel_project_mapping.md): Terraform resource for a Slack channel-to-project mapping. - [sazabi_integration_microsoft_teams_configuration](https://docs.sazabi.com/reference/terraform/sazabi_integration_microsoft_teams_configuration.md): Terraform resource for connection-level Microsoft Teams settings. - [sazabi_integration_discord_configuration](https://docs.sazabi.com/reference/terraform/sazabi_integration_discord_configuration.md): Terraform resource for connection-level Discord bot settings. - [sazabi_integration_discord_channel_project_mapping](https://docs.sazabi.com/reference/terraform/sazabi_integration_discord_channel_project_mapping.md): Terraform resource for a Discord bot channel-to-project mapping. - [sazabi_organization_jit_policy](https://docs.sazabi.com/reference/terraform/sazabi_organization_jit_policy.md): Terraform resource for the organization-wide JIT master switch. - [sazabi_sso_domain](https://docs.sazabi.com/reference/terraform/sazabi_sso_domain.md): Terraform resource for an email domain claimed for single sign-on. - [sazabi_sso_domain_verification](https://docs.sazabi.com/reference/terraform/sazabi_sso_domain_verification.md): Terraform resource that waits until a claimed SSO domain is verified. - [sazabi_sso_connection](https://docs.sazabi.com/reference/terraform/sazabi_sso_connection.md): Terraform resource for the organization's SAML 2.0 or OIDC single sign-on connection. - [sazabi_sso_scim](https://docs.sazabi.com/reference/terraform/sazabi_sso_scim.md): Terraform resource that turns SCIM on for the SSO connection and holds its token. - [sazabi_sso_service_provider](https://docs.sazabi.com/reference/terraform/sazabi_sso_service_provider.md): Terraform data source for the Sazabi service provider details to register at an identity provider. - [sazabi_mcp_connector](https://docs.sazabi.com/reference/terraform/sazabi_mcp_connector.md): Terraform resource for a custom MCP connector. - [sazabi_mcp_connector_read_only](https://docs.sazabi.com/reference/terraform/sazabi_mcp_connector_read_only.md): Terraform resource toggling read-only mode on an existing MCP connector. - [sazabi_sandbox_cli](https://docs.sazabi.com/reference/terraform/sazabi_sandbox_cli.md): Terraform resource for a sandbox CLI connection. - [sazabi_sandbox_init_script](https://docs.sazabi.com/reference/terraform/sazabi_sandbox_init_script.md): Terraform resource for a project sandbox custom initialization script. ### Notifications and limits - [Notification types](https://docs.sazabi.com/reference/notification-types.md): Every notification type Sazabi can send, its scope, and which channels can deliver it. - [Limits](https://docs.sazabi.com/reference/limits.md): The rate limits and quotas Sazabi enforces, what happens when you hit one, and where to find the current values. ## OpenAPI Specs - [openapi](/openapi.json)