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

# List scale targets



## OpenAPI

````yaml https://api.arklow.io/swagger/ui/json get /v1/orgs/{org_id}/scale-targets/
openapi: 3.1.0
info:
  title: Arklow
  description: Arklow's API
  version: 0.1.0
servers:
  - url: https://api.arklow.io
    description: Production
  - url: http://localhost:3123
    description: Local development
security:
  - apiKey: []
tags:
  - name: actions
  - name: api_keys
  - name: billing
  - name: capacity-domains
  - name: credentials
  - name: destinations
  - name: invites
  - name: members
  - name: metrics
  - name: notifications
  - name: orgs
  - name: proposals
  - name: rules
  - name: scale-targets
  - name: sources
  - name: users
  - name: ingress
externalDocs:
  url: https://api.arklow.io/swagger/ui
paths:
  /v1/orgs/{org_id}/scale-targets/:
    get:
      tags:
        - scale-targets
      summary: List scale targets
      operationId: get_v1_orgs_by_org_id_scale_targets
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 50
          in: query
          name: take
          required: false
        - schema:
            type: integer
            minimum: 0
          in: query
          name: skip
          required: false
        - schema:
            anyOf:
              - anyOf:
                  - type: object
                    required:
                      - col
                      - op
                    properties:
                      col:
                        type: string
                      op:
                        anyOf:
                          - type: string
                            enum:
                              - eq
                          - type: string
                            enum:
                              - neq
                          - type: string
                            enum:
                              - starts_with
                          - type: string
                            enum:
                              - contains
                          - type: string
                            enum:
                              - not_contains
                          - type: string
                            enum:
                              - is_null
                          - type: string
                            enum:
                              - is_not_null
                      value:
                        type: string
                  - type: array
                    items:
                      type: object
                      required:
                        - col
                        - op
                      properties:
                        col:
                          type: string
                        op:
                          anyOf:
                            - type: string
                              enum:
                                - eq
                            - type: string
                              enum:
                                - neq
                            - type: string
                              enum:
                                - starts_with
                            - type: string
                              enum:
                                - contains
                            - type: string
                              enum:
                                - not_contains
                            - type: string
                              enum:
                                - is_null
                            - type: string
                              enum:
                                - is_not_null
                        value:
                          type: string
              - type: string
          in: query
          name: search
          required: false
        - schema:
            type: string
          in: query
          name: field
          required: false
        - schema:
            type: string
          in: query
          name: value
          required: false
        - schema:
            anyOf:
              - type: string
                enum:
                  - eq
              - type: string
                enum:
                  - neq
              - type: string
                enum:
                  - starts_with
              - type: string
                enum:
                  - contains
              - type: string
                enum:
                  - not_contains
              - type: string
                enum:
                  - is_null
              - type: string
                enum:
                  - is_not_null
          in: query
          name: op
          required: false
        - schema:
            type: boolean
          in: query
          name: count_only
          required: false
        - schema:
            anyOf:
              - type: string
                enum:
                  - baseten
              - type: string
                enum:
                  - together
              - type: string
                enum:
                  - gcp_mig
              - type: string
                enum:
                  - gcp_mig_manual
              - type: string
                enum:
                  - http_floor
              - type: string
                enum:
                  - http_desired
          in: query
          name: kind
          required: false
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: query
          name: capacity_domain_id
          required: false
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: query
          name: credential_id
          required: false
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: org_id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - errors
                properties:
                  data:
                    anyOf:
                      - type: object
                        required:
                          - items
                          - count
                        properties:
                          items:
                            type: array
                            items:
                              allOf:
                                - type: object
                                  required:
                                    - id
                                    - org_id
                                    - name
                                    - capacity_domain_id
                                    - min_replicas
                                    - max_replicas
                                    - reconcile_pending
                                    - observability_degraded
                                    - binding_degraded
                                    - drift_contested
                                    - updated_at
                                  properties:
                                    id:
                                      type: string
                                    org_id:
                                      type: string
                                    name:
                                      type: string
                                    capacity_domain_id:
                                      type: string
                                      pattern: ^[0-9]+$
                                    metric_source_query_id:
                                      anyOf:
                                        - type: string
                                          pattern: ^[0-9]+$
                                        - type: 'null'
                                    tag_projection_key:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    tag_projection_value:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    min_replicas:
                                      type: integer
                                      minimum: 0
                                    max_replicas:
                                      type: integer
                                      minimum: 1
                                    effective_min_replicas:
                                      anyOf:
                                        - type: integer
                                        - type: 'null'
                                    requested_effective_min_replicas:
                                      anyOf:
                                        - type: integer
                                        - type: 'null'
                                    last_written_at:
                                      anyOf:
                                        - type: string
                                          format: date-time
                                        - type: 'null'
                                    last_write_outcome:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    reconcile_pending:
                                      type: boolean
                                    last_observed_replicas:
                                      anyOf:
                                        - type: integer
                                        - type: 'null'
                                    last_observed_at:
                                      anyOf:
                                        - type: string
                                          format: date-time
                                        - type: 'null'
                                    last_error:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    last_error_at:
                                      anyOf:
                                        - type: string
                                          format: date-time
                                        - type: 'null'
                                    observability_degraded:
                                      type: boolean
                                    binding_degraded:
                                      type: boolean
                                    drift_contested:
                                      type: boolean
                                    updated_at:
                                      type: string
                                      format: date-time
                                    deleted_at:
                                      anyOf:
                                        - type: string
                                          format: date-time
                                        - type: 'null'
                                - type: object
                                  required:
                                    - credential_id
                                  properties:
                                    credential_id:
                                      type: string
                                      pattern: ^[0-9]+$
                                - anyOf:
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - baseten
                                        config:
                                          type: object
                                          required:
                                            - model_id
                                            - deployment_id
                                          properties:
                                            model_id:
                                              type: string
                                              minLength: 1
                                            deployment_id:
                                              type: string
                                              minLength: 1
                                          additionalProperties: false
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - together
                                        config:
                                          type: object
                                          required:
                                            - endpoint_id
                                          properties:
                                            endpoint_id:
                                              type: string
                                              minLength: 1
                                          additionalProperties: false
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - gcp_mig
                                        config:
                                          type: object
                                          required:
                                            - project
                                            - location_kind
                                            - location
                                            - instance_group_manager
                                            - autoscaler
                                          properties:
                                            project:
                                              type: string
                                              minLength: 1
                                            location_kind:
                                              anyOf:
                                                - type: string
                                                  enum:
                                                    - zone
                                                - type: string
                                                  enum:
                                                    - region
                                            location:
                                              type: string
                                              minLength: 1
                                            instance_group_manager:
                                              type: string
                                              minLength: 1
                                            autoscaler:
                                              type: string
                                              minLength: 1
                                          additionalProperties: false
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - gcp_mig_manual
                                        config:
                                          type: object
                                          required:
                                            - project
                                            - location_kind
                                            - location
                                            - instance_group_manager
                                          properties:
                                            project:
                                              type: string
                                              minLength: 1
                                            location_kind:
                                              anyOf:
                                                - type: string
                                                  enum:
                                                    - zone
                                                - type: string
                                                  enum:
                                                    - region
                                            location:
                                              type: string
                                              minLength: 1
                                            instance_group_manager:
                                              type: string
                                              minLength: 1
                                          additionalProperties: false
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - http_floor
                                        config:
                                          type: object
                                          required:
                                            - endpoint
                                          properties:
                                            endpoint:
                                              type: string
                                              pattern: ^https://
                                          additionalProperties: false
                                    - type: object
                                      required:
                                        - kind
                                        - config
                                      properties:
                                        kind:
                                          type: string
                                          enum:
                                            - http_desired
                                        config:
                                          type: object
                                          required:
                                            - endpoint
                                          properties:
                                            endpoint:
                                              type: string
                                              pattern: ^https://
                                          additionalProperties: false
                          count:
                            type: integer
                      - type: 'null'
                  errors:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          required:
                            - code
                            - message
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                      - type: 'null'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-arklow-auth
      in: header

````