Access the Global Relay AI Assistant API to send natural language prompts from your third-party systems to retrieve AI-generated information from your organization’s archived communications.
Rather than accessing AI Assistant directly in the Global Relay Portal, you can build your own system, which can include your organization’s custom tools, workflows, and/or your own AI agents.
A more intelligent way to access your Archive
By programmatically running a query, you can access valuable information on specific archived data without logging into the Archive. AI Assistant searches archived data relevant to your query, analyzes the results, and returns an answer, with citations pointing to the exact archived messages that support it.
Key features
Natural language questions
Use plain language prompts to retrieve valuable information about your archived data.
Responses based on your Archive
Responses are generated based on the archived communications you can access, not just from general model knowledge or the web.
Sources cited
Each AI Assistant answer cites the archived messages that supported it, ensuring a clear trail to the source data. You can view the AI Assistant’s chain-of-thought, or reasoning steps behind the response, making results explainable and verifiable.
Ongoing conversations
If you have follow-up questions to a previous answer, your conversation history saves the context of your previous conversations.
Who benefits
| Role | Benefits |
| Compliance officers | Ask questions about archived messages with their own case management tools, while keeping their findings in one place. |
| Business users (e.g. traders, relationship managers, legal counsel) | Pull context from archived communications into the system they already work in, without switching products mid-task. |
| IT teams | Run questions on a schedule or feed the answers into dashboards, audit reports, or downstream workflows with no person involved. |
| Compliance and legal operations teams | Programmatically run prompts instead of manually running them in Global Relay Portal. |
How it works
- Your organization programmatically sends a question/prompt to AI Assistant, along with your credentials.
- The request is authorized against your identity, including the appropriate Function and Archive you can access.
- AI Assistant analyzes what to look for, runs one or more Archive searches, and reads the results.
- AI Assistant composes an answer, attaching citations to the archived messages it used.
- The answer is streamed back as it is written, and the completed response is stored so it can be used later or for follow-up questions.
Security and authentication
All your data is end-to-end encrypted in transit and at rest, and we use the OAuth 2.0 standard for authentication and authorization.
For more information on authentication, see Authenticating with AI Assistant API.
Getting started
To learn more about how to integrate with the API, see our in-depth use cases or the full API Reference.