> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cloudraker.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cloudraker.com/_mcp/server.

# Skip a human task

POST https://api.cloudraker.com/spaces/{spaceId}/playbook-runs/{runId}/tasks/{taskId}/skip
Content-Type: application/json

Flags a human task as skipped (note required) and unblocks the work behind it exactly like a completion. Authorization: `space:contribute` (org admins bypass). Errors: 409 `task_blocked`, 409 `run_not_running`, 422 `not_human_task`, 404.

Reference: https://docs.cloudraker.com/api/cloud-raker-api/workspace/playbooks/skip-playbook-run-task

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: CloudRaker API
  version: 1.0.0
paths:
  /spaces/{spaceId}/playbook-runs/{runId}/tasks/{taskId}/skip:
    post:
      operationId: skip-playbook-run-task
      summary: Skip a human task
      description: >-
        Flags a human task as skipped (note required) and unblocks the work
        behind it exactly like a completion. Authorization: `space:contribute`
        (org admins bypass). Errors: 409 `task_blocked`, 409 `run_not_running`,
        422 `not_human_task`, 404.
      tags:
        - playbooks
      parameters:
        - name: spaceId
          in: path
          required: true
          schema:
            type: string
        - name: runId
          in: path
          required: true
          schema:
            type: string
        - name: taskId
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The skipped task.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlaybookRunTaskEnvelope'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                note:
                  type: string
              required:
                - note
servers:
  - url: https://api.cloudraker.com
    description: Production
  - url: https://api.staging.raker.one
    description: Staging
  - url: https://api.dev.raker.one
    description: Development
components:
  schemas:
    PlaybookRunTaskExecutor:
      type: string
      enum:
        - agent
        - human
      title: PlaybookRunTaskExecutor
    PlaybookRunTaskStatus:
      type: string
      enum:
        - pending
        - ready
        - in_progress
        - completed
        - skipped
      title: PlaybookRunTaskStatus
    PlaybookRunTask:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        instructions:
          type:
            - string
            - 'null'
        dependsOn:
          type: array
          items:
            type: string
        executor:
          $ref: '#/components/schemas/PlaybookRunTaskExecutor'
        assignee:
          type:
            - string
            - 'null'
        status:
          $ref: '#/components/schemas/PlaybookRunTaskStatus'
        claimedBy:
          type:
            - string
            - 'null'
        summary:
          type:
            - string
            - 'null'
        completedBy:
          type:
            - string
            - 'null'
        note:
          type:
            - string
            - 'null'
        fileIds:
          type: array
          items:
            type: string
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - title
        - status
        - summary
        - completedAt
      title: PlaybookRunTask
    PlaybookRunTaskEnvelope:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/PlaybookRunTask'
      required:
        - data
      title: PlaybookRunTaskEnvelope
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{
  "note": "Skipping this task due to dependency issues and to unblock subsequent steps."
}
```

**Response**

```json
{
  "data": {
    "id": "task-98765",
    "title": "Review Project Documentation",
    "status": "skipped",
    "summary": "Documentation review skipped to maintain project timeline.",
    "completedAt": "2024-01-15T09:30:00Z",
    "instructions": "Please review the latest project documentation and provide feedback.",
    "dependsOn": [
      "task-12345"
    ],
    "executor": "human",
    "assignee": "jane.doe@example.com",
    "claimedBy": "jane.doe@example.com",
    "completedBy": "jane.doe@example.com",
    "note": "Skipping this task due to dependency issues and to unblock subsequent steps.",
    "fileIds": [
      "file-abc123"
    ]
  }
}
```

**SDK Code**

```typescript
import { CloudRakerClient } from "@cloudraker/api";

async function main() {
    const client = new CloudRakerClient({
        token: "YOUR_TOKEN_HERE",
    });
    await client.playbooks.skipPlaybookRunTask("spaceId", "runId", "taskId", {
        note: "Skipping this task due to dependency issues and to unblock subsequent steps.",
    });
}
main();

```

```python
from cloudraker import CloudRaker

client = CloudRaker(
    token="YOUR_TOKEN_HERE",
)

client.playbooks.skip_playbook_run_task(
    space_id="spaceId",
    run_id="runId",
    task_id="taskId",
    note="Skipping this task due to dependency issues and to unblock subsequent steps.",
)

```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip"

	payload := strings.NewReader("{\n  \"note\": \"Skipping this task due to dependency issues and to unblock subsequent steps.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"note\": \"Skipping this task due to dependency issues and to unblock subsequent steps.\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"note\": \"Skipping this task due to dependency issues and to unblock subsequent steps.\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip', [
  'body' => '{
  "note": "Skipping this task due to dependency issues and to unblock subsequent steps."
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"note\": \"Skipping this task due to dependency issues and to unblock subsequent steps.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["note": "Skipping this task due to dependency issues and to unblock subsequent steps."] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/spaces/spaceId/playbook-runs/runId/tasks/taskId/skip")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```