---
title: "Fetching a list of Daily Scheduled Hours (Story Allocation Days)"
method: GET
path: "/story_allocation_days"
tags: ["Daily Scheduled Hours (Story Allocation Days)"]
---

# Fetching a list of Daily Scheduled Hours (Story Allocation Days)

`GET /story_allocation_days`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/story_allocation_days`
- Auth: none declared

Returns all Daily Scheduled Hours that are visible to the requester,
based on permissions. Filter results by specific projects, users, tasks, and more.

**NOTES**:
- The response includes Daily Scheduled Hours that are part of inactive Assignments, by default.
To filter these out, use the `current` parameter.
- If you are an Account Administrator, you can use the `only_my_account` parameter to filter for
Daily Scheduled Hours from only your account. This optimizes performance of the endpoint.

The returned Daily Scheduled Hours are sorted by when they were last updated.


This endpoint returns structured Daily Scheduled Hours (Story Allocation Day) objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `story_allocation_days` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Query parameters

- `assignee_id` integer
- `assignment_id` integer
- `created_after` string, date-time
- `created_before` string, date-time
- `current` boolean
- `date_between` string
- `external_reference_external_message` string
- `external_reference_external_status` string
- `external_reference_service_model` string
- `external_reference_service_model_ref` integer
- `external_reference_service_model_refs` string
- `external_reference_service_name` string
- `external_reference_status` string
- `has_external_references` boolean
- `in_unarchived_stories` boolean
- `in_unarchived_workspaces` boolean
- `include` string
- `include_unnamed` boolean
- `only` string
- `only_my_account` boolean
- `order` string
- `page` integer
- `per_page` integer
- `story_id` integer
- `uncurrent` boolean
- `updated_after` string, date-time
- `updated_at_between` string
- `updated_before` string, date-time
- `without_external_reference_service_name` string
- `workspace_id` integer

## Response `200`

A list of Daily Scheduled Hours (Story Allocation Day)s have been retrieved.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `story_allocation_days` object
  - `external_references` object
  - `assignments` object
  - `stories` object
  - `workspaces` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
