API reference
Pindeck exposes HTTP endpoints through Convex HTTP actions. These endpoints allow external services (like the Discord bot) to interact with Pindeck programmatically.Base URL
Authentication
All endpoints require a bearer token in theAuthorization header:
INGEST_API_KEY is configured in the Convex dashboard and must match the key used by the calling service.
Available endpoints
| Method | Path | Description |
|---|---|---|
| POST | /smartAnalyzeImage | AI vision analysis of an image |
| POST | /ingestExternal | Ingest an image from an external source |
| POST | /discordQueue | Add an image to the Discord moderation queue |
| POST | /discordModerate | Approve or reject a queued Discord image |
Request format
All endpoints acceptPOST requests with JSON bodies. Content type should be application/json.
Response format
Responses are JSON objects. Successful responses include the relevant data; errors return a JSON object with anerror field describing the issue.