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

# Get Vault Project Metadata

> Fetches metadata for a specified Vault project, including file details and storage limits.

### Permissions

Requires `Vault API` permission.


## OpenAPI

````yaml /vault_api.json get /api/v1/vault/get_metadata/{project_id}
openapi: 3.0.1
info:
  title: Vault - Upload Documents
  description: >-
    The Vault Upload Documents API enables users to programmatically upload and
    manage documents within Vault projects. This API allows organizations to
    maintain projects with their own internal files for their users to use
    within the Harvey app.
  version: 1.0.0
  contact:
    email: support@harvey.ai
servers:
  - url: https://api.harvey.ai
    description: Harvey API server
security: []
paths:
  /api/v1/vault/get_metadata/{project_id}:
    get:
      tags:
        - Vault
      summary: Get Vault Project Metadata
      description: >-
        Fetches metadata for a specified Vault project, including file details
        and storage limits.
      operationId: getProjectMetadata
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: The project ID.
      responses:
        '201':
          description: Project metadata details
          content:
            application/json:
              schema:
                type: object
                properties:
                  response:
                    type: object
                    properties:
                      content:
                        type: array
                        items:
                          $ref: '#/components/schemas/ProjectMetadata'
              examples:
                projectMetadata:
                  summary: Project metadata response
                  value:
                    response:
                      content:
                        - project_id: 01936a5f-53a0-7b33-91aa-3bd2441ccc89
                          file_ids:
                            - 01936a5f-8289-703a-9962-42bf196ae611
                            - 01936a5f-82a2-708a-9df6-91d72c1cd26d
                            - 01936a5f-82de-7096-a7c2-021638a813ad
                          file_names:
                            - Employment Agreement - John Smith.pdf
                            - Merger Agreement - Acme Corp.docx
                            - Non-Disclosure Agreement - TechCo Inc.pdf
                          file_count: 3
                          max_file_count: 100000
                          project_size: '11015244'
                          max_project_size: 107374182400
        '400':
          description: Bad request.
        '401':
          description: Unauthorized.
        '404':
          description: Project not found.
        '500':
          description: Internal server error.
      security:
        - bearerAuth: []
components:
  schemas:
    ProjectMetadata:
      type: object
      properties:
        project_id:
          type: string
          description: The project ID.
          example: 01936a5f-53a0-7b33-91aa-3bd2441ccc89
        file_ids:
          type: array
          items:
            type: string
          description: Array of file IDs in the project.
          example:
            - 01936a5f-8289-703a-9962-42bf196ae611
            - 01936a5f-82a2-708a-9df6-91d72c1cd26d
            - 01936a5f-82de-7096-a7c2-021638a813ad
        file_names:
          type: array
          items:
            type: string
          description: >-
            Array of file names in the project, corresponding to the file_ids
            array.
          example:
            - Employment Agreement - John Smith.pdf
            - Merger Agreement - Acme Corp.docx
            - Non-Disclosure Agreement - TechCo Inc.pdf
        file_count:
          type: integer
          description: Number of files in the project.
          example: 3
        max_file_count:
          type: integer
          description: Maximum number of files allowed in the project.
          example: 100000
        project_size:
          type: string
          description: Total size of files in bytes.
          example: '11015244'
        max_project_size:
          type: integer
          description: Maximum storage size allowed in bytes.
          example: 107374182400
        review_table_ids:
          type: array
          items:
            type: integer
          description: >-
            IDs of non-deleted review tables in this project. Use each ID with
            `GET /api/v1/vault/review_table/{review_table_id}` to fetch that
            table's metadata and file list, or as the first path parameter in
            the Get Review Table Row endpoint. Returns an empty array if the
            project has no review tables.
          example:
            - 2365724
            - 2365725
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````