> ## Documentation Index
> Fetch the complete documentation index at: https://www.scrums.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Service Lines

> Returns a paginated list of Service Lines the caller has access to.



## OpenAPI

````yaml GET /service-lines
openapi: 3.1.0
info:
  title: Scrums.com API
  version: 1.0.0
  description: >-
    The Scrums.com Software Engineering Orchestration Platform (SEOP) REST API.
    Every capability — talent, managed delivery, ODS, infrastructure,
    intelligence, and agents — operates through a Service Line (LIN-*). Base
    URL: https://api.scrums.com/v1
servers:
  - url: https://api.scrums.com/v1
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Service Lines
    description: Manage SEOP Service Lines (LIN-*) across all product types.
  - name: Organizations
    description: Top-level account containers (ORG-*).
  - name: Workspaces
    description: Team workspaces nested within an organization (WS-*).
  - name: AI Agent Gateway
    description: Trigger and monitor AI agent runs (AGT-*, RUN-*).
  - name: Observability & Metrics
    description: Health scores, risk signals, and delivery metrics.
  - name: ODS
    description: On-Demand Solutions scoping and request management.
  - name: Talent Marketplace
    description: Submit and manage vetted talent placement requests.
paths:
  /service-lines:
    get:
      tags:
        - Service Lines
      summary: List all service lines
      description: Returns a paginated list of Service Lines the caller has access to.
      operationId: listServiceLines
      parameters:
        - name: workspace_id
          in: query
          description: Filter by workspace ID (WS-*).
          schema:
            type: string
        - name: organization_id
          in: query
          description: Filter by organization ID (ORG-*).
          schema:
            type: string
        - name: status
          in: query
          description: Filter by service line status.
          schema:
            type: string
            enum:
              - draft
              - active
              - paused
              - closed
              - terminated
        - name: cursor
          in: query
          description: Pagination cursor from a previous response.
          schema:
            type: string
        - name: limit
          in: query
          description: Maximum number of results to return (1–100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
      responses:
        '200':
          description: Paginated list of service lines.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ServiceLine'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
              example:
                data:
                  - id: LIN-26-084729
                    name: Core Platform Squad
                    workspace_id: WS-26-000021
                    organization_id: ORG-26-090500
                    product_line: talent
                    execution_model: capacity
                    billing_model: monthly_retainer
                    status: active
                    project_tags:
                      - PROJ-26-004281
                    subscription_id: SUB-26-001122
                    config:
                      sprint_length_days: 14
                    started_at: '2026-01-15T09:00:00Z'
                    ends_at: null
                    created_at: '2026-01-10T08:30:00Z'
                    updated_at: '2026-04-01T11:00:00Z'
                meta:
                  cursor: eyJpZCI6IkxJTi0yNi0wODQ3MjkifQ==
                  has_more: false
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    ServiceLine:
      type: object
      properties:
        id:
          type: string
          pattern: ^LIN-
          example: LIN-26-084729
        name:
          type: string
          example: Core Platform Squad
        workspace_id:
          type: string
          pattern: ^WS-
          example: WS-26-000021
        organization_id:
          type: string
          pattern: ^ORG-
          example: ORG-26-090500
        product_line:
          type: string
          enum:
            - talent
            - managed_services
            - ods
            - infrastructure
            - intelligence
            - agent_gateway
          example: talent
        execution_model:
          type: string
          enum:
            - capacity
            - ongoing_sla
            - timeboxed_outcome
            - infra_managed
            - observability
            - agent_runtime
          example: capacity
        billing_model:
          type: string
          enum:
            - monthly_retainer
            - milestone
            - usage_based
            - seat_based
          example: monthly_retainer
        status:
          type: string
          enum:
            - draft
            - active
            - paused
            - closed
            - terminated
          example: active
        project_tags:
          type: array
          items:
            type: string
            pattern: ^PROJ-
          example:
            - PROJ-26-004281
        subscription_id:
          type: string
          pattern: ^SUB-
          example: SUB-26-001122
        config:
          type: object
          example:
            timezone: UTC
            sprint_length_days: 14
        started_at:
          type: string
          format: date-time
          example: '2026-01-15T09:00:00Z'
        ends_at:
          type: string
          format: date-time
          nullable: true
          example: null
        created_at:
          type: string
          format: date-time
          example: '2026-01-10T08:30:00Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-04-01T11:00:00Z'
    PaginationMeta:
      type: object
      properties:
        cursor:
          type: string
          example: eyJpZCI6IkxJTi0yNi0wODQ3MjkifQ==
        has_more:
          type: boolean
          example: false
    Error:
      type: object
      required:
        - code
        - message
        - status
      properties:
        code:
          type: string
          example: not_found
        message:
          type: string
          example: The requested resource was not found.
        status:
          type: integer
          example: 404
  responses:
    BadRequest:
      description: The request was malformed or contained invalid parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: invalid_request
            message: workspace_id is required.
            status: 400
    Unauthorized:
      description: Missing or invalid authentication token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: unauthorized
            message: Bearer token is missing or expired.
            status: 401
    Forbidden:
      description: >-
        The authenticated principal does not have permission to perform this
        action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: forbidden
            message: You do not have access to this resource.
            status: 403
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````