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

# List processes

> Retrieve a paginated list of all processes for an application, ordered by their display order and creation time. Each process includes its runtime configuration, scaling strategy, and resource limits.



## OpenAPI

````yaml https://api.sevalla.com/v3/openapi.json get /applications/{id}/processes
openapi: 3.1.0
info:
  title: Sevalla API docs
  version: 1.0.0
servers:
  - url: https://api.sevalla.com/v3
security:
  - bearerAuth: []
paths:
  /applications/{id}/processes:
    get:
      tags:
        - Applications
      summary: List processes
      description: >-
        Retrieve a paginated list of all processes for an application, ordered
        by their display order and creation time. Each process includes its
        runtime configuration, scaling strategy, and resource limits.
      operationId: listProcessesV3
      parameters:
        - schema:
            default: 25
            example: 25
            type: integer
            minimum: 1
            maximum: 100
          in: query
          name: limit
          required: false
          description: Maximum number of items per page
        - schema:
            default: 0
            example: 0
            type: integer
            minimum: 0
            maximum: 10000
          in: query
          name: offset
          required: false
          description: Number of items to skip
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
            example: fb5e5168-4281-4bec-94c5-0d1584e9e657
          in: path
          name: id
          required: true
          description: Application identifier
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          description: Unique identifier for the process
                          example: fb5e5168-4281-4bec-94c5-0d1584e9e657
                        app_id:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                          description: >-
                            Identifier of the application this process belongs
                            to
                          example: fb5e5168-4281-4bec-94c5-0d1584e9e657
                        key:
                          type: string
                          minLength: 1
                          maxLength: 64
                          description: >-
                            Unique key identifying the process within the
                            application, derived from the Procfile entry name
                          example: web
                        type:
                          anyOf:
                            - type: string
                              enum:
                                - web
                                - worker
                                - cron
                                - job
                            - type: 'null'
                          description: >-
                            Process runtime type. `web` - HTTP server process
                            that handles incoming web traffic. `worker` -
                            background process that runs continuously. `cron` -
                            scheduled process that runs at specified intervals.
                            `job` - one-time process that runs to completion and
                            then stops.
                          example: web
                        display_name:
                          anyOf:
                            - type: string
                              minLength: 1
                              maxLength: 255
                            - type: 'null'
                          description: >-
                            Human-readable name for the process shown in the
                            dashboard
                          example: Web Process
                        entrypoint:
                          type: string
                          maxLength: 1024
                          description: Command used to start the process
                          example: npm start
                        port:
                          anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 65535
                            - type: 'null'
                          description: >-
                            Port number the process listens on for incoming
                            connections
                          example: 8080
                        is_ingress_enabled:
                          type: boolean
                          description: >-
                            Whether external traffic routing is enabled for this
                            process. Only applicable to web processes.
                          example: true
                        ingress_protocol:
                          anyOf:
                            - type: string
                              enum:
                                - http
                                - grpc
                            - type: 'null'
                          description: >-
                            Protocol used for ingress traffic. `http` - standard
                            HTTP/HTTPS traffic. `grpc` - gRPC protocol. Only
                            applicable to web processes.
                          example: http
                        scaling_strategy:
                          anyOf:
                            - oneOf:
                                - type: object
                                  properties:
                                    type:
                                      type: string
                                      description: Manual scaling type
                                      enum:
                                        - manual
                                    config:
                                      type: object
                                      properties:
                                        instanceCount:
                                          type: integer
                                          minimum: 0
                                          maximum: 50
                                          description: Number of instances to run
                                          example: 1
                                      required:
                                        - instanceCount
                                      additionalProperties: false
                                      description: Manual scaling configuration
                                  required:
                                    - type
                                    - config
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    type:
                                      type: string
                                      description: Horizontal auto-scaling type
                                      enum:
                                        - horizontal
                                    config:
                                      type: object
                                      properties:
                                        minInstanceCount:
                                          type: integer
                                          minimum: 0
                                          maximum: 50
                                          description: Minimum number of instances
                                          example: 1
                                        maxInstanceCount:
                                          type: integer
                                          minimum: 0
                                          maximum: 50
                                          description: Maximum number of instances
                                          example: 5
                                        targetCpuPercent:
                                          description: >-
                                            Target CPU utilization percentage for
                                            autoscaling
                                          example: 70
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 100
                                            - type: 'null'
                                        targetMemoryPercent:
                                          description: >-
                                            Target memory utilization percentage for
                                            autoscaling
                                          example: 80
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 100
                                            - type: 'null'
                                        scaleUpIntervalSeconds:
                                          description: >-
                                            Cooldown period in seconds between
                                            scale-up events
                                          example: 60
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 60000
                                            - type: 'null'
                                        scaleUpIncrement:
                                          description: >-
                                            Number of instances to add per scale-up
                                            event
                                          example: 1
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 5
                                            - type: 'null'
                                        scaleDownIntervalSeconds:
                                          description: >-
                                            Cooldown period in seconds between
                                            scale-down events
                                          example: 120
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 60000
                                            - type: 'null'
                                        scaleDownIncrement:
                                          description: >-
                                            Number of instances to remove per
                                            scale-down event
                                          example: 1
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 5
                                            - type: 'null'
                                      required:
                                        - minInstanceCount
                                        - maxInstanceCount
                                      additionalProperties: false
                                      description: Horizontal auto-scaling configuration
                                  required:
                                    - type
                                    - config
                                  additionalProperties: false
                            - type: 'null'
                          description: Scaling configuration for the process
                          example:
                            type: manual
                            config:
                              instanceCount: 1
                        resource_type_id:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                          description: >-
                            Identifier of the process resource type (machine
                            size) assigned to this process. Use the List Process
                            Resource Types endpoint to retrieve available
                            options.
                          example: fb5e5168-4281-4bec-94c5-0d1584e9e657
                        resource_type_name:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: >-
                            Name of the resource type (machine size) assigned to
                            this process
                          example: s1
                        cpu_limit:
                          anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 9007199254740991
                            - type: 'null'
                          description: Maximum CPU allocation in millicores
                          example: 500
                        memory_limit:
                          anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 9007199254740991
                            - type: 'null'
                          description: Maximum memory allocation in megabytes
                          example: 512
                        schedule:
                          anyOf:
                            - type: string
                              maxLength: 100
                            - type: 'null'
                          description: >-
                            Cron expression defining the execution schedule.
                            Only applicable to cron processes.
                          example: 0 * * * *
                        time_zone:
                          anyOf:
                            - type: string
                              maxLength: 100
                            - type: 'null'
                          description: >-
                            IANA time zone for the cron schedule. Only
                            applicable to cron processes.
                          example: America/New_York
                        concurrency_policy:
                          anyOf:
                            - type: string
                              enum:
                                - Forbid
                                - Replace
                            - type: 'null'
                          description: >-
                            How to handle a scheduled run when the previous run
                            is still active. `Forbid` skips the new run until
                            the current one finishes. `Replace` cancels the
                            running job and starts a new one, which prevents a
                            stuck run from blocking the schedule. Defaults to
                            `Forbid`. Only applicable to cron processes.
                          example: Forbid
                        active_deadline_seconds:
                          anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 9007199254740991
                            - type: 'null'
                          description: >-
                            Maximum run time in seconds for each scheduled run
                            before it is terminated. Null means no limit is
                            applied. Only applicable to cron processes.
                          example: 3600
                        job_start_policy:
                          anyOf:
                            - type: string
                              enum:
                                - beforeDeployment
                                - afterSuccessDeployment
                                - afterFailedDeployment
                            - type: 'null'
                          description: >-
                            When the job process should run relative to
                            deployments. `beforeDeployment` - run before the
                            deployment starts. `afterSuccessDeployment` - run
                            after a successful deployment.
                            `afterFailedDeployment` - run after a failed
                            deployment. Only applicable to job processes.
                          example: afterSuccessDeployment
                        liveness_probe:
                          anyOf:
                            - type: object
                              properties:
                                exec:
                                  description: >-
                                    Exec-based probe - runs a command inside the
                                    container
                                  anyOf:
                                    - type: object
                                      properties:
                                        command:
                                          type: array
                                          items:
                                            type: string
                                          description: Command to execute inside the container
                                      required:
                                        - command
                                      additionalProperties: false
                                    - type: 'null'
                                httpGet:
                                  description: >-
                                    HTTP GET probe - performs an HTTP GET
                                    request
                                  anyOf:
                                    - type: object
                                      properties:
                                        path:
                                          description: Path to access on the HTTP server
                                          example: /health
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        port:
                                          description: Port number to access on the container
                                          example: 8080
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 65535
                                            - type: 'null'
                                        host:
                                          description: Host name to connect to
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        scheme:
                                          description: >-
                                            Scheme to use for connecting to the
                                            host. `HTTP` or `HTTPS`
                                          example: HTTP
                                          anyOf:
                                            - type: string
                                              enum:
                                                - HTTP
                                                - HTTPS
                                            - type: 'null'
                                        httpHeaders:
                                          description: Custom headers to set in the request
                                          anyOf:
                                            - type: array
                                              items:
                                                type: object
                                                properties:
                                                  name:
                                                    type: string
                                                    description: Header name
                                                    example: X-Custom-Header
                                                  value:
                                                    type: string
                                                    description: Header value
                                                    example: custom-value
                                                required:
                                                  - name
                                                  - value
                                                additionalProperties: false
                                            - type: 'null'
                                      additionalProperties: false
                                    - type: 'null'
                                tcpSocket:
                                  description: >-
                                    TCP socket probe - checks if a TCP port is
                                    open
                                  anyOf:
                                    - type: object
                                      properties:
                                        host:
                                          description: Host name to connect to
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        port:
                                          type: integer
                                          minimum: 1
                                          maximum: 65535
                                          description: Port number to connect to
                                          example: 8080
                                      required:
                                        - port
                                      additionalProperties: false
                                    - type: 'null'
                                initialDelaySeconds:
                                  description: >-
                                    Seconds after the container starts before
                                    the probe is initiated
                                  example: 0
                                  anyOf:
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                                    - type: 'null'
                                periodSeconds:
                                  description: How often in seconds to perform the probe
                                  example: 10
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                timeoutSeconds:
                                  description: Seconds after which the probe times out
                                  example: 120
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                successThreshold:
                                  description: >-
                                    Minimum consecutive successes for the probe
                                    to be considered successful
                                  example: 1
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                failureThreshold:
                                  description: >-
                                    Minimum consecutive failures for the probe
                                    to be considered failed
                                  example: 3
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                              additionalProperties: false
                            - type: 'null'
                          description: >-
                            Kubernetes liveness probe configuration. Used to
                            detect when a process is stuck and needs to be
                            restarted. Only populated for web processes.
                          example:
                            httpGet:
                              path: /health
                              port: 8080
                              scheme: HTTP
                        readiness_probe:
                          anyOf:
                            - type: object
                              properties:
                                exec:
                                  description: >-
                                    Exec-based probe - runs a command inside the
                                    container
                                  anyOf:
                                    - type: object
                                      properties:
                                        command:
                                          type: array
                                          items:
                                            type: string
                                          description: Command to execute inside the container
                                      required:
                                        - command
                                      additionalProperties: false
                                    - type: 'null'
                                httpGet:
                                  description: >-
                                    HTTP GET probe - performs an HTTP GET
                                    request
                                  anyOf:
                                    - type: object
                                      properties:
                                        path:
                                          description: Path to access on the HTTP server
                                          example: /health
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        port:
                                          description: Port number to access on the container
                                          example: 8080
                                          anyOf:
                                            - type: integer
                                              minimum: 1
                                              maximum: 65535
                                            - type: 'null'
                                        host:
                                          description: Host name to connect to
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        scheme:
                                          description: >-
                                            Scheme to use for connecting to the
                                            host. `HTTP` or `HTTPS`
                                          example: HTTP
                                          anyOf:
                                            - type: string
                                              enum:
                                                - HTTP
                                                - HTTPS
                                            - type: 'null'
                                        httpHeaders:
                                          description: Custom headers to set in the request
                                          anyOf:
                                            - type: array
                                              items:
                                                type: object
                                                properties:
                                                  name:
                                                    type: string
                                                    description: Header name
                                                    example: X-Custom-Header
                                                  value:
                                                    type: string
                                                    description: Header value
                                                    example: custom-value
                                                required:
                                                  - name
                                                  - value
                                                additionalProperties: false
                                            - type: 'null'
                                      additionalProperties: false
                                    - type: 'null'
                                tcpSocket:
                                  description: >-
                                    TCP socket probe - checks if a TCP port is
                                    open
                                  anyOf:
                                    - type: object
                                      properties:
                                        host:
                                          description: Host name to connect to
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        port:
                                          type: integer
                                          minimum: 1
                                          maximum: 65535
                                          description: Port number to connect to
                                          example: 8080
                                      required:
                                        - port
                                      additionalProperties: false
                                    - type: 'null'
                                initialDelaySeconds:
                                  description: >-
                                    Seconds after the container starts before
                                    the probe is initiated
                                  example: 0
                                  anyOf:
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                                    - type: 'null'
                                periodSeconds:
                                  description: How often in seconds to perform the probe
                                  example: 10
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                timeoutSeconds:
                                  description: Seconds after which the probe times out
                                  example: 120
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                successThreshold:
                                  description: >-
                                    Minimum consecutive successes for the probe
                                    to be considered successful
                                  example: 1
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                                failureThreshold:
                                  description: >-
                                    Minimum consecutive failures for the probe
                                    to be considered failed
                                  example: 3
                                  anyOf:
                                    - type: integer
                                      minimum: 1
                                      maximum: 9007199254740991
                                    - type: 'null'
                              additionalProperties: false
                            - type: 'null'
                          description: >-
                            Kubernetes readiness probe configuration. Used to
                            determine when a process is ready to receive
                            traffic. Only populated for web processes.
                          example:
                            httpGet:
                              path: /ready
                              port: 8080
                              scheme: HTTP
                        internal_hostname:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: >-
                            Internal Kubernetes DNS hostname for
                            service-to-service communication within the cluster
                          example: my-app-web.my-app-abc123.svc.cluster.local
                        created_at:
                          type: string
                          format: date-time
                          pattern: >-
                            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                          description: >-
                            Timestamp when the process was created, in ISO 8601
                            format
                          example: '2025-01-30T00:00:00.000Z'
                        updated_at:
                          type: string
                          format: date-time
                          pattern: >-
                            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                          description: >-
                            Timestamp when the process was last modified, in ISO
                            8601 format
                          example: '2025-01-30T00:00:00.000Z'
                      required:
                        - id
                        - app_id
                        - key
                        - type
                        - display_name
                        - entrypoint
                        - port
                        - is_ingress_enabled
                        - ingress_protocol
                        - scaling_strategy
                        - resource_type_id
                        - resource_type_name
                        - cpu_limit
                        - memory_limit
                        - schedule
                        - time_zone
                        - concurrency_policy
                        - active_deadline_seconds
                        - job_start_policy
                        - liveness_probe
                        - readiness_probe
                        - internal_hostname
                        - created_at
                        - updated_at
                      additionalProperties: false
                    description: List of items
                  total:
                    type: integer
                    minimum: 0
                    maximum: 10000
                    description: Total number of items matching the query
                    example: 42
                  offset:
                    type: integer
                    minimum: 0
                    maximum: 10000
                    description: Current pagination offset
                    example: 0
                  limit:
                    type: integer
                    minimum: 1
                    maximum: 100
                    description: Current pagination limit
                    example: 25
                required:
                  - data
                  - total
                  - offset
                  - limit
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message
                    example: Unauthorized
                  status:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: HTTP status code
                    example: 401
                  data:
                    type: object
                    properties:
                      code:
                        description: Error tracking code for support reference
                        example: err-abc-123
                        type: string
                      message:
                        description: Additional error details or instructions
                        example: >-
                          If you need assistance, please contact support and
                          provide this error code.
                        type: string
                    additionalProperties: false
                required:
                  - message
                  - status
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message
                    example: Forbidden
                  status:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: HTTP status code
                    example: 403
                  data:
                    type: object
                    properties:
                      code:
                        description: Error tracking code for support reference
                        example: err-abc-123
                        type: string
                      message:
                        description: Additional error details or instructions
                        example: >-
                          If you need assistance, please contact support and
                          provide this error code.
                        type: string
                    additionalProperties: false
                required:
                  - message
                  - status
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message
                    example: Not found
                  status:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: HTTP status code
                    example: 404
                  data:
                    type: object
                    properties:
                      code:
                        description: Error tracking code for support reference
                        example: err-abc-123
                        type: string
                      message:
                        description: Additional error details or instructions
                        example: >-
                          If you need assistance, please contact support and
                          provide this error code.
                        type: string
                    additionalProperties: false
                required:
                  - message
                  - status
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message
                    example: Internal Server Error
                  status:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: HTTP status code
                    example: 500
                  data:
                    type: object
                    properties:
                      code:
                        description: Error tracking code for support reference
                        example: err-abc-123
                        type: string
                      message:
                        description: Additional error details or instructions
                        example: >-
                          If you need assistance, please contact support and
                          provide this error code.
                        type: string
                    additionalProperties: false
                required:
                  - message
                  - status
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Pass your API key as a Bearer token in the
        Authorization header.

````