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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/saturation-io:saturation-io-comments-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
openapi: 3.2.0
info:
title: Saturation Comments 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: Comments
description: Comments within a project.
paths:
/projects/{projectId}/comments:
parameters:
- name: projectId
in: path
required: true
description: Project ID or slug. Slugs can change, so store the ID.
schema:
$ref: '#/components/schemas/Id'
get:
operationId: comments_list
tags:
- Comments
summary: List comments
description: List comments in a project. Use `targetKind` and `targetId` together to filter by resource.
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
- $ref: '#/components/parameters/sort'
- $ref: '#/components/parameters/order'
- $ref: '#/components/parameters/withCount'
- name: targetKind
in: query
required: false
description: Resource type. Use with `targetId`.
schema:
$ref: '#/components/schemas/CommentTargetKind'
- name: targetId
in: query
required: false
description: Resource ID. Use with `targetKind`.
schema:
$ref: '#/components/schemas/Id'
- name: threadId
in: query
required: false
description: Only replies under this root comment.
schema:
$ref: '#/components/schemas/Id'
- name: resolved
in: query
required: false
description: Filter by resolution state.
schema:
type: boolean
responses:
'200':
description: A page of comments.
content:
application/json:
schema:
$ref: '#/components/schemas/CommentList'
example:
data:
- id: cmt_7a8b9c
projectId: prj_8f2a1c9e
threadId: null
target:
kind: budgetLine
id: bud_1234abcd
authorId: usr_a1b2c3
authorName: Sam Rivera
content: Can we confirm the drone day rate here?
resolved: false
createdAt: 2026-05-21 14:00:00+00:00
updatedAt: 2026-05-21 14:00:00+00:00
nextCursor: null
'400':
$ref: '#/components/responses/Error400'
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'429':
$ref: '#/components/responses/Error429'
post:
operationId: comments_create
tags:
- Comments
summary: Create a comment
description: Add a comment to a project resource you can edit.
parameters:
- name: Idempotency-Key
in: header
required: true
description: Unique request key, 16 to 255 characters. Retrying the same request returns the first response. Missing or invalid keys return `400 validation`; reuse with a different body returns `409 idempotency_conflict`.
schema:
type: string
minLength: 16
maxLength: 255
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CommentCreate'
example:
content: Can we confirm the drone day rate here?
target:
kind: budgetLine
id: bud_1234abcd
responses:
'201':
description: The created comment.
headers:
Idempotency-Replayed:
$ref: '#/components/headers/IdempotencyReplayed'
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
'400':
$ref: '#/components/responses/Error400'
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'409':
$ref: '#/components/responses/Error409'
'422':
$ref: '#/components/responses/Error422'
'429':
$ref: '#/components/responses/Error429'
/projects/{projectId}/comments/{commentId}:
parameters:
- name: projectId
in: path
required: true
description: Project ID or slug. Slugs can change, so store the ID.
schema:
$ref: '#/components/schemas/Id'
- name: commentId
in: path
required: true
description: Comment ID.
schema:
$ref: '#/components/schemas/Id'
patch:
operationId: comments_update
tags:
- Comments
summary: Update a comment
description: Edit the comment body or resolution. Only the author can edit the body.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CommentUpdate'
example:
resolved: true
responses:
'200':
description: The updated comment.
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
'400':
$ref: '#/components/responses/Error400'
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'422':
$ref: '#/components/responses/Error422'
'429':
$ref: '#/components/responses/Error429'
delete:
operationId: comments_delete
tags:
- Comments
summary: Delete a comment
description: Delete a comment and its replies. Repeating the request has no additional effect.
responses:
'204':
description: Deleted.
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'429':
$ref: '#/components/responses/Error429'
components:
schemas:
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
Comment:
type: object
description: A comment on a project resource. Replies reference the first comment with `threadId`.
required:
- id
- projectId
- author
- content
- resolved
- tags
- reactions
- replyCount
- readByCurrentUser
- edited
- createdAt
- updatedAt
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
projectId:
$ref: '#/components/schemas/Id'
threadId:
description: The root comment id when this is a reply; `null` for a root comment.
anyOf:
- allOf:
- $ref: '#/components/schemas/Id'
- type: 'null'
target:
description: Resource associated with the comment.
anyOf:
- allOf:
- $ref: '#/components/schemas/CommentTarget'
- type: 'null'
author:
$ref: '#/components/schemas/CommentAuthor'
content:
type: string
description: Markdown comment body.
resolved:
type: boolean
description: Whether the comment thread is resolved.
tags:
type: array
items:
$ref: '#/components/schemas/CommentTag'
reactions:
type: array
items:
$ref: '#/components/schemas/CommentReaction'
replyCount:
type: integer
minimum: 0
readByCurrentUser:
type: boolean
edited:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
CommentTarget:
type: object
description: Resource associated with a comment.
required:
- kind
- id
additionalProperties: false
properties:
kind:
$ref: '#/components/schemas/CommentTargetKind'
id:
$ref: '#/components/schemas/Id'
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
CommentAuthor:
type: object
required:
- id
- name
- avatar
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
name:
type: string
avatar:
type:
- string
- 'null'
CommentTargetKind:
type: string
description: Resource type associated with a comment.
enum:
- project
- budgetLine
- transaction
- purchaseOrder
- contact
- document
CommentTag:
type: object
required:
- id
- targetType
- targetId
- label
- kind
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
targetType:
type: string
targetId:
$ref: '#/components/schemas/Id'
label:
type: string
kind:
type: string
enum:
- mention
- anchor
CommentUpdate:
type: object
description: Fields accepted when updating a comment. Only the author can change `content`.
additionalProperties: false
minProperties: 1
properties:
content:
type: string
minLength: 1
resolved:
type: boolean
tags:
type: array
description: Replaces the comment's mentions and resource links.
maxItems: 10000
items:
$ref: '#/components/schemas/CommentTagWrite'
reactionEmojis:
type: array
description: Replaces the current user's reactions. Duplicate emoji are ignored.
maxItems: 10000
items:
type: string
minLength: 1
CommentReaction:
type: object
required:
- emoji
- count
- users
additionalProperties: false
properties:
emoji:
type: string
count:
type: integer
minimum: 0
users:
type: array
items:
type: object
required:
- id
- name
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
name:
type: string
CommentTagWrite:
type: object
required:
- targetType
- targetId
- label
additionalProperties: false
properties:
targetType:
type: string
minLength: 1
targetId:
$ref: '#/components/schemas/Id'
label:
type: string
minLength: 1
kind:
type: string
enum:
- mention
- anchor
CommentList:
type: object
description: A page of comments.
required:
- data
additionalProperties: false
properties:
data:
type: array
items:
$ref: '#/components/schemas/Comment'
nextCursor:
$ref: '#/components/schemas/NextCursor'
count:
type: integer
description: Total matching items; present only when `withCount=true` was requested.
truncated:
type: boolean
description: Whether some matching items were omitted from the response.
CommentCreate:
type: object
description: Fields accepted when creating a comment.
required:
- content
- target
additionalProperties: false
properties:
content:
type: string
minLength: 1
target:
$ref: '#/components/schemas/CommentTarget'
threadId:
description: Root comment ID when adding a reply.
anyOf:
- allOf:
- $ref: '#/components/schemas/Id'
- type: 'null'
tags:
type: array
description: Mentions and resource links in the comment.
maxItems: 10000
items:
$ref: '#/components/schemas/CommentTagWrite'
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
responses:
Error400:
description: The request is invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error422:
description: The request names a read-only field or cannot be processed.
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'
Error409:
description: The request conflicts with the current resource state.
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'
Error403:
description: Forbidden. The token does not allow this action.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
sort:
name: sort
in: query
required: false
description: Field to sort by. Allowed fields depend on the resource.
schema:
type: string
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
order:
name: order
in: query
required: false
description: Sort direction.
schema:
type: string
enum:
- asc
- desc
default: asc
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
headers:
IdempotencyReplayed:
description: Present when this response was replayed from an earlier request with the same `Idempotency-Key`.
schema:
type: string
const: 'true'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Personal API token sent as `Bearer <token>`. Each token belongs to one workspace.