<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INEndWorkoutIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INEndWorkoutIntent"
  },
  "title" : "INEndWorkoutIntent"
}
-->

# INEndWorkoutIntent

A request to end the current workout that also validates workout parameters and saves the results.

```
class INEndWorkoutIntent
```

## Overview

SiriKit creates an [`INEndWorkoutIntent`](/documentation/Intents/INEndWorkoutIntent) object when the user asks to finish an in-progress workout. Finishing a workout stops it and records any progress made toward the workout’s goals. Use this intent object to validate the workout parameters.

To handle this intent, the handler object in your Intents extension must adopt the [`INEndWorkoutIntentHandling`](/documentation/Intents/INEndWorkoutIntentHandling) protocol. Your handler should confirm the request and create an [`INEndWorkoutIntentResponse`](/documentation/Intents/INEndWorkoutIntentResponse) object that indicates it’s possible to end the workout. For the successful handling of the intent, SiriKit launches your app and passes it an <doc://com.apple.documentation/documentation/Foundation/NSUserActivity> object your app must then use to end the workout.

### Additional Intent Attributes

The following table lists additional attributes of this intent object:

|Attribute                      |Description                   |
|-------------------------------|------------------------------|
|Supported by                   |Siri Intents, Siri Suggestions|
|Always requires unlocked device|Yes                           |

## Topics

### Creating the Intent Object

[`init(workoutName:)`](/documentation/Intents/INEndWorkoutIntent/init(workoutName:))

Initializes an intent object with the specified workout name.

### Specifying Workout Details

[`workoutName`](/documentation/Intents/INEndWorkoutIntent/workoutName)

The name of the workout.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)