# Signal sends one signal to an existing process.


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




`POST /v1/processes/{process}/signal`

Signal sends one signal to an existing process.
Action: a signal is delivered to a running process and leaves no representation to
replace.

## Connection and access

[API connection and authentication guidance](/reference/api/sandboxes/latest/#authentication)


Server: `{endpoint}`

`endpoint`: The sandbox API base URL from Sandbox.core.endpoint.uri; preserve its path prefix when appending /v1 routes. HTTP endpoints require a scoped endpoint bearer; direct Unix sockets use socket access control.

Effective security: alternatives are OR; schemes within an alternative are AND. An empty array declares no HTTP authentication requirement.

```json
[
  {
    "sandboxBearer": []
  }
]
```

## Example request

Replace placeholders and provide the required credentials or request body.

```console
curl \
  --request POST \
  --header "Authorization: Bearer ${TOKEN}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary @request-body \
  'https://sandbox.invalid/v1/processes/<PROCESS>/signal'
```


Prepare request-body using the selected media type and schema.


## Parameters

### process

Location: path. Required: yes.

The process id.

```json
{
  "description": "The process id.",
  "in": "path",
  "name": "process",
  "pointer": "/paths/~1v1~1processes~1{process}~1signal/post/parameters/0",
  "required": true,
  "schema": {
    "type": "string"
  }
}
```

## Request and responses

### Request  application/json




Schema:

```json
{
  "additionalProperties": false,
  "description": "SignalRequest sends one signal.",
  "properties": {
    "signal": {
      "$ref": "#/components/schemas/ProcessSignal",
      "description": "signal is the signal to send.",
      "not": {
        "enum": [
          "unspecified"
        ]
      }
    }
  },
  "required": [
    "signal"
  ],
  "title": "SignalRequest",
  "type": "object"
}
```










### Response 200 application/json

Success


Schema:

```json
{
  "$ref": "#/components/schemas/SignalResponse"
}
```










### Response default application/json

The structured Error body identifies the failure with a stable code and optional typed details.


Schema:

```json
{
  "$ref": "#/components/schemas/Error"
}
```









Schema example:
```json
{
  "code": "notFound",
  "details": [],
  "message": "sandbox not found"
}
```


## Complete operation contract

```json
{
  "description": "Signal sends one signal to an existing process.\nAction: a signal is delivered to a running process and leaves no representation to\nreplace.",
  "operationId": "signal",
  "parameters": [
    {
      "description": "The process id.",
      "in": "path",
      "name": "process",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "additionalProperties": false,
          "description": "SignalRequest sends one signal.",
          "properties": {
            "signal": {
              "$ref": "#/components/schemas/ProcessSignal",
              "description": "signal is the signal to send.",
              "not": {
                "enum": [
                  "unspecified"
                ]
              }
            }
          },
          "required": [
            "signal"
          ],
          "title": "SignalRequest",
          "type": "object"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SignalResponse"
          }
        }
      },
      "description": "Success"
    },
    "default": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "description": "The structured Error body identifies the failure with a stable code and optional typed details."
    }
  },
  "security": [
    {
      "sandboxBearer": []
    }
  ],
  "servers": [
    {
      "url": "{endpoint}",
      "variables": {
        "endpoint": {
          "default": "https://sandbox.invalid",
          "description": "The sandbox API base URL from Sandbox.core.endpoint.uri; preserve its path prefix when appending /v1 routes. HTTP endpoints require a scoped endpoint bearer; direct Unix sockets use socket access control."
        }
      }
    }
  ],
  "summary": "Signal sends one signal to an existing process.",
  "tags": [
    "Processes"
  ],
  "x-sbx-authenticated-only": false,
  "x-sbx-conditional-permissions": [],
  "x-sbx-plane": "data",
  "x-sbx-required-permissions": [
    "sandboxesExec"
  ],
  "x-sbx-serving-surface": "sandboxEndpoint"
}
```

## Referenced schemas

- [#/components/schemas/Error](/reference/api/sandboxes/latest/schemas/Error/)

- [#/components/schemas/ProcessSignal](/reference/api/sandboxes/latest/schemas/ProcessSignal/)

- [#/components/schemas/SignalResponse](/reference/api/sandboxes/latest/schemas/SignalResponse/)




