GenuineAIGenuineAI
For usersFor developers
  • Overview
  • Guides
  • How-to
  • API reference
Documentation
  • Quickstart
  • Authentication
  • Errors
  • Rate limits
  • API reference
Platform
  • Platform overview
  • Solutions
  • Pricing
  • Sign in
Company
  • Status
  • Trust Center
  • Contact
  • Terms of Service
  • Privacy Policy

© 2026 GenuineAI Ventures LLC

support@genuinehq.com
Overview
Core
Media library
AI
Documents
Knowledge
    Knowledge bases
    Knowledge base records
      Search all recordsgetList recordsgetAdd a recordpostDelete all recordsdeleteGet a recordgetDelete a recorddeleteUpdate a recordpatch
    Knowledge base schemas
    Objects
    Object taxonomies
    Object schemas
    Object lifecycle flows
    Object sources
Creative
Website & content
Automation
Customer channels
Administration
Schemas
GenuineAI API
GenuineAI API

Knowledge base records

Reading records across knowledge bases. Writing goes through the base that holds them.


Search all records

GET
https://api.genuineai.app/api/v1
/knowledge-base-records

Read-only, and flat rather than nested under a knowledge base, because the queries it exists for span several — by name, by category, or by a list of ids. Records are created and edited through their own knowledge base.

Search all records › query Parameters

cursor
​string · maxLength: 512 · pattern: ^[A-Za-z0-9_-]+$
data_active
​boolean
data_created
​array
data_id
​array
​object · style: deepObject · explode: true
data_title
​string
data_updated
​array
ds_category
​string
ds_id
​array
ds_name
​string
ds_type
​string
dsi_embedding_model
​string
limit
​integer
offset
​integer · min: 0
sort
​string · minLength: 1 · maxLength: 64 · pattern: ^-?[a-z0-9_]+$
summary
​boolean

Search all records › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Search all records › Responses

Success

​KnowledgeBaseRecord[] · required
has_more
​boolean · required

Whether more rows exist past this page.

next_cursor
​string | null · required

Pass back as cursor for the next page. Null on the last page.

GET/knowledge-base-records
curl https://api.genuineai.app/api/v1/knowledge-base-records \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>'
Example Responses
{ "data": [ { "data_id": "00000000-0000-0000-0000-000000000000", "data_title": "data_title", "data_repo": "data_repo", "data_content": {}, "data_form": "data_form", "data_metadata": {}, "data_active": true, "data_created": "2024-08-25T15:00:00Z", "data_updated": "2024-08-25T15:00:00Z", "data_excerpt": "data_excerpt" } ], "has_more": true, "next_cursor": "next_cursor" }
json
application/json

List records

GET
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records

Returns the records in one knowledge base. To search across every base at once, use GET /knowledge-base-records.

List records › path Parameters

id
​string · uuid · required

List records › query Parameters

cursor
​string · maxLength: 512 · pattern: ^[A-Za-z0-9_-]+$
data_active
​boolean
data_created
​array
data_id
​array
​object · style: deepObject · explode: true
data_title
​string
data_updated
​array
ds_category
​string
ds_id
​array
ds_name
​string
ds_type
​string
dsi_embedding_model
​string
limit
​integer
offset
​integer · min: 0
sort
​string · minLength: 1 · maxLength: 64 · pattern: ^-?[a-z0-9_]+$
summary
​boolean

List records › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

List records › Responses

Success

​KnowledgeBaseRecord[] · required
has_more
​boolean · required

Whether more rows exist past this page.

next_cursor
​string | null · required

Pass back as cursor for the next page. Null on the last page.

GET/knowledge-bases/{id}/records
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>'
Example Responses
{ "data": [ { "data_id": "00000000-0000-0000-0000-000000000000", "data_title": "data_title", "data_repo": "data_repo", "data_content": {}, "data_form": "data_form", "data_metadata": {}, "data_active": true, "data_created": "2024-08-25T15:00:00Z", "data_updated": "2024-08-25T15:00:00Z", "data_excerpt": "data_excerpt" } ], "has_more": true, "next_cursor": "next_cursor" }
json
application/json

Add a record

POST
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records

Its fields are the shape the knowledge base's schema declares.

Add a record › path Parameters

id
​string · uuid · required

Add a record › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Add a record › Request Body optional

data_title
​string
data_repo
​object
data_content
​object
data_form
​object
data_metadata
​object
data_acl
​object
data_chunk
​object
data_embedding_model
​string

Add a record › Responses

Created

One record in a knowledge base, shaped by the form its base was created with.
KnowledgeBaseRecord
data_id
​string · uuid
data_title
​string
data_repo
​string
data_content
​object
data_form
​string
data_metadata
​object
data_active
​boolean
data_created
​string · date-time
data_updated
​string · date-time
data_excerpt
​string
POST/knowledge-bases/{id}/records
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records \ --request POST \ --header 'Content-Type: application/json' \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>' \ --data '{ "data_title": "data_title", "data_repo": {}, "data_content": {}, "data_form": {}, "data_metadata": {}, "data_acl": {}, "data_chunk": {}, "data_embedding_model": "data_embedding_model" }'
Example Request Body
{ "data_title": "data_title", "data_repo": {}, "data_content": {}, "data_form": {}, "data_metadata": {}, "data_acl": {}, "data_chunk": {}, "data_embedding_model": "data_embedding_model" }
json
Example Responses
{ "data_id": "00000000-0000-0000-0000-000000000000", "data_title": "data_title", "data_repo": "data_repo", "data_content": {}, "data_form": "data_form", "data_metadata": {}, "data_active": true, "data_created": "2024-08-25T15:00:00Z", "data_updated": "2024-08-25T15:00:00Z", "data_excerpt": "data_excerpt" }
json
application/json

Delete all records

DELETE
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records

Empties it without deleting the knowledge base. Not reversible.

Delete all records › path Parameters

id
​string · uuid · required

Delete all records › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Delete all records › Responses

Success

No data returned
DELETE/knowledge-bases/{id}/records
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records \ --request DELETE \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>'
Example Responses
No example specified for this content type

Get a record

GET
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records/{record_id}

Returns one record, shaped by the form its knowledge base was created with.

Get a record › path Parameters

id
​string · uuid · required
record_id
​string · uuid · required

Get a record › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Get a record › Responses

Success

One record in a knowledge base, shaped by the form its base was created with.
KnowledgeBaseRecord
data_id
​string · uuid
data_title
​string
data_repo
​string
data_content
​object
data_form
​string
data_metadata
​object
data_active
​boolean
data_created
​string · date-time
data_updated
​string · date-time
data_excerpt
​string
GET/knowledge-bases/{id}/records/{record_id}
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records/:record_id \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>'
Example Responses
{ "data_id": "00000000-0000-0000-0000-000000000000", "data_title": "data_title", "data_repo": "data_repo", "data_content": {}, "data_form": "data_form", "data_metadata": {}, "data_active": true, "data_created": "2024-08-25T15:00:00Z", "data_updated": "2024-08-25T15:00:00Z", "data_excerpt": "data_excerpt" }
json
application/json

Delete a record

DELETE
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records/{record_id}

Deactivates the record. It stops being returned and stops being retrieved by agents.

Delete a record › path Parameters

id
​string · uuid · required
record_id
​string · uuid · required

Delete a record › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Delete a record › Responses

Success. No content.

No data returned
DELETE/knowledge-bases/{id}/records/{record_id}
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records/:record_id \ --request DELETE \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>'
Example Responses
No example specified for this content type

Update a record

PATCH
https://api.genuineai.app/api/v1
/knowledge-bases/{id}/records/{record_id}

Applies the data_-prefixed fields present in the body. Editing the content re-embeds the record, so retrieval sees the change without a reindex.

Update a record › path Parameters

id
​string · uuid · required
record_id
​string · uuid · required

Update a record › Headers

X-Tenant-Id
​string · uuid · required

The workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.

Update a record › Request Body optional

data_title
​string
data_active
​boolean
data_repo
​object
data_content
​object
data_form
​object
data_metadata
​object

Update a record › Responses

Success

One record in a knowledge base, shaped by the form its base was created with.
KnowledgeBaseRecord
data_id
​string · uuid
data_title
​string
data_repo
​string
data_content
​object
data_form
​string
data_metadata
​object
data_active
​boolean
data_created
​string · date-time
data_updated
​string · date-time
data_excerpt
​string
PATCH/knowledge-bases/{id}/records/{record_id}
curl https://api.genuineai.app/api/v1/knowledge-bases/:id/records/:record_id \ --request PATCH \ --header 'Content-Type: application/json' \ --header 'X-Tenant-Id: <string>' \ --header 'X-Api-Key: <api-key>' \ --data '{ "data_title": "data_title", "data_active": true, "data_repo": {}, "data_content": {}, "data_form": {}, "data_metadata": {} }'
Example Request Body
{ "data_title": "data_title", "data_active": true, "data_repo": {}, "data_content": {}, "data_form": {}, "data_metadata": {} }
json
Example Responses
{ "data_id": "00000000-0000-0000-0000-000000000000", "data_title": "data_title", "data_repo": "data_repo", "data_content": {}, "data_form": "data_form", "data_metadata": {}, "data_active": true, "data_created": "2024-08-25T15:00:00Z", "data_updated": "2024-08-25T15:00:00Z", "data_excerpt": "data_excerpt" }
json
application/json

Knowledge basesKnowledge base schemas