---
raw: true
search:
  tags:
    - Activity
    - GET
seo:
  description: >-
    Returns one asynchronous operation's status, progress, and outcome.…
    Reference for the GET /v1/operations/{operationId} endpoint in the Spacefast
    Partner API.
sidebar:
  label: Get an operation
  badge: GET
title: Get an operation
type: openapi-operation
---
Returns one asynchronous operation's status, progress, and outcome. Poll this endpoint after a mutation that returns an operation handle.

`GET /v1/operations/{operationId}`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "id": "string",
    "kind": "string",
    "status": "queued",
    "resources": [
      {
        "type": "string",
        "id": "string"
      }
    ],
    "progress": {
      "total": 0,
      "completed": 0,
      "failed": 0
    },
    "diagnostics": [
      {
        "code": "string",
        "severity": "info",
        "message": "string",
        "path": "string",
        "provider": "infra",
        "details": {
          "property1": null,
          "property2": null
        },
        "fix": "string",
        "retryable": true
      }
    ],
    "createdAt": "2019-08-24T14:15:22Z",
    "finishedAt": "2019-08-24T14:15:22Z"
  }
}
```
