Learn how to insert text content using Wetrocloud
POST
request to the /v1/resource/insert/
endpoint with the required parameters in the body. The resource should be the text content you want to index and make sure you use the text
type.
Field | Description |
---|---|
success | Indicates whether the resource was inserted successfully. |
tokens | Number of tokens consumed during the operation. |
resource_id | Unique ID for the resource, this is required when removing a resource |