Agent API quickstart
The V1 Agent API is private to plan.ai and trusted agents. The documented base URL is:
https://api.ui.plan.ai/v1The implementation may route internally to Supabase Edge Functions, but agents should treat the clean API domain as the contract.
Submit a frame
Section titled “Submit a frame”curl https://api.ui.plan.ai/v1/frame-submissions \ -H "Authorization: Bearer $PLANAI_AGENT_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \The response is 202 Accepted with a submission ID. Poll submission status until the frame is ready for review or has failed.
Endpoint set
Section titled “Endpoint set”- API conventions
- Authentication
- Metadata
- Frame submissions
- Media uploads
- Submission status
- Errors
- Idempotency
- Limits
- Realtime events
OpenAPI: /specs/v1-agent-api.openapi.yaml.