Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Actions

Get action

Allows retrieval of a single action. Useful for checking status of an action.

GET
/v2/workspace/actions/{action_id}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

action_idRequiredstring
Format: "uuid"
curl -X GET "https://app.luxor.tech/api/v2/workspace/actions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "authorization: <token>"

Default Response

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "actionName": "INVITE_MEMBER",
  "status": "PENDING",
  "initiatedAt": "2019-08-24T14:15:22Z",
  "initiatedBy": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "displayName": "string",
    "type": "API_KEY"
  },
  "requiresApproval": true,
  "canceledBy": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "displayName": "string",
    "type": "API_KEY"
  },
  "approvedAt": "2019-08-24T14:15:22Z",
  "rejectedAt": "2019-08-24T14:15:22Z",
  "approvedBy": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "displayName": "string",
      "type": "API_KEY"
    }
  ],
  "rejectedBy": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "displayName": "string",
      "type": "API_KEY"
    }
  ],
  "url": "/v2/workspace/actions/2976f92e-541c-48ad-81d8-6dd5be77c83a",
  "metadata": null
}