Ragdoll AI icon

Ragdoll AI

Consume Ragdoll AI API

Actions14

Overview

The node integrates with the Ragdoll AI API to manage and interact with various resources such as Knowledge Bases, Data Sources, and Documents. Specifically, for the Data Source - Get operation, it retrieves detailed information about a specific data source by its ID. This is useful when you want to fetch metadata or status of a particular data source that has been previously created or managed within the Ragdoll AI platform.

Common scenarios include:

  • Verifying the existence and details of a data source before performing further operations.
  • Fetching configuration or status information for monitoring or auditing purposes.
  • Integrating data source details into workflows that depend on external content indexing or knowledge base updates.

Example: You have a web data source set up for crawling a website. Using this node operation, you can retrieve the current state or properties of that data source to decide if re-indexing or updating is needed.

Properties

Name Meaning
Data Source ID The unique identifier of the data source to retrieve. This is required to specify which data source's details should be fetched.

Output

The output of this operation will be JSON data representing the full details of the requested data source. This typically includes all metadata fields returned by the Ragdoll AI API for a data source, such as its name, type (e.g., web, Notion, Google Drive), configuration parameters, status, and any other relevant attributes.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to the Ragdoll AI API endpoint.
  • Requires an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL for the API is taken from the provided credentials.
  • Proper permissions to access the specified data source ID are necessary.

Troubleshooting

  • Invalid or missing Data Source ID: If the dataSourceId property is empty or incorrect, the API will likely return an error indicating the resource was not found. Ensure the ID is correct and exists.
  • Authentication errors: If the API key or token is invalid or missing, the request will fail with an authorization error. Verify credentials are correctly set up.
  • Network or connectivity issues: Failure to reach the API endpoint may cause timeouts or connection errors. Check network settings and API availability.
  • Permission denied: If the authenticated user does not have access to the specified data source, the API will reject the request. Confirm user permissions.

Links and References

Discussion