Create knowledge which will be learned and leveraged by agents. Processing continues asynchronously after the request returns. If the background processing run later fails, subsequent retrievals surface that terminal state through status and last_error.
Documentation Index
Fetch the complete documentation index at: https://developers.datagrid.com/llms.txt
Use this file to discover all available pages before exploring further.
payload_too_large) with guidance and a link to Knowledge upload limits.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully created knowledge
The knowledge object represents knowledge that an agent may leverage to respond.
The object type, which is always knowledge.
knowledge The knowledge identifier, which can be referenced in the API endpoints.
The name of the knowledge.
The ID of the teamspace that owns this knowledge.
The visibility scope of the knowledge. 'teamspace' means visible only within the owning teamspace. 'organization' means visible across all teamspaces in the same organization.
teamspace, organization The parent page reference, indicating where this page is nested
The ISO string for when the knowledge was created.
The current knowledge status. pending indicates that processing has started but no rows have been learned yet. partial indicates that some rows are available, but processing is either still running or ended with incomplete results. ready indicates that processing finished successfully and the knowledge is fully available. failed indicates that no rows are currently available and the knowledge reached a terminal failure state, either because the latest asynchronous processing or re-index run ended unsuccessfully before any rows became available, or because every row ended in a persistent failed state.
pending, partial, ready, failed The last terminal processing error for this knowledge, if any. Present when the latest asynchronous processing or re-index run ended unsuccessfully; null when the knowledge is failed only because every row ended in a persistent failed state.
Row count statistics for the knowledge.
Credit consumption for this knowledge. null when the knowledge is still being processed and the final cost is not yet known (e.g. immediately after creation or reindexing), or when the credit lookup fails. When present, consumed is the current summed spend for the knowledge's active tables — it is not necessarily the cost of the most recent request, nor the full lifetime spend.
Sync information for knowledge that syncs data from a connection
The ISO string for when the knowledge was last updated.