Patricia Memory Background Work API
The memory-background-work API from Patricia — 2 operation(s) for memory-background-work.
The memory-background-work API from Patricia — 2 operation(s) for memory-background-work.
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-memory-background-work-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 Memory Background Work API
version: 0.1.0
tags:
- name: memory-background-work
paths:
/v1/memory-background-work:
get:
tags:
- memory-background-work
summary: Read background memory activity for workspace administrators
operationId: get_memory_background_work_v1_memory_background_work_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/MemoryBackgroundWorkResponse'
'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/memory-background-work/retry:
post:
tags:
- memory-background-work
summary: Try again on notebook work that stopped after its retries
description: Starts stopped notebook areas again, up to 50 per request. A request that starts work writes an audit row.
operationId: retry_memory_background_work_v1_memory_background_work_retry_post
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/NotebookRetryResponse'
'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'
components:
schemas:
NotebookAvailabilityCount:
properties:
code:
type: string
enum:
- sources_unavailable
- s3_unavailable
- acquisition_subdeadline
- acquisition_budget_insufficient
- evaluation_age
title: Code
count:
type: integer
minimum: 0.0
title: Count
type: object
required:
- code
- count
title: NotebookAvailabilityCount
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.
NotebookRetryResponse:
properties:
retried_count:
type: integer
minimum: 0.0
title: Retried Count
description: Notebook areas that this request started again.
remaining_count:
type: integer
minimum: 0.0
title: Remaining Count
description: Notebook areas that still wait for Try again.
additionalProperties: false
type: object
required:
- retried_count
- remaining_count
title: NotebookRetryResponse
NotebookCoverage:
properties:
partition_count:
type: integer
minimum: 0.0
title: Partition Count
covered_partition_count:
type: integer
minimum: 0.0
title: Covered Partition Count
oldest_latest_applied_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Oldest Latest Applied At
newest_latest_applied_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Newest Latest Applied At
type: object
required:
- partition_count
- covered_partition_count
- oldest_latest_applied_at
- newest_latest_applied_at
title: NotebookCoverage
MemoryBackgroundWorkResponse:
properties:
as_of:
type: string
format: date-time
title: As Of
effective_mode:
type: string
enum:
- forecast
- dry_run
- apply
title: Effective Mode
completed_count:
type: integer
minimum: 0.0
title: Completed Count
deferred_count:
type: integer
minimum: 0.0
title: Deferred Count
failed_count:
type: integer
minimum: 0.0
title: Failed Count
oldest_pending_age_seconds:
anyOf:
- type: integer
minimum: 0.0
- type: 'null'
title: Oldest Pending Age Seconds
coverage:
$ref: '#/components/schemas/NotebookCoverage'
availability_counts:
items:
$ref: '#/components/schemas/NotebookAvailabilityCount'
type: array
title: Availability Counts
defer_counts:
items:
$ref: '#/components/schemas/NotebookDeferCount'
type: array
title: Defer Counts
retention:
$ref: '#/components/schemas/NotebookRetentionStatus'
additionalProperties: false
type: object
required:
- as_of
- effective_mode
- completed_count
- deferred_count
- failed_count
- oldest_pending_age_seconds
- coverage
- availability_counts
- defer_counts
- retention
title: MemoryBackgroundWorkResponse
NotebookRetentionStatus:
properties:
state:
type: string
enum:
- current
- refreshing
- retry_needed
title: State
description: 'retry_needed: some notebook work stopped after its retries and waits for Try again. refreshing: notes wait for their validity check. current: neither.'
retry_needed_count:
type: integer
minimum: 0.0
title: Retry Needed Count
description: Notebook areas whose work waits for Try again.
additionalProperties: false
type: object
required:
- state
- retry_needed_count
title: NotebookRetentionStatus
NotebookDeferCount:
properties:
code:
type: string
enum:
- budget
- inactive
- workspace_stopped
- stage
- authorization
- sources_unavailable
- suppressed
- invalid_input
- model_refused
- attempt_ceiling
- input_changed
- member_merge
- applied
- noop
- prepared
- retryable_failure
title: Code
count:
type: integer
minimum: 0.0
title: Count
type: object
required:
- code
- count
title: NotebookDeferCount
securitySchemes:
HTTPBearer:
type: http
scheme: bearer