{"name":"ChatStack Agent API","version":"1.1.0","description":"REST API for AI agents. Skip-interview submit uses AGENT_API_KEY. Interview API (session/turn/action/status/submit-prd) uses a portal personal access token (cst_…) — never put AGENT_API_KEY in MCP client config. This GET is the public discovery document.","status":"stable","documentation":"https://www.chatstack.app/llms-full.txt","schema":{"openapi":"https://www.chatstack.app/openapi.json","aiPlugin":"https://www.chatstack.app/.well-known/ai-plugin.json","dataset":"https://www.chatstack.app/ai-dataset.json"},"markdown":{"summary":"https://www.chatstack.app/llms.txt","fullReference":"https://www.chatstack.app/llms-full.txt"},"auth":{"skipInterview":{"type":"http","scheme":"bearer","header":"Authorization","headerExample":"Authorization: Bearer <AGENT_API_KEY>","howToRequest":"https://www.chatstack.app/speak-to-a-human"},"interview":{"type":"http","scheme":"bearer","header":"Authorization","headerExample":"Authorization: Bearer cst_…","mintTokenUrl":"https://www.portal.chatstack.app/settings/api-access","note":"Same personal access token as CRM agent REST / @chatstack/mcp"}},"capabilities":["Run the 4-agent interview without the iframe (Interview API + PAT)","Submit structured PRD artifacts (skip-interview AGENT_API_KEY path)","Receive submission ID and portal project/version IDs on success","Return validation errors with field-level details"],"operations":[{"id":"createInterviewSession","method":"POST","path":"/api/agent/interview/session","url":"https://www.chatstack.app/api/agent/interview/session","contentType":"application/json","auth":"personal_access_token"},{"id":"interviewTurn","method":"POST","path":"/api/agent/interview/turn","url":"https://www.chatstack.app/api/agent/interview/turn","contentType":"application/json","auth":"personal_access_token"},{"id":"interviewAction","method":"POST","path":"/api/agent/interview/action","url":"https://www.chatstack.app/api/agent/interview/action","contentType":"application/json","auth":"personal_access_token"},{"id":"interviewStatus","method":"GET","path":"/api/agent/interview/status","url":"https://www.chatstack.app/api/agent/interview/status","auth":"personal_access_token"},{"id":"interviewSubmitPrd","method":"POST","path":"/api/agent/interview/submit-prd","url":"https://www.chatstack.app/api/agent/interview/submit-prd","contentType":"application/json","auth":"personal_access_token"},{"id":"submitPrd","method":"POST","path":"/api/agent/submit","url":"https://www.chatstack.app/api/agent/submit","contentType":"application/json","auth":"agent_api_key","requestSchema":"https://www.chatstack.app/openapi.json#/components/schemas/SubmitRequest","responseSchema":"https://www.chatstack.app/openapi.json#/components/schemas/SubmitSuccess"}],"limits":{"maxBodyBytes":10485760,"rateLimit":{"requests":5,"windowSeconds":3600,"scope":"per-IP","note":"Skip-interview submit. Interview submit-prd is per profile+IP (10/hour)."}},"contact":{"email":"hello@chatstack.app","url":"https://www.chatstack.app/speak-to-a-human"},"terms":"https://www.chatstack.app/non-disclosure-and-tcs","updatedAt":"2026-09-08T15:12:53.841Z"}