Skip to main content
POST
/
v1
/
operations
/
dispatch-sandbox-task
Dispatch a sandbox task
curl --request POST \
  --url https://api.app.chainloop.dev/v1/operations/dispatch-sandbox-task \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workflow_id": "<string>",
  "task_name": "<string>",
  "version_name": "<string>"
}
'
{
  "operation_id": "operation_id"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chainloop.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token for authentication

Body

application/json
workflow_id
string

Workflow this dispatch attests under. The org, project, and workflow name are resolved server-side from this ID.

task_name
string

Identifier of the task to run. Only known values are accepted (v1: "vulnerability-scan").

version_name
string

Project version this attestation records.

Response

A successful response.

operation_id
string

ID of the AsyncOperation the caller polls via GetOperation.