Skip to content

An open-source, faster Devin alternative

TypeScript

docs: sessions are created at /api/managed-agents/sessions, not under a project path

Igor Zalutski195b363b5fc1
diff --git a/docs/agents/memory.mdx b/docs/agents/memory.mdx
index f038a3c1..ab794cce 100644
--- a/docs/agents/memory.mdx
+++ b/docs/agents/memory.mdx
@@ -98,11 +98,11 @@ not something to repeat before each session.
## 4. Bind a session to it
-Create a session using your project ID and API key. Keep the API key in trusted
-application code; do not give it to the agent.
+Create a session with your project's API key. The key identifies the project;
+keep it in trusted application code and never give it to the agent.
```bash
-curl -X POST 'https://app.opencomputer.dev/api/managed-agents/projects/<project-id>/sessions' \
+curl -X POST 'https://app.opencomputer.dev/api/managed-agents/sessions' \
-H 'x-api-key: <api-key>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: workshop-session-1' \