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

# GetArtifactAPI mirrors the erdo_get_artifact MCP tool.




## OpenAPI

````yaml /api/openapi.json get /v1/artifacts/{artifactID}
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/artifacts/{artifactID}:
    get:
      summary: |
        GetArtifactAPI mirrors the erdo_get_artifact MCP tool.
      operationId: GET:mcp.GetArtifactAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: artifactID
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  content:
                    type: object
                  created_at:
                    type: string
                  id:
                    format: uuid
                    type: string
                  last_occurred_at:
                    type: string
                  metadata:
                    type: object
                  occurrence_count:
                    description: >
                      artifact (living alerts) — 1 for a one-off finding.
                      LastOccurredAt is when it was most recently reported
                      (falls back to created\_at). SubjectKey is the stable
                      identity of the condition, present only for living alerts.
                    format: int32
                    maximum: 2147483647
                    minimum: -2147483648
                    title: >
                      OccurrenceCount is how many times a recurring condition
                      has folded into this
                    type: integer
                  public:
                    description: >
                      anonymous visitor can load it. Only meaningful for html
                      artifacts.
                    title: >
                      Public reports whether the page's RBAC access scope is
                      public — i.e. an
                    type: boolean
                  public_url:
                    description: >
                      the page is public (Public is true); a private page has no
                      public URL.
                    title: >
                      PublicURL is the anonymous visitor-facing share link.
                      Present only when
                    type: string
                  severity:
                    type: string
                  subject_key:
                    type: string
                  summary:
                    type: string
                  title:
                    type: string
                  type:
                    type: string
                  url:
                    description: >
                      artifacts (pages); other artifact types have no standalone
                      editor URL.
                    title: >
                      URL is the authenticated editor view of a page. Present
                      only for html
                    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_...).

````