Entity Data contract

Terminate Feature Flag For Entity

get
/entities/{entityId}/featureFlags/{flagName}/terminate

Terminate Feature Flag For Entity

Path parameters
entityIdstringRequired
flagNamestringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/featureFlags/{flagName}/terminate

Get entity level flags of an Entity

post
/entities/{entityId}/forEntityId/{forEntityId}/featureFlags

Get entity level flags of a particular Entity

Path parameters
entityIdstringRequired
forEntityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
post
/entities/{entityId}/forEntityId/{forEntityId}/featureFlags

Get All Data Contracts for an Entity

get
/entities/{entityId}/dataContracts

Get all Data Contracts for specific entity.

Path parameters
entityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/dataContracts

Add new data contract

post
/entities/{entityId}/dataContracts

Add new data contract info of specific entity.

Path parameters
entityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
namestringOptionalExample: Data Contract Name
descriptionstringOptionalExample: Data Contract Description
sourcestringOptionalExample: URL
tagsstring[]OptionalExample: ["tag1","tag2"]
Responses
200

Successful response

application/json
post
/entities/{entityId}/dataContracts

Get specific data contract

get
/entities/{entityId}/dataContracts/{dataContractId}

Get specific data contract of an entity.

Path parameters
entityIdstringRequired
dataContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/dataContracts/{dataContractId}

Update data contract

post
/entities/{entityId}/dataContracts/{dataContractId}/update

Update data contract of specific entity.

Path parameters
entityIdstringRequired
dataContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
namestringOptionalExample: Data Contract Name
descriptionstringOptionalExample: Data Contract Description
sourcestringOptionalExample: URL
tagsstring[]OptionalExample: ["tag1","tag2"]
Responses
200

Successful response

application/json
post
/entities/{entityId}/dataContracts/{dataContractId}/update

Delete data contracts

post
/entities/{entityId}/dataContracts/{dataContractId}/delete

Delete data contracts of specific entity.

Path parameters
entityIdstringRequired
dataContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
post
/entities/{entityId}/dataContracts/{dataContractId}/delete

Chat with Data Contract for Entity

post
/entities/{entityId}/dataContracts/{dataContractId}/chat

Chat with the specified Data Contract for a specific entity.

Path parameters
entityIdstringRequired
dataContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
userInputstringOptional

User input for the chat conversation.

isInternalbooleanOptional

Flag indicating whether the request is internal (true/false).

Responses
200

Successful response

application/json
post
/entities/{entityId}/dataContracts/{dataContractId}/chat

Upload CSV and Create Data Contract

post
/entities/{entityId}/uploadcsv

Upload a CSV file to create a new data contract for a specific entity.

Path parameters
entityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
uploaded_filestring · binaryOptional
Responses
200

Successful response

application/json
post
/entities/{entityId}/uploadcsv

Fetch schema fields from Google Sheet

post
/entities/{entityId}/googlesheet

Fetch only the fields in schema from Google Sheets & add new data contract

Path parameters
entityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
googleSheetLinkstringOptionalExample: https://docs.google.com/spreadsheets/d/18L1234555555/
Responses
200

Successful response

application/json
post
/entities/{entityId}/googlesheet

Auto Generate the description

post
/entities/{entityId}/dataContracts/{dataContractId}/autoGenerate

Auto Generate the description using AI

Path parameters
entityIdstringRequired
dataContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
Responses
200

Successful response

application/json
post
/entities/{entityId}/dataContracts/{dataContractId}/autoGenerate

Last updated