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

# Get a custom context item

> Returns one customer-created custom context item by uid. Returns 404 if the item does not exist or you cannot access it.

**Requires:** `context:read`



## OpenAPI

````yaml https://api.getmodus.com/openapi.json get /api/v1/context/custom-items/{uid}
openapi: 3.0.3
info:
  title: Modus Public API
  version: 1.0.0
servers: []
security:
  - bearerAuth: []
tags:
  - name: Scopes
    description: Create, configure, deploy, and manage scopes.
  - name: Scopes · Conversations
    description: Read scope conversation threads.
  - name: Scopes · Supervision
    description: Scope supervision sub-resource.
  - name: Scopes · Memories
    description: Long-term memory stored per scope.
  - name: Scopes · Chat
    description: Chat with a published scope.
  - name: Scopes · Context
    description: Compose a scope’s context without an LLM call.
  - name: Modus · Chat
    description: Chat with Modus — your org-wide assistant.
  - name: Modus · Conversations
    description: Read Modus and cross-scope conversation threads.
  - name: Modus · Context
    description: Compose full-environment context without an LLM call.
  - name: Workflows
    description: Create, configure, deploy, and manage workflows.
  - name: Workflows · Runs
    description: Inspect workflow run history.
  - name: Workflows · Interfaces
    description: Slack / MCP / Teams interface management.
  - name: Connections
    description: Read connected integrations.
  - name: Tools
    description: Catalog of tools/integrations a scope can select in its toolset.
  - name: Suggestions
    description: Approved suggested questions and first-party suggestion usage events.
  - name: Context
    description: Create and manage organization context items.
  - name: Usage
    description: Organization LLM usage reporting.
  - name: Users
    description: Organization and membership management.
  - name: Runs · Streaming
    description: 'Run lifecycle: stream, poll, resume, interrupt, and cancel executions.'
  - name: Scopes · Runs
    description: Run a published or draft scope.
  - name: Modus · Runs
    description: Run the Modus home agent.
paths:
  /api/v1/context/custom-items/{uid}:
    get:
      tags:
        - Context
      summary: Get a custom context item
      description: >-
        Returns one customer-created custom context item by uid. Returns 404 if
        the item does not exist or you cannot access it.


        **Requires:** `context:read`
      operationId: CustomContextItemsController_get
      parameters:
        - name: uid
          required: true
          in: path
          description: Uid of the custom context item.
          schema:
            example: 00000000-0000-4000-a000-000000000abc
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextItemDto'
        '400':
          description: >-
            Malformed request — invalid query parameters or request body (`code:
            BAD_REQUEST`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: BAD_REQUEST
                  status: INVALID_ARGUMENT
                  message: Invalid value for query parameter `pageSize`.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '401':
          description: 'Missing, invalid, or expired access token (`code: UNAUTHORIZED`).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: UNAUTHORIZED
                  status: UNAUTHENTICATED
                  message: Missing or invalid access token.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '403':
          description: >-
            Authenticated, but the token lacks a required scope (`code:
            FORBIDDEN`). The missing scopes are listed in `info`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: FORBIDDEN
                  status: PERMISSION_DENIED
                  message: Missing required scope(s) for this operation.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
                  info:
                    missing:
                      - <required-scope>
        '404':
          description: >-
            The resource does not exist, or you do not have access to it (`code:
            NOT_FOUND`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: NOT_FOUND
                  status: NOT_FOUND
                  message: Resource not found.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '500':
          description: 'An unexpected server error occurred (`code: INTERNAL_ERROR`).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: INTERNAL_ERROR
                  status: INTERNAL
                  message: An unexpected error occurred.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
      security:
        - bearerAuth: []
      servers:
        - url: https://api.getmodus.com
components:
  schemas:
    ContextItemDto:
      type: object
      properties:
        uid:
          type: string
          description: >-
            Stable UUID for the context item. Use this on PATCH / DELETE /
            values endpoints.
          example: 7a3f9d2c-1111-4000-a000-000000000abc
        orgId:
          type: string
          description: Org UUID this item belongs to. Matches the caller’s principal.
          example: 00000000-0000-0000-0000-000000000001
        contextType:
          type: string
          description: >-
            Per-row context type identifier — one of `note`, `link`,
            `saved_query`, plus the dozens of integration-driven types (e.g.
            `looker_dashboard_metadata`, `salesforce_object_field`).
          example: note
        content:
          type: object
          additionalProperties: true
          description: >-
            Type-specific JSON content. Shape varies by `contextType`; treat as
            opaque unless you know the kind.
        description:
          type: string
          description: >-
            Human-readable description (separate from the type-specific
            `content` blob).
          nullable: true
          example: Q3 churn analysis notes
        userFeedback:
          type: string
          description: >-
            User-supplied verification verdict. `positive` ≈ approved/verified;
            `negative` ≈ rejected/dismissed; `neutral` is the default.
          enum:
            - negative
            - neutral
            - positive
          example: neutral
        topics:
          description: Free-form topic tags. Used for sidebar filtering on the SPA.
          example:
            - analytics
            - q3
          type: array
          items:
            type: string
        connectionId:
          type: string
          description: >-
            Originating integration connection id for integration-derived items.
            Null for user-created items.
          nullable: true
          example: 00000000-0000-4000-a000-000000000111
        selectionId:
          type: string
          description: >-
            Originating selection id (datamap-scoped) for integration-derived
            items.
          nullable: true
          example: 00000000-0000-4000-a000-000000000222
        dataPath:
          description: >-
            Hierarchical path that places the item inside the data map (used for
            filtering by data asset).
          example:
            - salesforce
            - 00000000-0000-4000-a000-000000000111
            - Account
            - Name
          type: array
          items:
            type: string
        createdAt:
          type: string
          description: Creation timestamp.
          example: '2026-05-01T10:00:00.000Z'
        updatedAt:
          type: string
          description: Most recent update timestamp.
          example: '2026-05-11T10:00:00.000Z'
        lastUpdateMetadata:
          type: object
          additionalProperties: true
          description: >-
            Audit blob recording who/what last edited the item (`action`,
            `user_id`/`editedByName`/`editedByEmail`, `timestamp`). Used by the
            SPA to render the "Last Update" column.
          nullable: true
          example:
            action: auto_analysis
            timestamp: '2026-05-11T10:00:00.000Z'
      required:
        - uid
        - orgId
        - contextType
        - content
        - userFeedback
        - topics
        - dataPath
        - createdAt
        - updatedAt
    ErrorResponseDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorEnvelopeDto'
      required:
        - error
    ErrorEnvelopeDto:
      type: object
      properties:
        code:
          description: Modus-specific machine code.
          allOf:
            - $ref: '#/components/schemas/ApiErrorCode'
        status:
          description: Canonical status string for the error.
          allOf:
            - $ref: '#/components/schemas/ApiErrorStatus'
        message:
          type: string
          example: Skill was not found or you lack permission.
        requestId:
          type: string
          example: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        info:
          type: object
          description: >-
            Optional domain-specific context. Shape varies per endpoint — see
            the operation's error response examples.
          additionalProperties: true
          example:
            skillId: sk_abc123
      required:
        - code
        - status
        - message
        - requestId
    ApiErrorCode:
      type: string
      enum:
        - VALIDATION
        - BAD_REQUEST
        - UNAUTHORIZED
        - FORBIDDEN
        - NOT_FOUND
        - CONFLICT
        - RATE_LIMITED
        - INTERNAL_ERROR
      description: Modus-specific machine code.
    ApiErrorStatus:
      type: string
      enum:
        - INVALID_ARGUMENT
        - UNAUTHENTICATED
        - PERMISSION_DENIED
        - NOT_FOUND
        - ALREADY_EXISTS
        - RESOURCE_EXHAUSTED
        - INTERNAL
      description: Canonical status string for the error.
  securitySchemes:
    bearerAuth:
      scheme: bearer
      bearerFormat: Modus PAT (modus_<orgUuid>_<prefix>_<secret>) or OAuth 2.1 access token
      type: http
      description: >-
        A Modus personal access token (`modus_<orgUuid>_<prefix>_<secret>`) or
        an OAuth 2.1 access token, sent as `Authorization: Bearer <token>`.

````