@shortcut/client
    Preparing search index...

    Class ShortcutV4Client

    Shortcut REST API v4 client.

    Generated operations take the workspace slug as their first argument; workspace(slug) returns the same operations with it applied. Requests that fail reject with the Response, so isShortcutV4RequestError narrows a caught error to one with a typed .error body, .status, and the .request that produced it. Every request is aborted with a TimeoutError after timeoutMs.

    const client = new ShortcutV4Client({ token });
    const { entity } = await client.workspace('acme').getStory(123, { fields: 'name,team' });

    Hierarchy

    • Api<string>
      • ShortcutV4Client
    Index

    Constructors

    Properties

    Methods

    abortRequest addArrayQueryParam addDocToCollection addQueryParam addQueryParams bulkCreateCategories bulkCreateDocs bulkCreateEntityTemplates bulkCreateEpicComments bulkCreateEpics bulkCreateIterations bulkCreateLabels bulkCreateLinkedFiles bulkCreateObjectives bulkCreateStories bulkCreateStoryChecklistItems bulkCreateStoryComments bulkCreateStoryLinks bulkCreateTeams bulkDeleteCategories bulkDeleteCustomFields bulkDeleteEntityTemplates bulkDeleteEpicComments bulkDeleteEpics bulkDeleteFiles bulkDeleteIterations bulkDeleteLabels bulkDeleteLinkedFiles bulkDeleteObjectives bulkDeleteStories bulkDeleteStoryChecklistItems bulkDeleteStoryComments bulkDeleteStoryLinks bulkUpdateCategories bulkUpdateCustomFields bulkUpdateEntityTemplates bulkUpdateEpicComments bulkUpdateEpics bulkUpdateIterations bulkUpdateLabels bulkUpdateLinkedFiles bulkUpdateMembers bulkUpdateObjectives bulkUpdateStories bulkUpdateStoryChecklistItems bulkUpdateStoryComments bulkUpdateStoryLinks bulkUpdateTeams createAbortSignal createCategory createCollection createDoc createEntityTemplate createEpic createEpicComment createEpicHealth createIteration createLabel createLinkedFile createObjective createObjectiveHealth createProject createStory createStoryChecklistItem createStoryComment createStoryCommentReaction createStoryLink createTeam deleteCategory deleteCustomField deleteEntityTemplate deleteEpic deleteEpicComment deleteFile deleteIteration deleteLabel deleteLinkedFile deleteObjective deleteProject deleteStory deleteStoryChecklistItem deleteStoryComment deleteStoryCommentReaction deleteStoryLink deleteWorkspaceToken encodeQueryParam favoriteCollection getBranch getCategory getCollection getCommit getCurrentIterations getCustomField getDoc getEntityTemplate getEpic getEpicComment getEpicHealth getEpicStats getEpicWorkflow getFile getIteration getKeyResult getLabel getLinkedFile getMember getMultipleStoriesHistory getObjective getObjectiveHealth getProject getPullRequest getRepository getSchema getStory getStoryChecklistItem getStoryComment getStoryHistory getStoryLink getTeam getWhoami getWorkflow getWorkflowState listBranches listBranchPullRequests listBranchStories listCategories listCategoryObjectives listCollections listCommits listCommitStories listCustomFields listCustomFieldStories listDocCollections listDocFollowers listDocs listEntityTemplates listEpicCommentComments listEpicCommentMentionedMembers listEpicCommentMentionedTeams listEpicComments listEpicFollowers listEpicHealths listEpicLabels listEpicMentionedMembers listEpicMentionedTeams listEpicObjectives listEpicOwners listEpics listEpicStories listEpicTeams listEpicWorkflowStates listFileMentionedMembers listFileMentionedTeams listFiles listFileStories listIterationAssociatedTeams listIterationFollowers listIterationLabels listIterationMentionedMembers listIterationMentionedTeams listIterations listIterationStories listIterationTeams listKeyResults listLabelEpics listLabels listLabelStories listLinkedFileMentionedMembers listLinkedFileMentionedTeams listLinkedFiles listLinkedFileStories listMembers listMemberStories listMemberTeams listObjectiveCategories listObjectiveEpics listObjectiveHealths listObjectiveKeyResults listObjectiveOwners listObjectives listObjectiveTeams listProjectFollowers listProjects listProjectStories listPullRequests listPullRequestStories listRepositories listRepositoryBranches listRepositoryCommits listRepositoryPullRequests listStories listStoryBranches listStoryChecklistItemMentionedMembers listStoryChecklistItemMentionedTeams listStoryChecklistItems listStoryCommentComments listStoryCommentMentionedMembers listStoryCommentMentionedTeams listStoryCommentReactions listStoryComments listStoryCommits listStoryCustomFieldValues listStoryExternalLinks listStoryFiles listStoryFollowers listStoryIterations listStoryLabels listStoryLinkedFiles listStoryLinks listStoryMentionedMembers listStoryMentionedTeams listStoryOwners listStoryPullRequests listStoryStoryLinks listStorySubTaskStories listTeamMembers listTeams listTeamStories listTeamWorkflows listWorkflowProjects listWorkflows listWorkflowStates listWorkflowStateStories listWorkflowStatesWithinAWorkflow listWorkflowStories listWorkflowTeams listWorkspaceTokens mergeRequestParams nextPage paginate removeDocFromCollection request search searchDocs searchEpics searchIterations searchObjectives searchStories setSecurityData setToken toQueryString unfavoriteCollection updateCategory updateCustomField updateEntityTemplate updateEpic updateEpicComment updateIteration updateKeyResult updateLabel updateLinkedFile updateMember updateObjective updateProject updateStory updateStoryChecklistItem updateStoryComment updateStoryLink updateTeam uploadFiles workspace

    Constructors

    Properties

    baseUrl: string = "https://api.app.shortcut.com"
    timeoutMs: number

    Methods

    • Parameters

      • query: QueryParamsType
      • key: string

      Returns any

    • Parameters

      • workspaceSlug: string
      • docPublicId: string
      • collectionPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<DocEntityWrapper>

      Add Doc to Collection adds the Doc to the chosen Collection, preserving its other Collection memberships, and returns the updated Doc. Requires write access to the Doc.

      AddDocToCollection

      PUT:/api/v4/{workspace-slug}/documents/{doc-public-id}/collections/{collection-public-id}

    • Parameters

      • query: QueryParamsType
      • key: string

      Returns string

    • Parameters

      • OptionalrawQuery: QueryParamsType

      Returns string

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateCategoriesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityListWrapper>

      Bulk Create Categories creates multiple Categories, and returns a paginated list of the created Categories.

      BulkCreateCategories

      POST:/api/v4/{workspace-slug}/categories/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateDocsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<DocEntityListWrapper>

      Bulk Create Docs creates multiple Docs, and returns a paginated list of the created Docs.

      BulkCreateDocs

      POST:/api/v4/{workspace-slug}/documents/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateEntityTemplatesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityListWrapper>

      Bulk Create Entity Templates creates multiple Entity Templates, and returns a paginated list of the created Entity Templates.

      BulkCreateEntityTemplates

      POST:/api/v4/{workspace-slug}/entity-templates/bulk

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • data: BulkCreateEpicCommentsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityListWrapper>

      Bulk Create Epic Comments creates multiple Comments on an Epic, and returns a paginated list of the created Comments.

      BulkCreateEpicComments

      POST:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateEpicsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicEntityListWrapper>

      Bulk Create Epics creates multiple Epics, and returns a paginated list of the created Epics.

      BulkCreateEpics

      POST:/api/v4/{workspace-slug}/epics/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateIterationsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at" | "start_date";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at" | "start_date"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationEntityListWrapper>

      Bulk Create Iterations creates multiple Iterations, and returns a paginated list of the created Iterations.

      BulkCreateIterations

      POST:/api/v4/{workspace-slug}/iterations/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateLabelsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LabelEntityListWrapper>

      Bulk Create Labels creates multiple Labels, and returns a paginated list of the created Labels.

      BulkCreateLabels

      POST:/api/v4/{workspace-slug}/labels/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateLinkedFilesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityListWrapper>

      Bulk Create Linked Files creates multiple Linked Files, and returns a paginated list of the created Linked Files.

      BulkCreateLinkedFiles

      POST:/api/v4/{workspace-slug}/linked-files/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateObjectivesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityListWrapper>

      Bulk Create Objectives creates multiple Objectives, and returns a paginated list of the created Objectives.

      BulkCreateObjectives

      POST:/api/v4/{workspace-slug}/objectives/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateStoriesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryEntityListWrapper>

      Bulk Create Stories creates multiple Stories, and returns a paginated list of the created Stories.

      BulkCreateStories

      POST:/api/v4/{workspace-slug}/stories/bulk

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: BulkCreateStoryChecklistItemsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityListWrapper>

      Bulk Create Story Checklist Items creates multiple Checklist Items on a Story, and returns a paginated list of the created Checklist Items.

      BulkCreateStoryChecklistItems

      POST:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/bulk

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: BulkCreateStoryCommentsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityListWrapper>

      Bulk Create Story Comments creates multiple Comments on a Story, and returns a paginated list of the created Comments.

      BulkCreateStoryComments

      POST:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateStoryLinksParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryLinkEntityListWrapper>

      Bulk Create Story Links creates multiple Story Links, and returns a paginated list of the created Story Links.

      BulkCreateStoryLinks

      POST:/api/v4/{workspace-slug}/story-links/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkCreateTeamsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamEntityListWrapper>

      Creates multiple Teams and returns a paginated list of the created Teams.

      BulkCreateTeams

      POST:/api/v4/{workspace-slug}/teams/bulk

    • Parameters

      Returns Promise<void>

      Bulk Delete Epic Comments deletes multiple Comments from an Epic.

      BulkDeleteEpicComments

      DELETE:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkDeleteEpicsParams
      • Optionalquery: { force?: boolean }
        • Optionalforce?: boolean

          Forces deletion of the Epics, overriding the check that they are archived.

      • params: RequestParams = {}

      Returns Promise<void>

      Bulk Delete Epics deletes multiple Epics. The Epics must be archived unless force is set.

      BulkDeleteEpics

      DELETE:/api/v4/{workspace-slug}/epics/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkDeleteStoriesParams
      • Optionalquery: { force?: boolean }
        • Optionalforce?: boolean

          Forces deletion of the Stories, overriding the check that they are archived.

      • params: RequestParams = {}

      Returns Promise<void>

      Bulk Delete Stories deletes multiple Stories. The Stories must be archived unless force is set.

      BulkDeleteStories

      DELETE:/api/v4/{workspace-slug}/stories/bulk

    • Parameters

      Returns Promise<void>

      Bulk Delete Story Checklist Items deletes multiple Checklist Items from a Story.

      BulkDeleteStoryChecklistItems

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/bulk

    • Parameters

      Returns Promise<void>

      Bulk Delete Story Comments deletes multiple Comments from a Story.

      BulkDeleteStoryComments

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateCategoriesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityListWrapper>

      Bulk Update Categories updates multiple Categories, and returns a paginated list of the updated Categories.

      BulkUpdateCategories

      PATCH:/api/v4/{workspace-slug}/categories/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateCustomFieldsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CustomFieldEntityListWrapper>

      Bulk Update Custom Fields updates multiple Custom Fields, and returns a paginated list of the updated Custom Fields.

      BulkUpdateCustomFields

      PATCH:/api/v4/{workspace-slug}/custom-fields/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateEntityTemplatesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityListWrapper>

      Bulk Update Entity Templates updates multiple Entity Templates, and returns a paginated list of the updated Entity Templates.

      BulkUpdateEntityTemplates

      PATCH:/api/v4/{workspace-slug}/entity-templates/bulk

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • data: BulkUpdateEpicCommentsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityListWrapper>

      Bulk Update Epic Comments updates multiple Comments on an Epic, and returns a paginated list of the updated Comments.

      BulkUpdateEpicComments

      PATCH:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateEpicsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicEntityListWrapper>

      Bulk Update Epics updates multiple Epics, and returns a paginated list of the updated Epics.

      BulkUpdateEpics

      PATCH:/api/v4/{workspace-slug}/epics/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateIterationsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at" | "start_date";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at" | "start_date"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationEntityListWrapper>

      Bulk Update Iterations updates multiple Iterations, and returns a paginated list of the updated Iterations.

      BulkUpdateIterations

      PATCH:/api/v4/{workspace-slug}/iterations/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateLabelsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LabelEntityListWrapper>

      Bulk Update Labels updates multiple Labels, and returns a paginated list of the updated Labels.

      BulkUpdateLabels

      PATCH:/api/v4/{workspace-slug}/labels/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateLinkedFilesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityListWrapper>

      Bulk Update Linked Files updates multiple Linked Files, and returns a paginated list of the updated Linked Files.

      BulkUpdateLinkedFiles

      PATCH:/api/v4/{workspace-slug}/linked-files/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateMembersParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<MemberEntityListWrapper>

      Bulk Update Members updates multiple Members and returns a paginated list of the updated Members.

      BulkUpdateMembers

      PATCH:/api/v4/{workspace-slug}/members/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateObjectivesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityListWrapper>

      Bulk Update Objectives updates multiple Objectives, and returns a paginated list of the updated Objectives.

      BulkUpdateObjectives

      PATCH:/api/v4/{workspace-slug}/objectives/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateStoriesParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryEntityListWrapper>

      Bulk Update Stories updates multiple Stories, and returns a paginated list of the updated Stories.

      BulkUpdateStories

      PATCH:/api/v4/{workspace-slug}/stories/bulk

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: BulkUpdateStoryChecklistItemsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityListWrapper>

      Bulk Update Story Checklist Items updates multiple Checklist Items on a Story, and returns a paginated list of the updated Checklist Items.

      BulkUpdateStoryChecklistItems

      PATCH:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/bulk

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: BulkUpdateStoryCommentsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityListWrapper>

      Bulk Update Story Comments updates multiple Comments on a Story, and returns a paginated list of the updated Comments.

      BulkUpdateStoryComments

      PATCH:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateStoryLinksParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryLinkEntityListWrapper>

      Bulk Update Story Links updates multiple Story Links, and returns a paginated list of the updated Story Links.

      BulkUpdateStoryLinks

      PATCH:/api/v4/{workspace-slug}/story-links/bulk

    • Parameters

      • workspaceSlug: string
      • data: BulkUpdateTeamsParams
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamEntityListWrapper>

      Updates multiple Teams and returns a paginated list of the updated Teams.

      BulkUpdateTeams

      PATCH:/api/v4/{workspace-slug}/teams/bulk

    • Parameters

      • cancelToken: CancelToken

      Returns AbortSignal | undefined

    • Parameters

      • workspaceSlug: string
      • data: CreateCategoryParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityWrapper>

      Create Category allows you to create a new Category in Shortcut.

      CreateCategory

      POST:/api/v4/{workspace-slug}/categories

    • Parameters

      • workspaceSlug: string
      • data: CreateCollectionParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CollectionEntityWrapper>

      Create Collection allows you to create a new Collection in the Workspace.

      CreateCollection

      POST:/api/v4/{workspace-slug}/collections

    • Parameters

      • workspaceSlug: string
      • data: CreateDocBody
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<DocEntityWrapper>

      Create Doc allows you to create a new Doc in the Workspace.

      CreateDoc

      POST:/api/v4/{workspace-slug}/documents

    • Parameters

      • workspaceSlug: string
      • data: CreateEntityTemplateParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityWrapper>

      Create Entity Template creates a new Entity Template in your Shortcut Workspace.

      CreateEntityTemplate

      POST:/api/v4/{workspace-slug}/entity-templates

    • Parameters

      • workspaceSlug: string
      • data: CreateEpicParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicEntityWrapper>

      Create Epic is used to create a new Epic in your Shortcut Workspace.

      CreateEpic

      POST:/api/v4/{workspace-slug}/epics

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • data: CreateEpicCommentParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityWrapper>

      Create Epic Comment is used to add a new Comment to an Epic. To reply to an existing Comment, provide a parent_comment_id.

      CreateEpicComment

      POST:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • data: CreateEpicHealthParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<HealthEntityWrapper>

      Creates a new Health update for the specified Epic.

      CreateEpicHealth

      POST:/api/v4/{workspace-slug}/epics/{epic-public-id}/epic-healths

    • Parameters

      • workspaceSlug: string
      • data: CreateIterationParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<IterationEntityWrapper>

      Create Iteration is used to create a new Iteration in your Shortcut Workspace.

      CreateIteration

      POST:/api/v4/{workspace-slug}/iterations

    • Parameters

      • workspaceSlug: string
      • data: CreateLabelParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LabelEntityWrapper>

      Create Label allows you to create a new Label in Shortcut.

      CreateLabel

      POST:/api/v4/{workspace-slug}/labels

    • Parameters

      • workspaceSlug: string
      • data: CreateLinkedFileParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityWrapper>

      Create Linked File is used to add a new Linked File to your Shortcut Workspace.

      CreateLinkedFile

      POST:/api/v4/{workspace-slug}/linked-files

    • Parameters

      • workspaceSlug: string
      • data: CreateObjectiveParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityWrapper>

      Create Objective is used to create a new Objective in your Shortcut Workspace.

      CreateObjective

      POST:/api/v4/{workspace-slug}/objectives

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • data: CreateObjectiveHealthParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<HealthEntityWrapper>

      Creates a new Health update for the specified Objective.

      CreateObjectiveHealth

      POST:/api/v4/{workspace-slug}/objectives/{objective-public-id}/objective-healths

    • Parameters

      • workspaceSlug: string
      • data: CreateProjectParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ProjectEntityWrapper>

      Create Project allows you to create a new Project in Shortcut. Projects are a deprecated feature.

      CreateProject

      POST:/api/v4/{workspace-slug}/projects

    • Parameters

      • workspaceSlug: string
      • data: CreateStoryBody
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryEntityWrapper>

      Create Story is used to add a new Story to your Shortcut Workspace.

      CreateStory

      POST:/api/v4/{workspace-slug}/stories

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: CreateStoryChecklistItemBody
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityWrapper>

      Create Story Checklist Item is used to add a new Checklist Item to a Story.

      CreateStoryChecklistItem

      POST:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: CreateStoryCommentParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityWrapper>

      Create Story is used to add a new Comment to a Story.

      CreateStoryComment

      POST:/api/v4/{workspace-slug}/stories/{story-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • data: CreateStoryCommentReactionParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryCommentReactionEntityWrapper>

      Create a Reaction to a Story Comment.

      CreateStoryCommentReaction

      POST:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/reactions

    • Parameters

      • workspaceSlug: string
      • data: CreateTeamParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<TeamEntityWrapper>

      Creates a new Team in the Workspace.

      CreateTeam

      POST:/api/v4/{workspace-slug}/teams

    • Parameters

      • workspaceSlug: string
      • categoryPublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Category removes a Category from the Workspace.

      DeleteCategory

      DELETE:/api/v4/{workspace-slug}/categories/{category-public-id}

    • Parameters

      • workspaceSlug: string
      • customFieldPublicId: string
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Custom Field removes a Custom Field from the Workspace.

      DeleteCustomField

      DELETE:/api/v4/{workspace-slug}/custom-fields/{custom-field-public-id}

    • Parameters

      • workspaceSlug: string
      • entityTemplatePublicId: string
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Entity Template removes an Entity Template from the Workspace.

      DeleteEntityTemplate

      DELETE:/api/v4/{workspace-slug}/entity-templates/{entity-template-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: { force?: boolean }
        • Optionalforce?: boolean

          Forces deletion of the Epic, overriding the check that it is archived.

      • params: RequestParams = {}

      Returns Promise<void>

      Delete Epic removes an Epic from the Workspace. The Epic must be archived unless force is set.

      DeleteEpic

      DELETE:/api/v4/{workspace-slug}/epics/{epic-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<void>

      Delete a Comment from an Epic.

      DeleteEpicComment

      DELETE:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • filePublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete File removes a previously uploaded File from the Workspace.

      DeleteFile

      DELETE:/api/v4/{workspace-slug}/files/{file-public-id}

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Iteration removes an Iteration from the Workspace.

      DeleteIteration

      DELETE:/api/v4/{workspace-slug}/iterations/{iteration-public-id}

    • Parameters

      • workspaceSlug: string
      • labelPublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Label removes a Label from the Workspace.

      DeleteLabel

      DELETE:/api/v4/{workspace-slug}/labels/{label-public-id}

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Linked File removes a Linked File from the Workspace.

      DeleteLinkedFile

      DELETE:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Objective removes an Objective from the Workspace.

      DeleteObjective

      DELETE:/api/v4/{workspace-slug}/objectives/{objective-public-id}

    • Parameters

      • workspaceSlug: string
      • projectPublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Project can be used to delete any Project. Projects are a deprecated feature.

      DeleteProject

      DELETE:/api/v4/{workspace-slug}/projects/{project-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: { force?: boolean }
        • Optionalforce?: boolean

          Forces deletion of the Story, overriding the check that it is archived.

      • params: RequestParams = {}

      Returns Promise<void>

      Delete Story can be used to delete a Story. The Story must be archived unless force is set.

      DeleteStory

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • checklistItemPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<void>

      Delete a Checklist Item from a Story.

      DeleteStoryChecklistItem

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/{checklist-item-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<void>

      Delete a Comment from a Story.

      DeleteStoryComment

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • reactionPublicId: string
      • params: RequestParams = {}

      Returns Promise<void>

      Delete a Reaction from a Story Comment.

      DeleteStoryCommentReaction

      DELETE:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/reactions/{reaction-public-id}

    • Parameters

      • workspaceSlug: string
      • storyLinkPublicId: number
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Story Link removes the relationship between the Stories for the given Story Link.

      DeleteStoryLink

      DELETE:/api/v4/{workspace-slug}/story-links/{story-link-public-id}

    • Parameters

      • workspaceSlug: string
      • tokenPublicId: string
      • params: RequestParams = {}

      Returns Promise<void>

      Delete Workspace Token disables an API Token in the Workspace. Requires admin role.

      DeleteWorkspaceToken

      DELETE:/api/v4/{workspace-slug}/admin/tokens/{token-public-id}

    • Parameters

      • key: string
      • value: any

      Returns string

    • Parameters

      • workspaceSlug: string
      • collectionPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CollectionEntityWrapper>

      Favorite Collection marks the Collection as a favorite of the current Member, and returns the updated Collection.

      FavoriteCollection

      PUT:/api/v4/{workspace-slug}/collections/{collection-public-id}/favorite

    • Parameters

      • workspaceSlug: string
      • branchPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<BranchEntityWrapper>

      Get Branch returns information about a chosen Branch.

      GetBranch

      GET:/api/v4/{workspace-slug}/branches/{branch-public-id}

    • Parameters

      • workspaceSlug: string
      • categoryPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityWrapper>

      Get Category returns information about a chosen Category.

      GetCategory

      GET:/api/v4/{workspace-slug}/categories/{category-public-id}

    • Parameters

      • workspaceSlug: string
      • collectionPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CollectionEntityWrapper>

      Get Collection returns information about a chosen Collection.

      GetCollection

      GET:/api/v4/{workspace-slug}/collections/{collection-public-id}

    • Parameters

      • workspaceSlug: string
      • commitPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CommitEntityWrapper>

      Get Commit returns information about a chosen Commit.

      GetCommit

      GET:/api/v4/{workspace-slug}/commits/{commit-public-id}

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at" | "start_date";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at" | "start_date"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CurrentIterationsOutput>

      Returns all currently started iterations for the authenticated user based on their team memberships. The 'current' iterations are determined by finding started iterations associated with teams the user belongs to. If multiple iterations match, all are returned sorted by start date (ascending), then end date (ascending), then ID (ascending).

      GetCurrentIterations

      GET:/api/v4/{workspace-slug}/iterations/current

    • Parameters

      • workspaceSlug: string
      • customFieldPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CustomFieldEntityWrapper>

      Get Custom Field returns information about a chosen Custom Field.

      GetCustomField

      GET:/api/v4/{workspace-slug}/custom-fields/{custom-field-public-id}

    • Parameters

      • workspaceSlug: string
      • docPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<DocEntityWrapper>

      Get Doc returns information about a chosen Doc. Pass content_format=markdown (default) or content_format=html to include content in the response.

      GetDoc

      GET:/api/v4/{workspace-slug}/documents/{doc-public-id}

    • Parameters

      • workspaceSlug: string
      • entityTemplatePublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityWrapper>

      Get Entity Template returns information about a given Entity Template.

      GetEntityTemplate

      GET:/api/v4/{workspace-slug}/entity-templates/{entity-template-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicEntityWrapper>

      Get Epic returns information about a chosen Epic.

      GetEpic

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityWrapper>

      Get Epic Comment returns information about a chosen Epic Comment.

      GetEpicComment

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • epicHealthPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<HealthEntityWrapper>

      Returns a Health for the specified Epic.

      GetEpicHealth

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/epic-healths/{epic-health-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • params: RequestParams = {}

      Returns Promise<EpicStatsWrapper>

      Get Epic Stats returns calculated stats for a chosen Epic. Stats are served from this dedicated sub-endpoint (rather than the Epic response itself) to avoid the performance impact of computing them on bulk list requests.

      GetEpicStats

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/stats

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicWorkflowEntityWrapper>

      Returns the Epic Workflow configuration for the Workspace.

      GetEpicWorkflow

      GET:/api/v4/{workspace-slug}/epic-workflow

    • Parameters

      • workspaceSlug: string
      • filePublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<FileEntityWrapper>

      Get File returns information about the chosen File.

      GetFile

      GET:/api/v4/{workspace-slug}/files/{file-public-id}

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<IterationEntityWrapper>

      Get Iteration returns information about a chosen Iteration.

      GetIteration

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}

    • Parameters

      • workspaceSlug: string
      • keyResultPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<KeyResultEntityWrapper>

      Returns the specified Key Result.

      GetKeyResult

      GET:/api/v4/{workspace-slug}/key-results/{key-result-public-id}

    • Parameters

      • workspaceSlug: string
      • labelPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LabelEntityWrapper>

      Get Label returns information about a chosen Label.

      GetLabel

      GET:/api/v4/{workspace-slug}/labels/{label-public-id}

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityWrapper>

      Get Linked File returns information about the chosen Linked File.

      GetLinkedFile

      GET:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}

    • Parameters

      • workspaceSlug: string
      • memberPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<MemberEntityWrapper>

      Get Member returns information about a Member of the Workspace.

      GetMember

      GET:/api/v4/{workspace-slug}/members/{member-public-id}

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            ids?: string;
            limit?: number;
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Filter history to specific attributes (e.g., workflow_state,epic).

        • Optionalids?: string

          Comma-separated Story IDs (max 100).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_dir?: "desc" | "asc"

          Sort direction by change instant: asc (default, oldest first) or desc (newest first). Entries at the same instant keep the same deterministic tie-break order in both directions.

      • params: RequestParams = {}

      Returns Promise<StoryHistoryResponseWrapper>

      Returns history of changes for multiple Stories in chronological order (oldest first by default; newest first with order_dir=desc), across all attributes, with a deterministic tie-break for changes at the same instant. Ordering is stable across pages. Requires ?ids= parameter. Supports cursor-based pagination. History is currently tracked for these attributes: archived, completed, custom_field_values, deadline, epic, estimate, iterations, labels, owners, project, started, story_type, team, workflow_state. Changes to other attributes are not included yet but will be added.

      GetMultipleStoriesHistory

      GET:/api/v4/{workspace-slug}/stories/history

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityWrapper>

      Get Objective returns information about a chosen Objective.

      GetObjective

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • objectiveHealthPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<HealthEntityWrapper>

      Returns a Health for the specified Objective.

      GetObjectiveHealth

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/objective-healths/{objective-health-public-id}

    • Parameters

      • workspaceSlug: string
      • projectPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ProjectEntityWrapper>

      Get Project returns information about the chosen Project. Projects are a deprecated feature.

      GetProject

      GET:/api/v4/{workspace-slug}/projects/{project-public-id}

    • Parameters

      • workspaceSlug: string
      • pullRequestPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<PullRequestEntityWrapper>

      Get Pull Request returns information about a chosen Pull Request.

      GetPullRequest

      GET:/api/v4/{workspace-slug}/pull-requests/{pull-request-public-id}

    • Parameters

      • workspaceSlug: string
      • repositoryPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<RepositoryEntityWrapper>

      Get Repository returns information about a connected Repository.

      GetRepository

      GET:/api/v4/{workspace-slug}/repositories/{repository-public-id}

    • Parameters

      Returns Promise<Record<string, any>>

      Gets the json-schema for a route.

      GetSchema

      GET:/api/v4/schemas/{schema-name}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryEntityWrapper>

      Get Story returns information about a chosen Story.

      GetStory

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • checklistItemPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityWrapper>

      Get Story Checklist Item returns information about a chosen Checklist Item for a Story.

      GetStoryChecklistItem

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/{checklist-item-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityWrapper>

      Get Story Comment returns information about a chosen Story Comment.

      GetStoryComment

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: { cursor?: string; fields?: string; limit?: number; order_dir?: "desc" | "asc" }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Filter history to specific attributes (e.g., workflow_state,epic).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_dir?: "desc" | "asc"

          Sort direction by change instant: asc (default, oldest first) or desc (newest first). Entries at the same instant keep the same deterministic tie-break order in both directions.

      • params: RequestParams = {}

      Returns Promise<StoryHistoryResponseWrapper>

      Returns history of changes for a Story in chronological order (oldest first by default; newest first with order_dir=desc), across all attributes, with a deterministic tie-break for changes at the same instant. Ordering is stable across pages. Supports cursor-based pagination and optional field filtering. History is currently tracked for these attributes: archived, completed, custom_field_values, deadline, epic, estimate, iterations, labels, owners, project, started, story_type, team, workflow_state. Changes to other attributes are not included yet but will be added.

      GetStoryHistory

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/history

    • Parameters

      • workspaceSlug: string
      • storyLinkPublicId: number
      • params: RequestParams = {}

      Returns Promise<StoryLinkEntityWrapper>

      Get Story Link returns information about a chosen Story Link.

      GetStoryLink

      GET:/api/v4/{workspace-slug}/story-links/{story-link-public-id}

    • Parameters

      • workspaceSlug: string
      • teamPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<TeamEntityWrapper>

      Returns the specified Team.

      GetTeam

      GET:/api/v4/{workspace-slug}/teams/{team-public-id}

    • Parameters

      • workspaceSlug: string
      • workflowPublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<WorkflowEntityWrapper>

      Returns the specified Workflow.

      GetWorkflow

      GET:/api/v4/{workspace-slug}/workflows/{workflow-public-id}

    • Parameters

      • workspaceSlug: string
      • workflowStatePublicId: number
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<WorkflowStateEntityWrapper>

      Returns the specified Workflow State.

      GetWorkflowState

      GET:/api/v4/{workspace-slug}/workflow-states/{workflow-state-public-id}

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_deleted" | "include_deleted";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_deleted" | "include_deleted"

          Filter options (default: :exclude_deleted).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<BranchEntityListWrapper>

      List Branches returns a paginated list of all Branches in the Workspace that have either been associated with a Story, or used in a Pull Request that was associated with a Story.

      ListBranches

      GET:/api/v4/{workspace-slug}/branches

    • Parameters

      • workspaceSlug: string
      • branchPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_closed" | "include_closed";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_closed" | "include_closed"

          Filter options (default: :include_closed).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<BranchPullRequestEntityListWrapper>

      List Branch Pull Requests returns a paginated list of all Pull Requests associated with a Branch in the Workspace.

      ListBranchPullRequests

      GET:/api/v4/{workspace-slug}/branches/{branch-public-id}/pull-requests

    • Parameters

      • workspaceSlug: string
      • branchPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<BranchStoryEntityListWrapper>

      List Branch Stories returns a paginated list of all Stories associated with a Branch in the Workspace.

      ListBranchStories

      GET:/api/v4/{workspace-slug}/branches/{branch-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityListWrapper>

      List Categories returns a paginated list of all Categories in the Workspace.

      ListCategories

      GET:/api/v4/{workspace-slug}/categories

    • Parameters

      • workspaceSlug: string
      • categoryPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CategoryObjectiveEntityListWrapper>

      List Category Objectives returns a paginated list of all Objectives associated with a Category in the Workspace.

      ListCategoryObjectives

      GET:/api/v4/{workspace-slug}/categories/{category-public-id}/objectives

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived" | "favorited";
            limit?: number;
            order_by?: "name" | "created_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived" | "favorited"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CollectionEntityListWrapper>

      List Collections returns a paginated list of all Collections in the Workspace.

      ListCollections

      GET:/api/v4/{workspace-slug}/collections

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CommitEntityListWrapper>

      List Commits returns a paginated list of all Commits in the Workspace that have been associated with Stories.

      ListCommits

      GET:/api/v4/{workspace-slug}/commits

    • Parameters

      • workspaceSlug: string
      • commitPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CommitStoryEntityListWrapper>

      List Commit Stories returns a paginated list of all Stories associated with a Commit in the Workspace.

      ListCommitStories

      GET:/api/v4/{workspace-slug}/commits/{commit-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CustomFieldEntityListWrapper>

      List Custom Fields returns a paginated list of all Custom Fields in the Workspace.

      ListCustomFields

      GET:/api/v4/{workspace-slug}/custom-fields

    • Parameters

      • workspaceSlug: string
      • customFieldPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<CustomFieldStoryEntityListWrapper>

      Returns a paginated list of all Stories that have a value set for the specified Custom Field.

      ListCustomFieldStories

      GET:/api/v4/{workspace-slug}/custom-fields/{custom-field-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • docPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived" | "favorited";
            limit?: number;
            order_by?: "name" | "created_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived" | "favorited"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<DocCollectionEntityListWrapper>

      List Doc Collections returns a paginated list of the Collections the Doc belongs to.

      ListDocCollections

      GET:/api/v4/{workspace-slug}/documents/{doc-public-id}/collections

    • Parameters

      • workspaceSlug: string
      • docPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<DocFollowerEntityListWrapper>

      List Doc Followers returns a paginated list of all Members following a Doc in the Workspace.

      ListDocFollowers

      GET:/api/v4/{workspace-slug}/documents/{doc-public-id}/followers

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<DocEntityListWrapper>

      List Docs returns a paginated list of all accessible Docs in the Workspace.

      ListDocs

      GET:/api/v4/{workspace-slug}/documents

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityListWrapper>

      List Entity Templates returns a paginated list of all Entity Templates in the Workspace.

      ListEntityTemplates

      GET:/api/v4/{workspace-slug}/entity-templates

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentCommentEntityListWrapper>

      List Epic Comment Comments returns a paginated list of all threaded reply Comments for an Epic Comment in the Workspace.

      ListEpicCommentComments

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentMentionedMemberEntityListWrapper>

      List Epic Comment Mentioned Members returns a paginated list of all Members mentioned in an Epic Comment in the Workspace.

      ListEpicCommentMentionedMembers

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentMentionedTeamEntityListWrapper>

      List Epic Comment Mentioned Teams returns a paginated list of all Teams mentioned in an Epic Comment in the Workspace.

      ListEpicCommentMentionedTeams

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            ids?: string;
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionalids?: string

          A comma-separated list of ids. If included, only those entities will be considered for listing.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityListWrapper>

      List Epic Comments returns a paginated list of all Comments for an Epic in the Workspace. Note that deleted comments will also be returned, but will have minimal information. The deleted comments are included as they may be parents to other comments.

      ListEpicComments

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicFollowerEntityListWrapper>

      List Epic Followers returns a paginated list of all Members who are following an Epic in the Workspace.

      ListEpicFollowers

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/followers

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<HealthEntityListWrapper>

      Returns a paginated list of Health updates for the specified Epic.

      ListEpicHealths

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/epic-healths

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicLabelEntityListWrapper>

      List Epic Labels returns a paginated list of all Labels for an Epic in the Workspace.

      ListEpicLabels

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/labels

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicMentionedMemberEntityListWrapper>

      List Epic Mentioned Members returns a paginated list of all Members mentioned in an Epic in the Workspace.

      ListEpicMentionedMembers

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicMentionedTeamEntityListWrapper>

      List Epic Mentioned Teams returns a paginated list of all Teams mentioned in an Epic in the Workspace.

      ListEpicMentionedTeams

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicObjectiveEntityListWrapper>

      List Epic Objectives returns a paginated list of all Objectives associated with an Epic in the Workspace.

      ListEpicObjectives

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/objectives

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicOwnerEntityListWrapper>

      List Epic Owners returns a paginated list of all Members who own an Epic in the Workspace.

      ListEpicOwners

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/owners

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicEntityListWrapper>

      List Epics returns a paginated list of all Epics in the Workspace.

      ListEpics

      GET:/api/v4/{workspace-slug}/epics

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicStoryEntityListWrapper>

      List Epic Stories returns a paginated list of all Stories associated with an Epic in the Workspace.

      ListEpicStories

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicTeamEntityListWrapper>

      List Epic Teams returns a paginated list of all Teams associated with an Epic in the Workspace.

      ListEpicTeams

      GET:/api/v4/{workspace-slug}/epics/{epic-public-id}/teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<EpicStateEntityListWrapper>

      Returns a paginated list of all Epic States in the Workspace's Epic Workflow.

      ListEpicWorkflowStates

      GET:/api/v4/{workspace-slug}/epic-workflow/states

    • Parameters

      • workspaceSlug: string
      • filePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<FileMentionedMemberEntityListWrapper>

      List File Mentioned Members returns a paginated list of all Members mentioned in a File in the Workspace.

      ListFileMentionedMembers

      GET:/api/v4/{workspace-slug}/files/{file-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • filePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<FileMentionedTeamEntityListWrapper>

      List File Mentioned Teams returns a paginated list of all Teams mentioned in a File in the Workspace.

      ListFileMentionedTeams

      GET:/api/v4/{workspace-slug}/files/{file-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<FileEntityListWrapper>

      List Files returns a paginated list of all Files in the Workspace.

      ListFiles

      GET:/api/v4/{workspace-slug}/files

    • Parameters

      • workspaceSlug: string
      • filePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<FileStoryEntityListWrapper>

      List File Stories returns a paginated list of all Stories associated with a File in the Workspace.

      ListFileStories

      GET:/api/v4/{workspace-slug}/files/{file-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationAssociatedTeamEntityListWrapper>

      List Iteration Associated Teams returns a paginated list of all Teams that own Stories in an Iteration but are not directly associated with the Iteration.

      ListIterationAssociatedTeams

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/associated-teams

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationFollowerEntityListWrapper>

      List Iteration Followers returns a paginated list of all Members who are following an Iteration in the Workspace.

      ListIterationFollowers

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/followers

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationLabelEntityListWrapper>

      List Iteration Labels returns a paginated list of all Labels for an Iteration in the Workspace.

      ListIterationLabels

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/labels

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationMentionedMemberEntityListWrapper>

      List Iteration Mentioned Members returns a paginated list of all Members mentioned in an Iteration in the Workspace.

      ListIterationMentionedMembers

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationMentionedTeamEntityListWrapper>

      List Iteration Mentioned Teams returns a paginated list of all Teams mentioned in an Iteration in the Workspace.

      ListIterationMentionedTeams

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at" | "start_date";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at" | "start_date"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationEntityListWrapper>

      List Iterations returns a paginated list of all Iterations in the Workspace.

      ListIterations

      GET:/api/v4/{workspace-slug}/iterations

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationStoryEntityListWrapper>

      List Iteration Stories returns a paginated list of all Stories in an Iteration in the Workspace.

      ListIterationStories

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<IterationTeamEntityListWrapper>

      List Iteration Teams returns a paginated list of all Teams directly associated with an Iteration in the Workspace.

      ListIterationTeams

      GET:/api/v4/{workspace-slug}/iterations/{iteration-public-id}/teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<KeyResultEntityListWrapper>

      Returns a paginated list of all Key Results in the Workspace.

      ListKeyResults

      GET:/api/v4/{workspace-slug}/key-results

    • Parameters

      • workspaceSlug: string
      • labelPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LabelEpicEntityListWrapper>

      List Label Epics returns a paginated list of all Epics that have a given Label.

      ListLabelEpics

      GET:/api/v4/{workspace-slug}/labels/{label-public-id}/epics

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LabelEntityListWrapper>

      List Labels returns a paginated list of all Labels in the Workspace.

      ListLabels

      GET:/api/v4/{workspace-slug}/labels

    • Parameters

      • workspaceSlug: string
      • labelPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LabelStoryEntityListWrapper>

      List Label Stories returns a paginated list of all Stories that have a given Label.

      ListLabelStories

      GET:/api/v4/{workspace-slug}/labels/{label-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileMentionedMemberEntityListWrapper>

      List Linked File Mentioned Members returns a paginated list of all Members mentioned in a Linked File in the Workspace.

      ListLinkedFileMentionedMembers

      GET:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileMentionedTeamEntityListWrapper>

      List Linked File Mentioned Teams returns a paginated list of all Teams mentioned in a Linked File in the Workspace.

      ListLinkedFileMentionedTeams

      GET:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityListWrapper>

      List Linked Files returns a paginated list of all Linked Files in the Workspace.

      ListLinkedFiles

      GET:/api/v4/{workspace-slug}/linked-files

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<LinkedFileStoryEntityListWrapper>

      List Linked File Stories returns a paginated list of all Stories associated with a Linked File in the Workspace.

      ListLinkedFileStories

      GET:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<MemberEntityListWrapper>

      List Members returns a paginated list of all Members in the Workspace.

      ListMembers

      GET:/api/v4/{workspace-slug}/members

    • Parameters

      • workspaceSlug: string
      • memberPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<MemberStoryEntityListWrapper>

      Returns a paginated list of all Stories owned by the specified Member.

      ListMemberStories

      GET:/api/v4/{workspace-slug}/members/{member-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • memberPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<MemberTeamEntityListWrapper>

      Returns a paginated list of all Teams the Member belongs to.

      ListMemberTeams

      GET:/api/v4/{workspace-slug}/members/{member-public-id}/teams

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveCategoryEntityListWrapper>

      List Objective Categories returns a paginated list of all Categories associated with an Objective in the Workspace.

      ListObjectiveCategories

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/categories

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEpicEntityListWrapper>

      List Objective Epics returns a paginated list of all Epics associated with an Objective in the Workspace.

      ListObjectiveEpics

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/epics

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<HealthEntityListWrapper>

      Returns a paginated list of Health updates for the specified Objective.

      ListObjectiveHealths

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/objective-healths

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveKeyResultEntityListWrapper>

      List Objective Key Results returns a paginated list of all Key Results associated with an Objective in the Workspace.

      ListObjectiveKeyResults

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/key-results

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveOwnerEntityListWrapper>

      List Objective Owners returns a paginated list of all Members who own an Objective in the Workspace.

      ListObjectiveOwners

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/owners

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityListWrapper>

      List Objectives returns a paginated list of all Objectives in the Workspace.

      ListObjectives

      GET:/api/v4/{workspace-slug}/objectives

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ObjectiveTeamEntityListWrapper>

      List Objective Teams returns a paginated list of all Teams associated with an Objective in the Workspace.

      ListObjectiveTeams

      GET:/api/v4/{workspace-slug}/objectives/{objective-public-id}/teams

    • Parameters

      • workspaceSlug: string
      • projectPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ProjectFollowerEntityListWrapper>

      List Project Followers returns a paginated list of all Members following a Project. Projects are a deprecated feature.

      ListProjectFollowers

      GET:/api/v4/{workspace-slug}/projects/{project-public-id}/followers

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ProjectEntityListWrapper>

      List Projects returns a paginated list of all Projects in the Workspace. Projects are a deprecated feature.

      ListProjects

      GET:/api/v4/{workspace-slug}/projects

    • Parameters

      • workspaceSlug: string
      • projectPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<ProjectStoryEntityListWrapper>

      List Project Stories returns a paginated list of all Stories associated with a Project. Projects are a deprecated feature.

      ListProjectStories

      GET:/api/v4/{workspace-slug}/projects/{project-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_closed" | "include_closed";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_closed" | "include_closed"

          Filter options (default: :include_closed).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<PullRequestEntityListWrapper>

      List Pull Requests returns a paginated list of all Pull Requests in the Workspace that have been associated with a Story.

      ListPullRequests

      GET:/api/v4/{workspace-slug}/pull-requests

    • Parameters

      • workspaceSlug: string
      • pullRequestPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<PullRequestStoryEntityListWrapper>

      List Pull Request Stories returns a paginated list of all Stories associated with a Pull Request in the Workspace.

      ListPullRequestStories

      GET:/api/v4/{workspace-slug}/pull-requests/{pull-request-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<RepositoryEntityListWrapper>

      List Repositories returns a paginated list of all connected Repositories in the Workspace.

      ListRepositories

      GET:/api/v4/{workspace-slug}/repositories

    • Parameters

      • workspaceSlug: string
      • repositoryPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_deleted" | "include_deleted";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_deleted" | "include_deleted"

          Filter options (default: :exclude_deleted).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<RepositoryBranchEntityListWrapper>

      List Repository Branches returns a paginated list of all Branches associated with a Repository in the Workspace.

      ListRepositoryBranches

      GET:/api/v4/{workspace-slug}/repositories/{repository-public-id}/branches

    • Parameters

      • workspaceSlug: string
      • repositoryPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<RepositoryCommitEntityListWrapper>

      List Repository Commits returns a paginated list of all Commits associated with a Repository in the Workspace.

      ListRepositoryCommits

      GET:/api/v4/{workspace-slug}/repositories/{repository-public-id}/commits

    • Parameters

      • workspaceSlug: string
      • repositoryPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_closed" | "include_closed";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_closed" | "include_closed"

          Filter options (default: :include_closed).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<RepositoryPullRequestEntityListWrapper>

      List Repository Pull Requests returns a paginated list of all Pull Requests associated with a Repository in the Workspace.

      ListRepositoryPullRequests

      GET:/api/v4/{workspace-slug}/repositories/{repository-public-id}/pull-requests

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            ids?: string;
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionalids?: string

          A comma-separated list of ids. If included, only those entities will be considered for listing.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryEntityListWrapper>

      List Stories returns a paginated list of all Stories in the Workspace.

      ListStories

      GET:/api/v4/{workspace-slug}/stories

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_deleted" | "include_deleted";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_deleted" | "include_deleted"

          Filter options (default: :exclude_deleted).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryBranchEntityListWrapper>

      List Story Branches returns a paginated list of all Branches for a Story in the Workspace.

      ListStoryBranches

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/branches

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • checklistItemPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemMentionedMemberEntityListWrapper>

      List Story Checklist Item Mentioned Members returns a paginated list of all Members mentioned in a Story Checklist Item in the Workspace.

      ListStoryChecklistItemMentionedMembers

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/{checklist-item-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • checklistItemPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemMentionedTeamEntityListWrapper>

      List Story Checklist Item Mentioned Teams returns a paginated list of all Teams mentioned in a Story Checklist Item in the Workspace.

      ListStoryChecklistItemMentionedTeams

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/{checklist-item-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            ids?: string;
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionalids?: string

          A comma-separated list of ids. If included, only those entities will be considered for listing.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityListWrapper>

      List Story Checklist Items returns a paginated list of all Checklist Items for a Story in the Workspace.

      ListStoryChecklistItems

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentCommentEntityListWrapper>

      List Story Comment Comments returns a paginated list of all threaded reply Comments for a Story Comment in the Workspace.

      ListStoryCommentComments

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentMentionedMemberEntityListWrapper>

      List Story Comment Mentioned Members returns a paginated list of all Members mentioned in a Story Comment in the Workspace.

      ListStoryCommentMentionedMembers

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentMentionedTeamEntityListWrapper>

      List Story Comment Mentioned Teams returns a paginated list of all Teams mentioned in a Story Comment in the Workspace.

      ListStoryCommentMentionedTeams

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "created_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentReactionEntityListWrapper>

      List Story Comment Reactions returns a paginated list of all Reactions to a Story Comment in the Workspace.

      ListStoryCommentReactions

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}/reactions

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            ids?: string;
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionalids?: string

          A comma-separated list of ids. If included, only those entities will be considered for listing.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityListWrapper>

      List Story Comments returns a paginated list of all Comments for a Story in the Workspace. Note that deleted comments will also be returned, but will have minimal information. The deleted comments are included as they may be parents to other comments.

      ListStoryComments

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/comments

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCommitEntityListWrapper>

      List Story Commits returns a paginated list of all Commits associated with a Story in the Workspace.

      ListStoryCommits

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/commits

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "field_name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "field_name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryCustomFieldValueEntityListWrapper>

      List Story Custom Field Values returns a paginated list of all Custom Field Values for a Story in the Workspace.

      ListStoryCustomFieldValues

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/custom-field-values

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "value";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "value"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryExternalLinkEntityListWrapper>

      List Story External Links returns a paginated list of all External Links for a Story in the Workspace.

      ListStoryExternalLinks

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/external-links

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryFileEntityListWrapper>

      List Story Files returns a paginated list of all Files attached to a Story in the Workspace.

      ListStoryFiles

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/files

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryFollowerEntityListWrapper>

      List Story Followers returns a paginated list of all Members who are following a Story in the Workspace.

      ListStoryFollowers

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/followers

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at" | "start_date";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at" | "start_date"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryIterationEntityListWrapper>

      List Story Iterations returns a paginated list of all Iterations associated with a Story in the Workspace.

      ListStoryIterations

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/iterations

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryLabelEntityListWrapper>

      List Story Labels returns a paginated list of all Labels for a Story in the Workspace.

      ListStoryLabels

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/labels

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryLinkedFileEntityListWrapper>

      List Story Linked Files returns a paginated list of all Linked Files attached to a Story in the Workspace.

      ListStoryLinkedFiles

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/linked-files

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryLinkEntityListWrapper>

      List Story Links returns a paginated list of all Story Links in the Workspace.

      ListStoryLinks

      GET:/api/v4/{workspace-slug}/story-links

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryMentionedMemberEntityListWrapper>

      List Story Mentioned Members returns a paginated list of all Members mentioned in a Story in the Workspace.

      ListStoryMentionedMembers

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/mentioned-members

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryMentionedTeamEntityListWrapper>

      List Story Mentioned Teams returns a paginated list of all Teams mentioned in a Story in the Workspace.

      ListStoryMentionedTeams

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/mentioned-teams

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryOwnerEntityListWrapper>

      List Story Owners returns a paginated list of all Members who own a Story in the Workspace.

      ListStoryOwners

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/owners

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_closed" | "include_closed";
            limit?: number;
            order_by?: "created_at" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_closed" | "include_closed"

          Filter options (default: :include_closed).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryPullRequestEntityListWrapper>

      List Story Pull Requests returns a paginated list of all Pull Requests associated with a Story in the Workspace.

      ListStoryPullRequests

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/pull-requests

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StoryStoryLinkEntityListWrapper>

      List Story Story Links returns a paginated list of all Story Links associated with a Story in the Workspace. This includes links where the Story is either the subject or the object of the relationship.

      ListStoryStoryLinks

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/story-links

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<StorySubTaskStoryEntityListWrapper>

      List Story Sub-Task Stories returns a paginated list of all Sub-Task Stories for a Story in the Workspace.

      ListStorySubTaskStories

      GET:/api/v4/{workspace-slug}/stories/{story-public-id}/sub-task-stories

    • Parameters

      • workspaceSlug: string
      • teamPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamMemberEntityListWrapper>

      Returns a paginated list of all Members for the specified Team.

      ListTeamMembers

      GET:/api/v4/{workspace-slug}/teams/{team-public-id}/members

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamEntityListWrapper>

      Returns a paginated list of all Teams in the Workspace.

      ListTeams

      GET:/api/v4/{workspace-slug}/teams

    • Parameters

      • workspaceSlug: string
      • teamPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamStoryEntityListWrapper>

      Returns a paginated list of all Stories assigned to the specified Team.

      ListTeamStories

      GET:/api/v4/{workspace-slug}/teams/{team-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • teamPublicId: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<TeamWorkflowEntityListWrapper>

      Returns a paginated list of all Workflows for the specified Team.

      ListTeamWorkflows

      GET:/api/v4/{workspace-slug}/teams/{team-public-id}/workflows

    • Parameters

      • workspaceSlug: string
      • workflowPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowProjectEntityListWrapper>

      Returns a paginated list of all Projects associated with the specified Workflow. Projects are a deprecated feature.

      ListWorkflowProjects

      GET:/api/v4/{workspace-slug}/workflows/{workflow-public-id}/projects

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "name";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowEntityListWrapper>

      Returns a paginated list of all Workflows in the Workspace.

      ListWorkflows

      GET:/api/v4/{workspace-slug}/workflows

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowStateEntityListWrapper>

      Returns a paginated list of all Workflow States in the Workspace.

      ListWorkflowStates

      GET:/api/v4/{workspace-slug}/workflow-states

    • Parameters

      • workspaceSlug: string
      • workflowStatePublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowStoryEntityListWrapper>

      Returns a paginated list of all Stories in the specified Workflow State.

      ListWorkflowStateStories

      GET:/api/v4/{workspace-slug}/workflow-states/{workflow-state-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • workflowPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "all";
            limit?: number;
            order_by?: "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "all"

          Filter options (default: :all).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowStateEntityListWrapper>

      Returns a paginated list of all Workflow States within the specified Workflow.

      ListWorkflowStatesWithinAWorkflow

      GET:/api/v4/{workspace-slug}/workflows/{workflow-public-id}/states

    • Parameters

      • workspaceSlug: string
      • workflowPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "created_at" | "updated_at" | "position";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at" | "updated_at" | "position"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowStoryEntityListWrapper>

      Returns a paginated list of all Stories associated with the specified Workflow.

      ListWorkflowStories

      GET:/api/v4/{workspace-slug}/workflows/{workflow-public-id}/stories

    • Parameters

      • workspaceSlug: string
      • workflowPublicId: number
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_archived" | "include_archived";
            limit?: number;
            order_by?: "name" | "updated_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_archived" | "include_archived"

          Filter options (default: :exclude_archived).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "name" | "updated_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkflowTeamEntityListWrapper>

      Returns a paginated list of all Teams associated with the specified Workflow.

      ListWorkflowTeams

      GET:/api/v4/{workspace-slug}/workflows/{workflow-public-id}/teams

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            cursor?: string;
            fields?: string;
            filter?: "exclude_disabled" | "include_disabled";
            limit?: number;
            order_by?: "created_at";
            order_dir?: "desc" | "asc";
        }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfilter?: "exclude_disabled" | "include_disabled"

          Filter options (default: :exclude_disabled).

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalorder_by?: "created_at"

          Order the results by this property and direction.

        • Optionalorder_dir?: "desc" | "asc"

          Order order_by in this direction. If order_by not provided, the default order property for this entity type will be used.

      • params: RequestParams = {}

      Returns Promise<WorkspaceTokenEntityListWrapper>

      List Workspace Tokens returns a paginated list of all API Tokens in the Workspace. Requires admin role.

      ListWorkspaceTokens

      GET:/api/v4/{workspace-slug}/admin/tokens

    • Fetches the page after page by following its next_page_url, or resolves null on the last page. The link is only followed when it points at this client's API origin under /api/v4/ and carries nothing but a cursor and optional fields, so the bearer token never leaves the API.

      Type Parameters

      • T

      Parameters

      Returns Promise<ShortcutV4Page<T> | null>

    • Iterates every entity across all pages of a list result, following cursors with nextPage. Stops with an error on a repeated cursor, a missing link, or an implausible page count rather than yielding a partial list as if it were complete.

      Type Parameters

      • T

      Parameters

      Returns AsyncGenerator<T, void, undefined>

    • Parameters

      • workspaceSlug: string
      • docPublicId: string
      • collectionPublicId: string
      • params: RequestParams = {}

      Returns Promise<void>

      Remove Doc from Collection removes the Doc from the chosen Collection, preserving its other Collection memberships. Requires write access to the Doc.

      RemoveDocFromCollection

      DELETE:/api/v4/{workspace-slug}/documents/{doc-public-id}/collections/{collection-public-id}

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { cursor?: string; entity_types?: string; limit?: number; query?: string }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalentity_types?: string

          A comma-separated list of entity types to search. Defaults to all supported types. Supported: epic, story, iteration, objective, doc. Docs are only included when the docs feature is enabled for the Workspace.

          1

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          The search query. Required if cursor is not sent. See our help center article on search operators.

          1

      • params: RequestParams = {}

      Returns Promise<SearchEntitiesOutput>

      Search lets you search across Epics, Stories, Iterations, Objectives, and Docs with a single query, returning one combined, paginated list of results.

      Search

      GET:/api/v4/{workspace-slug}/search

    • Parameters

      • workspaceSlug: string
      • Optionalquery: {
            archived?: boolean;
            created_by_me?: boolean;
            cursor?: string;
            fields?: string;
            followed_by_me?: boolean;
            limit?: number;
            query?: string;
        }
        • Optionalarchived?: boolean

          When true, find archived Docs. When false, find non-archived Docs.

        • Optionalcreated_by_me?: boolean

          When true, find Docs created by the current user. When false, find Docs NOT created by the current user.

        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionalfollowed_by_me?: boolean

          When true, find Docs that the current user is following. When false, find Docs NOT followed by the current user.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          Search text to match against Doc titles. Supports fuzzy matching. Required if cursor is not sent.

          1

      • params: RequestParams = {}

      Returns Promise<DocEntityListWrapper>

      Search Docs lets you search Docs by title, with optional archived/created_by_me/followed_by_me filters.

      SearchDocs

      GET:/api/v4/{workspace-slug}/documents/search

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { cursor?: string; fields?: string; limit?: number; query?: string }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          The search query. Required if cursor is not sent. See our help center article on search operators.

          1

      • params: RequestParams = {}

      Returns Promise<EpicEntityListWrapper>

      Search Epics lets you search Epics based on a query.

      SearchEpics

      GET:/api/v4/{workspace-slug}/epics/search

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { cursor?: string; fields?: string; limit?: number; query?: string }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          The search query. Required if cursor is not sent. See our help center article on search operators.

          1

      • params: RequestParams = {}

      Returns Promise<IterationEntityListWrapper>

      Search Iterations lets you search Iterations based on a query.

      SearchIterations

      GET:/api/v4/{workspace-slug}/iterations/search

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { cursor?: string; fields?: string; limit?: number; query?: string }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          The search query. Required if cursor is not sent. See our help center article on search operators.

          1

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityListWrapper>

      Search Objectives lets you search Objectives based on a query.

      SearchObjectives

      GET:/api/v4/{workspace-slug}/objectives/search

    • Parameters

      • workspaceSlug: string
      • Optionalquery: { cursor?: string; fields?: string; limit?: number; query?: string }
        • Optionalcursor?: string

          The cursor indicating where we are in a paged response. If sent, it (and an optional fields parameter) must be the only parameters.

        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

        • Optionallimit?: number

          The number of results to include in a page. Can be between 1 and 100. Defaults to 10.

          int64

          1

          100

        • Optionalquery?: string

          The search query. Required if cursor is not sent. See our help center article on search operators.

          1

      • params: RequestParams = {}

      Returns Promise<StoryEntityListWrapper>

      Search Stories lets you search Stories based on a query.

      SearchStories

      GET:/api/v4/{workspace-slug}/stories/search

    • Replaces the bearer token, e.g. after an OAuth refresh done outside the client, and records its expiry. Omit expiresAt when it is unknown; the previous expiry does not carry over to a new token.

      Parameters

      • token: string
      • OptionalexpiresAt: string | number | Date

      Returns void

    • Parameters

      • OptionalrawQuery: QueryParamsType

      Returns string

    • Parameters

      • workspaceSlug: string
      • collectionPublicId: string
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<void>

      Unfavorite Collection removes the Collection from the current Member's favorites.

      UnfavoriteCollection

      DELETE:/api/v4/{workspace-slug}/collections/{collection-public-id}/favorite

    • Parameters

      • workspaceSlug: string
      • categoryPublicId: number
      • data: UpdateCategoryParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CategoryEntityWrapper>

      Update Category allows you to modify a Category in your Shortcut Workspace.

      UpdateCategory

      PATCH:/api/v4/{workspace-slug}/categories/{category-public-id}

    • Parameters

      • workspaceSlug: string
      • customFieldPublicId: string
      • data: UpdateCustomFieldParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<CustomFieldEntityWrapper>

      Update Custom Field allows you to modify a Custom Field definition in your Shortcut Workspace.

      UpdateCustomField

      PATCH:/api/v4/{workspace-slug}/custom-fields/{custom-field-public-id}

    • Parameters

      • workspaceSlug: string
      • entityTemplatePublicId: string
      • data: UpdateEntityTemplateParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EntityTemplateEntityWrapper>

      Update Entity Template updates an existing Entity Template in your Shortcut Workspace.

      UpdateEntityTemplate

      PATCH:/api/v4/{workspace-slug}/entity-templates/{entity-template-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • data: UpdateEpicParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicEntityWrapper>

      Update Epic is used to modify an Epic in your Shortcut Workspace.

      UpdateEpic

      PATCH:/api/v4/{workspace-slug}/epics/{epic-public-id}

    • Parameters

      • workspaceSlug: string
      • epicPublicId: number
      • commentPublicId: number
      • data: UpdateEpicCommentParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<EpicCommentEntityWrapper>

      Update Epic Comment is used to modify an existing Epic Comment.

      UpdateEpicComment

      PATCH:/api/v4/{workspace-slug}/epics/{epic-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • iterationPublicId: number
      • data: UpdateIterationParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<IterationEntityWrapper>

      Update Iteration is used to modify an Iteration in your Shortcut Workspace.

      UpdateIteration

      PATCH:/api/v4/{workspace-slug}/iterations/{iteration-public-id}

    • Parameters

      • workspaceSlug: string
      • keyResultPublicId: string
      • data: UpdateKeyResultParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<KeyResultEntityWrapper>

      Updates the specified Key Result.

      UpdateKeyResult

      PUT:/api/v4/{workspace-slug}/key-results/{key-result-public-id}

    • Parameters

      • workspaceSlug: string
      • labelPublicId: number
      • data: UpdateLabelParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LabelEntityWrapper>

      Update Label allows you to modify a Label in your Shortcut Workspace.

      UpdateLabel

      PATCH:/api/v4/{workspace-slug}/labels/{label-public-id}

    • Parameters

      • workspaceSlug: string
      • linkedFilePublicId: number
      • data: UpdateLinkedFileParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<LinkedFileEntityWrapper>

      Update Linked File is used to update an existing Linked File in your Shortcut Workspace.

      UpdateLinkedFile

      PATCH:/api/v4/{workspace-slug}/linked-files/{linked-file-public-id}

    • Parameters

      • workspaceSlug: string
      • memberPublicId: string
      • data: UpdateMemberParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<MemberEntityWrapper>

      Update Member modifies a Member's role or disabled status in the Workspace.

      UpdateMember

      PATCH:/api/v4/{workspace-slug}/members/{member-public-id}

    • Parameters

      • workspaceSlug: string
      • objectivePublicId: number
      • data: UpdateObjectiveParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ObjectiveEntityWrapper>

      Update Objective is used to modify an Objective in your Shortcut Workspace.

      UpdateObjective

      PATCH:/api/v4/{workspace-slug}/objectives/{objective-public-id}

    • Parameters

      • workspaceSlug: string
      • projectPublicId: number
      • data: UpdateProjectParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<ProjectEntityWrapper>

      Update Project can be used to update Project properties. Projects are a deprecated feature.

      UpdateProject

      PATCH:/api/v4/{workspace-slug}/projects/{project-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • data: UpdateStoryParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryEntityWrapper>

      Update Story is used to modify a Story in your Shortcut Workspace.

      UpdateStory

      PATCH:/api/v4/{workspace-slug}/stories/{story-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • checklistItemPublicId: number
      • data: UpdateStoryChecklistItemParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryChecklistItemEntityWrapper>

      Update Story Checklist Item is used to modify a Checklist Item on a Story.

      UpdateStoryChecklistItem

      PATCH:/api/v4/{workspace-slug}/stories/{story-public-id}/checklist-items/{checklist-item-public-id}

    • Parameters

      • workspaceSlug: string
      • storyPublicId: number
      • commentPublicId: number
      • data: UpdateStoryCommentParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<StoryCommentEntityWrapper>

      Update Story Comment is used to modify a Story Comment.

      UpdateStoryComment

      PATCH:/api/v4/{workspace-slug}/stories/{story-public-id}/comments/{comment-public-id}

    • Parameters

      • workspaceSlug: string
      • teamPublicId: string
      • data: UpdateTeamParams
      • Optionalquery: { fields?: string }
        • Optionalfields?: string

          Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.

      • params: RequestParams = {}

      Returns Promise<TeamEntityWrapper>

      Updates the specified Team.

      UpdateTeam

      PATCH:/api/v4/{workspace-slug}/teams/{team-public-id}