4mo

API key required. Sign up for an Ouro account and create an API key to get started.

  • POST /recap

    Create a recap post from the posts in a team

    Request body

    team_id

    stringRequired

    The ID of the team to create a recap for

    end_date

    The end date of the recap range

    start_date

    The start date of the recap range

    lookback_days

    The number of days to look back at for the recap

    with_comments

    booleanDefaults to false

    Whether to include comments in the context

    const url = 'https://api.ouro.foundation/routes/hermes/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));