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

# artifact

> Fetch a single artifact by id, scoped to the calling workspace. Returns
null when the artifact does not exist or does not belong to this workspace
(cross-workspace existence is intentionally hidden).



## OpenAPI

````yaml /api-reference/openapi.json get /api/artifacts/{artifactId}
openapi: 3.0.3
info:
  title: Parable API
  description: >-
    The REST API for your Parable workspace: manage connectors and taps, explore
    your data catalog, upload artifacts, and administer users and roles.
  version: v1
servers:
  - url: https://api.askparable.com
    description: Production
security: []
paths:
  /api/artifacts/{artifactId}:
    get:
      tags:
        - artifacts
      summary: artifact
      description: >-
        Fetch a single artifact by id, scoped to the calling workspace. Returns

        null when the artifact does not exist or does not belong to this
        workspace

        (cross-workspace existence is intentionally hidden).
      operationId: ArtifactsArtifactHandler
      parameters:
        - description: >-
            Workspace slug. Overrides subdomain-based workspace resolution when
            provided.
          in: header
          name: X-Tenant
          required: false
          schema:
            example: acme
            type: string
        - description: Optional request correlation ID echoed back in the response.
          in: header
          name: X-Request-ID
          required: false
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
        - description: artifactId parameter
          in: path
          name: artifactId
          required: true
          schema:
            description: UUID v4 with automatic base62 encoding for client-facing APIs
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/ArtifactInfo'
                  links:
                    $ref: '#/components/schemas/ResponseLinks'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
                required:
                  - data
                  - meta
                type: object
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    ArtifactInfo:
      description: Artifact metadata for customer display.
      properties:
        attributedTapId:
          description: >-
            ID of the TenantConnectorTap that was derived from this artifact, if
            any.

            Populated by a query-time lookup from
            `tenant_connector_tap.artifact_id`

            rather than a stored column (the inverse FK is intentionally
            one-way; see

            EDR-0021 Phase 1 cycle-breaking decision). Null until the artifact
            has

            been processed and its derived tap has been created.
          type: string
        createdAt:
          description: ISO8601 datetime string
          type: string
        createdBy:
          description: UUID v4 string as base62
          type: string
        dataSchema:
          description: Current persisted schema. Null until a schema is generated or saved.
          type: object
        fileName:
          type: string
        fileSize:
          description: File size in bytes (non-negative, BIGINT-backed)
          format: int64
          type: integer
        fileType:
          $ref: '#/components/schemas/ArtifactTypeEnum'
        id:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        path:
          description: >-
            Virtual-folder path for this artifact, dot-separated ltree. NULL
            means

            the artifact lives at the workspace root.
          type: string
        schemaInferenceStatus:
          $ref: '#/components/schemas/ArtifactSchemaInferenceStatusEnum'
        updatedAt:
          description: ISO8601 datetime string
          type: string
        updatedBy:
          description: UUID v4 string as base62
          type: string
        uploadStatus:
          $ref: '#/components/schemas/ArtifactUploadStatusEnum'
        uploadedBy:
          $ref: '#/components/schemas/UserInfo'
      required:
        - id
        - createdAt
        - createdBy
        - updatedAt
        - updatedBy
        - fileName
        - fileType
        - fileSize
        - uploadStatus
        - schemaInferenceStatus
        - uploadedBy
      type: object
    ResponseLinks:
      properties:
        first:
          nullable: true
          type: string
        last:
          nullable: true
          type: string
        next:
          nullable: true
          type: string
        prev:
          nullable: true
          type: string
      type: object
    ResponseMeta:
      properties:
        requestId:
          description: Unique identifier for the request
          type: string
        totalCount:
          description: Total count of items for paginated responses
          nullable: true
          type: integer
      required:
        - requestId
      type: object
    Error:
      properties:
        error:
          type: string
      type: object
    ArtifactTypeEnum:
      description: Type of uploaded artifact file
      enum:
        - csv
        - xlsx
        - xls
        - numbers
        - ods
        - zip
      type: string
    ArtifactSchemaInferenceStatusEnum:
      description: Status of optional schema inference for an artifact
      enum:
        - not_requested
        - processing
        - succeeded
        - failed
      type: string
    ArtifactUploadStatusEnum:
      description: Availability status of an uploaded artifact file
      enum:
        - pending
        - processing
        - ready
        - failed
      type: string
    UserInfo:
      description: |-
        A type for general info about a user for returning enough public facing
        user info for fields like createdBy or updatedBy.
      properties:
        email:
          description: An email address
          type: string
        id:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        name:
          description: An objects name
          type: string
      required:
        - id
        - name
        - email
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````