Saturation Search API

Search transactions, documents, contacts, and budget lines.

GitHub OpenAPI

Operations 1

GET /search Search the workspace or one project #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/saturation-io:saturation-io-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

saturation-io-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Saturation Search API
  version: 1.0.0
  description: 'Read and write production finance data in Saturation. Authenticate with a personal token in the `Authorization` header: `Bearer `. Create a token under Settings > Developers > API. Each token belongs to one workspace.

    Conventions:

    - Successful responses contain the requested resource. Lists contain `data` and an optional `nextCursor`. Errors contain `success`, `code`, `message`, and `requestId`.

    - Money uses integer minor units and an ISO-4217 currency, for example `{ "amount": 152900, "currency": "USD" }`. Budget totals and phase data are decimals in major units. Dates use ISO 8601.

    - Lists default to 50 items and allow up to 100. Pass `nextCursor` as `cursor` for the next page. Set `withCount=true` to include the total count.

    - `404 not_found` means the resource does not exist or is not available to the token.'
  contact:
    name: Saturation API
    url: https://docs.saturation.io
  license:
    name: Proprietary
    url: https://saturation.io/terms
servers:
- url: https://next-api.saturation.io/v1
  description: Configured environment
security:
- bearerAuth: []
tags:
- name: Search
  description: Search transactions, documents, contacts, and budget lines.
paths:
  /search:
    get:
      operationId: search_workspace
      summary: Search the workspace or one project
      tags:
      - Search
      description: Searches the workspace or one project. Results are ranked by relevance and include only records available to the token.
      parameters:
      - name: q
        in: query
        required: true
        description: The search query. 1 to 500 characters.
        schema:
          type: string
          minLength: 1
          maxLength: 500
        examples:
          panavision:
            value: Panavision
      - name: types
        in: query
        required: false
        description: Resource types to search. Omit to search every supported type.
        style: form
        explode: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SearchKind'
        examples:
          twoKinds:
            value: transactions,documents
      - name: projectId
        in: query
        required: false
        description: Project ID or slug. Limits results to one project. Slugs can change, so store the ID.
        schema:
          $ref: '#/components/schemas/Id'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - $ref: '#/components/parameters/withCount'
      responses:
        '200':
          description: Ranked search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
              examples:
                panavision:
                  summary: Workspace search for "Panavision"
                  value:
                    data:
                    - kind: transactions
                      id: txn_8f2a1c9e
                      label: Panavision Camera Package
                      snippet: Invoice 4471, Panavision rental
                      score: 0.62
                    - kind: documents
                      id: doc_4b71e0aa
                      label: Panavision quote.pdf
                      score: 0.41
                    nextCursor: eyJzIjowLjQxLCJrIjoiZG9jdW1lbnRzIiwiaWQiOiJkb2NfNGI3MSJ9
                    searchedTypes:
                    - transactions
                    - documents
                    - budget-lines
                    - purchase-orders
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '429':
          $ref: '#/components/responses/Error429'
components:
  schemas:
    SearchHit:
      type: object
      description: One search result.
      required:
      - kind
      - id
      - label
      - score
      additionalProperties: false
      properties:
        kind:
          $ref: '#/components/schemas/SearchKind'
        id:
          allOf:
          - $ref: '#/components/schemas/Id'
          description: ID of the matched resource.
        label:
          type: string
          description: Display label for the result.
          examples:
          - Panavision Camera Package
        snippet:
          type: string
          description: Matching text when it differs from `label`.
          examples:
          - Invoice 4471, Panavision rental
        score:
          type: number
          format: float
          minimum: 0
          maximum: 1
          description: Relevance from 0 to 1. Higher values are more relevant.
          examples:
          - 0.62
    ErrorCode:
      type: string
      description: Error code for programmatic handling.
      enum:
      - unauthenticated
      - invalid_token
      - missing_authorization
      - token_revoked
      - permission_revoked
      - scope_exceeded
      - forbidden
      - feature_not_available
      - upgrade_required
      - capacity_exceeded
      - approval_required
      - resource_locked
      - temporarily_unavailable
      - role_ceiling_exceeded
      - user_token_required
      - api_access_disabled
      - not_found
      - document_target_not_found
      - validation
      - cursor_invalid
      - expand_invalid
      - invalid_date_range
      - webhook_https_required
      - range_too_large
      - account_path_ambiguous
      - account_code_ambiguous
      - budget_compute_stale
      - idempotency_conflict
      - precondition_failed
      - already_linked
      - status_unreachable_for_source
      - po_invalid_status
      - webhook_url_invalid_ssrf
      - phase_copy_unsupported
      - already_merged
      - grouped_source
      - currency_mismatch
      - project_mismatch
      - multiple_payments
      - purchase_order_mismatch
      - payment_pending
      - cash_advance_unsupported
      - accounting_unsupported
      - accounting_link_conflict
      - accounting_link_stopped
      - accounting_sync_excluded
      - accounting_period_closed
      - field_read_only
      - missing_fx
      - scenario_too_large
      - source_not_postable
      - webhook_url_blocked
      - budget_too_large
      - bulk_too_large
      - rate_limited
      - feedback_limit
      - signing_key_not_configured
      - internal_error
      - budget_compute_timeout
    ProductAccessDecision:
      type: object
      description: Explains why a product feature is unavailable and how to resolve it.
      required:
      - operationId
      - allowed
      - state
      - primary
      - remediations
      - resolvingPlanId
      additionalProperties: false
      properties:
        operationId:
          type: string
          minLength: 1
        allowed:
          type: boolean
        state:
          type: string
          enum:
          - allowed
          - warning
          - denied
          - indeterminate
        primary:
          type:
          - object
          - 'null'
          additionalProperties: false
          required:
          - kind
          - status
          - reason
          properties:
            kind:
              type: string
              enum:
              - principal
              - authority
              - policy
              - rollout
              - provider
              - entitlement
              - quota
            status:
              type: string
              enum:
              - warning
              - denied
              - indeterminate
            reason:
              type: string
              enum:
              - principal_unauthenticated
              - principal_expired
              - principal_suspended
              - resource_unreachable
              - permission_denied
              - resource_locked
              - approval_required
              - safety_restricted
              - rollout_disabled
              - delivery_unavailable
              - provider_unavailable
              - provider_ineligible
              - legal_restricted
              - plan_excluded
              - contract_restricted
              - subscription_restricted
              - quota_warning
              - quota_exhausted
              - quota_unknown
              - quota_reservation_required
              - dependency_unknown
            quotaId:
              type: string
              minLength: 1
            usage:
              type: integer
              minimum: 0
            limit:
              type: integer
              minimum: 0
        remediations:
          type: array
          items:
            type: string
            enum:
            - self_serve_upgrade
            - contact_billing_owner
            - contact_sales
            - buy_capacity
            - cleanup
            - authenticate
            - request_access
            - resolve_policy
            - wait_for_rollout
            - resolve_provider
            - recover_payment
            - reactivate_subscription
            - contact_support
            - renew_link
        currentPlanId:
          type: string
          enum:
          - free
          - pro
          - team
          - enterprise
        resolvingPlanId:
          type:
          - string
          - 'null'
          enum:
          - free
          - pro
          - team
          - enterprise
          - null
        correlationId:
          type: string
          minLength: 1
    Error:
      type: object
      description: 'The uniform error envelope. Only errors carry `success: false`; success responses are the bare resource or a `{ data, nextCursor? }` collection.'
      required:
      - success
      - code
      - message
      - requestId
      additionalProperties: false
      properties:
        success:
          type: boolean
          const: false
          description: Always `false`. Present only on errors.
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: Human-readable description of the failure.
        requestId:
          type: string
          description: Request ID for support and troubleshooting.
          examples:
          - req_3f9b2a7c
        fieldErrors:
          type: object
          description: Validation messages keyed by input field.
          additionalProperties:
            type: array
            items:
              type: string
        requiredAbility:
          type: string
          description: Permission required for the action, such as `update:Transaction`.
        retryAfter:
          type: integer
          description: Seconds to wait before retrying.
        accessDecision:
          $ref: '#/components/schemas/ProductAccessDecision'
          description: Product-access details when the operation is unavailable.
        mergedIntoId:
          allOf:
          - $ref: '#/components/schemas/Id'
          description: On a `404` from an update or delete of a merged transaction's old ID, the ID of the transaction it was merged into. Present only when you can read both.
          examples:
          - txn_pay1027
    Id:
      type: string
      description: A stable resource ID, such as `prj_…`, `txn_…`, or `doc_…`.
      examples:
      - txn_8f2a1c9e
    NextCursor:
      type:
      - string
      - 'null'
      description: Cursor for the next page. Pass it as `cursor` with the same filters and sort. Null on the last page.
      examples:
      - eyJpZCI6InR4bl84ZjJhMWM5ZSJ9
      - null
    SearchResponse:
      type: object
      description: A page of search results ordered by relevance.
      required:
      - data
      - searchedTypes
      additionalProperties: false
      properties:
        data:
          type: array
          description: Results for this page.
          items:
            $ref: '#/components/schemas/SearchHit'
        nextCursor:
          allOf:
          - $ref: '#/components/schemas/NextCursor'
          description: Cursor for the next page. Use it with the same `q` and `types`.
          examples:
          - eyJzIjowLjYyLCJrIjoidHJhbnNhY3Rpb25zIiwiaWQiOiJ0eG5fOGYyYSJ9
        count:
          type: integer
          description: Total matching hits; present only when `withCount=true`.
        searchedTypes:
          type: array
          description: Resource types searched for this request.
          items:
            $ref: '#/components/schemas/SearchKind'
          examples:
          - - transactions
            - documents
            - budget-lines
    SearchKind:
      type: string
      description: Resource types included in search.
      enum:
      - transactions
      - documents
      - contacts
      - budget-lines
      - purchase-orders
      examples:
      - transactions
  parameters:
    limit:
      name: limit
      in: query
      required: false
      description: Maximum number of items to return on a page. Capped at 100.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    cursor:
      name: cursor
      in: query
      required: false
      description: Cursor from the previous page's `nextCursor`. Use it with the same filters and sort.
      schema:
        type: string
    withCount:
      name: withCount
      in: query
      required: false
      description: Include the total number of matching items. Defaults to `false`.
      schema:
        type: boolean
        default: false
  responses:
    Error402:
      description: This feature is not available on the workspace plan.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error400:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: Rate limited. See `Retry-After` before retrying.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: Forbidden. The token does not allow this action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error404:
      description: Not found or unavailable to the token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: Unauthenticated, `unauthenticated`, `invalid_token`, `missing_authorization` or `token_revoked` (expired, malformed, missing or revoked credentials).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Personal API token sent as `Bearer <token>`. Each token belongs to one workspace.