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

# IOSScreenshotAPI mirrors the erdo_ios_screenshot MCP tool: capture a page on a


> REAL iPhone (real iOS Safari) — for iOS-Safari-only behaviour headless Chromium can't see. Returns a job\_id; poll /v1/screenshot/result with it for the PNG.




## OpenAPI

````yaml /api/openapi.json post /v1/screenshot/ios
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/ios:
    post:
      summary: >
        IOSScreenshotAPI mirrors the erdo_ios_screenshot MCP tool: capture a
        page on a
      description: >
        REAL iPhone (real iOS Safari) — for iOS-Safari-only behaviour headless
        Chromium can't see. Returns a job\_id; poll /v1/screenshot/result with
        it for the PNG.
      operationId: POST:mcp.IOSScreenshotAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                interactions:
                  items:
                    $ref: '#/components/schemas/mcp.IOSInteractionInput'
                  type: array
                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.IOSInteractionInput:
      description: >
        Generic on purpose — no page-specific knowledge; the caller composes the
        sequence.
      properties:
        index:
          format: int64
          type: integer
        ms:
          format: int64
          type: integer
        op:
          type: string
        text:
          type: string
      title: |
        IOSInteractionInput is one generic pre-screenshot step for a real-iPhone
        capture.
      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_...).

````