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

# Read one synthetic check

> One synthetic check by id, the same fields list_synthetic_checks answers for it.



## OpenAPI

````yaml /api-reference/openapi.json get /synthetic_checks/{id}
openapi: 3.1.0
info:
  description: >-
    A resource-shaped endpoint onto the same tool surface the MCP server
    (/api/mcp) reaches. Every gate, refusal and audit row a caller sees here is
    the exact one the MCP endpoint answers for the same tool. Authenticated with
    an API key holding the api:admin scope, or the read-only api:config_read
    scope for GET alone.
  title: SRE Agent configuration API
  version: 1.0.0
servers:
  - url: https://sreagent.app/api/v1/config
security:
  - apiKey: []
tags:
  - name: ai_providers
  - name: ai_settings
  - name: alert_mutes
  - name: alert_routes
  - name: aws_external_id
  - name: certificate_monitors
  - name: change_notifications
  - name: compliance_periods
  - name: connectors
  - name: data_sources
  - name: deploy_policies
  - name: export
  - name: github_settings
  - name: image_targets
  - name: notification_settings
  - name: organization_settings
  - name: outbound_configs
  - name: outbound_rules
  - name: overseer_settings
  - name: prompt_templates
  - name: repo_settings
  - name: service_bindings
  - name: slack
  - name: slis
  - name: slos
  - name: status_page_components
  - name: status_page_incidents
  - name: status_page_settings
  - name: synthetic_checks
  - name: team_members
  - name: teams
  - name: ticket_import_rules
  - name: ticket_integrations
paths:
  /synthetic_checks/{id}:
    get:
      tags:
        - synthetic_checks
      summary: Read one synthetic check
      description: >-
        One synthetic check by id, the same fields list_synthetic_checks answers
        for it.
      operationId: get_synthetic_check
      parameters:
        - description: The resource's id.
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/synthetic_checks_row'
                  organization:
                    type: object
                type: object
          description: The row.
        '404':
          description: No such resource.
        default:
          description: The request failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    synthetic_checks_row:
      properties:
        alert_on_failure:
          type:
            - boolean
            - 'null'
        alert_severity:
          type:
            - string
            - 'null'
        assertions:
          type:
            - object
            - 'null'
        check_type:
          type: string
        config:
          type:
            - object
            - 'null'
        config_body_set:
          type: boolean
        config_header_names:
          type: array
        consecutive_failures:
          type: integer
        down_quorum:
          type:
            - integer
            - 'null'
        enabled:
          type:
            - boolean
            - 'null'
        failure_threshold:
          type:
            - integer
            - 'null'
        id:
          type: string
        interval_seconds:
          type:
            - integer
            - 'null'
        last_error:
          type:
            - string
            - 'null'
        last_run_at:
          type:
            - string
            - 'null'
        last_status:
          type:
            - string
            - 'null'
        locations:
          items:
            type: string
          type:
            - array
            - 'null'
        name:
          type: string
        service:
          type:
            - string
            - 'null'
        target:
          type: string
        timeout_ms:
          type:
            - integer
            - 'null'
        updated_at:
          type: string
      required:
        - name
        - check_type
        - target
        - enabled
        - interval_seconds
        - locations
        - service
        - timeout_ms
        - failure_threshold
        - down_quorum
        - alert_on_failure
        - alert_severity
        - assertions
        - config
        - config_body_set
        - config_header_names
        - consecutive_failures
        - id
        - last_error
        - last_run_at
        - last_status
        - updated_at
      type: object
    Error:
      type: object
      description: The body of every failed request.
      properties:
        error:
          type: string
          description: >-
            A short machine-readable code such as forbidden, conflict or
            read_only_key.
        message:
          type: string
          description: A sentence that says what to change.
      required:
        - error
        - message
      additionalProperties: true
  securitySchemes:
    apiKey:
      description: >-
        An sre_ak_* API key holding the api:admin scope (or api:config_read,
        which every write refuses with read_only_key).
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.