# Story Dependencies

Story dependencies define relationships between tasks and the sequence in which they must be completed in order to close a project. A dependency is between two tasks (stories) in a project (workspace), with one being the predecessor (source) task, and the other the successor (target) task. Each relationship is characterized by the type of dependency and lag between tasks. There are four (4) types of dependencies:
- Finish to Start (FS)—The predecessor ends before the successor can begin.
- Start to Start (SS)—The predecessor begins before the successor can begin.
- Finish to Finish (FF)—The predecessor ends before the successor can end.
- Start to Finish (SF)—The predecessor begins before the successor can end.
Lag is the number of days between the predecessor task ending and the successor task beginning.
To learn more about dependencies, see our [Gantt Chart Dependencies article](https://mavenlink.zendesk.com/hc/en-us/articles/360000456874-Gantt-Chart-Dependencies).

## Fetching a list of Story Dependencies

 - [GET /story_dependencies](https://developer.kantata.com/kantata/specification/story-dependencies/get-story-dependencies.md): This endpoint returns structured Story Dependency 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_dependencies top-level JSON key.
Please see our Response Format section for more information.

## Fetching a single Story Dependency

 - [GET /story_dependencies/{id}](https://developer.kantata.com/kantata/specification/story-dependencies/get-story-dependency.md): This endpoint returns structured Story Dependency 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_dependencies top-level JSON key.
Please see our Response Format section for more information.

