curl --request POST \
--url https://api.memmachine.ai/v2/projects/episode_count/get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": ""
}
'{
"count": 1
}Retrieve the episode count for a project.
An episode is the minimal unit of memory stored in the MemMachine system. In most cases, a single episode corresponds to one message or interaction from a user. Episodes are appended as the project accumulates conversational or operational data.
This endpoint returns the total number of episodes currently recorded for the specified project. If the project does not exist, a not-found error is returned.
curl --request POST \
--url https://api.memmachine.ai/v2/projects/episode_count/get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": ""
}
'{
"count": 1
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Specification model for retrieving a project.
The project_id uniquely identifies the project to retrieve.
The identifier of the project. If empty, the user's default project is used.
^[\p{L}\p{N}_:-]*$Successful Response
Response model representing the number of episodes associated with a project.
This model is typically returned by analytics or monitoring endpoints that track usage activity (e.g., number of computation episodes, workflow runs, or operational cycles).
The count reflects the current recorded total at the time of the request.
The total number of episodic memories in the project.
x >= 0