> 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 AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.usescout.sh/_mcp/server.

# Retrieve monitor

GET https://core.usescout.sh/v1/monitors/{monitor_id}

Reference: https://docs.usescout.sh/api-reference/scout/monitors/monitor-get-v-1-monitors-monitor-id-get

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Scout
  version: 1.0.0
paths:
  /v1/monitors/{monitor_id}:
    get:
      operationId: monitor-get-v-1-monitors-monitor-id-get
      summary: Retrieve monitor
      tags:
        - subpackage_monitors
      parameters:
        - name: monitor_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:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Monitor'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
servers:
  - url: https://core.usescout.sh
    description: Production
components:
  schemas:
    MonitorLastResult:
      type: object
      properties:
        event_id:
          type: string
        results_count:
          type: integer
        ran_at:
          type: string
        status:
          type:
            - string
            - 'null'
      required:
        - event_id
        - results_count
        - ran_at
      title: MonitorLastResult
    Monitor:
      type: object
      properties:
        id:
          type: string
          description: Monitor identifier.
        query:
          type: string
          description: The tracked query.
        cadence:
          type: string
          description: hourly, daily or weekly.
        cron:
          type:
            - string
            - 'null'
          description: Cron expression (overrides cadence when present).
        mode:
          type: string
          default: diff
          description: '''diff'' or ''snapshot''.'
        filter_prompt:
          type:
            - string
            - 'null'
          description: Natural-language predicate evaluated by Claude.
        notify_on:
          type: array
          items:
            type: string
          description: 'Subset of: change | match | error.'
        webhook_max_attempts:
          type: integer
          default: 3
        webhook_backoff_seconds:
          type: integer
          default: 30
        webhook_secret_set:
          type: boolean
          default: false
          description: >-
            True if a webhook_secret is configured (the secret itself is never
            returned).
        webhook:
          type:
            - string
            - 'null'
          description: Where change events are delivered, if set.
        country:
          type: string
        language:
          type: string
        status:
          type: string
          description: active or paused.
        metadata:
          type: object
          additionalProperties:
            description: Any type
          description: Arbitrary caller metadata.
        createdAt:
          type: string
          description: ISO-8601 creation timestamp.
        lastRunAt:
          type:
            - string
            - 'null'
          description: ISO-8601 timestamp of the most recent run.
        nextRunAt:
          type:
            - string
            - 'null'
          description: ISO-8601 timestamp of the next run, or null when paused.
        runs:
          type: integer
          description: How many times the monitor has run.
        last_webhook_status:
          type:
            - integer
            - 'null'
          description: HTTP status of the most recent webhook delivery, or null.
        last_webhook_at:
          type:
            - number
            - 'null'
          format: double
          description: Epoch seconds the last webhook delivery completed.
        last_webhook_error:
          type:
            - string
            - 'null'
          description: >-
            Error message from the last webhook delivery, when it failed; null
            on success or when no webhook is set.
        last_result:
          oneOf:
            - $ref: '#/components/schemas/MonitorLastResult'
            - type: 'null'
          description: Summary of the most recent monitor event, or null.
      required:
        - id
        - query
        - cadence
        - country
        - language
        - status
        - metadata
        - createdAt
        - runs
      title: Monitor
    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.

```

## Examples



**Response**

```json
{
  "id": "mon-1f6c2d9a4b7e",
  "query": "anthropic new model release",
  "cadence": "daily",
  "country": "us",
  "language": "en",
  "status": "active",
  "metadata": {
    "team": "research"
  },
  "createdAt": "2025-01-18T09:00:00+00:00",
  "runs": 3,
  "webhook": "https://example.com/hooks/scout",
  "lastRunAt": "2025-01-20T09:00:00+00:00",
  "nextRunAt": "2025-01-21T09:00:00+00:00"
}
```

**SDK Code**

```python Monitors_monitor_get_v1_monitors__monitor_id__get_example
import requests

url = "https://core.usescout.sh/v1/monitors/monitor_id"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Monitors_monitor_get_v1_monitors__monitor_id__get_example
const url = 'https://core.usescout.sh/v1/monitors/monitor_id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go Monitors_monitor_get_v1_monitors__monitor_id__get_example
package main

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

func main() {

	url := "https://core.usescout.sh/v1/monitors/monitor_id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

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

url = URI("https://core.usescout.sh/v1/monitors/monitor_id")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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

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

HttpResponse<String> response = Unirest.get("https://core.usescout.sh/v1/monitors/monitor_id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://core.usescout.sh/v1/monitors/monitor_id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp Monitors_monitor_get_v1_monitors__monitor_id__get_example
using RestSharp;

var client = new RestClient("https://core.usescout.sh/v1/monitors/monitor_id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Monitors_monitor_get_v1_monitors__monitor_id__get_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://core.usescout.sh/v1/monitors/monitor_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```