Patricia Approvals API
The approvals API from Patricia — 1 operation(s) for approvals.
The approvals API from Patricia — 1 operation(s) for approvals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/patricia-app:patricia-app-approvals-api"
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.
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: 3.2.0
info:
title: Patricia Approvals API
version: 0.1.0
tags:
- name: Approvals
paths:
/v1/approvals:
get:
tags:
- Approvals
summary: List everything awaiting a human decision
description: 'One cursor-paginated feed over both approval kinds, newest first: tool-approval requests (kind=tool) and skill share requests (kind=skill_share). Each caller sees only the rows they are in the audience of: their own tool-approval audience, plus share requests they can decide (skills:edit) or raised themselves. Tool-argument values are sanitized and visible only to callers who can decide requests (runs:execute); read-only callers receive a value-free input_summary instead.'
operationId: list_approvals_v1_approvals_get
security:
- HTTPBearer: []
parameters:
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: ANTLR filter expression
title: Q
description: ANTLR filter expression
- name: limit
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 500
minimum: 1
- type: 'null'
description: Page size
title: Limit
description: Page size
- name: sort_by
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Sort expression (e.g. created_at:desc)
title: Sort By
description: Sort expression (e.g. created_at:desc)
- name: fields
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Field projection (e.g. id,name)
title: Fields
description: Field projection (e.g. id,name)
- name: pq
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Pagination cursor query
title: Pq
description: Pagination cursor query
- name: from_prev
in: query
required: false
schema:
type: boolean
description: Backward pagination flag
default: false
title: From Prev
description: Backward pagination flag
- name: client
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Client
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/queries__approvals_feed__ApprovalsFeedQuery__SearchValidator'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
NamedClientLabel:
properties:
kind:
type: string
const: client
title: Kind
default: client
id:
type: string
format: uuid
title: Id
name:
type: string
title: Name
archived:
type: boolean
title: Archived
additionalProperties: false
type: object
required:
- id
- name
- archived
title: NamedClientLabel
ApprovalsFeedRow:
properties:
kind:
anyOf:
- type: string
- type: 'null'
title: Kind
client:
anyOf:
- $ref: '#/components/schemas/ClientLabel'
- type: 'null'
id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Id
status_code:
anyOf:
- type: string
- type: 'null'
title: Status Code
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
resolved_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Resolved At
run_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Run Id
tool_name:
anyOf:
- type: string
- type: 'null'
title: Tool Name
risk_tier_code:
anyOf:
- type: string
- type: 'null'
title: Risk Tier Code
input:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Input
description: Tool arguments, sanitized. Present only on kind=tool rows, and only for callers holding runs:execute (the authority that can decide the request); null for read-only callers, which receive input_summary instead.
input_summary:
anyOf:
- items:
$ref: '#/components/schemas/ArgSummaryEntry'
type: array
- type: 'null'
title: Input Summary
description: Value-free per-argument summary, populated in place of input for callers without runs:execute.
repeat_coverage_announced:
anyOf:
- type: boolean
- type: 'null'
title: Repeat Coverage Announced
task_offer_manifest:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Task Offer Manifest
task_offer_manifest_digest:
anyOf:
- type: string
- type: 'null'
title: Task Offer Manifest Digest
delivery_ref:
anyOf:
- type: string
- type: 'null'
title: Delivery Ref
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
snapshot_title:
anyOf:
- type: string
- type: 'null'
title: Snapshot Title
snapshot_tool_label:
anyOf:
- type: string
- type: 'null'
title: Snapshot Tool Label
snapshot_body:
anyOf:
- type: string
- type: 'null'
title: Snapshot Body
plain_question:
anyOf:
- type: string
- type: 'null'
title: Plain Question
snapshot_link_kind:
anyOf:
- type: string
- type: 'null'
title: Snapshot Link Kind
snapshot_link_value:
anyOf:
- type: string
- type: 'null'
title: Snapshot Link Value
asked_because:
anyOf:
- type: string
- type: 'null'
title: Asked Because
description: One sentence naming which rule asked for this approval, for example a workspace setting on the connected account or an action that reaches an audience. Null when the request records no cause.
installation_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Installation Id
skill_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Skill Id
skill_slug:
anyOf:
- type: string
- type: 'null'
title: Skill Slug
skill_title:
anyOf:
- type: string
- type: 'null'
title: Skill Title
skill_summary:
anyOf:
- type: string
- type: 'null'
title: Skill Summary
requester_name:
anyOf:
- type: string
- type: 'null'
title: Requester Name
requester_actor_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Requester Actor Id
requested_by_viewer:
anyOf:
- type: boolean
- type: 'null'
title: Requested By Viewer
description: True when the caller is the person whose run raised this request, false when somebody else did or nobody did (a proactive run). Resolved server-side because the browser holds no actor id to compare against. Null on a skill-share row, which the server does not yet resolve it for.
connection_label:
anyOf:
- type: string
- type: 'null'
title: Connection Label
description: 'One sentence naming the connection this action would run on, already filtered for what the caller may know: a personal connection they do not own is described without naming its owner. Null when the request binds no connection.'
type: object
title: ApprovalsFeedRow
description: 'One feed row of either kind. Every field is optional so ``fields=`` projection validates.
``kind`` is the discriminator: a reader keys on it rather than on which columns happen to be null,
since a tool row can legitimately carry no stored arguments and a share row carries no run.
``input`` is shaped per caller by the router and never returned raw: sanitized values for callers
who can decide (``runs:execute``), a value-free ``input_summary`` for read-only ones. Only a ``tool``
row carries stored arguments; a share request has none, so it is handed neither.'
ErrorResponse:
properties:
code:
type: string
title: Code
message:
type: string
title: Message
errors:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Errors
type: object
required:
- code
- message
title: ErrorResponse
description: Standard error envelope, matching exception handler output.
ArgSummaryEntry:
properties:
key:
type: string
title: Key
description: Argument name (schema-level, never customer data).
type:
type: string
title: Type
description: 'JSON type of the hidden value: string, number, boolean, object, array, or null.'
size:
anyOf:
- type: integer
- type: 'null'
title: Size
description: 'Size of the hidden value: characters for a string, item count for an array, key count for an object. Null for other scalars, and always null for a credential-named argument.'
type: object
required:
- key
- type
title: ArgSummaryEntry
description: 'Value-free summary of ONE stored tool argument, for callers without the approval scope.
Read surfaces that carry tool arguments (the approval queue, the run''s tool-call timeline) return
argument VALUES only to callers holding ``runs:execute`` (the authority that may decide the request);
a plain ``runs:read`` caller gets one of these per top-level argument instead. Built by
``agent.arg_visibility.summarize_args``. Deliberately carries NO value hash: a row-salted digest was
reviewed and rejected as a practical value-confirmation oracle (the salt travels in the same response).'
OtherWorkLabel:
properties:
kind:
type: string
const: other_work
title: Kind
default: other_work
additionalProperties: false
type: object
title: OtherWorkLabel
ClientLabel:
oneOf:
- $ref: '#/components/schemas/NamedClientLabel'
- $ref: '#/components/schemas/OtherWorkLabel'
discriminator:
propertyName: kind
mapping:
client: '#/components/schemas/NamedClientLabel'
other_work: '#/components/schemas/OtherWorkLabel'
queries__approvals_feed__ApprovalsFeedQuery__SearchValidator:
properties:
items:
items:
$ref: '#/components/schemas/ApprovalsFeedRow'
type: array
title: Items
first:
anyOf:
- type: string
- type: 'null'
title: First
next:
anyOf:
- type: string
- type: 'null'
title: Next
previous:
anyOf:
- type: string
- type: 'null'
title: Previous
type: object
required:
- items
title: SearchValidator
description: Typed cursor-paginated response envelope for the unified approvals feed.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer