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

# Update Moment URI

> Update the URI (metadata) of an existing Moment on the In•Process protocol. This endpoint allows artists to update the metadata URI associated with their Moments.

Optionally provide `newCollectionAddress` to move the moment to a different In•Process 1155 contract. The new collection address must differ from the current moment collection address and must be a valid In•Process 1155 contract.

**Note:** Only Moment admins can update the URI.



## OpenAPI

````yaml PATCH /moment
openapi: 3.1.0
info:
  title: In•Process API
  description: >-
    The In•Process API enables browsing and managing moments from timelines.
    Retrieve moments from a specific artist's timeline, browse the in•process
    collective timeline, or filter by collection. The API supports creating
    moments, managing collections, handling payments, and interacting with the
    In•Process protocol ecosystem.
  version: 1.0.0
servers:
  - url: https://api.inprocess.world/api
    description: Production server
security: []
paths:
  /moment:
    patch:
      summary: Update Moment URI
      description: >-
        Update the URI (metadata) of an existing Moment on the In•Process
        protocol. This endpoint allows artists to update the metadata URI
        associated with their Moments.


        Optionally provide `newCollectionAddress` to move the moment to a
        different In•Process 1155 contract. The new collection address must
        differ from the current moment collection address and must be a valid
        In•Process 1155 contract.


        **Note:** Only Moment admins can update the URI.
      operationId: updateMomentURI
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMomentURIRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateMomentURIResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKeyAuth: []
components:
  schemas:
    UpdateMomentURIRequest:
      type: object
      required:
        - moment
        - newUri
      properties:
        moment:
          $ref: '#/components/schemas/MomentIdentifier'
        newUri:
          type: string
          description: New metadata URI (e.g., Arweave URI)
        newCollectionAddress:
          type: string
          description: >-
            Optional new collection address to move the moment to. Must differ
            from the current moment collection address and must be a valid
            In•Process 1155 contract.
    UpdateMomentURIResponse:
      type: object
      required:
        - hash
        - chainId
        - contractAddress
        - tokenId
      properties:
        hash:
          type: string
          description: Transaction hash of the update operation
        chainId:
          type: integer
          description: Chain ID where the transaction was executed
          example: 8453
        contractAddress:
          type: string
          description: >-
            Contract address of the updated Moment (may differ from the original
            if newCollectionAddress was provided)
        tokenId:
          type: string
          description: Token ID of the updated Moment
    Error:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Error status
        message:
          type: string
          description: Error message
        errors:
          type: array
          description: >-
            Optional array of field-level validation errors. Typically included
            in 400 Bad Request responses for validation errors.
          items:
            type: object
            required:
              - field
              - message
            properties:
              field:
                type: string
                description: The field name that failed validation
              message:
                type: string
                description: The validation error message for this field
    MomentIdentifier:
      type: object
      required:
        - collectionAddress
        - tokenId
      properties:
        collectionAddress:
          type: string
          description: Contract address of the Moment
        tokenId:
          type: string
          description: Token ID of the Moment
        chainId:
          type: integer
          description: 'Chain ID (optional, default: Base 8453)'
          default: 8453
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Artist API key for authentication. Get your API key from
        https://inprocess.world/manage/api-keys

````