Skip to main content
POST
/
0
/
private
/
ListCustodyActivities
List activities
curl --request POST \
  --url https://api.kraken.com/0/private/ListCustodyActivities \
  --header 'API-Key: <api-key>' \
  --header 'API-Sign: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nonce": 123,
  "filters": {
    "and": []
  },
  "pagination": {
    "limit": 100,
    "offset": 0
  },
  "orderings": [
    {
      "by": "activity_created_at",
      "direction": "desc"
    }
  ]
}
'
{
  "errors": [
    {
      "severity": "E",
      "errorClass": "<string>",
      "type": "<string>",
      "errorMessage": "<string>"
    }
  ],
  "start": 1,
  "total": 1,
  "result": [
    {
      "task": {
        "id": "TDO2CDW6GMSZHC",
        "approval_id": "550e8400-e29b-41d4-a716-446655440000",
        "type": "update_vault",
        "state": "pending",
        "vault_info": {
          "id": "VW44KPQC4C62K6",
          "name": "My Vault",
          "status": "created"
        },
        "payload": {
          "name": "Example Vault name",
          "description": "Example vault description"
        },
        "created_at": "1710877421",
        "updated_at": "1710877421",
        "expires_at": "1710877421",
        "initiator": {
          "full_name": "John Doe",
          "role": "initiator",
          "ip_address": "127.0.0.1",
          "iiban": "AA88 N84G AET3 RAOA"
        }
      },
      "id": "AW44KPQC4C62K6",
      "created_at": "1710877421",
      "type": "created",
      "comment": "My comment",
      "user": {
        "full_name": "John Doe",
        "role": "initiator",
        "ip_address": "127.0.0.1",
        "iiban": "AA88 N84G AET3 RAOA"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

API-Key
string
header
required

The "API-Key" header should contain your API key.

API-Sign
string
header
required

Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.

Body

application/json
nonce
integer<int64>
required

Nonce used in construction of API-Sign header

filters
and · object

Specify a subset of filter items. All filter objects are AND combined. Inside a filter object all properties are OR combined.

Example:
{ "and": [] }
pagination
object

Define which items will get returned

orderings
object[]

Specify how to order the returned items. If a column in the orderings list contains null values, these are always sorted to the end.

Example:
[
{
"by": "activity_created_at",
"direction": "desc"
}
]

Response

200 - application/json
errors
object[]
required
start
integer<uint64>
required
Required range: x >= 0
total
integer<uint64>
required
Required range: x >= 0
result
(created · object | review_approved · object | review_denied · object | canceled · object | executed · object | failed · object | expired · object)[] | null

An activity represents an event on a task.

Example:
[
{
"task": {
"id": "TDO2CDW6GMSZHC",
"approval_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "update_vault",
"state": "pending",
"vault_info": {
"id": "VW44KPQC4C62K6",
"name": "My Vault",
"status": "created"
},
"payload": {
"name": "Example Vault name",
"description": "Example vault description"
},
"created_at": "1710877421",
"updated_at": "1710877421",
"expires_at": "1710877421",
"initiator": {
"full_name": "John Doe",
"role": "initiator",
"ip_address": "127.0.0.1",
"iiban": "AA88 N84G AET3 RAOA"
}
},
"id": "AW44KPQC4C62K6",
"created_at": "1710877421",
"type": "created",
"comment": "My comment",
"user": {
"full_name": "John Doe",
"role": "initiator",
"ip_address": "127.0.0.1",
"iiban": "AA88 N84G AET3 RAOA"
}
}
]