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

# Bluesky Search Posts: Inputs, Cost & CLI Example

> Searching public Bluesky posts with since/until, author, mention, tag, and domain filters. Includes inputs, outputs, costs, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=bluesky_search_posts:{"q":"{{q}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name               | Type                | Required | Default | Description |
| ------------------ | ------------------- | -------- | ------- | ----------- |
| `payload.q`        | `string`            | Yes      |         |             |
| `payload.sort`     | `"top" \| "latest"` | No       |         |             |
| `payload.since`    | `string`            | No       |         |             |
| `payload.until`    | `string`            | No       |         |             |
| `payload.author`   | `string`            | No       |         |             |
| `payload.mentions` | `string`            | No       |         |             |
| `payload.domain`   | `string`            | No       |         |             |
| `payload.url`      | `string`            | No       |         |             |
| `payload.lang`     | `string`            | No       |         |             |
| `payload.limit`    | `integer`           | No       |         |             |
| `payload.cursor`   | `string`            | No       |         |             |

### Allowed values

| Field          | Allowed values  |
| -------------- | --------------- |
| `payload.sort` | `top`, `latest` |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Bluesky public post search.",
    "properties": {
      "q": {
        "type": "string",
        "minLength": 1
      },
      "sort": {
        "type": "string",
        "enum": [
          "top",
          "latest"
        ]
      },
      "since": {
        "type": "string"
      },
      "until": {
        "type": "string"
      },
      "author": {
        "type": "string"
      },
      "mentions": {
        "type": "string"
      },
      "domain": {
        "type": "string"
      },
      "url": {
        "type": "string"
      },
      "lang": {
        "type": "string"
      },
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "cursor": {
        "type": "string"
      }
    },
    "required": [
      "q"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

Output schema is not available yet.

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute bluesky_search_posts --payload '{
  "q": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
