Documentation menu

Developer API

Guides for AI agents

Plain-Markdown versions of this documentation, written to be pasted into an AI agent's context. They cover the same rules as the pages here, in the order an agent should read them.

How to use them

  1. Create a token with only the access the agent needs, and copy the Copy JSON block from the token page.
  2. Open a guide below, copy its Markdown (each has a copy button), and paste it into the agent's system prompt or first message together with the JSON.
  3. Ask the agent to start with GET /me; it will confirm the token, discover what it may do, and proceed.
A prompt that works
You have access to my DJC System workspace through its Developer API.
Credentials (from the API Tokens page, "Copy JSON"):
{ "apiToken": "djc_…", "baseUrl": "https://api2.djcsystem.com/v1", "scopes": ["leads:write", "ai-flows:write"] }

Read the guide below before doing anything. Call GET /me first, then GET /resources.
Never delete anything I did not ask you to delete. Report every change by record id.

<guide>
…paste https://api2.djcsystem.com/api/agents/api-guides.md here…
</guide>

Agents act as you

Whatever the agent creates, changes or deletes is done by your user, in your workspace, with the access you gave the token. Prefer read-only tokens for exploration, and set an expiry.

The guides

Developer API — complete agent guide

api-guides.md

Authentication, conventions, every resource with its fields and rules, and the AI-flow sequence model. Start here; it is self-contained.

Raw URL: https://docs.djcsystem.com/api/agents/api-guides.md

AI flows and follow-up sequences

ai-flows.md

The focused guide for agents that build or edit chatbots: blocks, relations, handles, a worked example and a playbook.

Raw URL: https://docs.djcsystem.com/api/agents/ai-flows.md