Volver al catálogo

Past.dev

past_dev

Past.dev provides durable, source-backed memory for AI agents, including ingestion and its estimation and diagnostics, recall, identities, audiences, usage, request logs, memory traces, and explicit cleanup.

Acciones
29
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (29)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Replace Identities in BulkPAST_DEV_BULK_REPLACE_IDENTITIESAcción

Atomically create or replace complete trait sets for up to 1,000 identities; omitted traits replace the identity with no traits.

Parámetros de entrada

  • identitiesobject[]Obligatorio

    Identity replacements (1-1,000). If an identity repeats, its last row wins.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete AudiencePAST_DEV_DELETE_AUDIENCEAcción

DESTRUCTIVE ACCESS CHANGE: Permanently delete an audience. Its stored memory remains but becomes permanently unreachable. The default project audience cannot be deleted.

Parámetros de entrada

  • slugstringObligatorio

    Non-default audience slug to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete IdentityPAST_DEV_DELETE_IDENTITYAcción

DESTRUCTIVE: Permanently delete an identity directory record and remove it from every audience. Stored memory associated with the identity remains and is not deleted.

Parámetros de entrada

  • identitystringObligatorio

    Identity id whose directory record and audience memberships will be permanently removed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently Delete Ingestion MemoryPAST_DEV_DELETE_INGESTION_MEMORYAcción

DESTRUCTIVE: Permanently delete every data point accepted by one ingestion and memory depending only on those points. This cannot be undone; the ingestion status and audit record remains readable.

Parámetros de entrada

  • ingestion_idstringObligatoriouuid

    Ingestion UUID whose accepted data points and derived memory will be permanently deleted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Memory Data PointPAST_DEV_DELETE_MEMORY_DATA_POINTAcción

DESTRUCTIVE: Permanently delete one data point by its caller-owned source id and remove memory derived from it. This cannot be undone; the purge completes asynchronously.

Parámetros de entrada

  • source_idstringObligatorio

    Caller-owned source id of the data point and derived memory to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Memory Data PointsPAST_DEV_DELETE_MEMORY_DATA_POINTSAcción

DESTRUCTIVE: Permanently and atomically delete up to 1,000 data points by caller-owned source id and remove memory derived from them. This cannot be undone; the purge completes asynchronously.

Parámetros de entrada

  • source_idsstring[]Obligatorio

    Caller-owned source IDs to delete atomically. Duplicates count once; if any ID does not exist, nothing is deleted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Estimate IngestionPAST_DEV_ESTIMATE_INGESTIONAcción

Cut files into data points, plan batches, and estimate credits without storing data or spending credits.

Parámetros de entrada

  • filesobject[]

    Files for Past.dev to cut into points; provide files or items, not both.

  • itemsobject[]

    Pre-cut data points to batch and price; provide items or files, not both.

  • pointsstringenum

    How much detail to return for each estimated data point.

    nonesummaryfull
  • time_zonestring

    IANA time-zone name for file times without an explicit zone; defaults to UTC.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Explain IngestionPAST_DEV_EXPLAIN_INGESTIONAcción

Diagnose how far one send progressed, including per-item searchability, memory counts, failure details, and the recommended next step.

Parámetros de entrada

  • ingestion_idstringObligatoriouuid

    Ingestion ID returned by an ingest action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Trace RootsPAST_DEV_FIND_TRACE_ROOTSAcción

Find memory and source nodes for lineage or timeline inspection, returning independent memory and source cursors.

Parámetros de entrada

  • firstinteger

    Maximum entries per group (1-50).

  • searchstring

    Text, data point ID, or memory ID to find.

  • ingestion_idstringuuid

    Restrict both groups to nodes associated with this ingestion.

  • after_sourcesstring

    Sources end_cursor from the previous call, passed back unchanged.

  • after_memoriesstring

    Memories end_cursor from the previous call, passed back unchanged.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AudiencePAST_DEV_GET_AUDIENCEAcción

Read one fixed, rule, or default audience with its definition and current membership and memory counts.

Parámetros de entrada

  • slugstringObligatorio

    Audience slug, 2-40 lowercase letters, digits, or dashes, beginning and ending with a letter or digit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get IdentityPAST_DEV_GET_IDENTITYAcción

Return one identity's traits, origin, timestamps, and current audience memberships.

Parámetros de entrada

  • identitystringObligatorio

    Identity id to retrieve, from 1 to 200 characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ingestion StatusPAST_DEV_GET_INGESTION_STATUSAcción

Poll one ingestion for processing, completion, failure, and project readiness without consuming metered request quota.

Parámetros de entrada

  • ingestion_idstringObligatoriouuid

    Ingestion ID returned by an ingest action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API RequestPAST_DEV_GET_REQUESTAcción

Read one API call and its retained allowlisted headers and request/response payload; bearer credentials are never returned.

Parámetros de entrada

  • request_idstringObligatorio

    Request ID from LIST_REQUESTS or an X-Request-Id response header.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Request HistogramPAST_DEV_GET_REQUEST_HISTOGRAMAcción

Count accepted, failed-later, and rejected API calls in provider-selected time buckets using request-log filters.

Parámetros de entrada

  • searchstring

    Match a request ID, API key name, or data point ID.

  • to_timestringdate-time

    End of the request window; defaults to the current time.

  • statusesinteger[]

    Exact HTTP status codes to keep; each value is sent as status.

  • endpointsstring[]

    Routed endpoint paths to keep; each value is sent as endpoint.

  • from_timestringdate-time

    Start of the request window; defaults to 24 hours before to_time.

  • key_namesstring[]

    API key display names to keep; each value is sent as keyName.

  • status_classesstring[]

    HTTP status classes to keep; each value is sent as statusClass.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Trace LineagePAST_DEV_GET_TRACE_LINEAGEAcción

Read what a memory or source was built from and what was built on it, including graph edges and hidden-node count.

Parámetros de entrada

  • limitinteger

    Maximum nodes to return (1-400).

  • revealstring[]

    Repeatable node sides to open, each formatted as a UUID followed by :inputs or :outputs.

  • root_idstringObligatoriouuid

    Internal memory or source UUID to use as the lineage root.

  • reveal_allboolean

    Walk every side of every node up to limit when true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Trace NodePAST_DEV_GET_TRACE_NODEAcción

Read one memory or source node with revision, validity, replacement, request, content, and graph counts.

Parámetros de entrada

  • idstringObligatoriouuid

    Internal memory or source UUID from another trace response.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Trace TimelinePAST_DEV_GET_TRACE_TIMELINEAcción

Read rooted source and memory work, ingestions, recalls, and supersessions on a clock for a window of at most 31 days.

Parámetros de entrada

  • root_idstringObligatoriouuid

    Internal memory or source UUID to use as the timeline root.

  • to_timestringdate-time

    End of the timeline window.

  • from_timestringdate-time

    Start of the timeline window; omit to use the root's recent history.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UsagePAST_DEV_GET_USAGEAcción

Return the current UTC month's credit balance, metering state, and project ingestion, recall, and cap usage.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ingest MemoryPAST_DEV_INGEST_MEMORYAcción

Ingest one timestamped data point into durable memory, optionally associating it with an identity and audience; reusing an id replaces the prior revision when stored fields change.

Parámetros de entrada

  • labelstring

    Human-readable source label returned with recall evidence.

  • contentstringObligatorio

    Content to store as one memory data point.

  • audiencestring

    Audience slug allowed to recall this data point.

  • identitystring

    Identity id, at most 200 characters, associated with this data point.

  • metadataany

    Any JSON metadata to preserve and return with source evidence.

  • source_idstring

    Stable caller-owned id without '/'; reuse it to replace this data point's prior revision.

  • timestampstringdate-time

    When the content occurred; omit to use the provider's default time.

  • idempotency_keystring

    Stable key, at most 200 characters, for safely retrying the same ingest request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ingest Memory BatchPAST_DEV_INGEST_MEMORY_BATCHAcción

Atomically ingest 1 to 1,000 ordered memory data points in one request, avoiding fragile per-item agent loops.

Parámetros de entrada

  • itemsobject[]Obligatorio

    Ordered data points to ingest atomically (1-1,000). Each source ID may appear only once in the batch.

  • idempotency_keystring

    Stable key, at most 200 characters, for safely retrying this entire atomic batch.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AudiencesPAST_DEV_LIST_AUDIENCESAcción

List every audience in the connected project, including the default project audience and current membership and memory counts.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List IdentitiesPAST_DEV_LIST_IDENTITIESAcción

List project identities newest first, optionally filtering by one trait, and return a cursor for the next page.

Parámetros de entrada

  • limitinteger

    Maximum identities to return in this page (1-1000).

  • trait_keystring

    Trait key to filter by; use with trait_value to match a specific value.

  • next_cursorstring

    Opaque cursor returned as next_cursor by the previous page. Omit for the first page and pass it back unchanged to continue.

  • trait_valuestring

    Trait value to match for trait_key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API RequestsPAST_DEV_LIST_REQUESTSAcción

List the connected project's API calls newest first, with filters and a cursor for the next page.

Parámetros de entrada

  • firstinteger

    Maximum request rows to return in this page (1-100).

  • searchstring

    Match a request ID, API key name, or data point ID.

  • to_timestringdate-time

    End of the request window; defaults to the current time.

  • statusesinteger[]

    Exact HTTP status codes to keep; each value is sent as status.

  • endpointsstring[]

    Routed endpoint paths to keep; each value is sent as endpoint.

  • from_timestringdate-time

    Start of the request window; defaults to 24 hours before to_time.

  • key_namesstring[]

    API key display names to keep; each value is sent as keyName.

  • next_cursorstring

    Cursor returned as next_cursor by the previous page. Omit for the first page and pass it back unchanged to continue.

  • status_classesstring[]

    HTTP status classes to keep; each value is sent as statusClass.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recall MemoryPAST_DEV_RECALL_MEMORYAcción

Return ranked, source-backed memory visible to an identity for a query, with optional time range, sort order, and evidence budget controls.

Parámetros de entrada

  • sortstringenum

    Order results by relevance or occurrence time.

    relevancechronological
  • levelstringenum

    Preset evidence depth; do not combine with max_tokens.

    lowmediumhighextra-high
  • limitinteger

    Maximum ranked results to return from this bounded response (1-200).

  • querystringObligatorio

    Natural-language memory query, up to 1,000 characters.

  • identitystringObligatorio

    Identity id whose audience visibility controls the results, up to 200 characters.

  • max_tokensinteger

    Positive custom evidence-token budget; do not combine with level.

  • occurred_tostringdate-time

    Only consider evidence occurring at or before this time.

  • occurred_fromstringdate-time

    Only consider evidence occurring at or after this time.

  • query_timestampstringdate-time

    Time perspective from which to answer the query; omit to use the current time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recompute AudiencePAST_DEV_RECOMPUTE_AUDIENCEAcción

Recompute an audience's membership from its definition and apply the refreshed access set to recall immediately.

Parámetros de entrada

  • slugstringObligatorio

    Audience slug whose membership and recall access should be refreshed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or Replace AudiencePAST_DEV_REPLACE_AUDIENCEAcción

Create or completely replace a fixed-list or trait-rule audience and its access definition. The default project audience cannot be replaced.

Parámetros de entrada

  • kindstringObligatorioenum

    Definition kind: fixed identity list or trait rule.

    fixedrule
  • namestring

    Display name from 1 to 200 characters; defaults to the slug on create.

  • ruleobject

    Complete trait rule required for kind=rule.

  • slugstringObligatorio

    Non-default audience slug, 2-40 lowercase letters, digits, or dashes, beginning and ending with a letter or digit.

  • identitiesstring[]

    Complete identity list for kind=fixed. This field is required for fixed, but an empty list is valid and reaches nobody.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace IdentityPAST_DEV_REPLACE_IDENTITYAcción

Create an identity or replace its complete trait set; omitted or empty traits remove all existing traits.

Parámetros de entrada

  • traitsobject

    Complete replacement trait map. Omitted or empty removes every existing trait; unspecified traits are not preserved.

  • identitystringObligatorio

    Identity id to create or replace, at most 200 characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retry IngestionPAST_DEV_RETRY_INGESTIONAcción

Retry a stopped or failed ingestion under its existing id without spending additional credits; completed ingestions are rejected.

Parámetros de entrada

  • ingestion_idstringObligatoriouuid

    Stopped or failed ingestion id to queue again.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Identity TraitsPAST_DEV_UPDATE_IDENTITY_TRAITSAcción

Merge selected identity traits while preserving unspecified keys; set a trait value to null to remove that key.

Parámetros de entrada

  • traitsobjectObligatorio

    Trait changes to merge. Keys are 1 to 200 characters; string values are 1 to 2,000 characters; null removes a key. Past.dev requires this field even though its API reference marks it optional.

  • identitystringObligatorio

    Identity id whose traits should be updated, from 1 to 200 characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not