pydo.droplet_actions.get()
Generated on 7 Nov 2025
from pydo version
v0.19.0
Description
To retrieve a Droplet action, send a GET request to
/v2/droplets/$DROPLET_ID/actions/$ACTION_ID.
The response will be a JSON object with a key called action. The value will
be a Droplet action object.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
droplet_id |
integer | True | A unique identifier for a Droplet instance. | |
action_id |
integer | True | A unique numeric ID that can be used to identify and reference an action. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.droplet_actions.get(droplet_id=3934132, action_id=2432342)More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.