# Docs - [Overview](/): Read and manage your training data and your athletes' data. - [Workout structure](/structure): How to describe the steps of a workout, and what Vekta does with them. - [Webhooks](/webhooks): Get a request as soon as your data or your athletes' data changes in Vekta. - Users: You (`me`) and the athletes you coach. - [List your athletes](/users/listUsers): Everyone who is an athlete in a workspace where you're a coach or admin. - [Get a user's profile](/users/getProfile): Your profile, or one of your athletes'. - Activities: Activities of you and your athletes: summaries, recorded data and best efforts. Create them from a summary or a FIT file, update and delete them. - [List a user's activities](/activities/listActivities): The user's activities, with their laps, climbs, pool lengths and comments. - [Create an activity](/activities/createActivity): Adds an activity without recorded data, from its summary. To add one with its recorded data, upload its FIT file instead. - [Get an activity](/activities/getActivity): An activity, with its laps, climbs, pool lengths and comments. - [Update an activity](/activities/updateActivity): Changes an activity: fields you don't send stay the same, `null` removes a value. - [Delete an activity](/activities/deleteActivity): Deletes the activity, with its recorded data, laps, comments and best efforts. - [Get an activity's streams](/activities/getStreams): Everything the activity recorded over time, as one list per field. - [Get an activity's best efforts](/activities/getBestEfforts): The activity's best efforts: best average power and heart rate for each duration, and fastest time for each distance. - [Upload a FIT file](/activities/uploadFitFile): Adds the activities of a FIT file, sent as `multipart/form-data` in the `file` field. - Activity comments: Comments on your and your athletes' activities. They're also in the `comments` of the activities. - [Comment an activity](/activity-comments/createActivityComment): Adds a comment to the activity, under your name. - [Get a comment](/activity-comments/getActivityComment): A comment, with the activity it comments. - [Edit a comment](/activity-comments/updateActivityComment): Replaces the content of a comment you wrote. - [Delete a comment](/activity-comments/deleteActivityComment): Deletes a comment you wrote. - Training collections: Your library of workout templates. Prescribe one to put it on an athlete's calendar. - [List your training collections](/training-collections/listTrainingCollections): The workout templates in your library. - [Create a training collection](/training-collections/createTrainingCollection): Adds a workout template to your library. No subscription needed. - [Update a training collection](/training-collections/updateTrainingCollection): Changes one of your training collections. Fields you don't send stay the same. Prescriptions already made from it don't change. - [Delete a training collection](/training-collections/deleteTrainingCollection): Removes the collection from your library. Prescriptions already made from it don't change. - Training prescriptions: Workouts planned for you and your athletes. - [List a user's training prescriptions](/training-prescriptions/listTrainingPrescriptions): The user's planned workouts, most recent first. - [Prescribe a workout](/training-prescriptions/createTrainingPrescription): Plans a workout for the user on a given date, from scratch or from one of your training collections. - [Get a training prescription](/training-prescriptions/getTrainingPrescription): A planned workout. - [Update a training prescription](/training-prescriptions/updateTrainingPrescription): Changes a prescription. Fields you don't send stay the same. - [Delete a training prescription](/training-prescriptions/deleteTrainingPrescription): Deletes the prescription and removes the workout from the user's devices. - Notes: Notes on your and your athletes' calendars, written by the athlete or their coaches. - [List a user's notes](/notes/listNotes): The user's notes, most recent first. - [Create a note](/notes/createNote): Adds a note to the user's calendar, under your name. - [Get a note](/notes/getNote): A note. - [Update a note](/notes/updateNote): Changes a note. Fields you don't send stay the same. - [Delete a note](/notes/deleteNote): Deletes the note. - Events: Events and races planned for you and your athletes. - [List a user's events](/events/listEvents): The user's planned events and races, most recent first. - [Create an event](/events/createEvent): Adds an event or race to the user's calendar. - [Get an event](/events/getEvent): A planned event or race. - [Update an event](/events/updateEvent): Changes an event. Fields you don't send stay the same. The same sport rules as on creation apply. - [Delete an event](/events/deleteEvent): Deletes the event. - Metrics: Your and your athletes' body and performance metrics. - [List a user's metrics](/metrics/listMetrics): All of the user's body and performance metrics over time, ordered by date. - [Get a metric](/metrics/getMetric): A body or performance metric. - Sleeps: Sleep recorded by your and your athletes' connected devices. - [List a user's sleeps](/sleeps/listSleeps): The user's nights of sleep, most recent first. - [Get a sleep](/sleeps/getSleep): A night of sleep. - Wellness: Daily wellness check-ins (soreness, stress, sleep, fatigue) from you and your athletes. - [List a user's wellness answers](/wellness/listWellnessAnswers): The user's answers to the wellness check-in questions, most recent first. - [Get a wellness answer](/wellness/getWellnessAnswer): An answer to a wellness check-in question. - Workspaces: Manage the workspaces where you're an admin or coach. - [Invite someone to a workspace](/workspaces/createInvitation): Invites someone by email to join the workspace as an athlete or coach. - Webhook endpoints: Get a request when your or your athletes' data changes, instead of polling. Manage your webhook endpoints with your API key; apps manage theirs with an access token of the app itself, from the `client_credentials` grant with the `webhooks:manage` scope, and receive the events of the users who connected them, for the scopes they granted. See [Webhooks](https://docs.joinvekta.com/webhooks) for the events, the verification of an endpoint, and the code checking that a request comes from Vekta. - [List your webhook endpoints](/webhook-endpoints/listWebhookEndpoints): Your webhook endpoints, or your app's with an app token, newest first. - [Create a webhook endpoint](/webhook-endpoints/createWebhookEndpoint): Registers a URL for the events you choose, with its own key pair: Vekta signs the requests with the private key, and your endpoint verifies them with `publicKey`. - [Delete a webhook endpoint](/webhook-endpoints/deleteWebhookEndpoint): Stops sending events to the URL, deliveries being retried included. - [Verify a webhook endpoint](/webhook-endpoints/verifyWebhookEndpoint): Checks that the endpoint wants Vekta's events and was set up with its public key, then activates it: after its creation, or to resume it once disabled. Events that happened while it wasn't active aren't sent. On an active endpoint, a successful verification counts as a successful delivery: it restarts the 5 days after which a failing endpoint is disabled. - [List an endpoint's deliveries](/webhook-endpoints/listWebhookDeliveries): The events sent to the endpoint over the last 7 days, newest first, with why their last attempt failed, if it did.