Dynamic Lookup Table API (Attribute Library)

This guide explains how to create and update Attribute Library (lookup table) values using the Nected Dev API. Use it for bulk updates, automation, and syncing lookup values from external systems.

You can try the APIs from the Postman collectionarrow-up-right.

If you want to work with Dynamic Lookup table from the UI, please follow this doc: Dynamic Lookup table.


Why Use the API?

Use the API when you need:

  • Bulk updates (large value lists in one or a few calls)

  • Automated sync from your systems of record

  • CI/CD / environment promotion of lookup values

  • Programmatic governance with controlled access and auditability


Prerequisites

Headers

Nected-API-Key: <YOUR_API_KEY>
Content-Type: application/json

Optional (when using branches):

Nected-Branch: <branchName>

Base URL

Use your Nected API base URL (e.g., https://api.nected.ai). All endpoints below use the /dev/v1/ prefix.

Entity type for Attribute Library

Use the entity type that represents Attribute Library in the API (e.g., attribute-library). Replace {entity-type} below with this value.


API Endpoints Overview

Method
Endpoint
Description

GET

/dev/v1/{entity-type}

List all attribute library groups (paginated).

POST

/dev/v1/{entity-type}

Create a new attribute library group (and optionally attributes).

GET

/dev/v1/{entity-type}/{entity-id}

Get one attribute library group and its attributes.

PATCH

/dev/v1/{entity-type}/{entity-id}

Update a group (name, attributes, predefined values).

POST

/dev/v1/{entity-type}/{entity-id}/publish

Publish the entity (make the current draft active).

POST

/dev/v1/{entity-type}/{entity-id}/schedule

Create or update a schedule (if supported).

POST

/dev/v1/{entity-type}/{entity-id}/test

Validate configuration without publishing.

GET

/dev/v1/{entity-type}/{entity-id}/version

List all published versions.

For exact schemas and supported fields, refer to your environment’s API reference.


1. List Attribute Library Groups

Request

Query parameters (typical)

Param
Type
Default
Description

pageNo

integer

1

Page number (1-based).

pageSize

integer

10

Items per page.

name

string

-

Filter by group name (if supported).

Example: cURL


2. Create an Attribute Library Group

Request

Example: cURL

Save the returned id as entity-id for get, update, publish, and other operations.


3. Get a Single Attribute Library Group

Request

Use this response as the basis for updates.


4. Update a Group (Including Predefined Values)

Request

Example: cURL (update predefined values for one attribute)

Important: After creation, APIs typically allow only value and usage changes (not name or data type), consistent with UI behavior.


5. Publish an Attribute Library Group

Request

Publish after PATCH so rules/workflows use the new values.


6. Create or Update Schedule

Request

See the Schedule API for the exact schema.


7. Test an Attribute Library Entity

Request

Use this to validate changes before publishing.


8. List Published Versions

Request


Response Structure and Errors

Typical response fields:

Field
Type
Description

code

string

e.g. success or error.

data

object

Response payload.

message

string

Human-readable message.

pageNo, pageSize, totalCount, totalPages

number

Present for list endpoints.

Common errors:

HTTP
Meaning
Action

400

Invalid request

Validate body and params.

401

Unauthorized

Check Nected-API-Key.

404

Not found

Verify entity-type and entity-id.

500

Server error

Retry or contact support.

Last updated