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

# GetDatasetRefreshAPI mirrors the erdo_get_dataset_refresh MCP tool. A dataset


> with no refresh answers configured:false rather than 404 — "nothing keeps this current" is an answer. The webhook signing secret is never returned.




## OpenAPI

````yaml /api/openapi.json get /v1/datasets/{datasetSlug}/refresh
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-09-09'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/datasets/{datasetSlug}/refresh:
    get:
      summary: >
        GetDatasetRefreshAPI mirrors the erdo_get_dataset_refresh MCP tool. A
        dataset
      description: >
        with no refresh answers configured:false rather than 404 — "nothing
        keeps this current" is an answer. The webhook signing secret is never
        returned.
      operationId: GET:mcp.GetDatasetRefreshAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: datasetSlug
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  action_key:
                    type: string
                  agent_prompt:
                    type: string
                  configured:
                    type: boolean
                  context_dataset_ids:
                    items:
                      format: uuid
                      type: string
                    type: array
                  dataset_id:
                    format: uuid
                    type: string
                  dataset_slug:
                    type: string
                  disarmed:
                    description: >
                      the platform stopped its schedule, so a reader sees why it
                      went quiet.
                    title: >
                      DisarmedAt is set when an experiment measurement refresh
                      has settled and
                    type: boolean
                  job_enabled:
                    type: boolean
                  job_id:
                    format: uuid
                    type: string
                  key_column:
                    type: string
                  last_refresh_at:
                    type: string
                  last_refresh_duration_ms:
                    format: int32
                    maximum: 2147483647
                    minimum: -2147483648
                    type: integer
                  last_refresh_error:
                    type: string
                  last_refresh_status:
                    type: string
                  live_write_mode:
                    type: string
                  parameters:
                    type: object
                  payload_schema:
                    type: object
                  poll_interval_ms:
                    format: int32
                    maximum: 2147483647
                    minimum: -2147483648
                    type: integer
                  refresh_config_id:
                    format: uuid
                    type: string
                  refresh_mode:
                    type: string
                  refresh_on_view_debounce_seconds:
                    format: int32
                    maximum: 2147483647
                    minimum: -2147483648
                    type: integer
                  refresh_on_view_enabled:
                    type: boolean
                  refresh_on_view_stale_after_seconds:
                    format: int32
                    maximum: 2147483647
                    minimum: -2147483648
                    type: integer
                  schedule:
                    description: >
                      the refresh runs on view only. ScheduleEnabled
                      distinguishes "no cron trigger" from "a cron trigger that
                      is currently disarmed".
                    title: >
                      Schedule is the cron expression on the refresh job's
                      trigger, empty when
                    type: string
                  schedule_enabled:
                    type: boolean
                  schedule_timezone:
                    type: string
                  script:
                    title: >
                      The recipe itself, so a caller can read back what it
                      installed.
                    type: string
                  script_entrypoint:
                    type: string
                  strategy:
                    type: string
                  transform_js:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````