Skip to content
Navigation

List by entity

GET
https://api.sureshake.com/v2/entities/{entityId}/portfolios

Path parameters

  • entityId
    string
    required
    format: uuid

Returns

200

Default Response

JSON
  • data
    array of
    object
    required
    • id
      string
      required
      format: uuid
    • userId
      string
      or null
      required
    • entityId
      string
      or null
      required
      format: uuid
    • createdByUserId
      string
      required
    • title
      string
      required
    • slug
      string
      required
    • summary
      string
      or null
      required
    • description
      string
      or null
      required
    • startDate
      string
      required
      format: date-time
    • endDate
      string
      or null
      required
      format: date-time
    • ongoing
      boolean
      required
    • portfolioType
      case_study
      or
      client_work
      or
      internal_project
      or
      product_launch
      or
      open_source
      or
      research
      +2 more
      required
    • category
      string
      or null
      required
    • visibility
      public
      or
      private
      or
      team_only
      or
      unlisted
      required
    • featured
      boolean
      required
    • outcomes
      object
      or null
      required
      • metrics
        optional
        array of
        object
        • label
          string
          required
        • value
          required

          Any of the following:

          • string
          • number
        • unit
          optional
          string
        • description
          optional
          string
      • achievements
        optional
        array of
        string
      • impact
        optional
        string
    • externalUrl
      string
      or null
      required
    • repositoryUrl
      string
      or null
      required
    • coverImageKey
      string
      or null
      required
    • displayOrder
      number
      required
    • createdAt
      string
      required
      format: date-time
    • updatedAt
      string
      required
      format: date-time
  • meta
    object
    required
    • total
      number
      required

      Total number of items available

    • limit
      number
      required

      Number of items per page

    • offset
      number
      required

      Number of items skipped

    • hasMore
      boolean
      required

      Whether more items are available

    • page
      optional
      number

      Current page number

    • totalPages
      optional
      number

      Total number of pages

400

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

401

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

500

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

Type to search…

↑↓ navigate↵ selectEsc close