Properties
| Name | Type | Description |
|---|---|---|
| closed_at | string | ISO 8601 timestamp at least 1 minute and no more than 2 weeks in the future, after which no one can respond to it |
| duration | number | number of minutes the poll should be open, minimum of 1 and maximum of 20160 |
| options | array | List of 2 to 10 options must be specified, each with text and optional position |
| prompt | string | 256-character explanation or question for the options |
| type | string | Reverse domain name-style identifier of the poll type. E.g., com.example.site |
| is_anonymous | boolean | If false, user IDs will be identified in the final poll |
| is_public | boolean | If true, poll is public |
| max_options | number | Number of options a user can respond with, from 1 to the total number of options |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pnut/json-schema/pnut-post-polls-request-schema.json",
"title": "PostPollsRequest",
"x-generated": "2026-10-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/pnut-openapi-generated.yml#/components/schemas/PostPollsRequest",
"type": "object",
"properties": {
"closed_at": {
"type": "string",
"description": "ISO 8601 timestamp at least 1 minute and no more than 2 weeks in the future, after which no one can respond to it"
},
"duration": {
"type": "number",
"description": "number of minutes the poll should be open, minimum of 1 and maximum of 20160"
},
"options": {
"type": "array",
"description": "List of 2 to 10 options must be specified, each with text and optional position"
},
"prompt": {
"type": "string",
"description": "256-character explanation or question for the options"
},
"type": {
"type": "string",
"description": "Reverse domain name-style identifier of the poll type. E.g., com.example.site"
},
"is_anonymous": {
"type": "boolean",
"description": "If false, user IDs will be identified in the final poll"
},
"is_public": {
"type": "boolean",
"description": "If true, poll is public"
},
"max_options": {
"type": "number",
"description": "Number of options a user can respond with, from 1 to the total number of options"
}
},
"required": [
"options",
"prompt",
"type"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pnut-post-polls-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.