GET
/
v1
/
activities
/
{activity_id}
curl --request GET \
  --url https://api.prime.coinbase.com/v1/activities/{activity_id}
{
  "activity": {
    "id": "<string>",
    "reference_id": "<string>",
    "category": "OTHER_ACTIVITY_CATEGORY",
    "type": "OTHER_ACTIVITY_TYPE",
    "secondary_type": "NO_SECONDARY_TYPE",
    "status": "OTHER_ACTIVITY_STATUS",
    "created_by": "<string>",
    "title": "<string>",
    "description": "<string>",
    "user_actions": [
      {
        "action": "OTHER_ACTION",
        "user_id": "<string>",
        "timestamp": "<string>"
      }
    ],
    "transactions_metadata": {
      "consensus": {
        "approval_deadline": "<string>",
        "has_passed_consensus": true
      }
    },
    "account_metadata": {
      "consensus": {
        "approval_deadline": "<string>",
        "has_passed_consensus": true
      }
    },
    "orders_metadata": {},
    "symbols": [
      "<string>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>",
    "hierarchy_type": "HIERARCHY_TYPE_UNSPECIFIED"
  }
}

Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples

ActivitiesService activitiesService =
PrimeServiceFactory.createActivitiesService(client);
GetActivityByActivityIdRequest request = new
GetActivityByActivityIdRequest("portfolio_id", "activity_id");
GetActivityByActivityIdResponse response =
activitiesService.getActivityByActivityId(request);

For more information, please visit the Prime Java SDK.

Path Parameters

activity_id
string
required

Id of the activity to retrieve

Response

200
application/json

A successful response.

The response is of type object.