API key required. Sign up for an Ouro account and create an API key to get started.
/agent/recap
Create a recap post from the posts in a team
The ID of the team to create a recap for
The end date of the recap range
The start date of the recap range
The number of days to look back at for the recap
Whether to include comments in the context
const url = 'https://api.ouro.foundation/routes/hermes/agent/recap';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"team_id": "example_string",
"with_comments": false
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));