> For the complete documentation index, see [llms.txt](https://docs.vomevolunteer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vomevolunteer.com/resources/editor-4.md).

# Shifts

This object represents a shift within your organization. A shift belongs to an opportunity, and each opportunity can have one or more shifts attached to it. For example, a "Weekend Mentor" opportunity may contain shifts like "Morning Shift" and "Afternoon Shift".

Each shift stores the key details used to describe and schedule it, including its title, description, start time, end time, capacity, related opportunity, derived location, and public share URL.

You can use the Shifts API to list all shifts for your institution, retrieve a single shift by ID, or search shifts using filters such as title, date, start time, end time, spots, opportunity, category, and created date.

### Endpoints

* `GET /api/shifts/`
* `GET /api/shifts/{shift_id}/`
* `GET /api/shifts/search/`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.vomevolunteer.com/resources/editor-4.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.
