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

# Sign cluster requirements

> Signs the requirements as you, for the requirements_version you were shown. A version that no longer matches the requirements is refused. Only available for projects that have a GPU cluster; any other project answers 404 PROJECT_NOT_A_CLUSTER. Needs an owner or administrator.



## OpenAPI

````yaml https://spec.speakeasy.com/latitude/latitude/latitude-sh-api-with-code-samples post /projects/{project_id}/cluster/requirements/sign
openapi: 3.0.1
info:
  title: Latitude.sh API
  version: '2023-06-01'
  description: >-
    The Latitude.sh API is a RESTful API to manage your Latitude.sh account. It
    allows you to perform the same actions as the Latitude.sh dashboard.
servers:
  - url: https://api.latitude.sh
    variables:
      latitude_api_key:
        default: <insert your api key here>
  - url: http://api.latitude.sh
    variables:
      latitude_api_key:
        default: <insert your api key here>
security: []
tags:
  - name: API keys
  - name: Baselines (Preview)
    description: >-
      Preview. Available to teams with the `baselines_api` feature flag. The
      shape of these endpoints may change before general availability.
  - name: Billing
  - name: Clusters
    description: >-
      Projects that have a GPU cluster only. Every operation answers 404
      PROJECT_NOT_A_CLUSTER for a project without one.
  - name: Elastic Ips
  - name: Events
  - name: Firewalls
  - name: Inference
  - name: IP Addresses
  - name: Managed Databases
    description: Managed database instances (PostgreSQL, ClickHouse)
  - name: Kubernetes Clusters
  - name: LKS
  - name: Marketplace apps
  - name: Operating Systems
  - name: Plans
  - name: Sandboxes (Preview)
    description: >-
      Preview. Available to teams with the `sandboxes_api` feature flag. The
      shape of these endpoints may change before general availability.
  - name: Public Networks
  - name: Private Networks
  - name: Projects
  - name: Regions
  - name: Roles
  - name: SSH Keys
  - name: Servers
  - name: Block Storage
  - name: Filesystem Storage
  - name: Object Storage
  - name: Tags
  - name: Teams
  - name: Team members
  - name: Traffic
  - name: User data
  - name: User profile
  - name: Virtual machines
  - name: Virtual machine backups
  - name: Virtual machine restores
paths:
  /projects/{project_id}/cluster/requirements/sign:
    post:
      tags:
        - Clusters
      summary: Sign cluster requirements
      description: >-
        Signs the requirements as you, for the requirements_version you were
        shown. A version that no longer matches the requirements is refused.
        Only available for projects that have a GPU cluster; any other project
        answers 404 PROJECT_NOT_A_CLUSTER. Needs an owner or administrator.
      operationId: sign-project-cluster-requirements
      parameters:
        - name: project_id
          in: path
          required: true
          description: The ID or slug of a project that has a GPU cluster
          examples:
            Created:
              value: proj_lxWpD699qm6rk
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sign_cluster_requirements'
            examples:
              Created:
                summary: Created
                value:
                  data:
                    type: cluster_requirements
                    attributes:
                      requirements_version: >-
                        3f1c9b2e7a4d8c06b5e9f2a1d7c3e8b04a6f9d2c1b7e5a3f8d0c4b6e2a9f7d1c
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/sign_cluster_requirements'
            examples:
              Created:
                summary: Created
                value:
                  data:
                    type: cluster_requirements
                    attributes:
                      requirements_version: >-
                        3f1c9b2e7a4d8c06b5e9f2a1d7c3e8b04a6f9d2c1b7e5a3f8d0c4b6e2a9f7d1c
        required: true
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              examples:
                Created:
                  value:
                    data:
                      id: proj_lxWpD699qm6rk
                      type: cluster_requirements
                      attributes:
                        requirements_state: signed
                        requirements_due_date: '2026-11-20'
                        requirements:
                          items:
                            - id: bios_smt
                              label: 'BIOS: multithreading'
                              category: bios
                              check: bios_smt
                          values:
                            bios_smt:
                              expected: Disabled
                              note: HPC jobs
                        node_groups:
                          - id: '7'
                            name: gpu-b300
                            kind: gpu
                            plan: g4-b300-large
                            server_count: 16
                            os: ubuntu_24_04_x64_lts
                            plan_name: g4.b300.large
                            os_options:
                              - slug: ubuntu_24_04_x64_lts
                                name: Ubuntu 24.04
                              - slug: rocky_9_x64
                                name: Rocky Linux 9
                        node_group_options:
                          kinds:
                            - gpu
                            - cpu
                            - storage
                            - management
                            - other
                          max_server_count: 1024
                          plans:
                            - slug: g4-b300-large
                              name: g4.b300.large
                              os_options:
                                - slug: ubuntu_24_04_x64_lts
                                  name: Ubuntu 24.04
                                - slug: rocky_9_x64
                                  name: Rocky Linux 9
                        requirements_version: >-
                          3f1c9b2e7a4d8c06b5e9f2a1d7c3e8b04a6f9d2c1b7e5a3f8d0c4b6e2a9f7d1c
                        signoff:
                          user_email: ana@example.com
                          signed_at: '2026-11-04T12:00:00Z'
              schema:
                $ref: '#/components/schemas/cluster_requirements'
        '403':
          description: Forbidden (role cannot sign)
        '404':
          description: Project is not a cluster
          content:
            application/vnd.api+json:
              examples:
                Project is not a cluster:
                  value:
                    errors:
                      - code: PROJECT_NOT_A_CLUSTER
                        title: Project Not A Cluster
                        detail: This project is not a cluster
                        status: '404'
                        meta: {}
        '409':
          description: Conflict (the requirements changed since they were shown)
          content:
            application/vnd.api+json:
              examples:
                Conflict (the requirements changed since they were shown):
                  value:
                    errors:
                      - code: REQUIREMENTS_NOT_EDITABLE
                        title: Requirements Not Editable
                        detail: >-
                          These requirements changed since you opened them.
                          Review them again before signing.
                        status: '409'
                        meta: {}
      security:
        - Bearer: []
      x-codeSamples:
        - lang: go
          label: Go (SDK)
          source: "package main\n\nimport(\n\t\"context\"\n\t\"os\"\n\tlatitudeshgosdk \"github.com/latitudesh/latitudesh-go-sdk\"\n\t\"github.com/latitudesh/latitudesh-go-sdk/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n    ctx := context.Background()\n\n    s := latitudeshgosdk.New(\n        latitudeshgosdk.WithSecurity(os.Getenv(\"LATITUDESH_BEARER\")),\n    )\n\n    res, err := s.Clusters.SignProjectClusterRequirements(ctx, \"proj_lxWpD699qm6rk\", components.SignClusterRequirements{\n        Data: components.SignClusterRequirementsData{\n            Type: components.SignClusterRequirementsTypeClusterRequirements,\n            Attributes: components.SignClusterRequirementsAttributes{\n                RequirementsVersion: \"3f1c9b2e7a4d8c06b5e9f2a1d7c3e8b04a6f9d2c1b7e5a3f8d0c4b6e2a9f7d1c\",\n            },\n        },\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    if res.ClusterRequirements != nil {\n        // handle response\n    }\n}"
        - lang: typescript
          label: Typescript (SDK)
          source: |-
            import { Latitudesh } from "latitudesh-typescript-sdk";

            const latitudesh = new Latitudesh({
              bearer: process.env["LATITUDESH_BEARER"] ?? "",
            });

            async function run() {
              const result = await latitudesh.clusters.signProjectClusterRequirements({
                projectId: "proj_lxWpD699qm6rk",
                signClusterRequirements: {
                  data: {
                    type: "cluster_requirements",
                    attributes: {
                      requirementsVersion: "3f1c9b2e7a4d8c06b5e9f2a1d7c3e8b04a6f9d2c1b7e5a3f8d0c4b6e2a9f7d1c",
                    },
                  },
                },
              });

              console.log(result);
            }

            run();
components:
  schemas:
    sign_cluster_requirements:
      type: object
      properties:
        data:
          type: object
          properties:
            type:
              type: string
              enum:
                - cluster_requirements
            attributes:
              type: object
              properties:
                requirements_version:
                  type: string
                  description: >-
                    The requirements_version the signer was shown. A different
                    one is a 409.
              required:
                - requirements_version
          required:
            - type
            - attributes
      required:
        - data
    cluster_requirements:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/cluster_requirements_data'
    cluster_requirements_data:
      type: object
      properties:
        id:
          type: string
          example: proj_lxWpD699qm6rk
          description: The project ID
        type:
          type: string
          enum:
            - cluster_requirements
        attributes:
          type: object
          properties:
            requirements_state:
              type: string
              enum:
                - draft
                - awaiting_signature
                - signed
              description: >-
                draft while they're being prepared; awaiting_signature to review
                and sign; signed once an owner or administrator signs. Any later
                change asks for a new signature.
            requirements_due_date:
              type: string
              format: date
              nullable: true
              example: '2026-11-20'
            requirements:
              type: object
              description: The cluster's requirements, and what is expected of each
              properties:
                items:
                  type: array
                  description: The requirements
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        example: bios_smt
                      label:
                        type: string
                        example: 'BIOS: multithreading'
                      category:
                        type: string
                        example: bios
                      check:
                        type: string
                        example: bios_smt
                      expected:
                        type: string
                        nullable: true
                      note:
                        type: string
                        nullable: true
                      node_group_id:
                        type: string
                        nullable: true
                        example: '7'
                        description: >-
                          The node group the requirement applies to; absent or
                          null for the whole cluster
                values:
                  type: object
                  description: >-
                    What is expected of each requirement, and why, by
                    requirement id
                  additionalProperties:
                    type: object
                    properties:
                      expected:
                        type: string
                        nullable: true
                        example: Disabled
                      note:
                        type: string
                        nullable: true
                        example: HPC jobs
            node_groups:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    example: '7'
                    description: The node group ID
                  name:
                    type: string
                    example: gpu-workers
                  kind:
                    type: string
                    enum:
                      - gpu
                      - cpu
                      - storage
                      - management
                      - other
                    example: gpu
                  plan:
                    type: string
                    nullable: true
                    example: g4-b300-large
                    description: The plan slug
                  plan_name:
                    type: string
                    nullable: true
                    example: g4.b300.large
                  server_count:
                    type: integer
                    nullable: true
                    example: 16
                  os:
                    type: string
                    nullable: true
                    example: ubuntu_24_04_x64_lts
                  os_options:
                    type: array
                    items:
                      $ref: '#/components/schemas/cluster_os_option'
                    description: The operating systems this node group can run
              description: Empty while the requirements are a draft
            node_group_options:
              type: object
              nullable: true
              description: >-
                What a node group can be set to; null while the requirements are
                a draft
              properties:
                kinds:
                  type: array
                  items:
                    type: string
                    enum:
                      - gpu
                      - cpu
                      - storage
                      - management
                      - other
                max_server_count:
                  type: integer
                  example: 1024
                plans:
                  type: array
                  items:
                    type: object
                    properties:
                      slug:
                        type: string
                        example: g4-b300-large
                      name:
                        type: string
                        example: g4.b300.large
                      os_options:
                        type: array
                        items:
                          $ref: '#/components/schemas/cluster_os_option'
            requirements_version:
              type: string
              nullable: true
              description: >-
                Identifies the requirements shown; signing needs the version the
                signer was shown
            signoff:
              type: object
              nullable: true
              description: The latest signature while the requirements are signed
              properties:
                user_email:
                  type: string
                  example: ana@example.com
                signed_at:
                  type: string
                  example: '2026-11-04T12:00:00Z'
    cluster_os_option:
      type: object
      properties:
        slug:
          type: string
          example: ubuntu_24_04_x64_lts
        name:
          type: string
          example: Ubuntu 24.04
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.