Connector API
Last updated
Last updated
Creates a new document if the document_id doesn't exist, or updates an existing document if it does.
The unique identifier for your custom API integration connection. You can find this ID in your integration settings at https://web.dashworks.ai/integrations
For creating a new document, this field is optional - if provided, it will be used as the document's identifier. For updating an existing document, this field is required and must match a document_id previously returned by a PUT request. Note: Document ids are limited to 64 characters.
Restriction: The content field cannot exceed 10m tokens. Any content past 10m token would be truncated. Please refer to https://platform.openai.com/tokenizer for approximate token counting.
The created timestamp (in seconds since the Unix epoch) of the source content
1730243482
The last modified timestamp (in seconds since the Unix epoch) of the source content
1730243482
Document successfully created or updated
UUID of the created or updated document
The unique identifier for your custom API integration connection. You can find this ID in your integration settings at https://web.dashworks.ai/integrations
The unique identifier for the document that was returned by the Dashworks API when it was added via the POST /v1/documents endpoint.
Successful Response
Success message
The unique identifier for your custom API integration connection. You can find this ID in your integration settings at https://web.dashworks.ai/integrations
The unique identifier for the document that was returned by the Dashworks API when it was added via the POST /v1/documents endpoint.
Successful Response
Restriction: The content field cannot exceed 10m tokens. Any content past 10m token would be truncated. Please refer to https://platform.openai.com/tokenizer for approximate token counting.
The created timestamp (in seconds since the Unix epoch) of the source content
1730243482
The last modified timestamp (in seconds since the Unix epoch) of the source content
1730243482