Endpoints
- Trigger update: Trigger an update of your site when desired.
- Get update status: Get the status of an update and other details about your docs.
- Create agent job: Create an agent job to automatically edit your documentation.
- Get agent job: Retrieve the details and status of a specific agent job.
- Get all agent jobs: Retrieve all agent jobs for a domain.
- Generate assistant message: Embed the assistant, trained on your docs, into any application of your choosing.
- Search documentation: Search through your documentation.
Authentication
Generate API keys on the API keys page in your dashboard. Each API key belongs to an organization—you can use keys across multiple deployments within the same organization. You can create up to 10 API keys per hour per organization.Admin API key
Use the admin API key to authenticate requests to Trigger update, Get update status, and all agent endpoints. Admin API keys begin with themint_ prefix. Keep your admin API keys secret.
Assistant API key
Use the assistant API key to authenticate requests to Generate assistant message and Search documentation endpoints. Assistant API keys begin with themint_dsc_ prefix.
The assistant API key is a server-side token. Keep it secret.
The assistant API token is a public token that you can reference in frontend code.
Calls using the assistant API token can incur costs: either using your AI assistant credits or incurring overages.