GET
/
v1
/
decisions
/
linked-records
Get linked records of document
curl --request GET \
  --url https://staging.api.us.aptlydone.com/decision/v1/decisions/linked-records \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T10:47:33.140Z",
  "message": "Success",
  "data": {
    "page": 1,
    "limit": 10,
    "total": 100,
    "data": [
      {
        "id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
        "recordId": "7df90da4-0634-40b9-abf5-6e97a222fc20",
        "documentId": "7df90da4-0634-40b9-abf5-6e97a222fr45",
        "type": "Decision/Delegation",
        "name": "John Doe",
        "status": "PUBLISHED",
        "updatedAt": "2025-03-05T11:49:50.577Z",
        "category": "Category A",
        "section": "Section A"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number

Page number

Required range: x >= 1
Example:

1

limit
number

Number of items per page

Required range: 1 <= x <= 100
Example:

10

documentId
string
required

Document ID

Example:

"105fa115-52d0-4466-baff-740447a60795"

type
enum<string>
required

Type

Available options:
All,
Decision,
Delegation
sortBy
enum<string>

Criteria for sorting linked Records

Available options:
type,
name,
status,
category,
section,
updatedAt
sortOrder
enum<string>

Criteria for order linked Records

Available options:
asc,
desc
status
enum<string>[]

Comma separated Status values of linked records

section
string[]

Comma separated Section IDs

Example:

null

category
string[]

Comma separated Category IDs

Example:

null

Response

200 - application/json

Linked records retrieved successfully

The response is of type object.