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

# Get a process

> Returns the process snapshot for the requested identifier.



## OpenAPI

````yaml /cyrnel/openapi.json get /processes/{id}
openapi: 3.0.0
info:
  title: Cyrnel API
  description: >-
    Cyrnel is a universal layer that connects AI agents and LLM applications to
    any external service, API, or device regardless of protocol or standard. It
    acts as an adaptive bridge between your AI and the outside world, enabling
    seamless integrations through code execution, async operation handling, and
    built-in observability and security controls.
  version: 1.0.0
servers:
  - url: http://localhost:9371
security: []
paths:
  /processes/{id}:
    get:
      tags:
        - Processes
      summary: Get a process
      description: Returns the process snapshot for the requested identifier.
      parameters:
        - schema:
            type: string
            description: Numeric process identifier serialized as a path parameter.
          required: true
          description: Numeric process identifier serialized as a path parameter.
          name: id
          in: path
      responses:
        '200':
          description: Process snapshot.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
        '400':
          description: The id path parameter was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: A bearer token was required but missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: No process exists for the requested identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: The process could not be loaded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    Process:
      type: object
      properties:
        id:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          description: >-
            Stable process identifier assigned at creation. Persists across
            restarts.
        ref:
          type: string
          minLength: 1
          description: >-
            Optional caller-supplied reference string used to correlate related
            processes.
        state:
          type: string
          enum:
            - queued
            - running
            - idle
            - terminating
          description: Current lifecycle state of the process.
        exitState:
          type: string
          nullable: true
          enum:
            - failed
            - success
            - timeout
            - canceled
            - null
          description: >-
            Terminal exit state of the process. Null until the process becomes
            idle.
        error:
          type: string
          nullable: true
          description: >-
            Error message captured during execution, or null if no error
            occurred.
        createdAt:
          type: string
          description: ISO-8601 timestamp of when the process was created.
        completedAt:
          type: string
          nullable: true
          description: >-
            ISO-8601 timestamp of when the process completed, or null if still
            running.
      required:
        - id
        - state
        - exitState
        - error
        - createdAt
        - completedAt
      description: Process snapshot returned by the process management endpoints.
    ApiErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message returned by the API.
      required:
        - error
      description: Standard error envelope returned by the HTTP error middleware.

````