# Get Digests by ID

## Get a digests by id

> This method returns the digests that matches the entered ID.

```json
{"openapi":"3.0.2","info":{"title":"Vault API","version":"80fbdca"},"tags":[],"security":[{"Ledger_API_Key":[],"Ledger_API_User":[]},{"Ledger_API_Key":[],"Ledger_API_User":[],"Ledger_Store_Auth_Token":[]},{"Ledger_API_User":[]},{"Ledger_API_User":[],"Ledger_Store_Auth_Token":[]}],"components":{"securitySchemes":{"Ledger_API_Key":{"description":"If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, [see step 5 of the get started documentation](https://help.vault.ledger.com/Content/api/api_getstarted.html).","in":"header","name":"X-Ledger-API-Key","type":"apiKey"},"Ledger_API_User":{"description":"(**required**) Username of a registered API User","in":"header","name":"X-Ledger-API-User","type":"apiKey"}},"schemas":{"Digests":{"additionalProperties":false,"properties":{"account_id":{"type":"integer"},"created_by":{"type":"integer"},"created_on":{"format":"date-time","type":"string"},"digests_data":{"description":"The digests list signed, or to sign","oneOf":[{"items":{"$ref":"#/components/schemas/SignedDigest"},"type":"array"},{"items":{"$ref":"#/components/schemas/ToSignDigest"},"type":"array"}]},"id":{"type":"integer"},"last_request":{"default":null,"nullable":true,"type":"integer"},"notes":{"description":"Notes attached to this message","items":{"$ref":"#/components/schemas/TransactionOrMessageNote"},"type":"array"},"status":{"enum":["ABORTED","APPROVED","PENDING_APPROVAL","PENDING_CREATE_IN_HSM","SIGNED"],"type":"string"}},"required":["account_id","created_by","created_on","digests_data","id","notes","status"],"type":"object"},"SignedDigest":{"properties":{"derivation_path":{"description":"The full derivation path to sign the digests","type":"string"},"digest":{"description":"A HexString digests. For currencies that use secp256K1, string must be 32 bytes long","type":"string"},"pub_key":{"description":"The public key used to sign the digests","type":"string"},"signature":{"allOf":[{"$ref":"#/components/schemas/DigestSignature"}],"description":"The signature of the digests"}},"required":["derivation_path","digest","pub_key","signature"],"type":"object"},"DigestSignature":{"properties":{"der":{"default":null,"description":"The der value of the signature","nullable":true,"type":"string"},"r":{"description":"The r value of the signature","type":"string"},"s":{"description":"The s value of the signature","type":"string"},"v":{"default":null,"description":"The v value of the signature","nullable":true,"type":"integer"}},"required":["r","s"],"type":"object"},"ToSignDigest":{"properties":{"derivation_path":{"description":"The full derivation path to sign the digests","type":"string"},"digest":{"description":"A HexString digests. For currencies that use secp256K1, string must be 32 bytes long","type":"string"}},"required":["derivation_path","digest"],"type":"object"},"TransactionOrMessageNote":{"properties":{"content":{"type":"string"},"title":{"type":"string"}},"required":["content","title"],"type":"object"},"Error":{"properties":{"message":{"type":"string"},"name":{"type":"string"},"status_code":{"type":"integer"}},"required":["message","name","status_code"],"type":"object"}}},"paths":{"/digests/{digests_id}":{"get":{"summary":"Get a digests by id","tags":["Digests"],"description":"This method returns the digests that matches the entered ID.","parameters":[{"name":"digests_id","in":"path","description":"The digests' ID.","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Digests"}}},"description":"Digests object"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Digests not found"}}}}}}
```
