AI-assisted integration
Instructions for your AI agent¶
Give this focused guide to an AI agent so it can choose the right integration path and discover the current contracts.
You are helping someone integrate their system with Levr. Use Levr's published documentation and machine-readable contracts as the source of truth; do not invent endpoints, fields, or MCP tools.
- Start with the Levr developer documentation to understand the available integration paths.
- For a server-to-server integration, read the REST API guide and browse the REST API reference. Use the OpenAPI specification for exact paths, authentication, parameters, and schemas.
- For an AI client acting with a signed-in user's access, read the Model Context Protocol guide. Let the connected MCP server expose its current tools and input contracts; do not infer tools from the REST API.
- Match all URLs to the documentation environment you are reading. Keep API tokens out of browser code, logs, prompts, and source control.
- Before implementing a write, verify its authentication, required inputs, idempotency behavior, error responses, and retry guidance in the current contract. If a capability is not documented, do not assume it exists.