> ## Documentation Index
> Fetch the complete documentation index at: https://kraken-sandbox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get activity by id

> Retrieve details for a specific task activity.



## OpenAPI

````yaml /openapi/custody-rest.yaml post /0/private/GetCustodyActivity
openapi: 3.0.0
info:
  title: REST API
  version: 1.1.0
  description: ''
servers:
  - url: https://api.kraken.com
    description: Production Server
security:
  - API-Key: []
    API-Sign: []
tags:
  - name: Portfolios
  - name: Transfers
  - name: Tasks
paths:
  /0/private/GetCustodyActivity:
    post:
      tags:
        - Tasks
      summary: Get activity by id
      description: Retrieve details for a specific task activity.
      operationId: getCustodyActivity
      parameters:
        - in: query
          name: id
          required: true
          deprecated: false
          schema:
            description: Activity ID
            type: string
            pattern: ^A[A-Z2-7]{12}[ACEGIKMOQSUWY246]$
            minLength: 14
            maxLength: 14
          style: form
          allowEmptyValue: false
          description: Activity ID
      requestBody:
        $ref: '#/components/requestBodies/getCustodyActivity'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getCustodyActivity'
          description: ''
components:
  requestBodies:
    getCustodyActivity:
      content:
        application/json:
          schema:
            type: object
            properties:
              nonce:
                $ref: '#/components/schemas/nonce'
            required:
              - nonce
  schemas:
    getCustodyActivity:
      type: object
      description: See Kraken API documentation for full schema.
      additionalProperties: true
    nonce:
      description: Nonce used in construction of `API-Sign` header
      type: integer
      format: int64
  securitySchemes:
    API-Key:
      type: apiKey
      description: The "API-Key" header should contain your API key.
      name: API-Key
      in: header
    API-Sign:
      type: apiKey
      description: >-
        Authenticated requests should be signed with the "API-Sign" header,
        using a signature generated with your private key, nonce, encoded
        payload, and URI path.
      name: API-Sign
      in: header

````