Skip to main content
POST
/
v2
/
projects
/
episode_count
/
get
Get Episode Count
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specification model for retrieving a project.

The project_id uniquely identifies the project to retrieve.

project_id
string
default:""

The identifier of the project. If empty, the user's default project is used.

Pattern: ^[\p{L}\p{N}_:-]*$

Response

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.

count
integer
required

The total number of episodic memories in the project.

Required range: x >= 0