Patricia Actors API
The actors API from Patricia — 3 operation(s) for actors.
The actors API from Patricia — 3 operation(s) for actors.
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-actors-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 Actors API
version: 0.1.0
tags:
- name: actors
paths:
/v1/actors:
get:
tags:
- actors
summary: Search actors
description: List actors with filtering, sorting, and pagination.
operationId: list_items_v1_actors_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: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Paginated actor list.
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__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'
post:
tags:
- actors
summary: Create actor
description: Create a new actor.
operationId: create_item_v1_actors_post
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__CreateValidator'
responses:
'201':
description: The created actor.
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__FullValidator'
'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/actors/actor-directory:
get:
tags:
- actors
summary: Search the actor directory
description: Read-only directory view backed by a SearchQuery (QueryProxy).
operationId: list_actor_directory_v1_actors_actor_directory_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: 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__actor_directory__ActorDirectoryQuery__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'
/v1/actors/{id}:
get:
tags:
- actors
summary: Get actor
description: Retrieve a single actor by ID.
operationId: get_item_v1_actors__id__get
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:
'200':
description: The requested actor.
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__FullValidator'
'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'
put:
tags:
- actors
summary: Update actor
description: Full update (PUT) of a actor.
operationId: update_item_v1_actors__id__put
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
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__UpdateValidator'
responses:
'200':
description: The updated actor.
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__FullValidator'
'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'
patch:
tags:
- actors
summary: Partial update actor
description: Partial update (PATCH) of a actor.
operationId: merge_item_v1_actors__id__patch
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
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__MergeValidator'
responses:
'200':
description: The updated actor.
content:
application/json:
schema:
$ref: '#/components/schemas/models__identity__Actor__FullValidator'
'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:
- actors
summary: Delete actor
description: Soft-delete a actor by ID.
operationId: delete_item_v1_actors__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:
models__identity__Actor__MergeValidator:
properties:
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
profile:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Profile
updated_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Updated At
additionalProperties: false
type: object
title: MergeValidator
description: 'PATCH body: every field optional; only those set are written.'
queries__actor_directory__ActorDirectoryQuery__SearchValidator:
properties:
items:
items:
$ref: '#/components/schemas/ActorDirectoryRow'
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 actor directory.
Platform:
type: string
enum:
- slack
- teams
- console
- email
- whatsapp
- meeting_chat
title: Platform
models__identity__Actor__UpdateValidator:
properties:
display_name:
type: string
title: Display Name
profile:
additionalProperties: true
type: object
title: Profile
updated_at:
type: string
format: date-time
title: Updated At
additionalProperties: false
type: object
required:
- display_name
- updated_at
title: UpdateValidator
description: 'PUT body: full update of mutable fields.
``updated_at`` is carried for the engine''s optimistic-concurrency check
(stale value → 409).'
models__identity__Actor__FullValidator:
properties:
id:
type: string
format: uuid
title: Id
tenant_id:
type: string
format: uuid
title: Tenant Id
platform_code:
$ref: '#/components/schemas/Platform'
external_id:
type: string
title: External Id
kind_code:
$ref: '#/components/schemas/ActorKind'
display_name:
type: string
title: Display Name
email:
anyOf:
- type: string
- type: 'null'
title: Email
profile:
additionalProperties: true
type: object
title: Profile
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- tenant_id
- platform_code
- external_id
- kind_code
- display_name
- profile
- created_at
- updated_at
title: FullValidator
description: Response shape for GET / POST / PUT / PATCH.
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.
ActorKind:
type: string
enum:
- human
- bot
- system
title: ActorKind
models__identity__Actor__CreateValidator:
properties:
platform_code:
$ref: '#/components/schemas/Platform'
external_id:
type: string
title: External Id
kind_code:
type: string
const: human
title: Kind Code
default: human
display_name:
type: string
title: Display Name
email:
anyOf:
- type: string
- type: 'null'
title: Email
profile:
additionalProperties: true
type: object
title: Profile
additionalProperties: false
type: object
required:
- platform_code
- external_id
- display_name
title: CreateValidator
description: POST body. ``tenant_id`` is server-assigned from the request context.
models__identity__Actor__SearchValidator:
properties:
items:
items:
$ref: '#/components/schemas/models__identity__Actor__FullValidator'
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 list response ({items, first, next, previous}).
ActorDirectoryRow:
properties:
id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Id
platform_code:
anyOf:
- type: string
- type: 'null'
title: Platform Code
kind_code:
anyOf:
- type: string
- type: 'null'
title: Kind Code
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
email:
anyOf:
- type: string
- type: 'null'
title: Email
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
type: object
title: ActorDirectoryRow
description: 'Row shape returned by the directory query.
All fields optional so ``fields=`` projection validates (runflow pattern).'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer