Patricia AI Tools API
The ai-tools API from Patricia — 8 operation(s) for ai-tools.
Operations 9
POST
/v1/ai-tools/company-setups/{tool}/owner-requests
Ask the workspace owner for a company AI tool setup
#
The ai-tools API from Patricia — 8 operation(s) for ai-tools.
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-ai-tools-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 AI Tools API
version: 0.1.0
tags:
- name: ai-tools
paths:
/v1/ai-tools:
get:
tags:
- ai-tools
summary: List my connected AI tools
description: List the AI tools the signed-in teammate connected to Patricia in this workspace. Only live connections are listed.
operationId: list_ai_tools_v1_ai_tools_get
security:
- HTTPBearer: []
parameters:
- 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/AiToolConnectionList'
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/abilities:
get:
tags:
- ai-tools
summary: List what AI tools can do through Patricia
description: List the tools the Patricia MCP server offers to a connected AI tool. The few highlighted tools come first.
operationId: list_ai_tool_abilities_v1_ai_tools_abilities_get
security:
- HTTPBearer: []
parameters:
- 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/AiToolAbilityList'
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/company-setups:
get:
tags:
- ai-tools
summary: List company AI tool setups
description: Show whether an owner or admin confirmed that Patricia is in the company's AI tool, who Patricia can ask, and the setup steps for the person who manages it.
operationId: list_company_ai_tool_setups_v1_ai_tools_company_setups_get
security:
- HTTPBearer: []
parameters:
- 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/CompanyAiToolSetupList'
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/company-setups/{tool}:
put:
tags:
- ai-tools
summary: Confirm a company AI tool setup
description: Record that Patricia is in the company's AI tool. Owners and admins only. Patricia does not check the AI tool. The first confirmation messages the teammates who are waiting.
operationId: confirm_company_ai_tool_setup_v1_ai_tools_company_setups__tool__put
security:
- HTTPBearer: []
parameters:
- name: tool
in: path
required: true
schema:
$ref: '#/components/schemas/CompanyAiTool'
- 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/CompanyAiToolSetup'
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
delete:
tags:
- ai-tools
summary: Remove a company AI tool setup
description: Record that Patricia is not in the company's AI tool. Owners and admins only. Nobody is disconnected.
operationId: remove_company_ai_tool_setup_v1_ai_tools_company_setups__tool__delete
security:
- HTTPBearer: []
parameters:
- name: tool
in: path
required: true
schema:
$ref: '#/components/schemas/CompanyAiTool'
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: No content.
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/company-setups/{tool}/owner-requests:
post:
tags:
- ai-tools
summary: Ask the workspace owner for a company AI tool setup
description: Patricia sends the workspace owner the setup steps in a chat message, and messages the signed-in teammate once the setup is confirmed.
operationId: ask_company_ai_tool_owner_v1_ai_tools_company_setups__tool__owner_requests_post
security:
- HTTPBearer: []
parameters:
- name: tool
in: path
required: true
schema:
$ref: '#/components/schemas/CompanyAiTool'
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: No content.
'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'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/company-setups/{tool}/waiters/me:
put:
tags:
- ai-tools
summary: Wait for a company AI tool setup
description: Ask Patricia to message the signed-in teammate once, when an owner or admin confirms the setup.
operationId: wait_for_company_ai_tool_setup_v1_ai_tools_company_setups__tool__waiters_me_put
security:
- HTTPBearer: []
parameters:
- name: tool
in: path
required: true
schema:
$ref: '#/components/schemas/CompanyAiTool'
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: No content.
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/members:
get:
tags:
- ai-tools
summary: List the team's connected AI tools
description: List every member's live AI tool connections in this workspace. Owners and admins only.
operationId: list_member_ai_tools_v1_ai_tools_members_get
security:
- HTTPBearer: []
parameters:
- 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/MemberAiToolConnectionList'
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/ai-tools/{id}:
delete:
tags:
- ai-tools
summary: Disconnect an AI tool
description: Disconnect one of the signed-in teammate's AI tools. The tool loses access at once.
operationId: disconnect_ai_tool_connection_v1_ai_tools__id__delete
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: No content.
'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'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
MemberAiToolConnection:
properties:
membership_id:
type: string
format: uuid
title: Membership Id
description: The member who holds the connection, as the id the members list uses.
tool:
$ref: '#/components/schemas/AiTool'
description: Which AI tool holds the connection, read from the address Patricia sends the sign-in back to. local_app means a program on the person's own computer. other means Patricia does not recognise that address.
connected_at:
type: string
format: date-time
title: Connected At
description: When the person approved the connection.
last_import_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Import At
description: When the tool last asked for onboarding import prompts through this connection. This does not mean an import finished. Null when it never asked.
type: object
required:
- membership_id
- tool
- connected_at
- last_import_at
title: MemberAiToolConnection
AiToolConnection:
properties:
id:
type: string
format: uuid
title: Id
description: The connection id. Pass it to disconnect the tool.
tool:
$ref: '#/components/schemas/AiTool'
description: Which AI tool holds the connection, read from the address Patricia sends the sign-in back to. local_app means a program on the person's own computer. other means Patricia does not recognise that address.
connected_at:
type: string
format: date-time
title: Connected At
description: When the person approved the connection.
last_used_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Used At
description: The last time the tool renewed its access to Patricia. A tool renews only when it uses Patricia after its short-lived access ends, so this can lag behind real use. Null until the first renewal.
last_import_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Import At
description: When the tool last asked for onboarding import prompts through this connection. This does not mean an import finished. Null when it never asked.
type: object
required:
- id
- tool
- connected_at
- last_used_at
- last_import_at
title: AiToolConnection
CompanyAiToolSetup:
properties:
tool:
$ref: '#/components/schemas/CompanyAiTool'
description: 'The AI tool: claude, chatgpt or grok.'
confirmed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Confirmed At
description: When an owner or admin confirmed that Patricia is in the company's AI tool. Null when nobody confirmed it.
confirmed_by_name:
anyOf:
- type: string
- type: 'null'
title: Confirmed By Name
description: The first name of the person who confirmed. Null when nobody confirmed, or the name is unknown.
owner_steps:
type: string
title: Owner Steps
description: The steps the person who manages the company's AI tool follows to add Patricia.
admin_url:
anyOf:
- type: string
- type: 'null'
title: Admin Url
description: A link that opens the AI tool's admin form for adding Patricia, with her name and address filled in. Null when the AI tool has no such link.
type: object
required:
- tool
- confirmed_at
- confirmed_by_name
- owner_steps
- admin_url
title: CompanyAiToolSetup
AiToolConnectionList:
properties:
items:
items:
$ref: '#/components/schemas/AiToolConnection'
type: array
title: Items
type: object
required:
- items
title: AiToolConnectionList
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.
AiToolAbility:
properties:
name:
type: string
title: Name
description: The tool's name on the Patricia MCP server.
label:
type: string
title: Label
description: A short name for the tool, in words a person uses.
summary:
type: string
title: Summary
description: One line on what the tool does.
reads_only:
type: boolean
title: Reads Only
description: True when the tool only reads and never changes anything.
highlighted:
type: boolean
title: Highlighted
description: True for the few tools the dashboard shows first.
type: object
required:
- name
- label
- summary
- reads_only
- highlighted
title: AiToolAbility
CompanyAiToolSetupList:
properties:
items:
items:
$ref: '#/components/schemas/CompanyAiToolSetup'
type: array
title: Items
contact:
anyOf:
- $ref: '#/components/schemas/CompanyAiToolContact'
- type: 'null'
description: The Patricia workspace owner Patricia can ask in chat for the signed-in teammate. Null when no owner can be reached.
can_message_you:
type: boolean
title: Can Message You
description: Whether Patricia can message the signed-in teammate in chat when the setup is confirmed.
type: object
required:
- items
- contact
- can_message_you
title: CompanyAiToolSetupList
MemberAiToolConnectionList:
properties:
items:
items:
$ref: '#/components/schemas/MemberAiToolConnection'
type: array
title: Items
type: object
required:
- items
title: MemberAiToolConnectionList
CompanyAiTool:
type: string
enum:
- claude
- chatgpt
- grok
title: CompanyAiTool
description: An AI tool whose company plan an owner or admin can add Patricia to once for everyone.
AiTool:
type: string
enum:
- claude
- chatgpt
- grok
- cursor
- local_app
- other
title: AiTool
description: Which AI tool holds a connection to Patricia, read from the address its sign-in returns to.
CompanyAiToolContact:
properties:
name:
type: string
title: Name
description: The owner's first name.
platform_name:
type: string
title: Platform Name
description: The chat app where Patricia reaches the owner.
type: object
required:
- name
- platform_name
title: CompanyAiToolContact
AiToolAbilityList:
properties:
items:
items:
$ref: '#/components/schemas/AiToolAbility'
type: array
title: Items
type: object
required:
- items
title: AiToolAbilityList
securitySchemes:
HTTPBearer:
type: http
scheme: bearer