> ## 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.

# ScreenshotAPI mirrors the erdo_screenshot MCP tool as a REST endpoint: capture


> a public URL to a PNG and return a signed download URL.




## OpenAPI

````yaml /api/openapi.json post /v1/screenshot
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, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-07-25'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/screenshot:
    post:
      summary: >
        ScreenshotAPI mirrors the erdo_screenshot MCP tool as a REST endpoint:
        capture
      description: |
        a public URL to a PNG and return a signed download URL.
      operationId: POST:mcp.ScreenshotAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                browser:
                  $ref: '#/components/schemas/mcp.BrowserSettings'
                inbox_id:
                  description: >
                    is read from this inbox (from create\_inbox) and entered
                    automatically.
                  title: >
                    InboxID lets the instructions complete an emailed
                    verification step: the code
                  type: string
                instructions:
                  description: >
                    (navigate, sign in, dismiss a dialog, click a tab) is
                    performed before the shot. Empty = a fast anonymous render
                    that can't see signed-in content.
                  title: >
                    Instructions turns this into a real-browser capture:
                    anything you describe
                  type: string
                url:
                  type: string
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  bucket_key:
                    type: string
                  error:
                    type: string
                  expires_at:
                    type: string
                  height:
                    format: int64
                    type: integer
                  job_id:
                    description: |
                      or "error"; Error carries the failure when status="error".
                    title: >
                      JobID/Status drive the async instructed path. Status is
                      "processing", "done",
                    type: string
                  media_type:
                    type: string
                  signed_url:
                    type: string
                  status:
                    type: string
                  width:
                    format: int64
                    type: integer
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    mcp.BrowserSettings:
      description: >
        device presets, locale, reduced-motion, etc. later without reshaping the
        tool.
      properties:
        color_scheme:
          type: string
        device_scale_factor:
          type: number
        full_page:
          type: boolean
        height:
          format: int64
          type: integer
        local_storage:
          additionalProperties:
            type: string
          description: >
            the Erdo app stores its theme under the "theme" key, so
            {"theme":"dark"} renders dark.
          title: >
            LocalStorage themes a signed-in capture (where color_scheme
            emulation can't

            reach):
          type: object
        width:
          format: int64
          type: integer
      title: >
        BrowserSettings groups page-rendering options for a capture. Extensible
        — add
      type: object
  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_...).

````