> ## Documentation Index
> Fetch the complete documentation index at: https://developers.askparable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> The Parable Workspace API operations for scripts and integrations, with parameters and SDK samples.

The pages in this section document the Workspace API operations that scripts
and integrations call. Each page shows the operation's parameters, its request
and response shapes, a code sample for each [SDK](https://developers.askparable.com/platform/sdks.md), the kind
of token that can call it, the permissions that allow it, and its known
errors.

## Basics

| | |
| - | - |
| Base URL | `https://api.parable.work`, written as `$PARABLE_API_URL` in examples. Operation paths start with `/api/`. |
| Auth | `Authorization: Bearer pat_...` ([details](https://developers.askparable.com/getting-started/authentication.md)) |
| Workspace | `X-Tenant: acme-corp`, your Workspace's slug. Use this header on `api.parable.work`. A Workspace app address selects its own Workspace. Without the header, a Parable token acts in its owner's first Workspace ([details](https://developers.askparable.com/getting-started/authentication.md)). |
| Format | JSON request and response bodies |
| Encrypted bodies | Two operations take an encrypted body ([details](https://developers.askparable.com/getting-started/encryption.md)) |
| Envelope | Responses wrap the payload in `data` and `meta` ([details](https://developers.askparable.com/getting-started/first-request.md#the-response-envelope)) |
| Paging | `limit` and `offset`, or a `nextCursor` ([details](https://developers.askparable.com/getting-started/first-request.md#pages-of-results)) |
| Field types | Fields use Parable scalars ([details](https://developers.askparable.com/platform/field-types.md)) |

These operations need no token and no `X-Tenant`. They read the global
Provider catalog:

* `GET /api/vendors/parable-vendors`
* `GET /api/vendors/parable-vendors/{slug}`
* `GET /api/vendors/parable-vendor-groupings/{vendorSlug}`
* `GET /api/vendors/parable-vendor-groupings/{vendorSlug}/{groupingPath}`
* `GET /api/vendors/provider-directory`
* `GET /api/vendors/product-logos`

`GET /api/security/encryption-key` also needs no token, but it needs
`X-Tenant`. See [Encrypted request bodies](https://developers.askparable.com/getting-started/encryption.md).

## Errors

Error responses use the Problem Details format (RFC 9457), with the content
type `application/problem+json`. The body has `type`, `title`, `status`, and
`detail`. It often has a `code`, such as `WA-VL-001`, and a `requestId`. A
validation error also has an `errors` member that lists each field that
failed and why. Some refusals have a `details` member. See
[Errors](https://developers.askparable.com/getting-started/first-request.md#errors) for an example.

Each operation page lists the statuses that the operation can answer. Two
answers have a plain-text body, not a Problem Details body:

* `429` from an operation that limits the requests from one address.
* `504` from an operation that has a time limit.

| Status | Meaning |
| - | - |
| `400` | The request is not valid. A validation error, code `WA-VL-001`, changes nothing. |
| `401` | The token is missing, malformed, revoked, or expired. |
| `403` | The token cannot make this request. For example, the owner's roles do not allow the operation. |
| `404` | The resource was not found in the Workspace that the request names. |
| `413` | The request body is too large. |
| `429` | You called the operation too often. Wait for the number of seconds in the `Retry-After` header, then try again. |
| `5xx` | The request failed on the Parable side. Try again with backoff. Include `meta.requestId` or the error's `requestId` when you contact support. |

Every response has an `X-Request-ID` header. Include its value when you
contact support.

## Operation groups

| Group | What it covers |
| - | - |
| Vendors | Browse Providers and the ways to connect each one. List and read your Provider connections, and find out why a sync or a credential check failed. |
| Connectors | Connect a Provider, change its credentials and settings, start its OAuth sign-in, test its credentials, remove a connection, and read its setting history. List the Taps your Workspace could use. |
| Workspace connector taps | Add, read, list, change, and delete the Taps of your Provider connections. Approve or decline a rebuild of a Tap's stored tables. |
| Connector requests | Ask for a Provider that Parable does not support yet, and follow your requests. |
| Catalog version 2 | Read the data catalog, table statistics, and notes recorded against Providers. |
| Catalog | Read the shape, drift checks, and data-quality results of every table. |
| Artifacts | Upload a file. List, browse, and preview uploaded files. Set or infer their schema, publish or unpublish them as tables, rename or move them, and delete them. Publish a set of tables as one revision. Activate a revision, switch back to the one before, remove a revision, or delete the whole publication. |
| Ingest tokens | Create, rotate, list, and revoke ingestion tokens. |
| Devices | List and revoke Pulse clients, and set the apps Pulse skips. |
| Provider pool | Search the Provider Pools for tables and columns, describe a table, plan or run a SQL statement, and read the query guidance. |
| Parables | Preview a Plot query, and estimate what a query reads and costs before you run it. |
| Parable authoring | Read a Plot's data, its outputs, and their TypeScript types. Run a Report, list a Parable's Refreshes, cancel a run, and raise the budget of a paused Plot. |
| Refresh cost threshold | Read and set the cost above which the change preview calls out the next Refresh. |
| Agent skills | List, read, create, and update Powers. |
| Users | Read your membership and the people in the Workspace. Invite people, change their roles, and suspend or remove access. |
| Roles | List the roles in the Workspace. |
| API tokens | List and revoke your personal access tokens and those of the Workspace's members. |
| Auth | Turn personal access tokens on or off for the Workspace, and turn access by agents outside Parable on or off. |
| Security | Get the Workspace's public key for encrypted request bodies. |
| Provider policies | Read, check, and set the Provider Policy of each Provider table. Read and set source permissions, link source accounts to members, and explain or preview what a member reads. |
| Model policy | Read and set which AI processors may use Workspace data, and the default models. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.