The prompts
Every prompt that sends files or reads results carries two rules: send each file exactly as it arrived, and never take a result from a browser or an app as the verdict. The setup guide itself is at /agent-setup.md.
GET/v1/agent_prompts
Ready prompts for your own coding agent, each filled with this workspace’s details: set up Kontiga, collect documents, build a workflow, receive webhooks, connect the MCP server.
- Who may
- Owner, Admin and Developer
- CLI
kontiga prompts list- MCP tool
list_agent_prompts- Returns
- Each prompt with what it does, the workspace details it carries, and its text; never a secret.
No parameters.
curl -X GET https://api.kontiga.com/v1/agent_prompts \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/agent_prompts
{
"items": [
{
"object": "agent_prompt",
"name": "setup",
"title": "Set up Kontiga",
"summary": "Your agent fetches the setup guide and follows it, from finding a key to a first checked document.",
"uses": [{ "label": "Guide", "value": "https://kontiga.com/agent-setup.md" }],
"text": "Set up Kontiga for me: fetch https://kontiga.com/agent-setup.md and follow it."
},
{
"object": "agent_prompt",
"name": "receive_webhooks",
"title": "Receive webhooks",
"summary": "Adds an endpoint that verifies every delivery, ignores repeats, and is tested before it goes live.",
"uses": [{ "label": "Endpoint", "value": "https://hooks.brightwater.example/kontiga (live)" }],
"text": "Add an endpoint to this project that receives Kontiga's webhooks…"
}
],
"next_cursor": null
}GET/v1/agent_prompts/{name}
One ready prompt for your coding agent, as it is copied, filled with this workspace’s details.
- Who may
- Owner, Admin and Developer
- CLI
kontiga prompts get <name>- MCP tool
get_agent_prompt- Returns
- The prompt, its title, the workspace details it carries, and its text.
Parameters
nameRequiredThe prompt to read. One of
setup,add_to_project,collect_documents,build_workflow,receive_webhooks,connect_mcp,listen_locally. In the path.
curl -X GET https://api.kontiga.com/v1/agent_prompts/add_to_project \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/agent_prompts/{name}
{
"object": "agent_prompt",
"name": "add_to_project",
"title": "Add Kontiga to this project",
"summary": "Checks each document your project receives, keeps the verdict, and hears the result by webhook.",
"uses": [
{ "label": "Workspace", "value": "Brightwater Lending (ws_8Rq4Lm2)" },
{ "label": "API", "value": "https://api.kontiga.com" },
{ "label": "Test key", "value": "kt_test_…Q7mR" }
],
"text": "Add Kontiga to this project, so every document it receives is checked for changes and fraud.\n\nFirst read https://kontiga.com/agent-setup.md, https://kontiga.com/llms.txt and the documentation at https://kontiga.com/docs. Use the documented API shapes only; do not invent fields.\n\n1. Inspect this codebase and follow its language, structure and tests. Find where documents arrive (an upload, an email, a sync).\n2. Send each one to Kontiga from the server: upload the file (POST /v1/uploads), then check it (POST /v1/documents).\n3. Store the verdict (Trusted, Review or High risk), the risk score, the fraud score and each finding with where it was found. Never show the findings to the end customer.\n4. Hear the final result by webhook (document.checked) rather than by polling; verify its signature.\n\nSend each file exactly as it arrived: never resize, compress, convert or re-save an image or a PDF before Kontiga checks it.\nNever take a result from a browser or an app as the verdict: confirm it on your server, from the webhook or by reading the object with the secret key.\nWork in test mode first. Ask me before anything runs in live mode, sends anything to an end customer, or deletes. Never print, log or commit a key."
}