---
title: "get the last requested operation state for service instance"
method: GET
path: "/v2/service_instances/{instance_id}/last_operation"
tags: ["ServiceInstances"]
---

# get the last requested operation state for service instance

`GET /v2/service_instances/{instance_id}/last_operation`

## Path parameters

- `instance_id` string, required

## Query parameters

- `service_id` string
- `plan_id` string
- `operation` string

## Headers

- `X-Broker-API-Version` string, required

## Response `200`

OK

- LastOperationResource
  - `state` 'in progress' | 'succeeded' | 'failed', required
  - `description` string
  - `instance_usable` boolean
  - `update_repeatable` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `410` — Gone

## Changes

- **2020-04-28** `25dd370ccbb1` — 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
- **2020-04-16** `7310802d3265` — 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2020-03-06** `289e8e70ba50` — 1 info
  - added the non-success response with the status `401`
- **2020-03-06** `f4c33940ba7c` — 1 info
  - added the non-success response with the status `404`
- **2019-07-23** `f5fcf232eed3` — 6 info
  - added the optional property `instance_usable` to the response with the `200` status
  - added the optional property `instance_usable` to the response with the `400` status
  - added the optional property `instance_usable` to the response with the `410` status
  - added the optional property `update_repeatable` to the response with the `200` status
  - …2 more

[Full history](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api/changes/v2/service_instances/:instance_id/last_operation/get.md)

---

[API](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api.md) · [All operations](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudfoundry/open-service-broker-api/revisions/8e8ca70f8e59/schema)
