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

# Extend FindAll run

POST https://core.usescout.sh/v1/findall/runs/{findall_id}/extend
Content-Type: application/json

Continue a completed run - find more distinct entities and append
them. Returns the run re-queued; poll or stream it as usual.

Reference: https://docs.usescout.sh/api-reference/scout/find-all/run-extend-v-1-findall-runs-findall-id-extend-post

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Scout
  version: 1.0.0
paths:
  /v1/findall/runs/{findall_id}/extend:
    post:
      operationId: run-extend-v-1-findall-runs-findall-id-extend-post
      summary: Extend FindAll run
      description: |-
        Continue a completed run - find more distinct entities and append
        them. Returns the run re-queued; poll or stream it as usual.
      tags:
        - subpackage_findAll
      parameters:
        - name: findall_id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Your API key, sent as a Bearer token.
          required: true
          schema:
            type: string
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindAllRunView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindAllExtendRequest'
servers:
  - url: https://core.usescout.sh
components:
  schemas:
    FindAllExtendRequest:
      type: object
      properties:
        limit:
          type: integer
          default: 20
          description: How many more entities to find.
      title: FindAllExtendRequest
    FindAllRunView:
      type: object
      properties:
        findall_id:
          type: string
          description: Opaque run identifier.
        status:
          description: >-
            String for back-compat (queued/running/completed/failed/cancelled)
            OR the rich Parallel-style status object when the run has completed.
        query:
          type: string
          description: The enumeration query.
        fields:
          type:
            - array
            - 'null'
          items:
            type: string
          description: The requested entity fields, if any.
        output_schema:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: The JSON Schema for entity objects, if any.
        entities:
          type: array
          items:
            type: object
            additionalProperties:
              description: Any type
          description: Entities found so far (flat rows; back-compat).
        candidates:
          type:
            - array
            - 'null'
          items:
            type: object
            additionalProperties:
              description: Any type
          description: Rich candidates once the run has completed.
        metadata:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: 'Run metadata: {title, input}.'
        findall_schema:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: 'Schema spec: objective, conditions, generator.'
        count:
          type: integer
          description: Number of entities found.
        error:
          type:
            - string
            - 'null'
          description: Failure reason when status is failed.
        createdAt:
          type:
            - string
            - 'null'
          description: ISO-8601 created.
        completedAt:
          type:
            - string
            - 'null'
          description: ISO-8601 finished.
        credits:
          type: integer
          description: Cost accumulated by the run.
      required:
        - findall_id
        - status
        - query
        - entities
        - count
        - credits
      title: FindAllRunView
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationErrorCtx:
      type: object
      properties: {}
      title: ValidationErrorCtx
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
        input:
          description: Any type
        ctx:
          $ref: '#/components/schemas/ValidationErrorCtx'
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your API key, sent as a Bearer token.

```

## SDK Code Examples

```python FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
import requests

url = "https://core.usescout.sh/v1/findall/runs/findall_id/extend"

payload = { "limit": 20 }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
const url = 'https://core.usescout.sh/v1/findall/runs/findall_id/extend';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"limit":20}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
package main

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

func main() {

	url := "https://core.usescout.sh/v1/findall/runs/findall_id/extend"

	payload := strings.NewReader("{\n  \"limit\": 20\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 FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
require 'uri'
require 'net/http'

url = URI("https://core.usescout.sh/v1/findall/runs/findall_id/extend")

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  \"limit\": 20\n}"

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

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

HttpResponse<String> response = Unirest.post("https://core.usescout.sh/v1/findall/runs/findall_id/extend")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"limit\": 20\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://core.usescout.sh/v1/findall/runs/findall_id/extend', [
  'body' => '{
  "limit": 20
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
using RestSharp;

var client = new RestClient("https://core.usescout.sh/v1/findall/runs/findall_id/extend");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"limit\": 20\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift FindAll_runExtendV1FindallRunsFindallIdExtendPost_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["limit": 20] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://core.usescout.sh/v1/findall/runs/findall_id/extend")! 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()
```