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

# Get Project Instructions

> Return the per-workspace instructions for a project owned by the user.

Returns 404 (not 403) when the project is missing, soft-deleted, or owned
by another user, so cross-tenant existence is not leaked. A workspace with
no instructions returns ``{"custom_instructions": null}``.

# IDOR AUDIT PASS - ownership is verified and the read filters by user_id.



## OpenAPI

````yaml get /api/v1/projects/{project_id}/instructions
openapi: 3.1.0
info:
  title: EDN Memory Engine
  version: 0.1.0
servers:
  - description: EDN evaluation endpoint
    url: https://api.tensorpro.ai
security:
  - EDNApiKey: []
paths:
  /api/v1/projects/{project_id}/instructions:
    get:
      summary: Get Project Instructions
      description: >-
        Return the per-workspace instructions for a project owned by the user.


        Returns 404 (not 403) when the project is missing, soft-deleted, or
        owned

        by another user, so cross-tenant existence is not leaked. A workspace
        with

        no instructions returns ``{"custom_instructions": null}``.


        # IDOR AUDIT PASS - ownership is verified and the read filters by
        user_id.
      operationId: get_project_instructions_api_v1_projects__project_id__instructions_get
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            title: Project Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceInstructionsResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    WorkspaceInstructionsResponse:
      properties:
        custom_instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Custom Instructions
      title: WorkspaceInstructionsResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    EDNApiKey:
      description: >-
        EDN API key presented as 'Bearer <key>' in the Authorization header.
        Create and manage keys from the Console.
      in: header
      name: Authorization
      type: apiKey

````