← planning API
BenchmarkCohortSnapshots
Singular: BenchmarkCohortSnapshot — Base URL: https://planning-api.ayoune.app — Access: read-only
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /benchmarkcohortsnapshots |
List with filters/pagination | planning.benchmarkcohortsnapshots.view |
| GET | /benchmarkcohortsnapshots/:id |
Single record by ID | planning.benchmarkcohortsnapshots.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.planning.benchmarkCohortSnapshots.find().limit(10).exec();
// Single record
const one = await ay.planning.benchmarkCohortSnapshots.findById('OBJECT_ID').exec();