# Votes

## Vote object

Vote have the following fields

| Field                                         | Details                                            |
| --------------------------------------------- | -------------------------------------------------- |
| <p><strong>idx</strong><br>string</p>         | A unique identifier for the vote                   |
| <p><strong>created\_at</strong><br>string</p> | The date time the vote was created in UTC timezone |
| <p><strong>voter</strong><br>object</p>       | The user this vote is associated with              |
| <p><strong>idea</strong><br>object</p>        | The idea this vote is associated with              |

## Endpoints

You can use the following endpoints to manage Votes

{% openapi src="/files/gXXOsVxsnRWnONuX7593" path="/votes" method="get" %}
[votes.yaml](https://554427104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIpllvC2FiBlBNS7dyV5t%2Fuploads%2Fgit-blob-64202a3bb52b0f4222cc12c523ef1b72c1c7bd71%2Fvotes.yaml?alt=media)
{% endopenapi %}

{% openapi src="/files/gXXOsVxsnRWnONuX7593" path="/votes" method="post" %}
[votes.yaml](https://554427104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIpllvC2FiBlBNS7dyV5t%2Fuploads%2Fgit-blob-64202a3bb52b0f4222cc12c523ef1b72c1c7bd71%2Fvotes.yaml?alt=media)
{% endopenapi %}

{% openapi src="/files/gXXOsVxsnRWnONuX7593" path="/votes" method="delete" %}
[votes.yaml](https://554427104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIpllvC2FiBlBNS7dyV5t%2Fuploads%2Fgit-blob-64202a3bb52b0f4222cc12c523ef1b72c1c7bd71%2Fvotes.yaml?alt=media)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.frill.co/api/reference/votes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
