Documentation
Guides, API reference and events for AI Assistant.
On this page
Rules shared by every R&D Copilot API are in the Developer guide.
Get started
- Overview: Search readable sources, use citations and follow an offer through approval.
- Quickstart: Ask a question in your test company and follow a citation back to its source.
- Authentication: Get client credentials, request a token and call the AI Assistant API with it.
- Sandbox and live: Build and test against a test company, then move the same calls to your live company.
- Go-live checklist: Exercise access, offer decisions and webhook replay in the test company.
Guides
- Ask and cite: Trace an answer to the passage that supports it.
- Search: Read matching passages without opening a conversation.
- Tasks with approval: Prepare an offer, review the lines and record a decision.
- Tools and actions: Find the tool and the step that produced an output or failed.
- Triggers: Start offer preparation from a request in your integration.
Connectors
- Connector overview: Check where documents and offer data come from.
- Permissions sync: Verify that source permissions are reflected in retrieval.
- Sync status: Use connector errors and timestamps to diagnose search gaps.
- Custom connector: Prepare a source mapping and verify it with the test company.
Administration
- Users and groups: Verify what a client can read and which users can approve.
- Models: Check answer behavior with the model selected for the account.
- Usage and budgets: Compare each team’s requests and spend against its budget.
- Audit log: Identify the reviewer and the decision on an offer.
Reference
- Errors: The error object of the AI Assistant API and the codes that say what went wrong.
- Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
- Pagination: Lists come in pages. Follow the cursor until it is empty.
- Limits: The limits of the AI Assistant API, with their values and what happens over them.
- Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
- Changelog: Changes to the AI Assistant API contract.
API reference
- Conversations: Submit a question and read the resulting answer and citations.
- Search: Find passages under the caller’s document permissions.
- Tasks and runs: Prepare, review and dispatch an offer from a CRM request.
- Documents: Read a source by its identifier under the caller’s access.
- Admin: Read connector sync, team budget usage and decision history.
- Event operations: Register a receiver and manage webhook delivery and replay.
- Operations: A request that changes data is accepted once and answered with an operation result you can read again.
Events
- Event envelope: Every AI Assistant event has the same envelope; only
datachanges with the type of the event. - Event catalogue: Route events by type and check the revision of the run.
- Subscriptions: Register an HTTPS endpoint and AI Assistant sends your events to it, each one signed.
- Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
- Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
- Replay: Send a parked event again once your endpoint is ready to take it.