Introduction
The Pique API provides programmatic access to create and manage judges, and submit content for evaluation.Base URLs
API Key Authentication
Include your API key in theX-API-Key header:
Available Endpoints
Judges
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/judges | Create a new judge with evaluation criteria |
| POST | /v1/judges/reference_content | Generate pre-signed upload URL for reference content |
Evaluations
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/evaluations/presigned-upload | Request pre-signed upload URL for content evaluation |
| POST | /v1/evaluations/social-media | Submit social media video URLs for evaluation |
Response Format
All API responses are returned in JSON format with appropriate HTTP status codes:- 2xx - Success
- 4xx - Client errors (invalid requests, authentication issues)
- 5xx - Server errors
Success Response Example
Error Response Example
Webhooks
Many asynchronous operations support webhook notifications. Configure your webhook URL in your organization settings to receive real-time updates about:- Evaluation completion
- Processing errors
- Status changes
X-Webhook-Signature header for request validation using HMAC-SHA256 with your organization’s webhook secret.