REST API Endpoints
Pro+ only
Expose your agent as a REST API. External systems send HTTP requests, and your agent processes them and returns structured responses.
Setup
Create an API page → Define endpoints → Generate API key → Call POST /api/{agentId}/{endpointSlug}.
Authentication
Pass API key via Authorization: Bearer YOUR_KEY header or ?api_key=YOUR_KEY query parameter.
Query-key support is retained only for this legacy route. New keys are scoped and shown once; include api:invoke. Legacy unscoped keys cannot access /v1.
