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

# Reactivate a context pack

> Reactivate an archived or deprecated context pack.



## OpenAPI

````yaml /openapi/em-runtime-utils-v2.yaml post /utils/context-packs/{name}/reactivate
openapi: 3.1.0
info:
  title: em_runtime_utils
  version: 5.27.0
servers: []
security: []
paths:
  /utils/context-packs/{name}/reactivate:
    post:
      tags:
        - context-packs
      summary: Reactivate a context pack
      description: Reactivate an archived or deprecated context pack.
      operationId: reactivate_context_pack
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            description: Context pack name
            title: Name
          description: Context pack name
        - name: X-Project-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Project-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextPackResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Invalid status transition
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ContextPackResponse:
      properties:
        id:
          type: string
          title: Id
          description: Context pack ID
        organization_id:
          type: string
          title: Organization Id
          description: Organization ID
        project_id:
          type: string
          title: Project Id
          description: Project ID
        name:
          type: string
          title: Name
          description: Pack name
        pack_type:
          $ref: '#/components/schemas/ContextPackType'
          description: Pack type
        version:
          type: integer
          title: Version
          description: Version number
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Description
        status:
          $ref: '#/components/schemas/ContextPackStatus'
          description: Current status
        summary_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary Text
          description: Generated summary
        summary_version:
          type: integer
          title: Summary Version
          description: Summary version
        key_topics:
          items:
            type: string
          type: array
          title: Key Topics
          description: Key topics
        topic_distribution:
          additionalProperties: true
          type: object
          title: Topic Distribution
          description: Topic distribution
        meta_data:
          additionalProperties: true
          type: object
          title: Meta Data
          description: User-defined metadata
        config:
          additionalProperties: true
          type: object
          title: Config
          description: Configuration
        created_by:
          type: string
          title: Created By
          description: User resource URI who created this
        updated_by:
          type: string
          title: Updated By
          description: User resource URI who last updated this
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update timestamp
        archived_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Archived At
          description: Archive timestamp
        deprecated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deprecated At
          description: Deprecation timestamp
        deleted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deleted At
          description: Deletion timestamp
        reactivated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reactivated At
          description: Last reactivation timestamp
      type: object
      required:
        - id
        - organization_id
        - project_id
        - name
        - pack_type
        - version
        - status
        - summary_version
        - key_topics
        - topic_distribution
        - meta_data
        - config
        - created_by
        - updated_by
        - created_at
        - updated_at
      title: ContextPackResponse
      description: Response model for a context pack.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    ContextPackType:
      type: string
      enum:
        - user
        - team
        - project
        - domain
        - session
        - data_source
      title: ContextPackType
      description: Type of context pack.
    ContextPackStatus:
      type: string
      enum:
        - active
        - archived
        - deprecated
        - deleted
      title: ContextPackStatus
      description: Status of a context pack.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````