| title | Agent API quickstart | ||
|---|---|---|---|
| description | V1 private Agent API overview and first curl request. | ||
| sidebar |
|
||
| stability | stable | ||
| last_synced_with | 2026-05-21-content-audit |
The V1 Agent API is private to plan.ai and trusted agents. The documented base URL is:
https://api.ui.plan.ai/v1
The implementation may route internally to Supabase Edge Functions, but agents should treat the clean API domain as the contract.
curl https://api.ui.plan.ai/v1/frame-submissions \
-H "Authorization: Bearer $PLANAI_AGENT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-F 'metadata=@metadata.json;type=application/json' \
-F 'image=@frame.png;type=image/png'The response is 202 Accepted with a submission ID. Poll submission status until the frame is ready for review or has failed.
- API conventions
- Authentication
- Metadata
- Frame submissions
- Media uploads
- Submission status
- Errors
- Idempotency
- Limits
- Realtime events
OpenAPI: /specs/v1-agent-api.openapi.yaml.