Past.dev
past_devPast.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 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ónAtomically create or replace complete trait sets for up to 1,000 identities; omitted traits replace the identity with no traits.
PAST_DEV_BULK_REPLACE_IDENTITIESAcciónAtomically 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[]ObligatorioIdentity replacements (1-1,000). If an identity repeats, its last row wins.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete AudiencePAST_DEV_DELETE_AUDIENCEAcciónDESTRUCTIVE ACCESS CHANGE: Permanently delete an audience. Its stored memory remains but becomes permanently unreachable. The default project audience cannot be deleted.
PAST_DEV_DELETE_AUDIENCEAcciónDESTRUCTIVE 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
slugstringObligatorioNon-default audience slug to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete IdentityPAST_DEV_DELETE_IDENTITYAcciónDESTRUCTIVE: Permanently delete an identity directory record and remove it from every audience. Stored memory associated with the identity remains and is not deleted.
PAST_DEV_DELETE_IDENTITYAcciónDESTRUCTIVE: 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
identitystringObligatorioIdentity id whose directory record and audience memberships will be permanently removed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Permanently Delete Ingestion MemoryPAST_DEV_DELETE_INGESTION_MEMORYAcciónDESTRUCTIVE: 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.
PAST_DEV_DELETE_INGESTION_MEMORYAcciónDESTRUCTIVE: 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_idstringObligatoriouuidIngestion UUID whose accepted data points and derived memory will be permanently deleted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Memory Data PointPAST_DEV_DELETE_MEMORY_DATA_POINTAcciónDESTRUCTIVE: 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.
PAST_DEV_DELETE_MEMORY_DATA_POINTAcciónDESTRUCTIVE: 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_idstringObligatorioCaller-owned source id of the data point and derived memory to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Memory Data PointsPAST_DEV_DELETE_MEMORY_DATA_POINTSAcciónDESTRUCTIVE: 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.
PAST_DEV_DELETE_MEMORY_DATA_POINTSAcciónDESTRUCTIVE: 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[]ObligatorioCaller-owned source IDs to delete atomically. Duplicates count once; if any ID does not exist, nothing is deleted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Estimate IngestionPAST_DEV_ESTIMATE_INGESTIONAcciónCut files into data points, plan batches, and estimate credits without storing data or spending credits.
PAST_DEV_ESTIMATE_INGESTIONAcciónCut 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.
pointsstringenumHow much detail to return for each estimated data point.
nonesummaryfulltime_zonestringIANA time-zone name for file times without an explicit zone; defaults to UTC.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Explain IngestionPAST_DEV_EXPLAIN_INGESTIONAcciónDiagnose how far one send progressed, including per-item searchability, memory counts, failure details, and the recommended next step.
PAST_DEV_EXPLAIN_INGESTIONAcciónDiagnose how far one send progressed, including per-item searchability, memory counts, failure details, and the recommended next step.
Parámetros de entrada
ingestion_idstringObligatoriouuidIngestion ID returned by an ingest action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Trace RootsPAST_DEV_FIND_TRACE_ROOTSAcciónFind memory and source nodes for lineage or timeline inspection, returning independent memory and source cursors.
PAST_DEV_FIND_TRACE_ROOTSAcciónFind memory and source nodes for lineage or timeline inspection, returning independent memory and source cursors.
Parámetros de entrada
firstintegerMaximum entries per group (1-50).
searchstringText, data point ID, or memory ID to find.
ingestion_idstringuuidRestrict both groups to nodes associated with this ingestion.
after_sourcesstringSources end_cursor from the previous call, passed back unchanged.
after_memoriesstringMemories end_cursor from the previous call, passed back unchanged.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AudiencePAST_DEV_GET_AUDIENCEAcciónRead one fixed, rule, or default audience with its definition and current membership and memory counts.
PAST_DEV_GET_AUDIENCEAcciónRead one fixed, rule, or default audience with its definition and current membership and memory counts.
Parámetros de entrada
slugstringObligatorioAudience slug, 2-40 lowercase letters, digits, or dashes, beginning and ending with a letter or digit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get IdentityPAST_DEV_GET_IDENTITYAcciónReturn one identity's traits, origin, timestamps, and current audience memberships.
PAST_DEV_GET_IDENTITYAcciónReturn one identity's traits, origin, timestamps, and current audience memberships.
Parámetros de entrada
identitystringObligatorioIdentity id to retrieve, from 1 to 200 characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ingestion StatusPAST_DEV_GET_INGESTION_STATUSAcciónPoll one ingestion for processing, completion, failure, and project readiness without consuming metered request quota.
PAST_DEV_GET_INGESTION_STATUSAcciónPoll one ingestion for processing, completion, failure, and project readiness without consuming metered request quota.
Parámetros de entrada
ingestion_idstringObligatoriouuidIngestion ID returned by an ingest action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API RequestPAST_DEV_GET_REQUESTAcciónRead one API call and its retained allowlisted headers and request/response payload; bearer credentials are never returned.
PAST_DEV_GET_REQUESTAcciónRead one API call and its retained allowlisted headers and request/response payload; bearer credentials are never returned.
Parámetros de entrada
request_idstringObligatorioRequest ID from LIST_REQUESTS or an X-Request-Id response header.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Request HistogramPAST_DEV_GET_REQUEST_HISTOGRAMAcciónCount accepted, failed-later, and rejected API calls in provider-selected time buckets using request-log filters.
PAST_DEV_GET_REQUEST_HISTOGRAMAcciónCount accepted, failed-later, and rejected API calls in provider-selected time buckets using request-log filters.
Parámetros de entrada
searchstringMatch a request ID, API key name, or data point ID.
to_timestringdate-timeEnd 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-timeStart 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Trace LineagePAST_DEV_GET_TRACE_LINEAGEAcciónRead what a memory or source was built from and what was built on it, including graph edges and hidden-node count.
PAST_DEV_GET_TRACE_LINEAGEAcciónRead 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
limitintegerMaximum nodes to return (1-400).
revealstring[]Repeatable node sides to open, each formatted as a UUID followed by :inputs or :outputs.
root_idstringObligatoriouuidInternal memory or source UUID to use as the lineage root.
reveal_allbooleanWalk every side of every node up to limit when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Trace NodePAST_DEV_GET_TRACE_NODEAcciónRead one memory or source node with revision, validity, replacement, request, content, and graph counts.
PAST_DEV_GET_TRACE_NODEAcciónRead one memory or source node with revision, validity, replacement, request, content, and graph counts.
Parámetros de entrada
idstringObligatoriouuidInternal memory or source UUID from another trace response.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Trace TimelinePAST_DEV_GET_TRACE_TIMELINEAcciónRead rooted source and memory work, ingestions, recalls, and supersessions on a clock for a window of at most 31 days.
PAST_DEV_GET_TRACE_TIMELINEAcciónRead 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_idstringObligatoriouuidInternal memory or source UUID to use as the timeline root.
to_timestringdate-timeEnd of the timeline window.
from_timestringdate-timeStart of the timeline window; omit to use the root's recent history.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UsagePAST_DEV_GET_USAGEAcciónReturn the current UTC month's credit balance, metering state, and project ingestion, recall, and cap usage.
PAST_DEV_GET_USAGEAcciónReturn 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest MemoryPAST_DEV_INGEST_MEMORYAcciónIngest 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.
PAST_DEV_INGEST_MEMORYAcciónIngest 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
labelstringHuman-readable source label returned with recall evidence.
contentstringObligatorioContent to store as one memory data point.
audiencestringAudience slug allowed to recall this data point.
identitystringIdentity id, at most 200 characters, associated with this data point.
metadataanyAny JSON metadata to preserve and return with source evidence.
source_idstringStable caller-owned id without '/'; reuse it to replace this data point's prior revision.
timestampstringdate-timeWhen the content occurred; omit to use the provider's default time.
idempotency_keystringStable key, at most 200 characters, for safely retrying the same ingest request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest Memory BatchPAST_DEV_INGEST_MEMORY_BATCHAcciónAtomically ingest 1 to 1,000 ordered memory data points in one request, avoiding fragile per-item agent loops.
PAST_DEV_INGEST_MEMORY_BATCHAcciónAtomically ingest 1 to 1,000 ordered memory data points in one request, avoiding fragile per-item agent loops.
Parámetros de entrada
itemsobject[]ObligatorioOrdered data points to ingest atomically (1-1,000). Each source ID may appear only once in the batch.
idempotency_keystringStable key, at most 200 characters, for safely retrying this entire atomic batch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AudiencesPAST_DEV_LIST_AUDIENCESAcciónList every audience in the connected project, including the default project audience and current membership and memory counts.
PAST_DEV_LIST_AUDIENCESAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List IdentitiesPAST_DEV_LIST_IDENTITIESAcciónList project identities newest first, optionally filtering by one trait, and return a cursor for the next page.
PAST_DEV_LIST_IDENTITIESAcciónList project identities newest first, optionally filtering by one trait, and return a cursor for the next page.
Parámetros de entrada
limitintegerMaximum identities to return in this page (1-1000).
trait_keystringTrait key to filter by; use with trait_value to match a specific value.
next_cursorstringOpaque cursor returned as next_cursor by the previous page. Omit for the first page and pass it back unchanged to continue.
trait_valuestringTrait value to match for trait_key.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List API RequestsPAST_DEV_LIST_REQUESTSAcciónList the connected project's API calls newest first, with filters and a cursor for the next page.
PAST_DEV_LIST_REQUESTSAcciónList the connected project's API calls newest first, with filters and a cursor for the next page.
Parámetros de entrada
firstintegerMaximum request rows to return in this page (1-100).
searchstringMatch a request ID, API key name, or data point ID.
to_timestringdate-timeEnd 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-timeStart 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_cursorstringCursor 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Recall MemoryPAST_DEV_RECALL_MEMORYAcciónReturn ranked, source-backed memory visible to an identity for a query, with optional time range, sort order, and evidence budget controls.
PAST_DEV_RECALL_MEMORYAcciónReturn 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
sortstringenumOrder results by relevance or occurrence time.
relevancechronologicallevelstringenumPreset evidence depth; do not combine with max_tokens.
lowmediumhighextra-highlimitintegerMaximum ranked results to return from this bounded response (1-200).
querystringObligatorioNatural-language memory query, up to 1,000 characters.
identitystringObligatorioIdentity id whose audience visibility controls the results, up to 200 characters.
max_tokensintegerPositive custom evidence-token budget; do not combine with level.
occurred_tostringdate-timeOnly consider evidence occurring at or before this time.
occurred_fromstringdate-timeOnly consider evidence occurring at or after this time.
query_timestampstringdate-timeTime perspective from which to answer the query; omit to use the current time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Recompute AudiencePAST_DEV_RECOMPUTE_AUDIENCEAcciónRecompute an audience's membership from its definition and apply the refreshed access set to recall immediately.
PAST_DEV_RECOMPUTE_AUDIENCEAcciónRecompute an audience's membership from its definition and apply the refreshed access set to recall immediately.
Parámetros de entrada
slugstringObligatorioAudience slug whose membership and recall access should be refreshed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or Replace AudiencePAST_DEV_REPLACE_AUDIENCEAcciónCreate or completely replace a fixed-list or trait-rule audience and its access definition. The default project audience cannot be replaced.
PAST_DEV_REPLACE_AUDIENCEAcciónCreate 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
kindstringObligatorioenumDefinition kind: fixed identity list or trait rule.
fixedrulenamestringDisplay name from 1 to 200 characters; defaults to the slug on create.
ruleobjectComplete trait rule required for kind=rule.
slugstringObligatorioNon-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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Replace IdentityPAST_DEV_REPLACE_IDENTITYAcciónCreate an identity or replace its complete trait set; omitted or empty traits remove all existing traits.
PAST_DEV_REPLACE_IDENTITYAcciónCreate an identity or replace its complete trait set; omitted or empty traits remove all existing traits.
Parámetros de entrada
traitsobjectComplete replacement trait map. Omitted or empty removes every existing trait; unspecified traits are not preserved.
identitystringObligatorioIdentity id to create or replace, at most 200 characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retry IngestionPAST_DEV_RETRY_INGESTIONAcciónRetry a stopped or failed ingestion under its existing id without spending additional credits; completed ingestions are rejected.
PAST_DEV_RETRY_INGESTIONAcciónRetry a stopped or failed ingestion under its existing id without spending additional credits; completed ingestions are rejected.
Parámetros de entrada
ingestion_idstringObligatoriouuidStopped or failed ingestion id to queue again.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Identity TraitsPAST_DEV_UPDATE_IDENTITY_TRAITSAcciónMerge selected identity traits while preserving unspecified keys; set a trait value to null to remove that key.
PAST_DEV_UPDATE_IDENTITY_TRAITSAcciónMerge selected identity traits while preserving unspecified keys; set a trait value to null to remove that key.
Parámetros de entrada
traitsobjectObligatorioTrait 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.
identitystringObligatorioIdentity id whose traits should be updated, from 1 to 200 characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not