Marketing connector
SendGrid connector for governed AI agent access
Connect SendGrid with a v3 Web API key.
Direct answer
OneQuery supports SendGrid for governed agent access.
Teams use the SendGrid connector to give AI agents bounded source API calls for endpoint-specific context while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.
Agent workflow
What this connector enables
SendGrid becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.
- Use bounded source API calls for endpoint-specific context for marketing context.
- Keep SendGrid credentials centralized and out of agent runtimes.
- Review agent access through OneQuery audit history instead of reconstructing direct service usage.
Setup checklist
Prepare the SendGrid connection
Use sendgrid credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.
- Create a SendGrid API key with the scopes required for the account, email, or marketing endpoints OneQuery should call.
- Copy the key into `credentials.apiKey`.
- Only include `apiBaseUrl` when you need a non-default SendGrid-compatible API origin.
FAQ
SendGrid connector questions
What is the OneQuery SendGrid connector?
The OneQuery SendGrid connector makes marketing context from SendGrid available to AI agents through bounded source API calls for endpoint-specific context. Connect SendGrid with a v3 Web API key.
How do AI agents access SendGrid through OneQuery?
Agents call OneQuery instead of receiving raw SendGrid credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing bounded source API calls for endpoint-specific context.
How do I set up the SendGrid connector?
Prepare sendgrid credentials and connect SendGrid from the OneQuery dashboard or CLI. Start with this setup step: Create a SendGrid API key with the scopes required for the account, email, or marketing endpoints OneQuery should call.