Votes API
3 operations. Authentication, errors and pagination work as described in the REST API overview.
"Works on" tallies for a version
GET/api/v1/prompts/{owner}/{slug}/votesToken optional
Per-model works/doesn't-work counts from eligible voters (accounts ≥7 days old or with an approved example / published make), the strip view (models with ≥3 votes; the rest collapsed), your own votes and whether they count yet.
| Name | Type | Description |
|---|---|---|
owner pathrequired | string | Owner handle |
slug pathrequired | string | Prompt slug |
version query | integer (…–9007199254740991) |
Responses: 200 OK400, 404, 429
Response fields
| Name | Type | Description |
|---|---|---|
versionNumberrequired | integer (-9007199254740991–9007199254740991) | |
striprequired | object | |
talliesrequired | object[] | |
minerequired | object[] | |
eligibilityrequired | object |
Example
curl 'https://incantory.ai/api/v1/prompts/{owner}/{slug}/votes' \
-H "Authorization: Bearer $INCANTORY_TOKEN"Cast or change your vote for one model
POST/api/v1/prompts/{owner}/{slug}/votesToken required · scope write
One vote per (version, user, model); casting again flips or edits it.
| Name | Type | Description |
|---|---|---|
owner pathrequired | string | Owner handle |
slug pathrequired | string | Prompt slug |
Request body
| Name | Type | Description |
|---|---|---|
version | integer (…–9007199254740991) | |
modelrequired | string | |
worksrequired | boolean | |
note | string | null |
Responses: 200 OK400, 401, 403, 404, 409, 429
Response fields
| Name | Type | Description |
|---|---|---|
versionNumberrequired | integer (-9007199254740991–9007199254740991) | |
striprequired | object | |
talliesrequired | object[] | |
minerequired | object[] | |
eligibilityrequired | object |
Example
curl -X POST 'https://incantory.ai/api/v1/prompts/{owner}/{slug}/votes' \
-H "Authorization: Bearer $INCANTORY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"model":"model","works":true}'Remove your vote for one model
DELETE/api/v1/prompts/{owner}/{slug}/votes/{model}Token required · scope write
| Name | Type | Description |
|---|---|---|
owner pathrequired | string | Owner handle |
slug pathrequired | string | Prompt slug |
model pathrequired | string | Model slug, e.g. claude-opus-5-5 |
version query | integer (…–9007199254740991) |
Responses: 200 OK400, 401, 403, 404, 429
Response fields
| Name | Type | Description |
|---|---|---|
versionNumberrequired | integer (-9007199254740991–9007199254740991) | |
striprequired | object | |
talliesrequired | object[] | |
minerequired | object[] | |
eligibilityrequired | object |
Example
curl -X DELETE 'https://incantory.ai/api/v1/prompts/{owner}/{slug}/votes/{model}' \
-H "Authorization: Bearer $INCANTORY_TOKEN"