Straico Official icon

Straico Official

Get data from Straico API

Overview

The node integrates with the Straico API to manage and interact with Retrieval-Augmented Generation (RAG) resources. Specifically, the Get operation for the RAG resource retrieves detailed information about a specific RAG instance by its ID.

This node is useful in scenarios where you want to fetch metadata or status of a particular RAG setup within Straico, such as verifying its existence, inspecting its configuration, or using its details for further processing in an automation workflow.

Practical example:
You have created multiple RAGs for different document collections and want to retrieve the details of one specific RAG by its ID to check its properties or confirm it before triggering other operations like prompt completions or updates.


Properties

Name Meaning
RAG ID The unique identifier of the RAG resource you want to retrieve. This is a required field.

Output

The output is a JSON object containing the full response from the Straico API for the requested RAG ID. It typically includes all metadata and details related to that RAG instance, such as its name, description, files associated, chunking options, creation date, and other relevant attributes.

The exact structure depends on the Straico API's response but generally provides comprehensive information about the specified RAG.

No binary data output is produced by this operation.


Dependencies

  • Requires an active connection to the Straico API via an API key credential configured in n8n.
  • The node makes authenticated HTTP GET requests to https://api.straico.com/v0/rag/{ragId} endpoint.
  • Proper network access to Straico API endpoints is necessary.

Troubleshooting

  • Common issues:

    • Missing or invalid RAG ID parameter will cause the request to fail.
    • Network connectivity problems or incorrect API credentials will result in authentication errors.
    • If the RAG ID does not exist, the API may return a 404 error or an empty response.
  • Error messages:

    • "No binary data property ... found on item!" — Not applicable for this operation since it does not use binary data.
    • API errors returned from Straico will be passed through; ensure the RAG ID is correct and the API key has sufficient permissions.
    • "Invalid response format from the API" — Indicates unexpected API response; verify API availability and version compatibility.
  • Resolution tips:

    • Double-check the RAG ID value for typos.
    • Confirm the API key credential is valid and has access rights.
    • Test the API endpoint independently to verify service status.

Links and References

Discussion